Skip to content

Commit 26395f5

Browse files
committed
tweak IVs
1 parent e9a5fb0 commit 26395f5

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

ascon-hash256/src/block_api.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ use digest::{
1111

1212
/// Initial state of Ascon-Hash256
1313
const IV: State = [
14-
0x9b1e_5494_e934_d681,
15-
0x4bc3_a01e_3337_51d2,
16-
0xae65_396c_6b34_b81a,
17-
0x3c7f_d4a4_d56a_4db3,
18-
0x1a5c_4649_06c5_976d,
14+
0x9B1E_5494_E934_D681,
15+
0x4BC3_A01E_3337_51D2,
16+
0xAE65_396C_6B34_B81A,
17+
0x3C7F_D4A4_D56A_4DB3,
18+
0x1A5C_4649_06C5_976D,
1919
];
2020

2121
/// Ascon-Hash256 block-level hasher

ascon-xof128/src/block_api.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ use digest::{
1010
};
1111

1212
const IV: State = [
13-
0xda82ce768d9447eb,
14-
0xcc7ce6c75f1ef969,
15-
0xe7508fd780085631,
16-
0x0ee0ea53416b58cc,
17-
0xe0547524db6f0bde,
13+
0xDA82_CE76_8D94_47EB,
14+
0xCC7C_E6C7_5F1E_F969,
15+
0xE750_8FD7_8008_5631,
16+
0x0EE0_EA53_416B_58CC,
17+
0xE054_7524_DB6F_0BDE,
1818
];
1919

2020
/// Ascon-XOF128 block-level hasher

0 commit comments

Comments
 (0)