PSA_AEAD_NONCE_LENGTH is only used within mbedTLS.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsReferences

Return value

The default nonce size for the specified key type and algorithm. If the key type or AEAD algorithm is not recognized, or the parameters are incompatible, return 0.

Notes

This is not the maximum size of nonce supported as input to #psa_aead_set_nonce(), #psa_aead_encrypt() or #psa_aead_decrypt(), just the default size that is generated by #psa_aead_generate_nonce().

References