aboutsummaryrefslogtreecommitdiff
path: root/tools/1002_derive_h48h0k2
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-09-27 08:19:53 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-09-27 08:19:53 +0200
commit0b32395de2500ad87e15fbb0ff4a852e313037e9 (patch)
tree2607145be078cfac3b8f6b982c1b63352ebaf79e /tools/1002_derive_h48h0k2
parentbb09e52a7481718ae1fe324d16b99970450908f8 (diff)
downloadnissy-core-0b32395de2500ad87e15fbb0ff4a852e313037e9.tar.gz
nissy-core-0b32395de2500ad87e15fbb0ff4a852e313037e9.zip
First try for derive tables
Diffstat (limited to 'tools/1002_derive_h48h0k2')
-rw-r--r--tools/1002_derive_h48h0k2/derive_h48h0k2.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/1002_derive_h48h0k2/derive_h48h0k2.c b/tools/1002_derive_h48h0k2/derive_h48h0k2.c
new file mode 100644
index 0000000..73fab2e
--- /dev/null
+++ b/tools/1002_derive_h48h0k2/derive_h48h0k2.c
@@ -0,0 +1,21 @@
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