Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/crypto/evp/
H A Dkdf_meth.c112 if (kdf->gettable_ctx_params != NULL) in evp_kdf_from_algorithm()
114 kdf->gettable_ctx_params = OSSL_FUNC_kdf_gettable_ctx_params(fns); in evp_kdf_from_algorithm()
188 if (kdf->gettable_ctx_params == NULL) in EVP_KDF_gettable_ctx_params()
191 return kdf->gettable_ctx_params(NULL, alg); in EVP_KDF_gettable_ctx_params()
208 if (ctx->meth->gettable_ctx_params == NULL) in EVP_KDF_CTX_gettable_params()
211 return ctx->meth->gettable_ctx_params(ctx->algctx, alg); in EVP_KDF_CTX_gettable_params()
H A Dmac_meth.c119 if (mac->gettable_ctx_params != NULL) in evp_mac_from_algorithm()
121 mac->gettable_ctx_params = OSSL_FUNC_mac_gettable_ctx_params(fns); in evp_mac_from_algorithm()
209 if (mac->gettable_ctx_params == NULL) in EVP_MAC_gettable_ctx_params()
212 return mac->gettable_ctx_params(NULL, alg); in EVP_MAC_gettable_ctx_params()
229 if (ctx->meth->gettable_ctx_params == NULL) in EVP_MAC_CTX_gettable_params()
232 return ctx->meth->gettable_ctx_params(ctx->algctx, alg); in EVP_MAC_CTX_gettable_params()
H A Devp_rand.c43 OSSL_FUNC_rand_gettable_ctx_params_fn *gettable_ctx_params; member
205 if (rand->gettable_ctx_params != NULL) in evp_rand_from_algorithm()
207 rand->gettable_ctx_params = OSSL_FUNC_rand_gettable_ctx_params(fns); in evp_rand_from_algorithm()
455 if (rand->gettable_ctx_params == NULL) in EVP_RAND_gettable_ctx_params()
458 return rand->gettable_ctx_params(NULL, provctx); in EVP_RAND_gettable_ctx_params()
475 if (ctx->meth->gettable_ctx_params == NULL) in EVP_RAND_CTX_gettable_params()
478 return ctx->meth->gettable_ctx_params(ctx->algctx, provctx); in EVP_RAND_CTX_gettable_params()
H A Devp_local.h157 OSSL_FUNC_keyexch_gettable_ctx_params_fn *gettable_ctx_params; member
191 OSSL_FUNC_signature_gettable_ctx_params_fn *gettable_ctx_params; member
241 OSSL_FUNC_asym_cipher_gettable_ctx_params_fn *gettable_ctx_params; member
261 OSSL_FUNC_kem_gettable_ctx_params_fn *gettable_ctx_params; member
H A Dexchange.c110 if (exchange->gettable_ctx_params != NULL) in evp_keyexch_from_algorithm()
112 exchange->gettable_ctx_params in evp_keyexch_from_algorithm()
592 if (keyexch == NULL || keyexch->gettable_ctx_params == NULL) in EVP_KEYEXCH_gettable_ctx_params()
596 return keyexch->gettable_ctx_params(NULL, provctx); in EVP_KEYEXCH_gettable_ctx_params()
H A Dkem.c384 if (kem->gettable_ctx_params != NULL) in evp_kem_from_algorithm()
386 kem->gettable_ctx_params in evp_kem_from_algorithm()
524 if (kem == NULL || kem->gettable_ctx_params == NULL) in EVP_KEM_gettable_ctx_params()
528 return kem->gettable_ctx_params(NULL, provctx); in EVP_KEM_gettable_ctx_params()
H A Dasymcipher.c438 if (cipher->gettable_ctx_params != NULL) in evp_asym_cipher_from_algorithm()
440 cipher->gettable_ctx_params in evp_asym_cipher_from_algorithm()
579 if (cip == NULL || cip->gettable_ctx_params == NULL) in EVP_ASYM_CIPHER_gettable_ctx_params()
583 return cip->gettable_ctx_params(NULL, provctx); in EVP_ASYM_CIPHER_gettable_ctx_params()
H A Ddigest.c855 if (md != NULL && md->gettable_ctx_params != NULL) { in EVP_MD_gettable_ctx_params()
857 return md->gettable_ctx_params(NULL, provctx); in EVP_MD_gettable_ctx_params()
881 if (ctx->digest != NULL && ctx->digest->gettable_ctx_params != NULL) { in EVP_MD_CTX_gettable_params()
883 return ctx->digest->gettable_ctx_params(ctx->algctx, provctx); in EVP_MD_CTX_gettable_params()
1112 if (md->gettable_ctx_params == NULL) in evp_md_from_algorithm()
1113 md->gettable_ctx_params = OSSL_FUNC_digest_gettable_ctx_params(fns); in evp_md_from_algorithm()
H A Dpmeth_lib.c764 && ctx->op.kex.exchange->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
766 return ctx->op.kex.exchange->gettable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_gettable_params()
771 && ctx->op.sig.signature->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
774 return ctx->op.sig.signature->gettable_ctx_params(ctx->op.sig.algctx, in EVP_PKEY_CTX_gettable_params()
779 && ctx->op.ciph.cipher->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
782 return ctx->op.ciph.cipher->gettable_ctx_params(ctx->op.ciph.algctx, in EVP_PKEY_CTX_gettable_params()
787 && ctx->op.encap.kem->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
789 return ctx->op.encap.kem->gettable_ctx_params(ctx->op.encap.algctx, in EVP_PKEY_CTX_gettable_params()
H A Dsignature.c228 if (signature->gettable_ctx_params != NULL) in evp_signature_from_algorithm()
230 signature->gettable_ctx_params in evp_signature_from_algorithm()
550 if (sig == NULL || sig->gettable_ctx_params == NULL) in EVP_SIGNATURE_gettable_ctx_params()
554 return sig->gettable_ctx_params(NULL, provctx); in EVP_SIGNATURE_gettable_ctx_params()
H A Devp_enc.c1706 if (cipher != NULL && cipher->gettable_ctx_params != NULL) { in EVP_CIPHER_gettable_ctx_params()
1708 return cipher->gettable_ctx_params(NULL, provctx); in EVP_CIPHER_gettable_ctx_params()
1728 if (cctx != NULL && cctx->cipher->gettable_ctx_params != NULL) { in EVP_CIPHER_CTX_gettable_params()
1730 return cctx->cipher->gettable_ctx_params(cctx->algctx, provctx); in EVP_CIPHER_CTX_gettable_params()
2020 if (cipher->gettable_ctx_params != NULL) in evp_cipher_from_algorithm()
2022 cipher->gettable_ctx_params = OSSL_FUNC_cipher_gettable_ctx_params(fns); in evp_cipher_from_algorithm()
/freebsd/crypto/openssl/include/crypto/
H A Devp.h224 OSSL_FUNC_mac_gettable_ctx_params_fn *gettable_ctx_params; member
245 OSSL_FUNC_kdf_gettable_ctx_params_fn *gettable_ctx_params; member
296 OSSL_FUNC_digest_gettable_ctx_params_fn *gettable_ctx_params; member
355 OSSL_FUNC_cipher_gettable_ctx_params_fn *gettable_ctx_params; member
/freebsd/crypto/openssl/doc/designs/
H A Dfips_indicator.md246 This must be placed in the algorithms gettable_ctx_params table
253 and/or get_ctx_params()/gettable_ctx_params() to be added if required.