Home
last modified time | relevance | path

Searched refs:gettable_ctx_params (Results 1 – 12 of 12) sorted by relevance

/freebsd/crypto/openssl/crypto/evp/
H A Dkdf_meth.c115 if (kdf->gettable_ctx_params != NULL) in evp_kdf_from_algorithm()
117 kdf->gettable_ctx_params = in evp_kdf_from_algorithm()
189 if (kdf->gettable_ctx_params == NULL) in EVP_KDF_gettable_ctx_params()
192 return kdf->gettable_ctx_params(NULL, alg); in EVP_KDF_gettable_ctx_params()
209 if (ctx->meth->gettable_ctx_params == NULL) in EVP_KDF_CTX_gettable_params()
212 return ctx->meth->gettable_ctx_params(ctx->algctx, alg); in EVP_KDF_CTX_gettable_params()
H A Dmac_meth.c123 if (mac->gettable_ctx_params != NULL) in evp_mac_from_algorithm()
125 mac->gettable_ctx_params = in evp_mac_from_algorithm()
203 if (mac->gettable_ctx_params == NULL) in EVP_MAC_gettable_ctx_params()
206 return mac->gettable_ctx_params(NULL, alg); in EVP_MAC_gettable_ctx_params()
223 if (ctx->meth->gettable_ctx_params == NULL) in EVP_MAC_CTX_gettable_params()
226 return ctx->meth->gettable_ctx_params(ctx->algctx, alg); in EVP_MAC_CTX_gettable_params()
H A Devp_rand.c44 OSSL_FUNC_rand_gettable_ctx_params_fn *gettable_ctx_params; member
204 if (rand->gettable_ctx_params != NULL) in evp_rand_from_algorithm()
206 rand->gettable_ctx_params = in evp_rand_from_algorithm()
445 if (rand->gettable_ctx_params == NULL) in EVP_RAND_gettable_ctx_params()
448 return rand->gettable_ctx_params(NULL, provctx); in EVP_RAND_gettable_ctx_params()
465 if (ctx->meth->gettable_ctx_params == NULL) in EVP_RAND_CTX_gettable_params()
468 return ctx->meth->gettable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_gettable_params()
H A Devp_local.h153 OSSL_FUNC_keyexch_gettable_ctx_params_fn *gettable_ctx_params; member
182 OSSL_FUNC_signature_gettable_ctx_params_fn *gettable_ctx_params; member
207 OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *gettable_ctx_params; member
228 OSSL_FUNC_kem_gettable_ctx_params_fn *gettable_ctx_params; member
H A Dkem.c328 if (kem->gettable_ctx_params != NULL) in evp_kem_from_algorithm()
330 kem->gettable_ctx_params in evp_kem_from_algorithm()
466 if (kem == NULL || kem->gettable_ctx_params == NULL) in EVP_KEM_gettable_ctx_params()
470 return kem->gettable_ctx_params(NULL, provctx); in EVP_KEM_gettable_ctx_params()
H A Dasymcipher.c394 if (cipher->gettable_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
396 cipher->gettable_ctx_params in evp_asym_cipher_from_algorithm()
536 if (cip == NULL || cip->gettable_ctx_params == NULL) in EVP_ASYM_CIPHER_gettable_ctx_params()
540 return cip->gettable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_gettable_ctx_params()
H A Dexchange.c104 if (exchange->gettable_ctx_params != NULL) in evp_keyexch_from_algorithm()
106 exchange->gettable_ctx_params in evp_keyexch_from_algorithm()
582 if (keyexch == NULL || keyexch->gettable_ctx_params == NULL) in EVP_KEYEXCH_gettable_ctx_params()
586 return keyexch->gettable_ctx_params(NULL, provctx); in EVP_KEYEXCH_gettable_ctx_params()
H A Dsignature.c180 if (signature->gettable_ctx_params != NULL) in evp_signature_from_algorithm()
182 signature->gettable_ctx_params in evp_signature_from_algorithm()
267 * applies to get_ctx_params and gettable_ctx_params. The same rules in evp_signature_from_algorithm()
376 if (sig == NULL || sig->gettable_ctx_params == NULL) in EVP_SIGNATURE_gettable_ctx_params()
380 return sig->gettable_ctx_params(NULL, provctx); in EVP_SIGNATURE_gettable_ctx_params()
H A Ddigest.c775 if (md != NULL && md->gettable_ctx_params != NULL) { in EVP_MD_gettable_ctx_params()
777 return md->gettable_ctx_params(NULL, provctx); in EVP_MD_gettable_ctx_params()
800 if (ctx->digest != NULL && ctx->digest->gettable_ctx_params != NULL) { in EVP_MD_CTX_gettable_params()
802 return ctx->digest->gettable_ctx_params(ctx->algctx, provctx); in EVP_MD_CTX_gettable_params()
1028 if (md->gettable_ctx_params == NULL) in evp_md_from_algorithm()
1029 md->gettable_ctx_params = in evp_md_from_algorithm()
H A Devp_enc.c1346 if (cipher != NULL && cipher->gettable_ctx_params != NULL) { in EVP_CIPHER_gettable_ctx_params()
1348 return cipher->gettable_ctx_params(NULL, provctx); in EVP_CIPHER_gettable_ctx_params()
1368 if (cctx != NULL && cctx->cipher->gettable_ctx_params != NULL) { in EVP_CIPHER_CTX_gettable_params()
1370 return cctx->cipher->gettable_ctx_params(cctx->algctx, provctx); in EVP_CIPHER_CTX_gettable_params()
1620 if (cipher->gettable_ctx_params != NULL) in evp_cipher_from_algorithm()
1622 cipher->gettable_ctx_params = in evp_cipher_from_algorithm()
H A Dpmeth_lib.c778 && ctx->op.kex.exchange->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
780 return ctx->op.kex.exchange->gettable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_gettable_params()
785 && ctx->op.sig.signature->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
788 return ctx->op.sig.signature->gettable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_gettable_params()
793 && ctx->op.ciph.cipher->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
796 return ctx->op.ciph.cipher->gettable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_gettable_params()
801 && ctx->op.encap.kem->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
803 return ctx->op.encap.kem->gettable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_gettable_params()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h215 OSSL_FUNC_mac_gettable_ctx_params_fn *gettable_ctx_params; member
236 OSSL_FUNC_kdf_gettable_ctx_params_fn *gettable_ctx_params; member
286 OSSL_FUNC_digest_gettable_ctx_params_fn *gettable_ctx_params; member
342 OSSL_FUNC_cipher_gettable_ctx_params_fn *gettable_ctx_params; member