#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]
| TEST |
( |
keccak_hmac |
, |
|
|
nullptr |
|
|
) |
| |
◆ TEST() [2/5]
Definition at line 131 of file hmac_keccak.cpp.
133 static const size_t chunks[] = {1, 0};
134 test_keccak_hmac(chunks);
◆ TEST() [3/5]
| TEST |
( |
keccak_hmac |
, |
|
|
1_20 |
|
|
) |
| |
Definition at line 137 of file hmac_keccak.cpp.
139 static const size_t chunks[] = {1, 20, 0};
140 test_keccak_hmac(chunks);
◆ TEST() [4/5]
| TEST |
( |
keccak_hmac |
, |
|
|
136_1 |
|
|
) |
| |
Definition at line 143 of file hmac_keccak.cpp.
145 static const size_t chunks[] = {136, 1, 0};
146 test_keccak_hmac(chunks);
◆ TEST() [5/5]
| TEST |
( |
keccak_hmac |
, |
|
|
137_1 |
|
|
) |
| |
Definition at line 149 of file hmac_keccak.cpp.
151 static const size_t chunks[] = {137, 1, 0};
152 test_keccak_hmac(chunks);
◆ inp
◆ key
◆ res