|
proxygen
|
#include <folly/ssl/OpenSSLHash.h>#include <folly/io/IOBufQueue.h>#include <folly/portability/GTest.h>Go to the source code of this file.
Functions | |
| TEST_F (OpenSSLHashTest, sha256) | |
| TEST_F (OpenSSLHashTest, sha256_hashcopy) | |
| TEST_F (OpenSSLHashTest, sha256_hashcopy_intermediate) | |
| TEST_F (OpenSSLHashTest, hmac_sha256) | |
| TEST_F | ( | OpenSSLHashTest | , |
| sha256 | |||
| ) |
Definition at line 31 of file OpenSSLHashTest.cpp.
References folly::IOBuf::computeChainDataLength(), folly::IOBuf::countChainElements(), EXPECT_EQ, folly::IOBuf::prependChain(), folly::gen::range(), and folly::ssl::SHA256.
| TEST_F | ( | OpenSSLHashTest | , |
| sha256_hashcopy | |||
| ) |
Definition at line 47 of file OpenSSLHashTest.cpp.
References folly::copy(), EXPECT_EQ, folly::ssl::OpenSSLHash::Digest::hash_final(), folly::ssl::OpenSSLHash::Digest::hash_init(), folly::ssl::OpenSSLHash::Digest::hash_update(), and folly::gen::range().
| TEST_F | ( | OpenSSLHashTest | , |
| sha256_hashcopy_intermediate | |||
| ) |
Definition at line 62 of file OpenSSLHashTest.cpp.
References folly::copy(), EXPECT_EQ, folly::ssl::OpenSSLHash::Digest::hash_final(), folly::ssl::OpenSSLHash::Digest::hash_init(), folly::ssl::OpenSSLHash::Digest::hash_update(), and folly::gen::range().
| TEST_F | ( | OpenSSLHashTest | , |
| hmac_sha256 | |||
| ) |
Definition at line 80 of file OpenSSLHashTest.cpp.
References folly::IOBuf::computeChainDataLength(), folly::IOBuf::countChainElements(), EXPECT_EQ, folly::IOBuf::prependChain(), and folly::gen::range().