aboutsummaryrefslogtreecommitdiff
path: root/tools/1002_derive_h48h0k2
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:00 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-27 09:11:00 +0200
commit388b55b4ea644aa1b6074a70652b8f62e7755280 (patch)
treee0be13d902e31ccecdaf4de0aa052ec9810c2552 /tools/1002_derive_h48h0k2
parentcee9856b2cb151f705acf6d27454ec08ef2b9a4e (diff)
downloadnissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.tar.gz
nissy-core-388b55b4ea644aa1b6074a70652b8f62e7755280.zip
Use constant instead of magic number
Diffstat (limited to 'tools/1002_derive_h48h0k2')
-rw-r--r--tools/1002_derive_h48h0k2/derive_h48h0k2.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/1002_derive_h48h0k2/derive_h48h0k2.c b/tools/1002_derive_h48h0k2/derive_h48h0k2.c
deleted file mode 100644
index 73fab2e..0000000
--- a/tools/1002_derive_h48h0k2/derive_h48h0k2.c
+++ /dev/null
@@ -1,21 +0,0 @@
1#include "../tool.h"
2
3uint64_t expected[21] = {
4 /* Base value is 8 */
5 [0] = 5473562,
6 [1] = 34776317,
7 [2] = 68566704,
8 [3] = 8750867,
9};
10
11void run(void) {
12 derivedata_run(0, "tables/h48h0k2_derived", expected);
13}
14
15int main(void) {
16 nissy_setlogger(log_stderr);
17
18 timerun(run, "benchmark derivedata_h48 h = 0, k = 2");
19
20 return 0;
21}

Generated with cgit - Back to sebastiano.tronto.net