Searched refs:make_string (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/keymaster/3.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 372 std::string make_string(const uint8_t* data, size_t length) { in make_string() function 376 template <size_t N> std::string make_string(const uint8_t (&a)[N]) { in make_string() function 377 return make_string(a, N); in make_string() 1894 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1895 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1896 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() 1897 CheckHmacTestVector(key, message, Digest::SHA_2_512, make_string(sha_512_expected)); in TEST_P() 1926 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1927 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1928 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() [all …]
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | keymaster_hidl_hal_test.cpp | 369 std::string make_string(const uint8_t* data, size_t length) { in make_string() function 374 std::string make_string(const uint8_t (&a)[N]) { in make_string() function 375 return make_string(a, N); in make_string() 1586 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1588 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1589 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() 1590 CheckHmacTestVector(key, message, Digest::SHA_2_512, make_string(sha_512_expected)); in TEST_P() 1620 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1622 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1623 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() [all …]
|
/hardware/interfaces/security/keymint/aidl/vts/functional/ |
D | KeyMintTest.cpp | 415 std::string make_string(const uint8_t* data, size_t length) { in make_string() function 420 std::string make_string(const uint8_t (&a)[N]) { in make_string() function 421 return make_string(a, N); in make_string() 2975 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 2977 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 2978 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() 2979 CheckHmacTestVector(key, message, Digest::SHA_2_512, make_string(sha_512_expected)); in TEST_P() 3009 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 3011 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 3012 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() [all …]
|