Home
last modified time | relevance | path

Searched refs:pad_mode (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/crypto/evp/
Dp_rsa.c79 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 …]
Dp_rsa_asn1.c650 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()