Home
last modified time | relevance | path

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

/system/keymaster/
Dandroid_keymaster_test.cpp888 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 …]
Dandroid_keymaster_test_utils.h145 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()
Dandroid_keymaster_test_utils.cpp480 *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()