StupidOS/lib/crypto/chacha20/chacha20.inc
d0p1 🏳️‍⚧️ 0365dd5da5
Some checks are pending
Build / test (push) Waiting to run
Docs / test (push) Waiting to run
build: define INCDIR,BINDIR,LIBDIR...
2024-03-26 07:48:32 +01:00

13 lines
209 B
PHP

struc ChaCha20Ctx {
.state dd 4*4 dup(?)
.ctr dd ?
}
CHACHA20_KEY_BYTES = 32
CHACHA20_NONCE_BYTES = 12
CHACHA20_ROUND = 10
CHACHA20_BLOCK_BYTES = 64
public chacha20_init
public chacha20_block