mbedtls_block_cipher_setup() function
Set the block cipher to use with this context. This must be called after mbedtls_block_cipher_init().
Arguments
ctx
The context to set up.
cipher_id
The identifier of the cipher to use. This must be either AES, ARIA or Camellia. Warning: this is a ::mbedtls_cipher_id_t, not a ::mbedtls_block_cipher_id_t!
Return value
\c 0 on success. #MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA if \p cipher_id was invalid.