Ryan Huber
7e398aa738
Replace panics with errors ( #24 )
...
* remove panics per PanicAndRecover guidance from go authors
* revert constructors to panic()
* fix vectorgen
* fix Write call too
2018-01-09 21:48:36 -05:00
David Wong
fc3a9f3b3c
Removed the XR pattern and added the initiator check in WriteMessage and ReadMessage according to spec ( #22 )
...
* removed the XR pattern and added the initiator check in WriteMessage and ReadMessage according to spec
* removed extra space I shouldn't have added
* fixed vectors
* re-generated via vectorgen
2017-09-27 19:37:07 -04:00
Jason A. Donenfeld
bac779d5eb
vectorgen: create even more vector combinations
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-15 13:31:05 +02:00
Jason A. Donenfeld
3bc46b50a9
vectorgen: generate psk test vectors
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-15 13:24:16 +02:00
Jason A. Donenfeld
1b34a57a83
vectorgen: use 32-byte psk
...
The noise specification mandates that preshared keys are 256-bits.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-15 13:21:07 +02:00
Sergey Matveev
c01f33c418
Nicely formatted long structs, for reading easiness
...
Signed-off-by: Sergey Matveev <stargrave@stargrave.org>
2017-01-03 10:35:34 -05:00
Jonathan Rudenberg
ad132441f7
Update package import in vectorgen
...
Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
2016-07-12 22:58:03 -04:00
Jonathan Rudenberg
c0dae35557
Implement XR pattern
2016-04-03 11:35:23 -04:00
Jonathan Rudenberg
3512ab15d1
Purge _E handshake patterns
2016-04-03 11:27:42 -04:00
Jonathan Rudenberg
77186df246
Add encryption messages to vectors and vectors from cacophony
2015-11-16 22:08:16 -05:00
Jonathan Rudenberg
3881dc9640
Add test vector generator and tester
2015-11-16 20:57:02 -05:00