]> Git Repo - haraka-avx512.git/blob - main.c
fixed aes lol real test
[haraka-avx512.git] / main.c
1
2 #include "stdio.h"
3 #include "stdlib.h"
4 #include <string.h>
5 #include <stdint.h>
6 #include "haraka.h"
7 #include "timing.h"
8 #include <stdalign.h>
9
10
11 static void phex(uint8_t* str)
12 {
13     uint8_t len = 64;
14
15     unsigned char i;
16     for (i = 0; i < len; ++i)
17         printf("%lx, ", str[i]);
18     printf("\n");
19 }
20 int main() {
21         uint8_t a[64];
22         uint8_t b[16] = {0};
23         for(int i = 0; i <64;i++)a[i] = i;
24         load_constants();
25         haraka512((uint8_t*)b,(uint8_t*)a);
26 phex(b);
27 }
This page took 0.023986 seconds and 4 git commands to generate.