-
Notifications
You must be signed in to change notification settings - Fork 2
/
sb_test_list.h
70 lines (61 loc) · 1.84 KB
/
sb_test_list.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/*
* sb_test_list.h: multiply-included list of Sweet B tests
*
* This file is part of Sweet B, a safe, compact, embeddable elliptic curve
* cryptography library.
*
* Sweet B is provided under the terms of the included LICENSE file. All
* other rights are reserved.
*
* Copyright 2017 Wearable Inc.
*
*/
#ifdef SB_TEST_IMPL
SB_DEFINE_TEST(sha256_1);
SB_DEFINE_TEST(sha256_2);
SB_DEFINE_TEST(sha256_3);
SB_DEFINE_TEST(hmac_sha256);
SB_DEFINE_TEST(hmac_drbg);
SB_DEFINE_TEST(fe);
SB_DEFINE_TEST(mont_mult);
SB_DEFINE_TEST(mod_expt_p);
SB_DEFINE_TEST(mont_point_mult);
SB_DEFINE_TEST(mont_public_key);
SB_DEFINE_TEST(mont_shared_secret);
SB_DEFINE_TEST(mont_not_on_curve);
SB_DEFINE_TEST(mont_invalid_points);
SB_DEFINE_TEST(mont_early_errors);
SB_DEFINE_TEST(sw_h);
SB_DEFINE_TEST(exceptions);
SB_DEFINE_TEST(sw_point_mult_add);
SB_DEFINE_TEST(sw_early_errors);
SB_DEFINE_TEST(valid_public);
SB_DEFINE_TEST(compute_public);
SB_DEFINE_TEST(shared_secret);
SB_DEFINE_TEST(shared_secret_cavp_1);
SB_DEFINE_TEST(sign_rfc6979);
SB_DEFINE_TEST(sign_catastrophe);
SB_DEFINE_TEST(verify);
SB_DEFINE_TEST(verify_invalid);
SB_DEFINE_TEST(sign_k256);
SB_DEFINE_TEST(shared_secret_k256);
// Long tests near the end
SB_DEFINE_TEST(mont_iter);
SB_DEFINE_TEST(sw_point_mult_add_rand);
SB_DEFINE_TEST(sign_iter);
SB_DEFINE_TEST(sign_iter_k256);
SB_DEFINE_TEST(shared_iter);
SB_DEFINE_TEST(shared_iter_k256);
// NIST CAVP tests
SB_DEFINE_TEST(nist_ecdh_shared_secret_p256);
SB_DEFINE_TEST(nist_signatures_p256_sha1);
SB_DEFINE_TEST(nist_signatures_p256_sha224);
SB_DEFINE_TEST(nist_signatures_p256_sha256);
SB_DEFINE_TEST(nist_signatures_p256_sha384);
SB_DEFINE_TEST(nist_signatures_p256_sha512);
SB_DEFINE_TEST(nist_hmac_sha256);
SB_DEFINE_TEST(nist_sha256_small);
SB_DEFINE_TEST(nist_sha256_long);
SB_DEFINE_TEST(nist_sha256_monte);
SB_DEFINE_TEST(nist_hmac_drbg_sha256);
#endif