Manuel Pégourié-Gonnard | e6e51aa | 2021-06-15 11:29:26 +0200 | [diff] [blame] | 1 | API changes |
Manuel Pégourié-Gonnard | 8707259 | 2021-06-16 11:02:38 +0200 | [diff] [blame] | 2 | * For all functions that take a random number generator (RNG) as a |
| 3 | parameter, this parameter is now mandatory (that is, NULL is not an |
| 4 | acceptable value). Functions which previously accepted NULL and now |
| 5 | reject it are: the X.509 CRT and CSR writing functions; the PK and RSA |
| 6 | sign and decrypt function; mbedtls_rsa_private(); the functions |
| 7 | in DHM and ECDH that compute the shared secret; the scalar multiplication |
| 8 | functions in ECP. |
Manuel Pégourié-Gonnard | e6e51aa | 2021-06-15 11:29:26 +0200 | [diff] [blame] | 9 | * The following functions now require an RNG parameter: |
| 10 | mbedtls_ecp_check_pub_priv(), mbedtls_pk_check_pair(), |
| 11 | mbedtls_pk_parse_key(), mbedtls_pk_parse_keyfile(). |
Manuel Pégourié-Gonnard | 8707259 | 2021-06-16 11:02:38 +0200 | [diff] [blame] | 12 | Removals |
Manuel Pégourié-Gonnard | e6e51aa | 2021-06-15 11:29:26 +0200 | [diff] [blame] | 13 | * The configuration option MBEDTLS_ECP_NO_INTERNAL_RNG has been removed as |
| 14 | it no longer had any effect. |