Gilles Peskine 159171b72a PK parse/write: support keylen=0 correctly
A 0-length buffer for the key is a legitimate edge case. Ensure that
it works, even with buf=NULL. Document the key and keylen parameters.

There are already test cases for parsing an empty buffer. A subsequent
commit will add tests for writing to an empty buffer.
2018-12-19 17:03:28 +01:00
..
2018-08-13 13:49:52 +03:00
2018-06-18 10:30:30 +02:00
2018-07-23 18:18:32 +01:00
2018-07-23 18:18:35 +01:00
2018-12-06 12:22:46 +00:00
2018-05-15 09:21:57 +01:00
2018-11-06 13:12:47 +00:00
2018-11-09 13:57:37 +00:00
2018-11-09 15:01:07 +00:00
2018-07-24 16:43:20 +01:00
2015-09-04 14:21:07 +02:00
2018-12-19 14:18:39 +01:00
2015-09-04 14:21:07 +02:00
2017-10-29 17:53:52 +02:00
2018-10-25 16:07:16 +01:00
2018-12-11 12:28:56 +01:00