Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/evp/
Dpbkdf_test.cc69 const uint8_t kKey[] = {0xa3, 0x3d, 0xdd, 0xc3, 0x04, 0x78, 0x18, in TestEmptyPassword() local
73 if (!TestPBKDF2(NULL, 0, "salt", 4, 1, EVP_sha1(), sizeof(kKey), kKey) || in TestEmptyPassword()
74 !TestPBKDF2("", 0, "salt", 4, 1, EVP_sha1(), sizeof(kKey), kKey)) { in TestEmptyPassword()
84 const uint8_t kKey[] = {0x8b, 0xc2, 0xf9, 0x16, 0x7a, 0x81, 0xcd, 0xcf, in TestEmptySalt() local
89 if (!TestPBKDF2("password", 8, NULL, 0, 2, EVP_sha256(), sizeof(kKey), in TestEmptySalt()
90 kKey) || in TestEmptySalt()
91 !TestPBKDF2("password", 8, "", 0, 2, EVP_sha256(), sizeof(kKey), kKey)) { in TestEmptySalt()
/external/boringssl/src/crypto/cmac/
Dcmac_test.cc95 static const uint8_t kKey[16] = { in rfc_4493_test_vectors() local
137 if (!test("RFC 4493 #1", kKey, sizeof(kKey), NULL, 0, kOut1) || in rfc_4493_test_vectors()
138 !test("RFC 4493 #2", kKey, sizeof(kKey), kMsg2, sizeof(kMsg2), kOut2) || in rfc_4493_test_vectors()
139 !test("RFC 4493 #3", kKey, sizeof(kKey), kMsg3, sizeof(kMsg3), kOut3) || in rfc_4493_test_vectors()
140 !test("RFC 4493 #4", kKey, sizeof(kKey), kMsg4, sizeof(kMsg4), kOut4)) { in rfc_4493_test_vectors()