Searched refs:kNonceSize (Results 1 – 6 of 6) sorted by relevance
22 const size_t kNonceSize = 16; variable83 std::string nonce = salt.substr(0, kNonceSize); in EncryptTokenWithKey()115 std::string nonce = salt.substr(0, kNonceSize); in DecryptTokenWithKey()
29 nonce->reserve(kNonceSize); in GenerateNonce()30 nonce->resize(kNonceSize); in GenerateNonce()45 kNonceSize - bytes_written); in GenerateNonce()
37 if (nonce.length() != kNonceSize) { in VerifyNonceIsValidAndUnique()
155 const size_t kNonceSize = 32; // Size in bytes of the connection nonce. variable
969 info->client_nonce.size() == kNonceSize) { in EvaluateClientHello()
55 static const size_t kNonceSize = 40; variable490 ASSERT(nonce.size() == kNonceSize); in GenerateNonce()496 if (nonce.size() != kNonceSize) { in ValidateNonce()