Searched refs:pad_mode (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/evp/ |
D | p_rsa.c | 79 int pad_mode; member 103 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init() 126 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy() 194 switch (rctx->pad_mode) { in pkey_rsa_sign() 217 return RSA_sign_raw(rsa, siglen, sig, *siglen, tbs, tbslen, rctx->pad_mode); in pkey_rsa_sign() 229 switch (rctx->pad_mode) { in pkey_rsa_verify() 250 rctx->pad_mode) || in pkey_rsa_verify() 275 if (rctx->pad_mode == RSA_PKCS1_OAEP_PADDING) { in pkey_rsa_encrypt() 287 return RSA_encrypt(rsa, outlen, out, *outlen, in, inlen, rctx->pad_mode); in pkey_rsa_encrypt() 307 if (rctx->pad_mode == RSA_PKCS1_OAEP_PADDING) { in pkey_rsa_decrypt() [all …]
|
D | p_rsa_asn1.c | 650 int pad_mode; in rsa_digest_sign_algorithm() local 652 if (!EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode)) { in rsa_digest_sign_algorithm() 655 if (pad_mode == RSA_PKCS1_PSS_PADDING) { in rsa_digest_sign_algorithm()
|