Searched refs:pad_mode (Results 1 – 7 of 7) sorted by relevance
/openssl/crypto/rsa/ |
H A D | rsa_pmeth.c | 41 int pad_mode; member 71 rctx->pad_mode = RSA_PKCS1_PSS_PADDING; in pkey_rsa_init() 73 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init() 99 dctx->pad_mode = sctx->pad_mode; in pkey_rsa_copy() 226 if (rctx->pad_mode == RSA_X931_PADDING) { in pkey_rsa_verifyrecover() 279 if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verify() 291 if (rctx->pad_mode == RSA_X931_PADDING) { in pkey_rsa_verify() 365 int pad_mode; in pkey_rsa_decrypt() local 390 pad_mode = rctx->pad_mode; in pkey_rsa_decrypt() 474 rctx->pad_mode = p1; in pkey_rsa_ctrl() [all …]
|
H A D | rsa_ameth.c | 653 int pad_mode; in rsa_item_sign() local 656 if (EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode) <= 0) in rsa_item_sign() 658 if (pad_mode == RSA_PKCS1_PADDING) in rsa_item_sign() 660 if (pad_mode == RSA_PKCS1_PSS_PADDING) { in rsa_item_sign()
|
H A D | rsa_lib.c | 1040 int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode) in EVP_PKEY_CTX_set_rsa_padding() argument 1043 pad_mode, NULL); in EVP_PKEY_CTX_set_rsa_padding() 1050 int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode) in EVP_PKEY_CTX_get_rsa_padding() argument 1053 0, pad_mode); in EVP_PKEY_CTX_get_rsa_padding()
|
/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 64 int pad_mode; member 116 prsactx->pad_mode = RSA_PKCS1_PADDING; in rsa_init() 160 if ((prsactx->pad_mode == RSA_PKCS1_PADDING in rsa_encrypt() 213 prsactx->pad_mode); in rsa_encrypt() 227 int pad_mode; in rsa_decrypt() local 258 if (prsactx->pad_mode == RSA_PKCS1_OAEP_PADDING in rsa_decrypt() 307 pad_mode = prsactx->pad_mode; in rsa_decrypt() 502 int pad_mode = 0; in rsa_set_ctx_params() local 506 if (!OSSL_PARAM_get_int(p, &pad_mode)) in rsa_set_ctx_params() 532 if (pad_mode == RSA_PKCS1_PSS_PADDING) in rsa_set_ctx_params() [all …]
|
/openssl/crypto/cms/ |
H A D | cms_rsa.c | 122 int pad_mode = RSA_PKCS1_PADDING, rv = 0, labellen; in rsa_cms_encrypt() local 128 if (EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode) <= 0) in rsa_cms_encrypt() 131 if (pad_mode == RSA_PKCS1_PADDING) in rsa_cms_encrypt() 136 if (pad_mode != RSA_PKCS1_OAEP_PADDING) in rsa_cms_encrypt() 197 int pad_mode = RSA_PKCS1_PADDING; in rsa_cms_sign() local 207 if (EVP_PKEY_CTX_get_rsa_padding(pkctx, &pad_mode) <= 0) in rsa_cms_sign() 210 if (pad_mode == RSA_PKCS1_PADDING) in rsa_cms_sign() 215 if (pad_mode != RSA_PKCS1_PSS_PADDING) in rsa_cms_sign()
|
/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 131 int pad_mode; member 180 switch (prsactx->pad_mode) { in rsa_check_padding() 324 switch (ctx->pad_mode) { in rsa_generate_signature_aid() 724 switch (prsactx->pad_mode) { in rsa_sign_directly() 949 switch (prsactx->pad_mode) { in rsa_verify_recover() 1037 switch (prsactx->pad_mode) { in rsa_verify_directly() 1536 int pad_mode; in rsa_set_ctx_params() local 1564 pad_mode = prsactx->pad_mode; in rsa_set_ctx_params() 1613 switch (pad_mode) { in rsa_set_ctx_params() 1765 prsactx->pad_mode = pad_mode; in rsa_set_ctx_params() [all …]
|
/openssl/include/openssl/ |
H A D | rsa.h | 122 int EVP_PKEY_CTX_set_rsa_padding(EVP_PKEY_CTX *ctx, int pad_mode); 123 int EVP_PKEY_CTX_get_rsa_padding(EVP_PKEY_CTX *ctx, int *pad_mode);
|
Completed in 32 milliseconds