mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
core/crypto/_sha3: Cleanups, prepare for cSHAKE
This commit is contained in:
@@ -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