Searched refs:ToByteString (Results 1 – 1 of 1) sorted by relevance
4026 template <size_t N> ByteString ToByteString(const uint8_t (&a)[N]) { return ByteString(a, N); } in ToByteString() function in keymaster::test::HmacKeySharingTest4028 ByteString ToByteString(const keymaster_blob_t& b) { return ByteString(b.data, b.data_length); } in ToByteString() function in keymaster::test::HmacKeySharingTest4033 nonces.push_back(ToByteString(param.nonce)); in CopyNonces()4056 auto this_sharing_check = ToByteString(response.sharing_check); in VerifyResponses()4079 ASSERT_EQ(ToByteString(paramsVec[0].seed), ToByteString(paramsVec[1].seed)) in TEST_F()4081 EXPECT_EQ(ToByteString(paramsVec[0].nonce), ToByteString(paramsVec[1].nonce)) in TEST_F()4104 ASSERT_TRUE(VerifyResponses(ToByteString(responses[0].sharing_check), responses)); in TEST_F()4120 ByteString sharing_check_value = ToByteString(responses[0].sharing_check); in TEST_F()4145 ByteString sharing_check_value = ToByteString(responses[0].sharing_check); in TEST_F()4161 EXPECT_NE(sharing_check_value, ToByteString(responses[i].sharing_check)) in TEST_F()[all …]