mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-04 11:09:00 -04:00

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>