Searched refs:make_string (Results 1 – 3 of 3) sorted by relevance
/system/keymaster/ |
D | android_keymaster_test.cpp | 888 string key = make_string(key_data); in TEST_P() 890 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_256, make_string(sha_256_expected)); in TEST_P() 892 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_224, make_string(sha_224_expected)); in TEST_P() 893 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_384, make_string(sha_384_expected)); in TEST_P() 894 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_512, make_string(sha_512_expected)); in TEST_P() 926 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_256, make_string(sha_256_expected)); in TEST_P() 928 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_224, make_string(sha_224_expected)); in TEST_P() 929 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_256, make_string(sha_256_expected)); in TEST_P() 930 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_384, make_string(sha_384_expected)); in TEST_P() 931 CheckHmacTestVector(key, message, KM_DIGEST_SHA_2_512, make_string(sha_512_expected)); in TEST_P() [all …]
|
D | android_keymaster_test_utils.h | 145 inline std::string make_string(const uint8_t* data, size_t length) { in make_string() function 149 template <size_t N> std::string make_string(const uint8_t (&a)[N]) { in make_string() function 150 return make_string(a, N); in make_string()
|
D | android_keymaster_test_utils.cpp | 480 *generated_nonce = make_string(nonce_blob.data, nonce_blob.data_length); in EncryptMessage() 511 *generated_nonce = make_string(nonce_blob.data, nonce_blob.data_length); in EncryptMessage() 530 *generated_nonce = make_string(nonce_blob.data, nonce_blob.data_length); in EncryptMessage()
|