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

Return value

The corresponding MAC algorithm with the specified length. Unspecified if \p mac_alg is not a supported MAC algorithm or if \p mac_length is too small or too large for the specified MAC algorithm.

Notes

This macro may allow constructing algorithm identifiers that are not valid, either because the specified length is larger than the untruncated MAC or because the specified length is smaller than permitted by the implementation. It is implementation-defined whether a truncated MAC that is truncated to the same length as the MAC of the untruncated algorithm is considered identical to the untruncated algorithm for policy comparison purposes.

References