diff options
Diffstat (limited to 'chromium/net/third_party/quiche/src/quic/core/crypto/aes_128_gcm_12_encrypter.h')
-rw-r--r-- | chromium/net/third_party/quiche/src/quic/core/crypto/aes_128_gcm_12_encrypter.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chromium/net/third_party/quiche/src/quic/core/crypto/aes_128_gcm_12_encrypter.h b/chromium/net/third_party/quiche/src/quic/core/crypto/aes_128_gcm_12_encrypter.h deleted file mode 100644 index f457336c00e..00000000000 --- a/chromium/net/third_party/quiche/src/quic/core/crypto/aes_128_gcm_12_encrypter.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright (c) 2013 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef QUICHE_QUIC_CORE_CRYPTO_AES_128_GCM_12_ENCRYPTER_H_ -#define QUICHE_QUIC_CORE_CRYPTO_AES_128_GCM_12_ENCRYPTER_H_ - -#include "quic/core/crypto/aes_base_encrypter.h" -#include "quic/platform/api/quic_export.h" - -namespace quic { - -// An Aes128Gcm12Encrypter is a QuicEncrypter that implements the -// AEAD_AES_128_GCM_12 algorithm specified in RFC 5282. Create an instance by -// calling QuicEncrypter::Create(kAESG). -// -// It uses an authentication tag of 12 bytes (96 bits). The fixed prefix -// of the nonce is four bytes. -class QUIC_EXPORT_PRIVATE Aes128Gcm12Encrypter : public AesBaseEncrypter { - public: - enum { - // Authentication tags are truncated to 96 bits. - kAuthTagSize = 12, - }; - - Aes128Gcm12Encrypter(); - Aes128Gcm12Encrypter(const Aes128Gcm12Encrypter&) = delete; - Aes128Gcm12Encrypter& operator=(const Aes128Gcm12Encrypter&) = delete; - ~Aes128Gcm12Encrypter() override; -}; - -} // namespace quic - -#endif // QUICHE_QUIC_CORE_CRYPTO_AES_128_GCM_12_ENCRYPTER_H_ |