Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(719)

Unified Diff: net/quic/crypto/aes_128_gcm_12_decrypter.h

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/crypto/aead_base_encrypter.cc ('k') | net/quic/crypto/aes_128_gcm_12_decrypter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/crypto/aes_128_gcm_12_decrypter.h
diff --git a/net/quic/crypto/aes_128_gcm_12_decrypter.h b/net/quic/crypto/aes_128_gcm_12_decrypter.h
deleted file mode 100644
index 5883c76f0c110e572a6d92b94dd12cd555200c9a..0000000000000000000000000000000000000000
--- a/net/quic/crypto/aes_128_gcm_12_decrypter.h
+++ /dev/null
@@ -1,41 +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 NET_QUIC_CRYPTO_AES_128_GCM_12_DECRYPTER_H_
-#define NET_QUIC_CRYPTO_AES_128_GCM_12_DECRYPTER_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include "base/macros.h"
-#include "net/quic/crypto/aead_base_decrypter.h"
-
-namespace net {
-
-// An Aes128Gcm12Decrypter is a QuicDecrypter that implements the
-// AEAD_AES_128_GCM_12 algorithm specified in RFC 5282. Create an instance by
-// calling QuicDecrypter::Create(kAESG).
-//
-// It uses an authentication tag of 12 bytes (96 bits). The fixed prefix
-// of the nonce is four bytes.
-class NET_EXPORT_PRIVATE Aes128Gcm12Decrypter : public AeadBaseDecrypter {
- public:
- enum {
- // Authentication tags are truncated to 96 bits.
- kAuthTagSize = 12,
- };
-
- Aes128Gcm12Decrypter();
- ~Aes128Gcm12Decrypter() override;
-
- const char* cipher_name() const override;
- uint32_t cipher_id() const override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(Aes128Gcm12Decrypter);
-};
-
-} // namespace net
-
-#endif // NET_QUIC_CRYPTO_AES_128_GCM_12_DECRYPTER_H_
« no previous file with comments | « net/quic/crypto/aead_base_encrypter.cc ('k') | net/quic/crypto/aes_128_gcm_12_decrypter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698