#ifndef TA_SA_SVP_COMMON_H
#define TA_SA_SVP_COMMON_H
#include "sa_types.h"
#include "ta_sa_svp_crypto.h"
#include <cstddef>
#include <gtest/gtest.h>
#include <memory>
class TaSvpBase : public ::testing::Test {
protected:
void SetUp() override;
static std::shared_ptr<sa_svp_buffer> create_sa_svp_buffer(size_t size);
};
class TaSvpBufferCheckTest : public ::testing::WithParamInterface<sa_digest_algorithm>, public TaSvpBase {};
class TaSvpKeyCheckTest : public TaSvpBase, public TaCryptoCipherBase {};
typedef std::tuple<long> TaSvpBufferTestType;
class TaSvpBufferCopyTest : public ::testing::WithParamInterface<TaSvpBufferTestType>, public TaSvpBase {};
class TaSvpBufferWriteTest : public ::testing::WithParamInterface<TaSvpBufferTestType>, public TaSvpBase {};
#endif