Home | History | Annotate | Download | only in crypto

Lines Matching refs:nonce

26                                 string* nonce) {
28 nonce->reserve(kNonceSize);
29 nonce->resize(kNonceSize);
31 // The time in the nonce must be encoded in big-endian because the
33 (*nonce)[0] = static_cast<char>(gmt_unix_time >> 24);
34 (*nonce)[1] = static_cast<char>(gmt_unix_time >> 16);
35 (*nonce)[2] = static_cast<char>(gmt_unix_time >> 8);
36 (*nonce)[3] = static_cast<char>(gmt_unix_time);
40 memcpy(&(*nonce)[bytes_written], orbit.data(), orbit.size());
43 random_generator->RandBytes(&(*nonce)[bytes_written],
92 StringPiece nonce = client_nonce;
96 nonce = nonce_storage;
99 crypto::HKDF hkdf(premaster_secret, nonce, hkdf_input, key_bytes,