-
Notifications
You must be signed in to change notification settings - Fork 82
/
Copy pathtests.h
22 lines (18 loc) · 1.13 KB
/
tests.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once
#include <cryptofuzz/operations.h>
#include <cryptofuzz/components.h>
namespace cryptofuzz {
namespace tests {
void test(const operation::Digest& op, const std::optional<component::Digest>& result);
void test(const operation::HMAC& op, const std::optional<component::MAC>& result);
void test(const operation::SymmetricEncrypt& op, const std::optional<component::Ciphertext>& result);
void test(const operation::SymmetricDecrypt& op, const std::optional<component::Cleartext>& result);
void test(const operation::CMAC& op, const std::optional<component::MAC>& result);
void test(const operation::KDF_SCRYPT& op, const std::optional<component::Key>& result);
void test(const operation::KDF_HKDF& op, const std::optional<component::Key>& result);
void test(const operation::KDF_TLS1_PRF& op, const std::optional<component::Key>& result);
void test(const operation::KDF_PBKDF2& op, const std::optional<component::Key>& result);
void test(const operation::Sign& op, const std::optional<component::Signature>& result);
void test(const operation::Verify& op, const std::optional<bool>& result);
} /* namespace tests */
} /* namespace cryptofuzz */