mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-07 04:47:19 +02:00
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.