forked from Mbed-TLS/mbedtls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'mbedtls/pr/4937' into merges
- Loading branch information
Showing
25 changed files
with
921 additions
and
365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Changes | ||
* Improve the performance of base64 constant-flow code. The result is still | ||
slower than the original non-constant-flow implementation, but much faster | ||
than the previous constant-flow implementation. Fixes #4814. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Bugfix | ||
* Fix the build of sample programs when neither MBEDTLS_ERROR_C nor | ||
MBEDTLS_ERROR_STRERROR_DUMMY is enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
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. | ||
* 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. | ||
|
||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.