mbedtls_camellia_crypt_ecb() function
Perform a CAMELLIA-ECB block encryption/decryption operation.
Arguments
ctx
The CAMELLIA context to use. This must be initialized and bound to a key.
mode
The mode of operation. This must be either #MBEDTLS_CAMELLIA_ENCRYPT or #MBEDTLS_CAMELLIA_DECRYPT.
input
The input block. This must be a readable buffer of size \c 16 Bytes.
output
The output block. This must be a writable buffer of size \c 16 Bytes.
Return value
\c 0 if successful. A negative error code on failure.