mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-03-26 14:11:59 +01:00
All PSA crypto error codes fit comfortably in 16 bits and we have no plans to ever change this. So use 16 bits to store them, which reduces mbedtls_error_pair_t from 8 bytes to 4 bytes. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>