Lines Matching defs:nonce_
60 nonce_.reserve(OCB_NONCE_LENGTH);
61 EXPECT_EQ(1, RAND_bytes(nonce_.peek_write(), OCB_NONCE_LENGTH));
62 nonce_.advance_write(OCB_NONCE_LENGTH);
69 nonce_, &ciphertext_, &tag_);
73 return OcbDecryptKey(hw_enforced_, sw_enforced_, hidden_, master_key_, ciphertext_, nonce_,
78 return SerializeAuthEncryptedBlob(ciphertext_, hw_enforced_, sw_enforced_, nonce_, tag_,
84 &sw_enforced_, &nonce_, &tag_);
90 Buffer nonce_, tag_;
110 nonce_.Clear();
116 &nonce_, &tag_));
118 OcbDecryptKey(hw2, sw2, hidden_, master_key_, ciphertext_, nonce_, tag_, &plaintext);
143 std::search(serialized_blob_.begin(), serialized_blob_.end(), nonce_.begin(), nonce_.end());
146 std::search(nonce_ptr + 1, serialized_blob_.end(), nonce_.begin(), nonce_.end()));
198 OcbDecryptKey(hw_enforced_, sw_enforced_, hidden_, wrong_master, ciphertext_, nonce_,
258 nonce_, tag_, &decrypted_plaintext_));
273 nonce_, tag_, &decrypted_plaintext_));
288 nonce_, tag_, &decrypted_plaintext_));
316 key_blob, &ciphertext_, &hw_enforced_, &sw_enforced_, &nonce_, &tag_);
321 nonce_, tag_, &decrypted_plaintext_);
341 &nonce_, &tag_));
358 &nonce_, &tag_));