2021-09-30 16:39:07 +02:00
|
|
|
Bugfix
|
|
|
|
* Remove PSA'a AEAD finish/verify output buffer limitation for GCM.
|
|
|
|
The requirement of minimum 15 bytes for output buffer in
|
|
|
|
psa_aead_finish() and psa_aead_verify() does not apply to the built-in
|
|
|
|
implementation of GCM.
|
2021-10-04 13:46:38 +02:00
|
|
|
* Move GCM's update output buffer length verification from PSA AEAD to
|
|
|
|
the built-in implementation of the GCM.
|
|
|
|
The requirement for output buffer size to be equal or greater then
|
|
|
|
input buffer size is valid only for the built-in implementation of GCM.
|
|
|
|
Alternative GCM implementations can process whole blocks only.
|
2021-09-30 16:39:07 +02:00
|
|
|
|
|
|
|
API changes
|
|
|
|
* New error code for GCM: MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL.
|
|
|
|
Alternative GCM implementations are expected to verify
|
|
|
|
the length of the provided output buffers and to return the
|
|
|
|
MBEDTLS_ERR_GCM_BUFFER_TOO_SMALL in case the buffer length is too small.
|