Gilles Peskine 1d26709dbd New function mbedtls_rsa_get_bitlen
Add a new function mbedtls_rsa_get_bitlen which returns the RSA key
size, i.e. the bit size of the modulus. In the pk module, call
mbedtls_rsa_get_bitlen instead of mbedtls_rsa_get_len, which gave the
wrong result for key sizes that are not a multiple of 8.

This commit adds one non-regression test in the pk suite. More tests
are needed for RSA key sizes that are a multiple of 8.

This commit does not address RSA alternative implementations, which
only provide an interface that return the modulus size in bytes.
2018-09-05 11:53:24 +03:00
..
2018-09-05 10:59:00 +03:00
2018-07-01 10:22:53 +03:00
2018-09-05 11:49:51 +03:00
2018-04-23 06:16:40 +01:00
2018-05-15 09:21:57 +01:00
2018-08-14 16:08:38 +01:00
2018-07-24 16:43:20 +01:00
2018-09-05 11:53:24 +03:00
2018-08-22 13:32:50 +01:00
2018-08-28 10:29:17 +01:00