Home
last modified time | relevance | path

Searched refs:nonce_prefix (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/net/quic/crypto/
Daes_128_gcm_12_decrypter_openssl.cc47 bool Aes128Gcm12Decrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
48 DCHECK_EQ(nonce_prefix.size(), kNoncePrefixSize); in SetNoncePrefix()
49 if (nonce_prefix.size() != kNoncePrefixSize) { in SetNoncePrefix()
53 memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); in SetNoncePrefix()
Daes_128_gcm_12_encrypter_openssl.cc65 bool Aes128Gcm12Encrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
66 DCHECK_EQ(nonce_prefix.size(), kNoncePrefixSize); in SetNoncePrefix()
67 if (nonce_prefix.size() != kNoncePrefixSize) { in SetNoncePrefix()
71 memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); in SetNoncePrefix()
Daes_128_gcm_12_encrypter_nss.cc268 bool Aes128Gcm12Encrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
269 DCHECK_EQ(nonce_prefix.size(), kNoncePrefixSize); in SetNoncePrefix()
270 if (nonce_prefix.size() != kNoncePrefixSize) { in SetNoncePrefix()
274 memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); in SetNoncePrefix()
Daes_128_gcm_12_decrypter_nss.cc276 bool Aes128Gcm12Decrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
277 DCHECK_EQ(nonce_prefix.size(), kNoncePrefixSize); in SetNoncePrefix()
278 if (nonce_prefix.size() != kNoncePrefixSize) { in SetNoncePrefix()
282 memcpy(nonce_prefix_, nonce_prefix.data(), nonce_prefix.size()); in SetNoncePrefix()
Dnull_encrypter.cc20 bool NullEncrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
21 return nonce_prefix.empty(); in SetNoncePrefix()
Dnull_decrypter.cc18 bool NullDecrypter::SetNoncePrefix(StringPiece nonce_prefix) { in SetNoncePrefix() argument
19 return nonce_prefix.empty(); in SetNoncePrefix()
Dquic_decrypter.h41 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) = 0;
Dquic_encrypter.h41 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) = 0;
Dnull_decrypter.h26 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE;
Daes_128_gcm_12_decrypter.h44 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE;
Dnull_encrypter.h24 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE;
Daes_128_gcm_12_encrypter.h41 virtual bool SetNoncePrefix(base::StringPiece nonce_prefix) OVERRIDE;
/external/chromium_org/net/quic/
Dquic_framer_test.cc104 virtual bool SetNoncePrefix(StringPiece nonce_prefix) OVERRIDE { in SetNoncePrefix() argument
151 virtual bool SetNoncePrefix(StringPiece nonce_prefix) OVERRIDE { in SetNoncePrefix() argument
Dquic_connection_test.cc97 virtual bool SetNoncePrefix(StringPiece nonce_prefix) OVERRIDE { in SetNoncePrefix() argument
155 virtual bool SetNoncePrefix(StringPiece nonce_prefix) OVERRIDE { in SetNoncePrefix() argument