mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 21:28:45 +00:00
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.