• Home
  • Raw
  • Download

Lines Matching refs:flen

15 static int rsa_ossl_public_encrypt(int flen, const unsigned char *from,
17 static int rsa_ossl_private_encrypt(int flen, const unsigned char *from,
19 static int rsa_ossl_public_decrypt(int flen, const unsigned char *from,
21 static int rsa_ossl_private_decrypt(int flen, const unsigned char *from,
68 static int rsa_ossl_public_encrypt(int flen, const unsigned char *from, in rsa_ossl_public_encrypt() argument
108 i = RSA_padding_add_PKCS1_type_2(buf, num, from, flen); in rsa_ossl_public_encrypt()
111 i = RSA_padding_add_PKCS1_OAEP(buf, num, from, flen, NULL, 0); in rsa_ossl_public_encrypt()
114 i = RSA_padding_add_SSLv23(buf, num, from, flen); in rsa_ossl_public_encrypt()
117 i = RSA_padding_add_none(buf, num, from, flen); in rsa_ossl_public_encrypt()
233 static int rsa_ossl_private_encrypt(int flen, const unsigned char *from, in rsa_ossl_private_encrypt() argument
263 i = RSA_padding_add_PKCS1_type_1(buf, num, from, flen); in rsa_ossl_private_encrypt()
266 i = RSA_padding_add_X931(buf, num, from, flen); in rsa_ossl_private_encrypt()
269 i = RSA_padding_add_none(buf, num, from, flen); in rsa_ossl_private_encrypt()
367 static int rsa_ossl_private_decrypt(int flen, const unsigned char *from, in rsa_ossl_private_decrypt() argument
399 if (flen > num) { in rsa_ossl_private_decrypt()
406 if (BN_bin2bn(from, (int)flen, f) == NULL) in rsa_ossl_private_decrypt()
511 static int rsa_ossl_public_decrypt(int flen, const unsigned char *from, in rsa_ossl_public_decrypt() argument
553 if (flen > num) { in rsa_ossl_public_decrypt()
558 if (BN_bin2bn(from, flen, f) == NULL) in rsa_ossl_public_decrypt()