| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" | 5 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" |
| 6 | 6 |
| 7 #include <openssl/evp.h> | 7 #include <openssl/evp.h> |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 kAuthTagSize, | 21 kAuthTagSize, |
| 22 kNoncePrefixSize) { | 22 kNoncePrefixSize) { |
| 23 static_assert(kKeySize <= kMaxKeySize, "key size too big"); | 23 static_assert(kKeySize <= kMaxKeySize, "key size too big"); |
| 24 static_assert(kNoncePrefixSize <= kMaxNoncePrefixSize, | 24 static_assert(kNoncePrefixSize <= kMaxNoncePrefixSize, |
| 25 "nonce prefix size too big"); | 25 "nonce prefix size too big"); |
| 26 } | 26 } |
| 27 | 27 |
| 28 Aes128Gcm12Encrypter::~Aes128Gcm12Encrypter() {} | 28 Aes128Gcm12Encrypter::~Aes128Gcm12Encrypter() {} |
| 29 | 29 |
| 30 } // namespace net | 30 } // namespace net |
| OLD | NEW |