Lines Matching refs:kctx
659 EVP_KDF_CTX *kctx = NULL; in hpke_do_middle() local
700 kctx = ossl_kdf_ctx_create("HKDF", mdname, ctx->libctx, ctx->propq); in hpke_do_middle()
701 if (kctx == NULL) { in hpke_do_middle()
714 if (ossl_hpke_labeled_extract(kctx, ks_context + 1, halflen, in hpke_do_middle()
722 if (ossl_hpke_labeled_extract(kctx, ks_context + 1 + halflen, halflen, in hpke_do_middle()
736 if (ossl_hpke_labeled_extract(kctx, secret, secretlen, in hpke_do_middle()
751 if (ossl_hpke_labeled_expand(kctx, ctx->nonce, ctx->noncelen, in hpke_do_middle()
763 if (ossl_hpke_labeled_expand(kctx, ctx->key, ctx->keylen, in hpke_do_middle()
776 if (ossl_hpke_labeled_expand(kctx, ctx->exportersec, ctx->exporterseclen, in hpke_do_middle()
789 EVP_KDF_CTX_free(kctx); in hpke_do_middle()
1240 EVP_KDF_CTX *kctx = NULL; in OSSL_HPKE_export() local
1267 kctx = ossl_kdf_ctx_create("HKDF", mdname, ctx->libctx, ctx->propq); in OSSL_HPKE_export()
1268 if (kctx == NULL) { in OSSL_HPKE_export()
1279 erv = ossl_hpke_labeled_expand(kctx, secret, secretlen, in OSSL_HPKE_export()
1285 EVP_KDF_CTX_free(kctx); in OSSL_HPKE_export()