17 Commits

Author SHA1 Message Date
Jonathan Rudenberg
33aa69fc14 Fix reversed extra and info 2014-07-06 14:40:04 -07:00
Jonathan Rudenberg
84c8891ca7 KDFNum is a uint8 2014-07-06 13:03:37 -07:00
Jonathan Rudenberg
e36eb5dddd Refactor to prepare for pipes implementation 2014-07-06 09:45:39 -07:00
Jonathan Rudenberg
39d629fcc7 Use scratch buffer to build plaintext 2014-07-05 20:46:15 -07:00
Jonathan Rudenberg
67a4951c9d Fix KDF 2014-07-05 20:36:32 -07:00
Jonathan Rudenberg
0706221ff8 Untangle chaining variable and cipher context 2014-07-05 00:26:00 -07:00
Jonathan Rudenberg
a98f07ba16
Remove 2 allocs by reusing CipherContext 2014-07-03 23:25:11 -07:00
Jonathan Rudenberg
6650461c89
Remove 2 allocs by using buffer for keystream 2014-07-03 22:46:30 -07:00
Jonathan Rudenberg
908c2ac8a2
Remove 9 allocs by using a buffer for key derivation 2014-07-03 22:42:20 -07:00
Jonathan Rudenberg
e8ef3d40dd
Remove an alloc by pre-allocating the dest slice 2014-07-03 21:54:44 -07:00
Jonathan Rudenberg
903cbf641c
Fix authData comment 2014-07-03 21:28:18 -07:00
Jonathan Rudenberg
b5b487a2fa
Remove plaintextLen from mac args 2014-07-03 21:27:05 -07:00
Jonathan Rudenberg
8a2dc23c1f
Add encrypt benchmark 2014-07-03 21:26:45 -07:00
Jonathan Rudenberg
f585254b83
Add additional roundtrip to test 2014-07-03 21:12:06 -07:00
Jonathan Rudenberg
63cdf72db2
Somehow this works 2014-07-02 23:49:15 -07:00
Jonathan Rudenberg
16ad7c857e
Noise255 2014-06-17 23:29:23 -07:00
Jonathan Rudenberg
0fb25e45a1
Start sketching 2014-06-15 21:33:00 -07:00