Home | History | Annotate | Download | only in crypto

Lines Matching refs:nonce

43   // Set the IV (nonce) length.
62 bool Aes128Gcm12Decrypter::Decrypt(StringPiece nonce,
68 nonce.size() != kNoncePrefixSize + sizeof(QuicPacketSequenceNumber)) {
73 // Set the IV (nonce).
76 reinterpret_cast<const uint8*>(nonce.data())) == 0) {
130 uint8 nonce[kNoncePrefixSize + sizeof(sequence_number)];
131 COMPILE_ASSERT(sizeof(nonce) == kAESNonceSize, bad_sequence_number_size);
132 memcpy(nonce, nonce_prefix_, kNoncePrefixSize);
133 memcpy(nonce + kNoncePrefixSize, &sequence_number, sizeof(sequence_number));
134 if (!Decrypt(StringPiece(reinterpret_cast<char*>(nonce), sizeof(nonce)),