Gilles Peskine | c513934 | 2021-06-11 16:25:36 +0200 | [diff] [blame] | 1 | Changes |
| 2 | * mbedtls_mpi_read_binary(), mbedtls_mpi_read_binary_le() and |
| 3 | mbedtls_mpi_read_string() now construct an mbedtls_mpi object with 0 limbs |
| 4 | when their input has length 0. Note that this is an implementation detail |
| 5 | and can change at any time, so this change should be transparent, but it |
| 6 | may result in mbedtls_mpi_write_binary() or mbedtls_mpi_write_string() |
| 7 | now writing an empty string where it previously wrote one or more |
| 8 | zero digits when operating from values constructed with an mpi_read |
| 9 | function and some mpi operations. |