Home
last modified time | relevance | path

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

/openssl/include/internal/
H A Dhpke_util.h72 unsigned char *prk, size_t prklen,
78 const unsigned char *prk, size_t prklen,
82 unsigned char *prk, size_t prklen,
90 const unsigned char *prk, size_t prklen,
/openssl/crypto/hpke/
H A Dhpke_util.c274 unsigned char *prk, size_t prklen, in ossl_hpke_kdf_extract() argument
278 return kdf_derive(kctx, prk, prklen, EVP_KDF_HKDF_MODE_EXTRACT_ONLY, in ossl_hpke_kdf_extract()
285 const unsigned char *prk, size_t prklen, in ossl_hpke_kdf_expand() argument
289 NULL, 0, prk, prklen, info, infolen); in ossl_hpke_kdf_expand()
296 unsigned char *prk, size_t prklen, in ossl_hpke_labeled_extract() argument
333 ret = ossl_hpke_kdf_extract(kctx, prk, prklen, salt, saltlen, in ossl_hpke_labeled_extract()
347 const unsigned char *prk, size_t prklen, in ossl_hpke_labeled_expand() argument
364 labeled_infolen = 2 + okmlen + prklen + label_hpkev1len in ossl_hpke_labeled_expand()
385 prk, prklen, labeled_info, labeled_infolen); in ossl_hpke_labeled_expand()
/openssl/providers/implementations/kem/
H A Decx_kem.c303 size_t prklen = okmlen; /* Nh */ in dhkem_extract_and_expand() local
306 if (prklen > sizeof(prk)) in dhkem_extract_and_expand()
312 ret = ossl_hpke_labeled_extract(kctx, prk, prklen, in dhkem_extract_and_expand()
315 && ossl_hpke_labeled_expand(kctx, okm, okmlen, prk, prklen, in dhkem_extract_and_expand()
319 OPENSSL_cleanse(prk, prklen); in dhkem_extract_and_expand()
H A Dec_kem.c346 size_t prklen = okmlen; in dhkem_extract_and_expand() local
349 if (prklen > sizeof(prk)) in dhkem_extract_and_expand()
355 ret = ossl_hpke_labeled_extract(kctx, prk, prklen, in dhkem_extract_and_expand()
358 && ossl_hpke_labeled_expand(kctx, okm, okmlen, prk, prklen, in dhkem_extract_and_expand()
362 OPENSSL_cleanse(prk, prklen); in dhkem_extract_and_expand()

Completed in 12 milliseconds