/openssl/crypto/evp/ |
H A D | kem.c | 27 void *provkey = NULL, *provauthkey = NULL; in evp_kem_init() local 81 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in evp_kem_init() 127 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_kem_init() 129 if (provkey != NULL && authkey != NULL) { in evp_kem_init() 144 if (provkey == NULL) { in evp_kem_init() 161 ret = kem->auth_encapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 164 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init() 173 ret = kem->auth_decapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init() 176 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init()
|
H A D | exchange.c | 198 void *provkey = NULL; in EVP_PKEY_derive_init_ex() local 271 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in EVP_PKEY_derive_init_ex() 315 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in EVP_PKEY_derive_init_ex() 321 if (provkey == NULL) { in EVP_PKEY_derive_init_ex() 341 ret = exchange->init(ctx->op.kex.algctx, provkey, params); in EVP_PKEY_derive_init_ex() 380 void *provkey = NULL; in EVP_PKEY_derive_set_peer_ex() local 424 provkey = evp_pkey_export_to_provider(peer, ctx->libctx, in EVP_PKEY_derive_set_peer_ex() 432 if (provkey == NULL) in EVP_PKEY_derive_set_peer_ex() 434 return ctx->op.kex.exchange->set_peer(ctx->op.kex.algctx, provkey); in EVP_PKEY_derive_set_peer_ex()
|
H A D | asymcipher.c | 24 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 D | signature.c | 492 void *provkey = NULL; in evp_pkey_signature_init() local 535 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_signature_init() 540 if (provkey == NULL) in evp_pkey_signature_init() 638 for (iter = 1; iter < 3 && provkey == NULL; iter++) { in evp_pkey_signature_init() 683 provkey = evp_pkey_export_to_provider(ctx->pkey, ctx->libctx, in evp_pkey_signature_init() 689 if (provkey == NULL) { in evp_pkey_signature_init() 715 ret = signature->sign_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init() 723 ret = signature->sign_message_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init() 731 ret = signature->verify_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init() 739 ret = signature->verify_message_init(ctx->op.sig.algctx, provkey, params); in evp_pkey_signature_init() [all …]
|
H A D | m_sigver.c | 49 void *provkey = NULL; in do_sigver_init() local 133 for (iter = 1, provkey = NULL; iter < 3 && provkey == NULL; iter++) { in do_sigver_init() 178 provkey = evp_pkey_export_to_provider(locpctx->pkey, locpctx->libctx, in do_sigver_init() 184 if (provkey == NULL) { in do_sigver_init() 215 if (evp_keymgmt_util_get_deflt_digest_name(tmp_keymgmt, provkey, in do_sigver_init() 260 mdname, provkey, params); in do_sigver_init() 267 mdname, provkey, params); in do_sigver_init()
|
H A D | pmeth_lib.c | 579 void *provkey; in EVP_PKEY_CTX_dup() local 581 provkey = evp_pkey_export_to_provider(pctx->pkey, pctx->libctx, in EVP_PKEY_CTX_dup() 583 if (provkey == NULL) in EVP_PKEY_CTX_dup()
|
/openssl/test/ |
H A D | fake_rsaprov.c | 313 static int fake_rsa_sig_sign_init(void *ctx, void *provkey, in fake_rsa_sig_sign_init() argument 317 struct fake_rsa_keydata *keydata = provkey; in fake_rsa_sig_sign_init() 377 void *provkey, const OSSL_PARAM params[]) in fake_rsa_dgstsgnvfy_init() argument 380 struct fake_rsa_keydata *keydata = provkey; in fake_rsa_dgstsgnvfy_init() 408 void *provkey, const OSSL_PARAM params[]) in fake_rsa_dgstsgn_init() argument 410 return fake_rsa_dgstsgnvfy_init(ctx, FAKE_DGSTSGN_SIGN, provkey, params); in fake_rsa_dgstsgn_init() 414 void *provkey, const OSSL_PARAM params[]) in fake_rsa_dgstvfy_init() argument 416 return fake_rsa_dgstsgnvfy_init(ctx, FAKE_DGSTSGN_VERIFY, provkey, params); in fake_rsa_dgstvfy_init()
|
H A D | keymgmt_internal_test.c | 150 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()
|
/openssl/include/openssl/ |
H A D | core_dispatch.h | 701 OSSL_CORE_MAKE_FUNC(int, keyexch_init, (void *ctx, void *provkey, 705 OSSL_CORE_MAKE_FUNC(int, keyexch_set_peer, (void *ctx, void *provkey)) 754 OSSL_CORE_MAKE_FUNC(int, signature_sign_init, (void *ctx, void *provkey, 761 (void *ctx, void *provkey, const OSSL_PARAM params[])) 767 OSSL_CORE_MAKE_FUNC(int, signature_verify_init, (void *ctx, void *provkey, 775 (void *ctx, void *provkey, const OSSL_PARAM params[])) 784 (void *ctx, void *provkey, const OSSL_PARAM params[])) 789 (void *ctx, const char *mdname, void *provkey, 800 (void *ctx, const char *mdname, void *provkey, 885 OSSL_CORE_MAKE_FUNC(int, kem_encapsulate_init, (void *ctx, void *provkey, [all …]
|
/openssl/doc/man7/ |
H A D | provider-kem.pod | 26 int OSSL_FUNC_kem_encapsulate_init(void *ctx, void *provkey, 28 int OSSL_FUNC_kem_auth_encapsulate_init(void *ctx, void *provkey, 35 int OSSL_FUNC_kem_decapsulate_init(void *ctx, void *provkey); 36 int OSSL_FUNC_kem_auth_decapsulate_init(void *ctx, void *provkey, 132 parameter, a pointer to a provider key object in the I<provkey> parameter and 162 parameter, a pointer to a provider key object in the I<provkey> parameter, and
|
H A D | provider-signature.pod | 29 int OSSL_FUNC_signature_sign_init(void *ctx, void *provkey, 33 int OSSL_FUNC_signature_sign_message_init(void *ctx, void *provkey, 41 int OSSL_FUNC_signature_verify_init(void *ctx, void *provkey, 65 void *provkey, 78 void *provkey, 235 in the I<provkey> parameter. 261 pointer to a provider key object in the I<provkey> parameter. 289 provider key object in the I<provkey> parameter. 335 a pointer to a provider key object in the I<provkey> parameter. 356 provider key object in the I<provkey> parameter. [all …]
|
H A D | provider-keyexch.pod | 26 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 D | provider-asym_cipher.pod | 26 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.
|