Home
last modified time | relevance | path

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

/third_party/openssl/apps/
Dpkeyutl.c116 int keysize = -1, pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY; in pkeyutl_main()
202 pkey_op = EVP_PKEY_OP_SIGN; in pkeyutl_main()
263 if (rawin && pkey_op != EVP_PKEY_OP_SIGN && pkey_op != EVP_PKEY_OP_VERIFY) { in pkeyutl_main()
444 && (pkey_op == EVP_PKEY_OP_SIGN in pkeyutl_main()
537 if (((pkey_op == EVP_PKEY_OP_SIGN) || (pkey_op == EVP_PKEY_OP_DECRYPT) in init_ctx()
610 case EVP_PKEY_OP_SIGN: in init_ctx()
623 case EVP_PKEY_OP_SIGN: in init_ctx()
691 case EVP_PKEY_OP_SIGN: in do_keyop()
741 case EVP_PKEY_OP_SIGN: in do_raw_keyop()
775 case EVP_PKEY_OP_SIGN: in do_raw_keyop()
/third_party/openssl/crypto/evp/
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()
Dm_sigver.c340 ctx->pctx->operation = EVP_PKEY_OP_SIGN; in do_sigver_init()
/third_party/rust/crates/rust-openssl/openssl-sys/src/
Devp.rs157 pub const EVP_PKEY_OP_SIGN: c_int = 1 << 4; constant
166 pub const EVP_PKEY_OP_SIGN: c_int = 1 << 3; constant
177 pub const EVP_PKEY_OP_TYPE_SIG: c_int = EVP_PKEY_OP_SIGN
Drsa.rs35 EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY,
/third_party/openssl/providers/implementations/signature/
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()
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()
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()
897 params, EVP_PKEY_OP_SIGN); in rsa_digest_sign_init()
1220 & (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY)) == 0) { in rsa_set_ctx_params()
/third_party/openssl/providers/common/
Dsecuritycheck.c34 case EVP_PKEY_OP_SIGN: in ossl_rsa_check_key()
/third_party/openssl/ohos_lite/include/openssl/
Drsa.h102 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
118 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
Devp.h1260 # define EVP_PKEY_OP_SIGN (1<<3) macro
1270 (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY | EVP_PKEY_OP_VERIFYRECOVER \
/third_party/openssl/crypto/rsa/
Drsa_pmeth.c439 (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY))) in pkey_rsa_ctrl()
/third_party/openssl/include/crypto/
Devp.h722 ((ctx)->operation == EVP_PKEY_OP_SIGN \
/third_party/openssl/include/openssl/
Devp.h1686 # define EVP_PKEY_OP_SIGN (1<<4) macro
1698 (EVP_PKEY_OP_SIGN | EVP_PKEY_OP_VERIFY | EVP_PKEY_OP_VERIFYRECOVER \