Skip to content

Commit

Permalink
included @pallas1 optimistions
Browse files Browse the repository at this point in the history
  • Loading branch information
monkins1010 authored Dec 8, 2018
1 parent 3561994 commit c356a66
Show file tree
Hide file tree
Showing 4 changed files with 469 additions and 191 deletions.
10 changes: 8 additions & 2 deletions verus/haraka.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
Plain C implementation of the Haraka256 and Haraka512 permutations.
*/

Expand Down Expand Up @@ -32,4 +32,10 @@ void haraka512_port_zero(unsigned char *out, const unsigned char *in);
void haraka256_port(unsigned char *out, const unsigned char *in);

/* Implementation of Haraka-256 using sk.seed constants */
void haraka256_sk(unsigned char *out, const unsigned char *in);
void haraka256_sk(unsigned char *out, const unsigned char *in);

void aesenc(unsigned char *s, const unsigned char *rk);

void unpacklo32(unsigned char *t, unsigned char *a, unsigned char *b);

void unpackhi32(unsigned char *t, unsigned char *a, unsigned char *b);
Loading

0 comments on commit c356a66

Please sign in to comment.