Home
last modified time | relevance | path

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

/system/utest/crypto/
A Dhkdf.cpp27 Bytes salt; in TestInit() local
29 ASSERT_OK(salt.Randomize(GUID_LEN)); in TestInit()
41 ASSERT_OK(salt.Resize(0)); in TestInit()
43 ASSERT_OK(salt.Randomize(GUID_LEN)); in TestInit()
60 Bytes salt; in TestDerive() local
90 Bytes salt; in TestRfc5869_TC1() local
94 ASSERT_OK(salt.Resize(13)); in TestRfc5869_TC1()
96 salt[i] = i; in TestRfc5869_TC1()
115 Bytes salt; in TestRfc5869_TC2() local
121 ASSERT_OK(salt.Resize(80)); in TestRfc5869_TC2()
[all …]
/system/ulib/crypto/
A Dhkdf.cpp36 zx_status_t HKDF::Init(digest::Algorithm digest, const Secret& key, const Bytes& salt, in Init() argument
66 if (HKDF_extract(prk, &prk_len, md, key.get(), key.len(), salt.get(), salt.len()) < 0) { in Init()
/system/ulib/crypto/include/crypto/
A Dhkdf.h36 zx_status_t Init(digest::Algorithm digest, const Secret& ikm, const Bytes& salt,

Completed in 4 milliseconds