Check-in [29d23ef89e]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add ARMv8 neon implementation
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 29d23ef89eef039d5e6da5e421bb48d789f9146d
User & Date: bernd 2020-01-12 22:21:41.385
Context
2020-01-12
23:44
Hide neon based assembler code, as GCC's compilation is faster check-in: 5f8d5bcf9e user: bernd tags: trunk, 0.9.7-20200116
22:21
Add ARMv8 neon implementation check-in: 29d23ef89e user: bernd tags: trunk
22:08
Add ARMv8 neon implementation check-in: 3f4319e1fa user: bernd tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to keccakp/KeccakF-1600-armv8a-neon.c.
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#define STATEI unsigned long long int
#include <string.h>
#include "brg_endian.h"
#include "KeccakF-1600-opt64-settings.h"
#include "KeccakF-1600.h"

extern void KeccakP1600_Permute(void * state, int round);
extern void KeccakP1600_Initialize(void * state);

void KeccakF(keccak_state state, int round)
{
  KeccakP1600_Permute(state, round);
}

void KeccakInitializeState(keccak_state state)
{
  KeccakP1600_Initialize(state);
}








|




|







13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#define STATEI unsigned long long int
#include <string.h>
#include "brg_endian.h"
#include "KeccakF-1600-opt64-settings.h"
#include "KeccakF-1600.h"

extern void KeccakP1600_Permute_Nrounds(void * state, int round);
extern void KeccakP1600_Initialize(void * state);

void KeccakF(keccak_state state, int round)
{
  KeccakP1600_Permute_Nrounds(state, round);
}

void KeccakInitializeState(keccak_state state)
{
  KeccakP1600_Initialize(state);
}