Home
last modified time | relevance | path

Searched refs:RSA_PKCS1_PADDING (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/crypto/openssl/crypto/cms/
H A Dcms_rsa.c122 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 Drsa_saos.c49 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 Drsa_pmeth.c71 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 Drsa_sign.c310 RSA_PKCS1_PADDING); in RSA_sign()
352 RSA_PKCS1_PADDING); in ossl_rsa_verify()
H A Drsa_ossl.c113 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 Drsa_gen.c487 int padding = RSA_PKCS1_PADDING; in rsa_keygen_pairwise_test()
/freebsd/crypto/openssl/providers/implementations/signature/
H A Drsa_sig.c62 { 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 Dp_enc.c37 RSA_public_encrypt(key_len, key, ek, rsa, RSA_PKCS1_PADDING); in EVP_PKEY_encrypt_old()
H A Dp_dec.c37 RSA_private_decrypt(ekl, ek, key, rsa, RSA_PKCS1_PADDING); in EVP_PKEY_decrypt_old()
/freebsd/crypto/openssl/test/
H A Drsa_mp_test.c278 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 Drsa_test.c277 return test_rsa_simple(idx, RSA_PKCS1_PADDING, RSA_PKCS1_PADDING, 1, NULL, in test_rsa_pkcs1()
/freebsd/crypto/openssl/apps/
H A Drsautl.c82 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 Drs1.c82 EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_PKCS1_PADDING) != 1 || in rs1_verify_sig()
H A Drs256.c278 EVP_PKEY_CTX_set_rsa_padding(pctx, RSA_PKCS1_PADDING) != 1 || in rs256_verify_sig()
/freebsd/crypto/openssl/doc/man3/
H A DRSA_public_encrypt.pod36 =item RSA_PKCS1_PADDING
90 Decryption failures in the RSA_PKCS1_PADDING mode leak information
H A DRSA_private_encrypt.pod39 =item RSA_PKCS1_PADDING
H A DEVP_PKEY_verify.pod76 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
H A DEVP_PKEY_sign.pod80 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
H A DEVP_PKEY_verify_recover.pod84 if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_PKCS1_PADDING) <= 0)
/freebsd/crypto/heimdal/lib/hx509/
H A Dks_keychain.c122 if (padding != RSA_PKCS1_PADDING) in kc_rsa_private_encrypt()
176 if (padding != RSA_PKCS1_PADDING) in kc_rsa_private_decrypt()
H A Dks_p11.c136 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 DEVP_ASYM_CIPHER-RSA.pod38 =item 1 (B<RSA_PKCS1_PADDING>)
/freebsd/crypto/openssl/providers/implementations/asymciphers/
H A Drsa_enc.c49 { RSA_PKCS1_PADDING, OSSL_PKEY_RSA_PAD_MODE_PKCSV15 },
113 prsactx->pad_mode = RSA_PKCS1_PADDING; in rsa_init()
/freebsd/sbin/decryptcore/
H A Ddecryptcore.c238 RSA_PKCS1_PADDING) != sizeof(key)) { in decrypt()
/freebsd/crypto/openssh/
H A Dssh-pkcs11-helper.c224 rsa, RSA_PKCS1_PADDING)) < 0) { in process_sign()

12