AES_ReverseBytes

Syntax

#include <twl/aes.h>

void AES_ReverseBytes(const void* src, void* dst, u32 size);

Arguments

src Pointer to the source data to copy.
dst Pointer to the destination buffer where the data will be copied.. This can specify the same pointer as src.
size Copy size.

Return Values

None.

Description

Copies a byte array one byte at a time in reverse order.

The input and output values of the TWL-SDK AES library are not compatible with the standard AES algorithm, but by adding certain pre- and post-processing operations, standards-compatible encryption and decryption is possible. For details, see the ctr-compatible demo / ccm-compatible demo.

See Also

Revision History

2007/12/25 Initial version.


CONFIDENTIAL