// 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. #include "net/quic/crypto/aes_128_gcm_12_decrypter.h" #include namespace net { namespace { const size_t kKeySize = 16; const size_t kNoncePrefixSize = 4; } // namespace Aes128Gcm12Decrypter::Aes128Gcm12Decrypter() : AeadBaseDecrypter(EVP_aead_aes_128_gcm(), kKeySize, kAuthTagSize, kNoncePrefixSize) { static_assert(kKeySize <= kMaxKeySize, "key size too big"); static_assert(kNoncePrefixSize <= kMaxNoncePrefixSize, "nonce prefix size too big"); } Aes128Gcm12Decrypter::~Aes128Gcm12Decrypter() {} } // namespace net