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 | 350 std::string make_string(const uint8_t* data, size_t length) { in make_string() function 355 std::string make_string(const uint8_t (&a)[N]) { in make_string() function 356 return make_string(a, N); in make_string() 1592 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1594 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1595 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() 1596 CheckHmacTestVector(key, message, Digest::SHA_2_512, make_string(sha_512_expected)); in TEST_P() 1626 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 1628 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 1629 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 | 552 std::string make_string(const uint8_t* data, size_t length) { in make_string() function 557 std::string make_string(const uint8_t (&a)[N]) { in make_string() function 558 return make_string(a, N); in make_string() 3831 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 3833 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 3834 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() 3835 CheckHmacTestVector(key, message, Digest::SHA_2_512, make_string(sha_512_expected)); in TEST_P() 3865 CheckHmacTestVector(key, message, Digest::SHA_2_256, make_string(sha_256_expected)); in TEST_P() 3867 CheckHmacTestVector(key, message, Digest::SHA_2_224, make_string(sha_224_expected)); in TEST_P() 3868 CheckHmacTestVector(key, message, Digest::SHA_2_384, make_string(sha_384_expected)); in TEST_P() [all …]
|