Searched refs:nonce_ (Results 1 – 1 of 1) sorted by relevance
/system/keymaster/ |
D | key_blob_test.cpp | 60 nonce_.reserve(OCB_NONCE_LENGTH); in KeyBlobTest() 61 EXPECT_EQ(1, RAND_bytes(nonce_.peek_write(), OCB_NONCE_LENGTH)); in KeyBlobTest() 62 nonce_.advance_write(OCB_NONCE_LENGTH); in KeyBlobTest() 69 nonce_, &ciphertext_, &tag_); in Encrypt() 73 return OcbDecryptKey(hw_enforced_, sw_enforced_, hidden_, master_key_, ciphertext_, nonce_, in Decrypt() 78 return SerializeAuthEncryptedBlob(ciphertext_, hw_enforced_, sw_enforced_, nonce_, tag_, in Serialize() 84 &sw_enforced_, &nonce_, &tag_); in Deserialize() 90 Buffer nonce_, tag_; member in keymaster::test::KeyBlobTest 110 nonce_.Clear(); in TEST_F() 116 &nonce_, &tag_)); in TEST_F() [all …]
|