form changes (nothing of importance)
This commit is contained in:
parent
56e75f661d
commit
1bbc0b5dde
|
@ -32,6 +32,7 @@ typedef struct{
|
||||||
|
|
||||||
typedef bigint_t dsa_pubkey_t;
|
typedef bigint_t dsa_pubkey_t;
|
||||||
typedef bigint_t dsa_privkey_t;
|
typedef bigint_t dsa_privkey_t;
|
||||||
|
|
||||||
typedef struct{
|
typedef struct{
|
||||||
bigint_t r;
|
bigint_t r;
|
||||||
bigint_t s;
|
bigint_t s;
|
||||||
|
|
|
@ -120,7 +120,6 @@ void keccak_round(uint64_t a[5][5], uint8_t rci){
|
||||||
/* rho & pi */
|
/* rho & pi */
|
||||||
for(i = 0; i < 5; ++i){
|
for(i = 0; i < 5; ++i){
|
||||||
for(j = 0; j < 5; ++j){
|
for(j = 0; j < 5; ++j){
|
||||||
// b[(2*i+3*j)%5][j] = rotl64(a[j][i], pgm_read_byte(&(r[i][j])));
|
|
||||||
b[(2 * i + 3 * j) % 5][j] = rotate64left_code(a[j][i], pgm_read_byte(&(r[i][j])));
|
b[(2 * i + 3 * j) % 5][j] = rotate64left_code(a[j][i], pgm_read_byte(&(r[i][j])));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue