Lines Matching refs:kdf
23 EVP_KDF_CTX *EVP_KDF_CTX_new(EVP_KDF *kdf) in EVP_KDF_CTX_new() argument
27 if (kdf == NULL) in EVP_KDF_CTX_new()
32 || (ctx->algctx = kdf->newctx(ossl_provider_ctx(kdf->prov))) == NULL in EVP_KDF_CTX_new()
33 || !EVP_KDF_up_ref(kdf)) { in EVP_KDF_CTX_new()
36 kdf->freectx(ctx->algctx); in EVP_KDF_CTX_new()
40 ctx->meth = kdf; in EVP_KDF_CTX_new()
81 int evp_kdf_get_number(const EVP_KDF *kdf) in evp_kdf_get_number() argument
83 return kdf->name_id; in evp_kdf_get_number()
86 const char *EVP_KDF_get0_name(const EVP_KDF *kdf) in EVP_KDF_get0_name() argument
88 return kdf->type_name; in EVP_KDF_get0_name()
91 const char *EVP_KDF_get0_description(const EVP_KDF *kdf) in EVP_KDF_get0_description() argument
93 return kdf->description; in EVP_KDF_get0_description()
96 int EVP_KDF_is_a(const EVP_KDF *kdf, const char *name) in EVP_KDF_is_a() argument
98 return kdf != NULL && evp_is_a(kdf->prov, kdf->name_id, NULL, name); in EVP_KDF_is_a()
101 const OSSL_PROVIDER *EVP_KDF_get0_provider(const EVP_KDF *kdf) in EVP_KDF_get0_provider() argument
103 return kdf->prov; in EVP_KDF_get0_provider()
153 int EVP_KDF_get_params(EVP_KDF *kdf, OSSL_PARAM params[]) in EVP_KDF_get_params() argument
155 if (kdf->get_params != NULL) in EVP_KDF_get_params()
156 return kdf->get_params(params); in EVP_KDF_get_params()
174 int EVP_KDF_names_do_all(const EVP_KDF *kdf, in EVP_KDF_names_do_all() argument
178 if (kdf->prov != NULL) in EVP_KDF_names_do_all()
179 return evp_names_do_all(kdf->prov, kdf->name_id, fn, data); in EVP_KDF_names_do_all()