search for: p_in

Displaying 1 result from an estimated 1 matches for "p_in".

Did you mean: f_in
2002 Apr 03
2
cross compilation?
...else LIBS="$saved_LIBS -lRSAglue -lrsaref" fi - AC_TRY_RUN([ -#include <string.h> -#include <openssl/rand.h> -#include <openssl/rsa.h> -#include <openssl/bn.h> -#include <openssl/sha.h> -int main(void) -{ - int num; RSA *key; static unsigned char p_in[] = "blahblah"; - unsigned char c[256], p[256]; - memset(c, 0, sizeof(c)); RAND_add(c, sizeof(c), sizeof(c)); - if ((key=RSA_generate_key(512, 3, NULL, NULL))==NULL) return(1); - num = RSA_public_encrypt(sizeof(p_in) - 1, p_in, c, key, RSA_PKCS1_PADDING); - return(-1 == RSA_private_decryp...