Gilles Peskine e65e98a1dc mbedtls_ecp_write_key: document and test smaller output buffer
Document and test the current behavior, even if it is weird:

* For Weierstrass keys, the error is MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL,
  not MBEDTLS_ERR_ECP_BUFFER_TOO_SMALL.
* For Weierstrass keys, a smaller output buffer is ok if the output fits.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-26 09:02:44 +01:00
..
2023-11-03 12:54:54 +00:00
2023-11-06 10:06:03 +08:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-05-12 13:57:39 +02:00
2023-03-16 11:10:17 +08:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-03-16 11:10:17 +08:00
2023-11-03 12:54:54 +00:00