WIP: Works.
But I don't like it much yet.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#include <epcc/sha3.h>
|
||||
#include <stdint.h>
|
||||
int run();
|
||||
|
||||
__attribute__((section(".text"))) int cryptographic_test() {
|
||||
__attribute__((used, section(".text"))) int cryptographic_test() {
|
||||
// Run unit tests for cryptographic scheme
|
||||
//while(1); // Debug loop
|
||||
return 7;
|
||||
return 7 + run();
|
||||
}
|
||||
|
||||
int run() { return (int)epcc_sha3_serialized_size(); }
|
||||
|
||||
Reference in New Issue
Block a user