Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key wrapping API proposal #364

Open
wants to merge 8 commits into
base: development
Choose a base branch
from
Next Next commit
Fix copypasta in the description of PSA_KEY_EXPORT_MAX_SIZE
gilles-peskine-arm committed Feb 10, 2020
commit 666975379608acb0c3a58500d9e2644e06918162
4 changes: 2 additions & 2 deletions include/psa/crypto_sizes.h
Original file line number Diff line number Diff line change
@@ -641,8 +641,8 @@
*
* \return If the parameters are valid and supported, return
* a buffer size in bytes that guarantees that
* psa_sign_hash() will not fail with
* #PSA_ERROR_BUFFER_TOO_SMALL.
* psa_export_key() (and psa_export_public_key() if applicable)
will not fail with #PSA_ERROR_BUFFER_TOO_SMALL.
* If the parameters are a valid combination that is not supported
* by the implementation, this macro shall return either a
* sensible size or 0.