Commit Graph

18 Commits

Author SHA1 Message Date
lukechampine 70299b9d3b reorder some functions and get 100% coverage 2020-01-11 21:45:09 -05:00
lukechampine 633f7e15c1 only pad block when necessary 2020-01-11 20:58:07 -05:00
lukechampine 6ff1174970 flesh out some docstrings/comments 2020-01-11 20:20:01 -05:00
lukechampine 72d3c39081 make Sum functions zero-alloc 2020-01-10 17:17:39 -05:00
lukechampine 204828b0de chunkLen -> chunkSize 2020-01-10 16:37:28 -05:00
lukechampine 37e4314bf1 more compact addChunkChainingValue 2020-01-10 16:35:20 -05:00
lukechampine 4c13e3a25c blockLen -> blockSize 2020-01-10 16:01:33 -05:00
lukechampine 4833fabd0e fix SeekEnd behavior 2020-01-10 15:07:07 -05:00
renthraysk 07853371e5 Split g() into 2 inlines funcs.
Eliminates calls & BC in round
2020-01-10 12:55:58 -05:00
lukechampine fd30fee094 implement Seek 2020-01-10 12:43:02 -05:00
lukechampine 3d75f823bd new API for derive_key 2020-01-10 00:55:25 -05:00
lukechampine bc09571efd minor performance improvements 2020-01-09 23:02:28 -05:00
lukechampine 51ea9b114e rename output -> node, and more style changes 2020-01-09 22:46:24 -05:00
lukechampine 83947f416f unexport constants and refactor to idiomatic Go 2020-01-09 17:58:48 -05:00
lukechampine 2ca7badf67 implement XOF 2020-01-09 16:25:24 -05:00
lukechampine 062bad69bc set correct block size 2020-01-09 15:39:50 -05:00
lukechampine bd08550d6e add derive key mode 2020-01-09 15:38:44 -05:00
lukechampine 0a863bb651 initial commit 2020-01-09 15:10:01 -05:00