Home
last modified time | relevance | path

Searched refs:pkdfctx (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/openssl/openssl/providers/implementations/exchange/
Dkdf_exch.c82 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_init() local
85 || pkdfctx == NULL in kdf_init()
89 pkdfctx->kdfdata = vkdf; in kdf_init()
91 return kdf_set_ctx_params(pkdfctx, params); in kdf_init()
97 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_derive() local
104 kdfsize = EVP_KDF_CTX_get_kdf_size(pkdfctx->kdfctx); in kdf_derive()
119 ret = EVP_KDF_derive(pkdfctx->kdfctx, secret, outlen, NULL); in kdf_derive()
129 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_freectx() local
131 EVP_KDF_CTX_free(pkdfctx->kdfctx); in kdf_freectx()
132 ossl_kdf_data_free(pkdfctx->kdfdata); in kdf_freectx()
[all …]
/third_party/openssl/providers/implementations/exchange/
Dkdf_exch.c82 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_init() local
85 || pkdfctx == NULL in kdf_init()
89 pkdfctx->kdfdata = vkdf; in kdf_init()
91 return kdf_set_ctx_params(pkdfctx, params); in kdf_init()
97 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_derive() local
104 kdfsize = EVP_KDF_CTX_get_kdf_size(pkdfctx->kdfctx); in kdf_derive()
119 ret = EVP_KDF_derive(pkdfctx->kdfctx, secret, outlen, NULL); in kdf_derive()
129 PROV_KDF_CTX *pkdfctx = (PROV_KDF_CTX *)vpkdfctx; in kdf_freectx() local
131 EVP_KDF_CTX_free(pkdfctx->kdfctx); in kdf_freectx()
132 ossl_kdf_data_free(pkdfctx->kdfdata); in kdf_freectx()
[all …]