mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-06 06:49:22 +08: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.