Home
last modified time | relevance | path

Searched refs:EVP_PKEY_OP_SIGN (Results 1 – 10 of 10) sorted by relevance

/freebsd/crypto/openssl/apps/
H A Dpkeyutl.c117 int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY; in pkeyutl_main()
203 pkey_op = EVP_PKEY_OP_SIGN; in pkeyutl_main()
264 if (rawin && pkey_op != EVP_PKEY_OP_SIGN && pkey_op != EVP_PKEY_OP_VERIFY) { in pkeyutl_main()
445 && (pkey_op == EVP_PKEY_OP_SIGN in pkeyutl_main()
538 if (((pkey_op == EVP_PKEY_OP_SIGN) || (pkey_op == EVP_PKEY_OP_DECRYPT) in init_ctx()
611 case EVP_PKEY_OP_SIGN: in init_ctx()
624 case EVP_PKEY_OP_SIGN: in init_ctx()
692 case EVP_PKEY_OP_SIGN: in do_keyop()
742 case EVP_PKEY_OP_SIGN: in do_raw_keyop()
776 case EVP_PKEY_OP_SIGN: in do_raw_keyop()
/freebsd/crypto/openssl/crypto/evp/
H A Dsignature.c528 case EVP_PKEY_OP_SIGN: in evp_pkey_signature_init()
575 || (operation == EVP_PKEY_OP_SIGN && ctx->pmeth->sign == NULL) in evp_pkey_signature_init()
584 case EVP_PKEY_OP_SIGN: in evp_pkey_signature_init()
622 return evp_pkey_signature_init(ctx, EVP_PKEY_OP_SIGN, NULL); in EVP_PKEY_sign_init()
627 return evp_pkey_signature_init(ctx, EVP_PKEY_OP_SIGN, params); in EVP_PKEY_sign_init_ex()
641 if (ctx->operation != EVP_PKEY_OP_SIGN) { in EVP_PKEY_sign()
H A Dm_sigver.c340 ctx->pctx->operation = EVP_PKEY_OP_SIGN; in do_sigver_init()
/freebsd/crypto/openssl/providers/implementations/signature/
H A Ddsa_sig.c127 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in dsa_setup_md()
202 operation == EVP_PKEY_OP_SIGN)) { in dsa_signverify_init()
222 return dsa_signverify_init(vpdsactx, vdsa, params, EVP_PKEY_OP_SIGN); in dsa_sign_init()
312 EVP_PKEY_OP_SIGN); in dsa_digest_sign_init()
H A Decdsa_sig.c143 if (!ossl_ec_check_key(ctx->libctx, ec, operation == EVP_PKEY_OP_SIGN)) in ecdsa_signverify_init()
161 return ecdsa_signverify_init(vctx, ec, params, EVP_PKEY_OP_SIGN); in ecdsa_sign_init()
240 sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in ecdsa_setup_md()
315 EVP_PKEY_OP_SIGN); in ecdsa_digest_sign_init()
H A Drsa_sig.c291 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in rsa_setup_md()
511 return rsa_signverify_init(vprsactx, vrsa, params, EVP_PKEY_OP_SIGN); in rsa_sign_init()
900 params, EVP_PKEY_OP_SIGN); in rsa_digest_sign_init()
1224 & (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY)) == 0) { in rsa_set_ctx_params()
/freebsd/crypto/openssl/providers/common/
H A Dsecuritycheck.c34 case EVP_PKEY_OP_SIGN: in ossl_rsa_check_key()
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_pmeth.c439 (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY))) in pkey_rsa_ctrl()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h723 ((ctx)->operation == EVP_PKEY_OP_SIGN \
/freebsd/crypto/openssl/include/openssl/
H A Devp.h1688 # define EVP_PKEY_OP_SIGN (1<<4) macro
1700 (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY | EVP_PKEY_OP_VERIFYRECOVER \