proxygen
|
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <fizz/server/AeadTicketCipher.h>
#include <fizz/crypto/aead/test/Mocks.h>
#include <fizz/crypto/test/Mocks.h>
#include <fizz/crypto/test/TestUtil.h>
#include <folly/String.h>
Go to the source code of this file.
Classes | |
class | fizz::server::test::MockTicketCodecInstance |
class | fizz::server::test::MockTicketCodec |
class | fizz::server::test::AeadTicketCipherTest |
Namespaces | |
fizz | |
fizz::server | |
fizz::server::test | |
Typedefs | |
using | fizz::server::test::TestAeadTicketCipher = AeadTicketCipher< OpenSSLEVPCipher< AESGCM128 >, MockTicketCodec, HkdfImpl< Sha256 >> |
Functions | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestEncryptNoTicketSecrets) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestEncrypt) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptNoTicketSecrets) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptFirst) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptSecond) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptWithContext) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptWithoutContext) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptWithWrongContext) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptWithUnneededContext) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptSeqNum) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptFailed) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestDecryptTooShort) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestUnsetTicketSecrets) | |
fizz::server::test::TEST_F (AeadTicketCipherTest, TestSetTicketSecretsTooShort) | |
Variables | |
static constexpr StringPiece | ticketSecret1 |
static constexpr StringPiece | ticket1 |
static constexpr StringPiece | ticket2 |
static constexpr StringPiece | ticketSecret2 |
static constexpr StringPiece | ticket3 |
static constexpr StringPiece | ticket4 |
static constexpr StringPiece | badTicket |
|
static |
Definition at line 45 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::TEST_F().
|
static |
Definition at line 28 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::TEST_F().
|
static |
Definition at line 30 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::TEST_F().
|
static |
Definition at line 38 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::TEST_F().
|
static |
Definition at line 42 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::TEST_F().
|
static |
Definition at line 23 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::AeadTicketCipherTest::setTicketSecrets().
|
static |
Definition at line 33 of file AeadTicketCipherTest.cpp.
Referenced by fizz::server::test::AeadTicketCipherTest::setTicketSecrets().