Lines Matching refs:ASSERT_EQ
100 ASSERT_EQ(KM_ERROR_OK, Encrypt());
101 ASSERT_EQ(KM_ERROR_OK, Serialize());
115 ASSERT_EQ(KM_ERROR_OK, DeserializeAuthEncryptedBlob(serialized_blob_, &ciphertext_, &hw2, &sw2,
123 ASSERT_EQ(key_material_.key_material_size, plaintext.key_material_size);
128 ASSERT_EQ(KM_ERROR_OK, Encrypt());
129 ASSERT_EQ(KM_ERROR_OK, Serialize());
134 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Deserialize());
138 ASSERT_EQ(KM_ERROR_OK, Encrypt());
139 ASSERT_EQ(KM_ERROR_OK, Serialize());
150 ASSERT_EQ(KM_ERROR_OK, Deserialize());
151 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt());
155 ASSERT_EQ(KM_ERROR_OK, Encrypt());
156 ASSERT_EQ(KM_ERROR_OK, Serialize());
167 ASSERT_EQ(KM_ERROR_OK, Deserialize());
168 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt());
172 ASSERT_EQ(KM_ERROR_OK, Encrypt());
173 ASSERT_EQ(KM_ERROR_OK, Serialize());
184 ASSERT_EQ(KM_ERROR_OK, Deserialize());
185 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt());
189 ASSERT_EQ(KM_ERROR_OK, Encrypt());
190 ASSERT_EQ(KM_ERROR_OK, Serialize());
196 ASSERT_EQ(KM_ERROR_OK, Deserialize());
197 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB,
203 ASSERT_EQ(KM_ERROR_OK, Encrypt());
204 ASSERT_EQ(KM_ERROR_OK, Serialize());
221 ASSERT_EQ(KM_ERROR_OK, Deserialize());
222 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt());
226 ASSERT_EQ(KM_ERROR_OK, Encrypt());
227 ASSERT_EQ(KM_ERROR_OK, Serialize());
244 ASSERT_EQ(KM_ERROR_OK, Deserialize());
245 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, Decrypt());
249 ASSERT_EQ(KM_ERROR_OK, Encrypt());
250 ASSERT_EQ(KM_ERROR_OK, Serialize());
255 ASSERT_EQ(KM_ERROR_OK, Deserialize());
262 ASSERT_EQ(KM_ERROR_OK, Encrypt());
263 ASSERT_EQ(KM_ERROR_OK, Serialize());
270 ASSERT_EQ(KM_ERROR_OK, Deserialize());
277 ASSERT_EQ(KM_ERROR_OK, Encrypt());
278 ASSERT_EQ(KM_ERROR_OK, Serialize());
285 ASSERT_EQ(KM_ERROR_OK, Deserialize());
310 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB,
323 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB, error)
352 ASSERT_EQ(KM_ERROR_INVALID_KEY_BLOB,