1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00
This commit is contained in:
dark64 2021-04-14 17:40:45 +02:00
parent 6faf3cb689
commit c8b9436ee1
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
import "EMBED/u32_to_bits" as to_bits
import "EMBED/u32_from_bits" as from_bits
def rotr32<N>(u32 e) -> u32:
def rotr32<N>(u32 x) -> u32:
return (x >> N) ^ (x << (32 - N))
def blake2s_iv() -> (u32[8]):

View file

@ -1,6 +1,6 @@
import "./IVconstants.zok"
def rotr32<N>(u32 e) -> u32:
def rotr32<N>(u32 x) -> u32:
return (x >> N) ^ (x << (32 - N))
def extend(u32[64] w, u32 i) -> u32: