-/*
-Timing code for optimized implementation of Haraka.
-*/
#include "stdio.h"
#include "stdlib.h"
printf("\n");
}
int main() {
- alignas(64) uint8_t a[64] = {0x6b, 0x2e, 0xe9, 0x73, 0xc1, 0x40, 0x3d, 0x93, 0xbe, 0x9f, 0x7e, 0x17, 0xe2, 0x96, 0x11, 0x2a};
- alignas(64) uint8_t b[64] = {0x6b, 0x2e, 0xe9, 0x73, 0xc1, 0x40, 0x3d, 0x93, 0xbe, 0x9f, 0x7e, 0x17, 0xe2, 0x96, 0x11, 0x2a};
- alignas(64) uint8_t c[64] = {0x6b, 0x2e, 0xe9, 0x73, 0xc1, 0x40, 0x3d, 0x93, 0xbe, 0x9f, 0x7e, 0x17, 0xe2, 0x96, 0x11, 0x2a};
- alignas(64) uint8_t key[64] = {0x6b, 0x2e, 0xe9, 0x73, 0xc1, 0x40, 0x3d, 0x93, 0xbe, 0x9f, 0x7e, 0x17, 0xe2, 0x96, 0x11, 0x2a};
- load_constants();
- __m512i s = LOAD (b);
- __m512i i = LOAD (key);
-
- __m128i k = _mm_loadu_si128((__m128i *) key);
- __m128i test = _mm_loadu_si128((__m128i *) b);
- __m128i m =_mm_aesenc_si128 (test, k);
- _mm_storeu_si128((__m128i *) a,m);
- aes((_512_state*)c,(_512_key*)key);
- aes2(s,i);
- STORE(b,s);
- phex(b);
- phex(a);
- phex(c);
- //haraka512(b,a);
-//phex(b);
+ if(test_implementations() != 0)printf("help"); // lol i think i can just do without the != 0 cus C
+ else printf("ayayay");
}