Lines Matching defs:from
21 static int rsa_ossl_public_encrypt(int flen, const unsigned char *from,
23 static int rsa_ossl_private_encrypt(int flen, const unsigned char *from,
25 static int rsa_ossl_public_decrypt(int flen, const unsigned char *from,
27 static int rsa_ossl_private_decrypt(int flen, const unsigned char *from,
74 static int rsa_ossl_public_encrypt(int flen, const unsigned char *from,
115 from, flen);
119 from, flen, NULL, 0,
123 i = RSA_padding_add_none(buf, num, from, flen);
234 * will only read the modulus from BN_BLINDING. In both cases it's safe
242 static int rsa_ossl_private_encrypt(int flen, const unsigned char *from,
272 i = RSA_padding_add_PKCS1_type_1(buf, num, from, flen);
275 i = RSA_padding_add_X931(buf, num, from, flen);
278 i = RSA_padding_add_none(buf, num, from, flen);
374 static int rsa_ossl_private_decrypt(int flen, const unsigned char *from,
412 if (BN_bin2bn(from, (int)flen, f) == NULL)
511 static int rsa_ossl_public_decrypt(int flen, const unsigned char *from,
558 if (BN_bin2bn(from, flen, f) == NULL)
683 * Conversion from Montgomery domain, a.k.a. Montgomery reduction,
686 * i.e. less than p*q, we can count on from-to round to perform