PandA-2024.02
documentation
tutorial_fpt_2017
intro
third
src
chi
chi.c
Go to the documentation of this file.
1
#include "Keccak.h"
2
3
void
chi
(
UINT64
*
A
)
4
{
5
unsigned
int
x
, y;
6
UINT64
C
[5];
7
8
for
(y=0; y<5; y++) {
9
for
(x=0; x<5; x++)
10
C[x] = A[
index
(x, y)] ^ ((~A[
index
(x+1, y)]) & A[
index
(x+2, y)]);
11
for
(x=0; x<5; x++)
12
A[
index
(x, y)] = C[
x
];
13
}
14
}
15
16
17
C
#define C
Definition:
generate.c:15
A
#define A
Definition:
generate.c:13
index
#define index(x, y)
Definition:
Keccak.c:74
UINT64
unsigned long long int UINT64
Definition:
Keccak.c:13
chi
void chi(UINT64 *A)
Definition:
chi.c:3
x
x
Return the smallest n such that 2^n >= _x.
Definition:
math_function.hpp:170
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13