mbedtls_block_cipher_setkey() is only used within mbedTLS.
 
Symbols
loading (2/5)...
Files
loading (2/5)...
SummarySyntaxArgumentsRelatedReferences

Return value

\c 0 on success. #MBEDTLS_ERR_CIPHER_INVALID_CONTEXT if the context was not properly set up before calling this function. One of #MBEDTLS_ERR_AES_INVALID_KEY_LENGTH, #MBEDTLS_ERR_ARIA_BAD_INPUT_DATA, #MBEDTLS_ERR_CAMELLIA_BAD_INPUT_DATA if \p key_bitlen is invalid.

References