sha3.c (dovecot-2.3.16) | : | sha3.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 72 | skipping to change at line 72 | |||
}; | }; | |||
static const unsigned keccakf_piln[24] = { | static const unsigned keccakf_piln[24] = { | |||
10, 7, 11, 17, 18, 3, 5, 16, 8, 21, 24, 4, 15, 23, 19, 13, 12, 2, 20, | 10, 7, 11, 17, 18, 3, 5, 16, 8, 21, 24, 4, 15, 23, 19, 13, 12, 2, 20, | |||
14, 22, 9, 6, 1 | 14, 22, 9, 6, 1 | |||
}; | }; | |||
/* generally called after SHA3_KECCAK_SPONGE_WORDS-ctx->capacityWords words | /* generally called after SHA3_KECCAK_SPONGE_WORDS-ctx->capacityWords words | |||
* are XORed into the state s | * are XORed into the state s | |||
*/ | */ | |||
static void | static void ATTR_UNSIGNED_WRAPS | |||
keccakf(uint64_t s[25]) | keccakf(uint64_t s[25]) | |||
{ | { | |||
int i, j, round; | int i, j, round; | |||
uint64_t t, bc[5]; | uint64_t t, bc[5]; | |||
#define KECCAK_ROUNDS 24 | #define KECCAK_ROUNDS 24 | |||
for(round = 0; round < KECCAK_ROUNDS; round++) { | for(round = 0; round < KECCAK_ROUNDS; round++) { | |||
/* Theta */ | /* Theta */ | |||
for(i = 0; i < 5; i++) | for(i = 0; i < 5; i++) | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |