mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-04 08:55:09 +00:00
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>
8 lines
245 B
Plaintext
8 lines
245 B
Plaintext
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.
|