Lines Matching refs:kctx
40 EVP_KDF_CTX *kctx; in tls13_hkdf_expand_ex() local
47 kctx = EVP_KDF_CTX_new(kdf); in tls13_hkdf_expand_ex()
49 if (kctx == NULL) in tls13_hkdf_expand_ex()
60 EVP_KDF_CTX_free(kctx); in tls13_hkdf_expand_ex()
65 EVP_KDF_CTX_free(kctx); in tls13_hkdf_expand_ex()
88 ret = EVP_KDF_derive(kctx, out, outlen, params) <= 0; in tls13_hkdf_expand_ex()
89 EVP_KDF_CTX_free(kctx); in tls13_hkdf_expand_ex()
173 EVP_KDF_CTX *kctx; in tls13_generate_secret() local
182 kctx = EVP_KDF_CTX_new(kdf); in tls13_generate_secret()
184 if (kctx == NULL) { in tls13_generate_secret()
193 EVP_KDF_CTX_free(kctx); in tls13_generate_secret()
216 ret = EVP_KDF_derive(kctx, outsecret, mdlen, params) <= 0; in tls13_generate_secret()
221 EVP_KDF_CTX_free(kctx); in tls13_generate_secret()