1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-06-06 06:49:22 +08:00
Gilles Peskine 043b281714 Add a few test cases for non-byte-aligned raw data keys
Add tests for derivation.

Test both 7 bits and 9 bits, in case the implementation truncated the
bit size down and 7 was rejected as 0 rather than because it isn't a
multiple of 8.

There is no corresponding test for import because import determines
the key size from the key data, which is always a whole number of bytes.
2019-09-12 19:05:00 +02:00
..
2019-09-06 19:28:47 +02:00
2019-09-06 19:28:47 +02:00