9 #include <gtest/gtest.h> 16 using namespace folly;
22 TEST(ValidateECKey, GoodPrivateKey) {
27 TEST(ValidateECKey, GoodPubicKey) {
32 TEST(ValidateECKey, WrongKeyType) {
38 TEST(ValidateECKey, WrongCurve) {
#define EXPECT_THROW(statement, expected_exception)
constexpr folly::StringPiece kP256Key
constexpr folly::StringPiece kP256PublicKey
EvpPkeyUniquePtr getPrivateKey(StringPiece key)
—— Concurrent Priority Queue Implementation ——
void validateECKey(const folly::ssl::EvpPkeyUniquePtr &key, int curveNid)
constexpr folly::StringPiece kRSAKey
EvpPkeyUniquePtr getPublicKey(StringPiece key)
TEST(SequencedExecutor, CPUThreadPoolExecutor)