#include "anonymous_tokens/cpp/crypto/anonymous_tokens_pb_openssl_converters.h"
#include <string>
#include <utility>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "anonymous_tokens/cpp/crypto/constants.h"
#include "anonymous_tokens/cpp/crypto/crypto_utils.h"
#include "anonymous_tokens/cpp/testing/proto_utils.h"
#include "anonymous_tokens/cpp/testing/utils.h"
#include "anonymous_tokens/proto/anonymous_tokens.pb.h"
#include <openssl/base.h>
#include <openssl/bn.h>
#include <openssl/digest.h>
#include <openssl/rsa.h>
namespace anonymous_tokens {
namespace {
TEST(AnonymousTokensPbOpensslConvertersTests, GenerateMaskTestInvalidType) { … }
TEST(AnonymousTokensPbOpensslConvertersTests, GenerateMaskTestInvalidLength) { … }
TEST(AnonymousTokensPbOpensslConvertersTests, GenerateMaskTestSuccess) { … }
TEST(AnonymousTokensPbOpensslConvertersTests,
HashTypeConverterTestInvalidType) { … }
TEST(AnonymousTokensPbOpensslConvertersTests, HashTypeConverterTestSuccess) { … }
TEST(AnonymousTokensPbOpensslConvertersStrongTests,
MaskGenFunctionConverterStrongTestInvalidType) { … }
TEST(AnonymousTokensPbOpensslConvertersTests,
MaskGenFunctionConverterTestSuccess) { … }
CreateTestKeyPairFunction;
class AnonymousTokensRsaKeyPairConverterTest
: public testing::TestWithParam<CreateTestKeyPairFunction *> { … };
TEST_P(AnonymousTokensRsaKeyPairConverterTest, PublicKeyTest) { … }
TEST_P(AnonymousTokensRsaKeyPairConverterTest, PrivateKeyTest) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}