Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/hkdf/
Dhkdf_test.cc33 const size_t prk_len; member
253 size_t prk_len; in TEST() local
254 ASSERT_TRUE(HKDF_extract(prk, &prk_len, test->md_func(), test->ikm, in TEST()
256 EXPECT_EQ(Bytes(test->prk, test->prk_len), Bytes(prk, prk_len)); in TEST()
259 ASSERT_TRUE(HKDF_expand(buf, test->out_len, test->md_func(), prk, prk_len, in TEST()
Dhkdf.c31 size_t prk_len; in HKDF() local
33 if (!HKDF_extract(prk, &prk_len, digest, secret, secret_len, salt, in HKDF()
35 !HKDF_expand(out_key, out_len, digest, prk, prk_len, info, info_len)) { in HKDF()
60 const uint8_t *prk, size_t prk_len, const uint8_t *info, in HKDF_expand() argument
78 if (!HMAC_Init_ex(&hmac, prk, prk_len, digest, NULL)) { in HKDF_expand()
/external/boringssl/src/include/openssl/
Dhkdf.h54 size_t prk_len, const uint8_t *info,