mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-03 05:08:14 +00:00
core/crypto/_sha3: Cleanups, prepare for cSHAKE
This commit is contained in:
@@ -35,6 +35,7 @@ init_256 :: proc(ctx: ^Context) {
|
||||
|
||||
@(private)
|
||||
_init :: proc(ctx: ^Context) {
|
||||
ctx.dsbyte = _sha3.DS_SHAKE
|
||||
_sha3.init(transmute(^_sha3.Context)(ctx))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user