Commit Graph

7 Commits

Author SHA1 Message Date
Sarah Jamie Lewis 8318aed1a7 Update go.mod to have correct module name 2019-11-05 14:05:39 -08:00
George Tankersley 65ae6d9990 Add license and readme, tidy the dependencies 2019-10-10 21:28:52 -04:00
George Tankersley 73c531955f merlin: fix comment on ExtractBytes 2019-10-10 21:14:26 -04:00
George Tankersley 91c96d8b8d merlin: remove unconditional debug logging 2019-10-10 20:58:39 -04:00
George Tankersley eb1d60f2c0 merlin: add complex protocol test from dalek merlin 2019-10-10 20:58:23 -04:00
Henry de Valence e9014b45c3 StrobeGo does not support continuation ops
Because Strobe encodes the operation, doing two meta-AD operations is
different from doing one meta-AD operation with the concatenated data.
Other Strobe implementations, such as the one internal to the Merlin
implementation in Rust, support a "continuation" flag that indicates
that some data is a continuation of a previous operation, rather than a
new one.  However, StrobeGo does not, so the previous code was doing two
separate operations.  This code may do more allocations than necessary,
as I have never understood the semantics of Go slices.
2019-10-10 20:58:14 -04:00
George Tankersley 8dedea481f initial commit 2019-10-10 20:58:14 -04:00