/openssl/crypto/encode_decode/ |
H A D | decoder_pkey.c | 406 if ((propquery != NULL in ossl_decoder_ctx_setup_for_pkey() 593 char *propquery; member 611 OPENSSL_free(entry->propquery); in decoder_cache_entry_free() 621 + (cache->propquery == NULL in decoder_cache_entry_hash() 677 cmp = nullstrcmp(a->propquery, b->propquery, 0); in decoder_cache_entry_cmp() 760 if (propquery != NULL) in OSSL_DECODER_CTX_new_for_pkey() 769 cacheent.propquery = (char *)propquery; in OSSL_DECODER_CTX_new_for_pkey() 805 && (propquery == NULL in OSSL_DECODER_CTX_new_for_pkey() 838 if (propquery != NULL) { in OSSL_DECODER_CTX_new_for_pkey() 839 newcache->propquery = OPENSSL_strdup(propquery); in OSSL_DECODER_CTX_new_for_pkey() [all …]
|
H A D | encoder_pkey.c | 28 const char *propquery) in DEFINE_STACK_OF() 37 (void *)propquery, 0); in DEFINE_STACK_OF() 232 const char *propquery) in ossl_encoder_ctx_setup_for_pkey() argument 348 const char *propquery) in OSSL_ENCODER_CTX_new_for_pkey() argument 387 && ossl_encoder_ctx_setup_for_pkey(ctx, pkey, selection, propquery) in OSSL_ENCODER_CTX_new_for_pkey() 388 && OSSL_ENCODER_CTX_add_extra(ctx, libctx, propquery)) { in OSSL_ENCODER_CTX_new_for_pkey()
|
H A D | decoder_meth.c | 72 const char *propquery; /* For get_decoder_from_store() */ member 159 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store() 378 methdata->propquery = propq; in inner_ossl_decoder_fetch()
|
H A D | encoder_meth.c | 72 const char *propquery; /* For get_encoder_from_store() */ member 159 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store() 388 methdata->propquery = propq; in inner_ossl_encoder_fetch()
|
/openssl/providers/common/ |
H A D | provider_util.c | 51 static int load_common(const OSSL_PARAM params[], const char **propquery, in load_common() argument 56 *propquery = NULL; in load_common() 61 *propquery = p->data; in load_common() 96 const char *propquery; in ossl_prov_cipher_load_from_params() local 101 if (!load_common(params, &propquery, &pc->engine)) in ossl_prov_cipher_load_from_params() 112 pc->cipher = pc->alloc_cipher = EVP_CIPHER_fetch(ctx, p->data, propquery); in ossl_prov_cipher_load_from_params() 168 const char *mdname, const char *propquery) in ossl_prov_digest_fetch() argument 171 pd->md = pd->alloc_md = EVP_MD_fetch(libctx, mdname, propquery); in ossl_prov_digest_fetch() 181 const char *propquery; in ossl_prov_digest_load_from_params() local 186 if (!load_common(params, &propquery, &pd->engine)) in ossl_prov_digest_load_from_params() [all …]
|
/openssl/crypto/evp/ |
H A D | exchange.c | 285 EVP_KEYEXCH_fetch(ctx->libctx, supported_exch, ctx->propquery); in EVP_PKEY_derive_init_ex() 293 supported_exch, ctx->propquery); in EVP_PKEY_derive_init_ex() 313 ctx->propquery); in EVP_PKEY_derive_init_ex() 316 &tmp_keymgmt, ctx->propquery); in EVP_PKEY_derive_init_ex() 398 check_ctx = EVP_PKEY_CTX_new_from_pkey(ctx->libctx, peer, ctx->propquery); in EVP_PKEY_derive_set_peer_ex() 420 ctx->propquery); in EVP_PKEY_derive_set_peer_ex() 425 &tmp_keymgmt, ctx->propquery); in EVP_PKEY_derive_set_peer_ex()
|
H A D | kem.c | 94 kem = EVP_KEM_fetch(ctx->libctx, supported_kem, ctx->propquery); in evp_kem_init() 101 supported_kem, ctx->propquery); in evp_kem_init() 125 ctx->propquery); in evp_kem_init() 128 &tmp_keymgmt, ctx->propquery); in evp_kem_init() 132 ctx->propquery); in evp_kem_init()
|
H A D | pmeth_lib.c | 309 if (propquery != NULL) { in int_ctx_new() 310 ret->propquery = OPENSSL_strdup(propquery); in int_ctx_new() 311 if (ret->propquery == NULL) { in int_ctx_new() 343 const char *propquery) in EVP_PKEY_CTX_new_from_name() argument 349 const char *propquery) in EVP_PKEY_CTX_new_from_pkey() argument 400 OPENSSL_free(ctx->propquery); in EVP_PKEY_CTX_free() 470 rctx->propquery = NULL; in EVP_PKEY_CTX_dup() 471 if (pctx->propquery != NULL) { in EVP_PKEY_CTX_dup() 472 rctx->propquery = OPENSSL_strdup(pctx->propquery); in EVP_PKEY_CTX_dup() 473 if (rctx->propquery == NULL) in EVP_PKEY_CTX_dup() [all …]
|
H A D | asymcipher.c | 99 ctx->propquery); in evp_pkey_asym_cipher_init() 107 supported_ciph, ctx->propquery); in evp_pkey_asym_cipher_init() 127 ctx->propquery); in evp_pkey_asym_cipher_init() 130 &tmp_keymgmt, ctx->propquery); in evp_pkey_asym_cipher_init()
|
H A D | signature.c | 533 ctx->propquery); in evp_pkey_signature_init() 536 &tmp_keymgmt, ctx->propquery); in evp_pkey_signature_init() 652 EVP_SIGNATURE_fetch(ctx->libctx, supported_sig, ctx->propquery); in evp_pkey_signature_init() 660 supported_sig, ctx->propquery); in evp_pkey_signature_init() 681 ctx->propquery); in evp_pkey_signature_init() 684 &tmp_keymgmt, ctx->propquery); in evp_pkey_signature_init() 701 signature->newctx(ossl_provider_ctx(signature->prov), ctx->propquery); in evp_pkey_signature_init()
|
H A D | m_sigver.c | 83 props = locpctx->propquery; in do_sigver_init() 147 locpctx->propquery); in do_sigver_init() 155 supported_sig, locpctx->propquery); in do_sigver_init() 176 locpctx->propquery); in do_sigver_init() 179 &tmp_keymgmt, locpctx->propquery); in do_sigver_init()
|
H A D | evp_fetch.c | 32 const char *propquery; /* For get_evp_method_from_store() */ member 153 if (!ossl_method_store_fetch(store, meth_id, methdata->propquery, prov, in get_evp_method_from_store() 308 methdata->propquery = propq; in inner_evp_generic_fetch()
|
H A D | pmeth_check.c | 38 &keymgmt, ctx->propquery); in try_provided_check()
|
H A D | p_lib.c | 1167 const char *propquery /* For provided encoding */, in print_pkey() argument 1181 propquery); in print_pkey() 1845 const char *propquery) in evp_pkey_export_to_provider() argument 1886 EVP_PKEY_CTX *ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pk, propquery); in evp_pkey_export_to_provider() 1944 libctx, propquery)) { in evp_pkey_export_to_provider()
|
/openssl/include/openssl/ |
H A D | encoder.h | 68 const char *propquery); 119 const char *propquery);
|
H A D | decoder.h | 128 OSSL_LIB_CTX *libctx, const char *propquery);
|
/openssl/doc/man3/ |
H A D | EVP_PKEY_CTX_new.pod | 18 const char *propquery); 21 const char *propquery); 36 key type specified by I<name> and the property query I<propquery>. None 43 algorithm specified by I<pkey> and the property query I<propquery>. None of the
|
H A D | OSSL_ENCODER_CTX_new_for_pkey.pod | 21 const char *propquery); 25 const char *propquery); 54 implicitly fetched, with I<propquery> for finer selection. 69 use I<propquery> as properties to be queried for when fetching.
|
H A D | OSSL_DECODER_CTX_new_for_pkey.pod | 21 OSSL_LIB_CTX *libctx, const char *propquery); 52 fetched using I<libctx> and I<propquery>.
|
/openssl/crypto/store/ |
H A D | store_meth.c | 76 const char *propquery; /* For get_loader_from_store() */ member 150 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_loader_from_store() 326 methdata->propquery = propq; in inner_loader_fetch()
|
/openssl/crypto/ec/ |
H A D | ecx_meth.c | 390 pctx->propquery); in ecx_generic_import_from() 947 ctx->propquery); in s390x_pkey_ecx_keygen25519() 990 ctx->propquery); in s390x_pkey_ecx_keygen448() 1036 ctx->propquery); in s390x_pkey_ecd_keygen25519() 1058 md = EVP_MD_fetch(ctx->libctx, "SHA512", ctx->propquery); in s390x_pkey_ecd_keygen25519() 1102 ctx->propquery); in s390x_pkey_ecd_keygen448() 1128 md = EVP_MD_fetch(ctx->libctx, "SHAKE256", ctx->propquery); in s390x_pkey_ecd_keygen448()
|
/openssl/providers/common/include/prov/ |
H A D | provider_util.h | 67 const char *mdname, const char *propquery);
|
/openssl/doc/internal/man3/ |
H A D | evp_pkey_export_to_provider.pod | 15 const char *propquery); 27 default context), the name of the legacy type of I<pk>, and the I<propquery>
|
/openssl/providers/implementations/rands/ |
H A D | drbg_ctr.c | 714 const char *propquery = NULL; in drbg_ctr_set_ctx_params_locked() local 728 propquery = (const char *)p->data; in drbg_ctr_set_ctx_params_locked() 748 ctr->cipher_ctr = EVP_CIPHER_fetch(libctx, base, propquery); in drbg_ctr_set_ctx_params_locked() 749 ctr->cipher_ecb = EVP_CIPHER_fetch(libctx, ecb, propquery); in drbg_ctr_set_ctx_params_locked()
|
/openssl/test/ |
H A D | evp_test.c | 335 static const char *propquery = NULL; variable 669 if ((digest = fetched_digest = EVP_MD_fetch(libctx, alg, propquery)) == NULL in digest_test_init() 1605 if ((mac = EVP_MAC_fetch(libctx, alg, propquery)) == NULL) { in mac_test_init() 2449 = EVP_SIGNATURE_fetch(libctx, algoname, propquery))) { in pkey_test_init_ex2() 3059 propquery); in pbe_test_run() 3325 rand = EVP_RAND_fetch(libctx, name, propquery); in rand_test_init() 3600 kdf = EVP_KDF_fetch(libctx, name, propquery); in kdf_test_init() 3833 kdata->ctx = EVP_PKEY_CTX_new_from_name(libctx, name, propquery); in pkey_kdf_test_init() 4115 propquery))) in keygen_test_run() 4120 propquery))) in keygen_test_run() [all …]
|