emcyfra/libpqscheme_test.c

11 lines
249 B
C
Raw Normal View History

#include <epcc/sha3.h>
2025-02-17 09:09:14 +00:00
#include <stdint.h>
int run();
2025-02-17 09:09:14 +00:00
__attribute__((used, section(".text"))) int cryptographic_test() {
2025-02-17 09:09:14 +00:00
// Run unit tests for cryptographic scheme
return 7 + run();
2025-02-17 09:09:14 +00:00
}
int run() { return (int)epcc_sha3_serialized_size(); }