core/crypto/_sha3: Cleanups, prepare for cSHAKE
This commit is contained in:
1 parent
550e798c1b
commit
2db31cf0d5
4 files changed
+50
-40
No files matched your search
@@ -65,7 +65,7 @@ init_512 :: proc(ctx: ^Context) {
|
||||
|
||||
@(private)
|
||||
_init :: proc(ctx: ^Context) {
|
||||
ctx.is_keccak = true
|
||||
ctx.dsbyte = _sha3.DS_KECCAK
|
||||
_sha3.init(transmute(^_sha3.Context)(ctx))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user