PandA-2024.02
pi.c
Go to the documentation of this file.
1 #include "Keccak.h"
2 
3 void pi(UINT64 *A)
4 {
5  unsigned int x, y;
6  UINT64 tempA[25];
7 
8  for(x=0; x<5; x++) for(y=0; y<5; y++)
9  tempA[index(x, y)] = A[index(x, y)];
10  for(x=0; x<5; x++) for(y=0; y<5; y++)
11  A[index(0*x+1*y, 2*x+3*y)] = tempA[index(x, y)];
12 }
13 
14 
void pi(UINT64 *A)
Definition: pi.c:3
#define A
Definition: generate.c:13
#define index(x, y)
Definition: Keccak.c:74
unsigned long long int UINT64
Definition: Keccak.c:13
x
Return the smallest n such that 2^n >= _x.

Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by doxygen 1.8.13