7 Commits

Author SHA1 Message Date
Sun Yimin
1b512e5772
internal/cryptotest: add tests for the hash.Hash cipher.BlockMode cipher.Block interfaces 2024-08-02 13:02:25 +08:00
Sun Yimin
c913b7d304
align error message pattern 2023-12-08 17:55:29 +08:00
Sun Yimin
75fde484ba
drbg: use hash creator, but it's still NOT goroutine safe 2023-04-13 09:32:14 +08:00
Sun Yimin
ecdf5fca82
supplement tesst cases 2022-10-21 10:46:18 +08:00
Sun Yimin
0342ada322
add comments and enhance gm validation 2022-10-21 10:22:10 +08:00
Sun Yimin
afc4750bf0
Sample pseudo random number generator base on DRBG 2022-10-20 15:28:06 +08:00
Sun Yimin
643df78c07
implement ctr drbg 2022-10-20 11:30:20 +08:00