mbedtls_aria_crypt_ecb() function
This function performs an ARIA single-block encryption or decryption operation. It performs encryption or decryption (depending on whether the key was set for encryption on decryption) on the input data buffer defined in the \p input parameter. mbedtls_aria_init(), and either mbedtls_aria_setkey_enc() or mbedtls_aria_setkey_dec() must be called before the first call to this API with the same context.
Arguments
ctx
The ARIA context to use for encryption or decryption. This must be initialized and bound to a key.
input
The 16-Byte buffer holding the input data.
output
The 16-Byte buffer holding the output data.
Return value
\c 0 on success. A negative error code on failure.