MBEDTLS_NO_INT64_DIVISION -> MBEDTLS_NO_UDBL_DIVISION

Changed the option to disable the use of 64-bit division, to an option
to disable the use of double-width division, whether that's 64 or 128-bit.
This commit is contained in:
Gilles Peskine 2017-06-08 15:19:20 +02:00 committed by Simon Butcher
parent 6ee7dad896
commit 9a9adcd6aa
3 changed files with 39 additions and 0 deletions

View file

@ -16,6 +16,13 @@ API Changes
qualifier from the functions mbedtls_aes_decrypt, mbedtls_aes_encrypt,
mbedtls_ssl_ciphersuite_uses_ec and mbedtls_ssl_ciphersuite_uses_psk.
Changes
* Added config.h option MBEDTLS_NO_UDBL_DIVISION, to prevent the use of
64-bit division.
* Added config.h option MBEDTLS_TYPE_UDBL to allow configuring the
double-width integer type used in the bignum module when the compiler is
unknown.
Bugfix
* Add a check if iv_len is zero, and return an error if it is zero. reported
by roberto. #716