PSA_BLOCK_CIPHER_BLOCK_LENGTH is only used within mbedTLS.
 
Symbols
loading...
Files
loading (1/5)...
SummarySyntaxArgumentsReferences

Return value

The block size for a block cipher, or 1 for a stream cipher. The return value is undefined if \p type is not a supported cipher key type.

Notes

It is possible to build stream cipher algorithms on top of a block cipher, for example CTR mode (#PSA_ALG_CTR). This macro only takes the key type into account, so it cannot be used to determine the size of the data that #psa_cipher_update() might buffer for future processing in general. This macro returns a compile-time constant if its argument is one.

References