#include "gtest/gtest.h"
#include "../io.h"
#include "crypto/hmac-keccak.h"
Go to the source code of this file.
|
| | TEST (keccak_hmac, nullptr) |
| | TEST (keccak_hmac, 1) |
| | TEST (keccak_hmac, 1_20) |
| | TEST (keccak_hmac, 136_1) |
| | TEST (keccak_hmac, 137_1) |
◆ KECCAK_BLOCKLEN
| #define KECCAK_BLOCKLEN 136 |
◆ TEST() [1/5]
Definition at line 131 of file hmac_keccak.cpp.
132{
133 static const size_t chunks[] = {1, 0};
134 test_keccak_hmac(chunks);
135}
◆ TEST() [2/5]
| TEST |
( |
keccak_hmac | , |
|
|
136_1 | ) |
Definition at line 143 of file hmac_keccak.cpp.
144{
145 static const size_t chunks[] = {136, 1, 0};
146 test_keccak_hmac(chunks);
147}
◆ TEST() [3/5]
| TEST |
( |
keccak_hmac | , |
|
|
137_1 | ) |
Definition at line 149 of file hmac_keccak.cpp.
150{
151 static const size_t chunks[] = {137, 1, 0};
152 test_keccak_hmac(chunks);
153}
◆ TEST() [4/5]
| TEST |
( |
keccak_hmac | , |
|
|
1_20 | ) |
Definition at line 137 of file hmac_keccak.cpp.
138{
139 static const size_t chunks[] = {1, 20, 0};
140 test_keccak_hmac(chunks);
141}
◆ TEST() [5/5]
| TEST |
( |
keccak_hmac | , |
|
|
nullptr | ) |
◆ inp
◆ key
◆ res