Home
last modified time | relevance | path

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

/system/keymaster/tests/
Dkey_blob_test.cpp79 &serialized_blob_); in Serialize()
83 return DeserializeAuthEncryptedBlob(serialized_blob_, &ciphertext_, &hw_enforced_, in Deserialize()
96 KeymasterKeyBlob serialized_blob_; member in keymaster::test::KeyBlobTest
104 EXPECT_EQ(serialized_blob_.end(), std::search(serialized_blob_.begin(), serialized_blob_.end(), in TEST_F()
106 EXPECT_NE(serialized_blob_.end(), std::search(serialized_blob_.begin(), serialized_blob_.end(), in TEST_F()
115 ASSERT_EQ(KM_ERROR_OK, DeserializeAuthEncryptedBlob(serialized_blob_, &ciphertext_, &hw2, &sw2, in TEST_F()
132 serialized_blob_.writable_data()[1 /* version */ + 4 /* nonce len */ + 12 /* nonce */ + 3]++; in TEST_F()
143 std::search(serialized_blob_.begin(), serialized_blob_.end(), nonce_.begin(), nonce_.end()); in TEST_F()
144 ASSERT_NE(nonce_ptr, serialized_blob_.end()); in TEST_F()
145 EXPECT_EQ(serialized_blob_.end(), in TEST_F()
[all …]