StupidOS/lib/crypto/chacha20/chacha20.inc

13 lines
209 B
PHP
Raw Normal View History

2024-03-26 06:48:32 +00:00
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