Index: net/quic/crypto/chacha20_poly1305_rfc7539_decrypter.h |
diff --git a/net/quic/crypto/chacha20_poly1305_rfc7539_decrypter.h b/net/quic/crypto/chacha20_poly1305_rfc7539_decrypter.h |
deleted file mode 100644 |
index dc30bed06d795d2ab17699f6f609332cbeda5b7f..0000000000000000000000000000000000000000 |
--- a/net/quic/crypto/chacha20_poly1305_rfc7539_decrypter.h |
+++ /dev/null |
@@ -1,47 +0,0 @@ |
-// Copyright 2014 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_CHACHA20_POLY1305_RFC7539_DECRYPTER_H_ |
-#define NET_QUIC_CRYPTO_CHACHA20_POLY1305_RFC7539_DECRYPTER_H_ |
- |
-#include <stddef.h> |
-#include <stdint.h> |
- |
-#include "base/macros.h" |
-#include "net/quic/crypto/aead_base_decrypter.h" |
- |
-namespace net { |
- |
-// A ChaCha20Poly1305Rfc7539Decrypter is a QuicDecrypter that implements the |
-// AEAD_CHACHA20_POLY1305 algorithm specified in |
-// draft-agl-tls-chacha20poly1305-04, except that it truncates the Poly1305 |
-// authenticator to 12 bytes. Create an instance by calling |
-// QuicDecrypter::Create(kCC12). |
-// |
-// It uses an authentication tag of 16 bytes (128 bits). There is no |
-// fixed nonce prefix. |
-class NET_EXPORT_PRIVATE ChaCha20Poly1305Rfc7539Decrypter |
- : public AeadBaseDecrypter { |
- public: |
- enum { |
- kAuthTagSize = 12, |
- }; |
- |
- ChaCha20Poly1305Rfc7539Decrypter(); |
- ~ChaCha20Poly1305Rfc7539Decrypter() override; |
- |
- // Returns true if the underlying crypto library supports the RFC 7539 |
- // variant of ChaCha20+Poly1305. |
- static bool IsSupported(); |
- |
- const char* cipher_name() const override; |
- uint32_t cipher_id() const override; |
- |
- private: |
- DISALLOW_COPY_AND_ASSIGN(ChaCha20Poly1305Rfc7539Decrypter); |
-}; |
- |
-} // namespace net |
- |
-#endif // NET_QUIC_CRYPTO_CHACHA20_POLY1305_RFC7539_DECRYPTER_H_ |