Home
last modified time | relevance | path

Searched refs:provkey (Results 1 – 13 of 13) sorted by relevance

/netbsd/crypto/external/bsd/openssl/dist/crypto/evp/
H A Dexchange.c203 void *provkey = NULL; in EVP_PKEY_derive_init_ex() local
276 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in EVP_PKEY_derive_init_ex()
320 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in EVP_PKEY_derive_init_ex()
326 if (provkey == NULL) { in EVP_PKEY_derive_init_ex()
342 ret = exchange->init(ctx->op.kex.algctx, provkey, params); in EVP_PKEY_derive_init_ex()
381 void *provkey = NULL; in EVP_PKEY_derive_set_peer_ex() local
423 provkey = evp_pkey_export_to_provider(peer, ctx->libctx, in EVP_PKEY_derive_set_peer_ex()
431 if (provkey == NULL) in EVP_PKEY_derive_set_peer_ex()
433 return ctx->op.kex.exchange->set_peer(ctx->op.kex.algctx, provkey); in EVP_PKEY_derive_set_peer_ex()
H A Dkem.c27 void *provkey = NULL; in evp_kem_init() local
78 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in evp_kem_init()
125 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_kem_init()
131 if (provkey == NULL) { in evp_kem_init()
152 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init()
160 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init()
H A Dasymcipher.c24 void *provkey = NULL; in evp_pkey_asym_cipher_init() local
85 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in evp_pkey_asym_cipher_init()
129 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_asym_cipher_init()
135 if (provkey == NULL) { in evp_pkey_asym_cipher_init()
159 ret = cipher->encrypt_init(ctx->op.ciph.algctx, provkey, params); in evp_pkey_asym_cipher_init()
167 ret = cipher->decrypt_init(ctx->op.ciph.algctx, provkey, params); in evp_pkey_asym_cipher_init()
H A Dm_sigver.c51 void *provkey = NULL; in do_sigver_init() local
140 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in do_sigver_init()
185 provkey = evp_pkey_export_to_provider(locpctx->pkey, locpctx->libctx, in do_sigver_init()
191 if (provkey == NULL) { in do_sigver_init()
222 if (evp_keymgmt_util_get_deflt_digest_name(tmp_keymgmt, provkey, in do_sigver_init()
267 mdname, provkey, params); in do_sigver_init()
274 mdname, provkey, params); in do_sigver_init()
H A Dsignature.c398 void *provkey = NULL; in evp_pkey_signature_init() local
458 for (iter = 1; iter < 3 && provkey == NULL; iter++) { in evp_pkey_signature_init()
503 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_signature_init()
509 if (provkey == NULL) { in evp_pkey_signature_init()
534 ret = signature->sign_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init()
542 ret = signature->verify_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init()
550 ret = signature->verify_recover_init(ctx->op.sig.algctx, provkey, in evp_pkey_signature_init()
H A Dpmeth_lib.c604 void *provkey; in EVP_PKEY_CTX_dup() local
606 provkey = evp_pkey_export_to_provider(pctx->pkey, pctx->libctx, in EVP_PKEY_CTX_dup()
608 if (provkey == NULL) in EVP_PKEY_CTX_dup()
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/
H A Dcore_dispatch.h661 OSSL_CORE_MAKE_FUNC(int, keyexch_init, (void *ctx, void *provkey,
665 OSSL_CORE_MAKE_FUNC(int, keyexch_set_peer, (void *ctx, void *provkey))
707 OSSL_CORE_MAKE_FUNC(int, signature_sign_init, (void *ctx, void *provkey,
713 OSSL_CORE_MAKE_FUNC(int, signature_verify_init, (void *ctx, void *provkey,
721 (void *ctx, void *provkey, const OSSL_PARAM params[]))
726 (void *ctx, const char *mdname, void *provkey,
737 (void *ctx, const char *mdname, void *provkey,
781 OSSL_CORE_MAKE_FUNC(int, asym_cipher_encrypt_init, (void *ctx, void *provkey,
788 OSSL_CORE_MAKE_FUNC(int, asym_cipher_decrypt_init, (void *ctx, void *provkey,
820 OSSL_CORE_MAKE_FUNC(int, kem_encapsulate_init, (void *ctx, void *provkey,
[all …]
/netbsd/crypto/external/bsd/openssl/dist/doc/man7/
H A Dprovider-signature.pod26 int OSSL_FUNC_signature_sign_init(void *ctx, void *provkey,
32 int OSSL_FUNC_signature_verify_init(void *ctx, void *provkey,
38 int OSSL_FUNC_signature_verify_recover_init(void *ctx, void *provkey,
46 void *provkey,
59 void *provkey,
201 in the I<provkey> parameter.
223 provider key object in the I<provkey> parameter.
241 a pointer to a provider key object in the I<provkey> parameter.
262 provider key object in the I<provkey> parameter.
299 provider key object in the I<provkey> parameter.
H A Dprovider-kem.pod26 int OSSL_FUNC_kem_encapsulate_init(void *ctx, void *provkey, const char *name,
32 int OSSL_FUNC_kem_decapsulate_init(void *ctx, void *provkey, const char *name);
122 parameter, a pointer to a provider key object in the I<provkey> parameter and
148 parameter, a pointer to a provider key object in the I<provkey> parameter, and
H A Dprovider-keyexch.pod26 int OSSL_FUNC_keyexch_init(void *ctx, void *provkey,
28 int OSSL_FUNC_keyexch_set_peer(void *ctx, void *provkey);
111 in the I<provkey> parameter.
119 I<provkey> parameter) to be used when deriving the shared secret.
H A Dprovider-asym_cipher.pod26 int OSSL_FUNC_asym_cipher_encrypt_init(void *ctx, void *provkey,
33 int OSSL_FUNC_asym_cipher_decrypt_init(void *ctx, void *provkey,
126 pointer to a provider key object in the I<provkey> parameter.
147 pointer to a provider key object in the I<provkey> parameter.
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Dkeymgmt_internal_test.c150 void *provkey = NULL, *provkey2 = NULL; in test_pass_rsa() local
236 if (!TEST_ptr(provkey = evp_pkey_export_to_provider(pk, NULL, &km1, in test_pass_rsa()
238 || !TEST_true(evp_keymgmt_export(km2, provkey, in test_pass_rsa()
H A Dfake_rsaprov.c307 static int fake_rsa_sig_sign_init(void *ctx, void *provkey, in fake_rsa_sig_sign_init() argument
311 struct fake_rsa_keydata *keydata = provkey; in fake_rsa_sig_sign_init()