#ifndef TA_TEST_HELPERS_H
#define TA_TEST_HELPERS_H
#include "ta_sa.h"
#include "test_helpers.h"
#include <memory>
#include <vector>
#define MAX_CLIENT_SLOTS 256
namespace ta_test_helpers {
using namespace test_helpers;
const sa_uuid* ta_uuid();
ta_client client();
std::shared_ptr<sa_key> create_uninitialized_sa_key();
std::shared_ptr<sa_crypto_cipher_context> create_uninitialized_sa_crypto_cipher_context();
std::shared_ptr<sa_buffer> buffer_alloc(
sa_buffer_type buffer_type,
size_t size);
std::shared_ptr<sa_buffer> buffer_alloc(
sa_buffer_type buffer_type,
std::vector<uint8_t>& initial_value);
sa_status ta_sa_svp_memory_alloc(
void** svp_memory,
size_t size);
sa_status ta_sa_svp_memory_free(void* svp_memory);
}
#endif