Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dkbkdf.c154 unsigned char *k_i, size_t h, uint32_t l, int has_separator, in derive() argument
176 memcpy(k_i, iv, iv_len); in derive()
186 if (mode == FEEDBACK && !EVP_MAC_update(ctx, k_i, k_i_len)) in derive()
194 || !EVP_MAC_final(ctx, k_i, NULL, h)) in derive()
198 memcpy(ko + written, k_i, ossl_min(to_write, h)); in derive()
217 unsigned char *k_i = NULL; in kbkdf_derive() local
254 k_i = OPENSSL_zalloc(h); in kbkdf_derive()
255 if (k_i == NULL) in kbkdf_derive()
259 ctx->label_len, ctx->context, ctx->context_len, k_i, h, l, in kbkdf_derive()
264 OPENSSL_clear_free(k_i, h); in kbkdf_derive()