Lines Matching refs:padding
25 unsigned char *to, RSA *rsa, int padding);
27 unsigned char *to, RSA *rsa, int padding);
29 unsigned char *to, RSA *rsa, int padding);
31 unsigned char *to, RSA *rsa, int padding);
100 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_encrypt() argument
135 switch (padding) { in rsa_ossl_public_encrypt()
164 if (padding == RSA_NO_PADDING) { in rsa_ossl_public_encrypt()
305 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_private_encrypt() argument
330 switch (padding) { in rsa_ossl_private_encrypt()
411 if (padding == RSA_X931_PADDING) { in rsa_ossl_private_encrypt()
520 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_private_decrypt() argument
539 if ((rsa->flags & RSA_FLAG_EXT_PKEY) && (padding == RSA_PKCS1_PADDING)) in rsa_ossl_private_decrypt()
540 padding = RSA_PKCS1_NO_IMPLICIT_REJECT_PADDING; in rsa_ossl_private_decrypt()
580 if (padding == RSA_NO_PADDING) { in rsa_ossl_private_decrypt()
662 if (padding == RSA_PKCS1_PADDING) { in rsa_ossl_private_decrypt()
671 switch (padding) { in rsa_ossl_private_decrypt()
707 unsigned char *to, RSA *rsa, int padding) in rsa_ossl_public_decrypt() argument
773 if ((padding == RSA_X931_PADDING) && ((bn_get_words(ret)[0] & 0xf) != 12)) in rsa_ossl_public_decrypt()
781 switch (padding) { in rsa_ossl_public_decrypt()