Lines Matching defs:RSAkey
402 R_RSA_PRIVATE_KEY RSAkey;
404 if (!RSAref_Private_eay2ref(rsa,&RSAkey))
406 if ((i=RSAPrivateDecrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey)) != 0)
412 memset(&RSAkey,0,sizeof(RSAkey));
420 R_RSA_PRIVATE_KEY RSAkey;
427 if (!RSAref_Private_eay2ref(rsa,&RSAkey))
429 if ((i=RSAPrivateEncrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey)) != 0)
435 memset(&RSAkey,0,sizeof(RSAkey));
443 R_RSA_PUBLIC_KEY RSAkey;
445 if (!RSAref_Public_eay2ref(rsa,&RSAkey))
447 if ((i=RSAPublicDecrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey)) != 0)
453 memset(&RSAkey,0,sizeof(RSAkey));
462 R_RSA_PUBLIC_KEY RSAkey;
482 if (!RSAref_Public_eay2ref(rsa,&RSAkey))
484 if ((i=RSAPublicEncrypt(to,(unsigned int *)&outlen,(unsigned char *)from,len,&RSAkey,&rnd)) != 0)
491 memset(&RSAkey,0,sizeof(RSAkey));