/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_rsa.c | 122 int pad_mode = RSA_PKCS1_PADDING, rv = 0, labellen; in rsa_cms_encrypt() 131 if (pad_mode == RSA_PKCS1_PADDING) in rsa_cms_encrypt() 198 int pad_mode = RSA_PKCS1_PADDING; in rsa_cms_sign() 211 if (pad_mode == RSA_PKCS1_PADDING) { in rsa_cms_sign()
|
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_saos.c | 49 i = RSA_private_encrypt(i, s, sigret, rsa, RSA_PKCS1_PADDING); in RSA_sign_ASN1_OCTET_STRING() 79 i = RSA_public_decrypt((int)siglen, sigbuf, s, rsa, RSA_PKCS1_PADDING); in RSA_verify_ASN1_OCTET_STRING()
|
H A D | rsa_pmeth.c | 71 rctx->pad_mode = RSA_PKCS1_PADDING; in pkey_rsa_init() 154 if (rctx->pad_mode != RSA_PKCS1_PADDING) in pkey_rsa_sign() 174 } else if (rctx->pad_mode == RSA_PKCS1_PADDING) { in pkey_rsa_sign() 235 } else if (rctx->pad_mode == RSA_PKCS1_PADDING) { in pkey_rsa_verifyrecover() 269 if (rctx->pad_mode == RSA_PKCS1_PADDING) in pkey_rsa_verify() 434 if ((p1 >= RSA_PKCS1_PADDING) && (p1 <= RSA_PKCS1_PSS_PADDING)) { in pkey_rsa_ctrl() 631 pm = RSA_PKCS1_PADDING; in pkey_rsa_ctrl_str()
|
H A D | rsa_sign.c | 310 RSA_PKCS1_PADDING); in RSA_sign() 352 RSA_PKCS1_PADDING); in ossl_rsa_verify()
|
H A D | rsa_ossl.c | 113 case RSA_PKCS1_PADDING: in rsa_ossl_public_encrypt() 271 case RSA_PKCS1_PADDING: in rsa_ossl_private_encrypt() 480 case RSA_PKCS1_PADDING: in rsa_ossl_private_decrypt() 584 case RSA_PKCS1_PADDING: in rsa_ossl_public_decrypt()
|
H A D | rsa_gen.c | 487 int padding = RSA_PKCS1_PADDING; in rsa_keygen_pairwise_test()
|
/freebsd/crypto/openssl/providers/implementations/signature/ |
H A D | rsa_sig.c | 62 { RSA_PKCS1_PADDING, OSSL_PKEY_RSA_PAD_MODE_PKCSV15 }, 238 case RSA_PKCS1_PADDING: in rsa_generate_signature_aid() 417 prsactx->pad_mode = RSA_PKCS1_PADDING; in rsa_signverify_init() 546 if (prsactx->pad_mode != RSA_PKCS1_PADDING) { in rsa_sign() 581 case RSA_PKCS1_PADDING: in rsa_sign() 722 case RSA_PKCS1_PADDING: in rsa_verify_recover() 771 case RSA_PKCS1_PADDING: in rsa_verify() 1230 case RSA_PKCS1_PADDING: in rsa_set_ctx_params()
|
/freebsd/crypto/openssl/crypto/evp/ |
H A D | p_enc.c | 37 RSA_public_encrypt(key_len, key, ek, rsa, RSA_PKCS1_PADDING); in EVP_PKEY_encrypt_old()
|
H A D | p_dec.c | 37 RSA_private_decrypt(ekl, ek, key, rsa, RSA_PKCS1_PADDING); in EVP_PKEY_decrypt_old()
|
/freebsd/crypto/openssl/test/ |
H A D | rsa_mp_test.c | 278 RSA_PKCS1_PADDING); in test_rsa_mp() 282 num = RSA_private_decrypt(num, ctext, ptext, key, RSA_PKCS1_PADDING); in test_rsa_mp()
|
H A D | rsa_test.c | 277 return test_rsa_simple(idx, RSA_PKCS1_PADDING, RSA_PKCS1_PADDING, 1, NULL, in test_rsa_pkcs1()
|
/freebsd/crypto/openssl/apps/ |
H A D | rsautl.c | 82 unsigned char *rsa_in = NULL, *rsa_out = NULL, pad = RSA_PKCS1_PADDING; in rsautl_main() 126 pad = RSA_PKCS1_PADDING; in rsautl_main()
|
/freebsd/contrib/libfido2/src/ |
H A D | rs1.c | 82 EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_PKCS1_PADDING) != 1 || in rs1_verify_sig()
|
H A D | rs256.c | 278 EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_PKCS1_PADDING) != 1 || in rs256_verify_sig()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | RSA_public_encrypt.pod | 36 =item RSA_PKCS1_PADDING 90 Decryption failures in the RSA_PKCS1_PADDING mode leak information
|
H A D | RSA_private_encrypt.pod | 39 =item RSA_PKCS1_PADDING
|
H A D | EVP_PKEY_verify.pod | 76 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
|
H A D | EVP_PKEY_sign.pod | 80 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
|
H A D | EVP_PKEY_verify_recover.pod | 84 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
|
/freebsd/crypto/heimdal/lib/hx509/ |
H A D | ks_keychain.c | 122 if (padding != RSA_PKCS1_PADDING) in kc_rsa_private_encrypt() 176 if (padding != RSA_PKCS1_PADDING) in kc_rsa_private_decrypt()
|
H A D | ks_p11.c | 136 if (padding != RSA_PKCS1_PADDING) in p11_rsa_private_encrypt() 174 if (padding != RSA_PKCS1_PADDING) in p11_rsa_private_decrypt()
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_ASYM_CIPHER-RSA.pod | 38 =item 1 (B<RSA_PKCS1_PADDING>)
|
/freebsd/crypto/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 49 { RSA_PKCS1_PADDING, OSSL_PKEY_RSA_PAD_MODE_PKCSV15 }, 113 prsactx->pad_mode = RSA_PKCS1_PADDING; in rsa_init()
|
/freebsd/sbin/decryptcore/ |
H A D | decryptcore.c | 238 RSA_PKCS1_PADDING) != sizeof(key)) { in decrypt()
|
/freebsd/crypto/openssh/ |
H A D | ssh-pkcs11-helper.c | 224 rsa, RSA_PKCS1_PADDING)) < 0) { in process_sign()
|