92fb604139
Add non-regression tests. Update some test functions to not assume that byte_length == bit_length / 8. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
7 lines
245 B
Text
7 lines
245 B
Text
Bugfix
|
|
* Fix mbedtls_pk_get_bitlen() for RSA keys whose size is not a
|
|
multiple of 8. Fixes #868.
|
|
|
|
Features
|
|
* The new function mbedtls_rsa_get_bitlen() returns the length of the modulus
|
|
in bits, i.e. the key size for an RSA key.
|