<< Previous | Next >> | |
|
void AESexpandKey4( char far * expanded, char far * key );
Description
- Prepares a key for use by expanding it into a set of round keys. A key is a "password" to decipher encoded data.
- This function is specific to AES with 128-bit key. See
AESexpandKey()
for a more general function (available with Rabbit Embedded Security Pack).Parameters
- expanded
- A buffer for storing the expanded key. The size of the expanded key, for a 128-bit key, is 176 bytes. Other key sizes are not supported by this function.
- Note: when using an AESstreamState structure (e.g., "state") then call this function using:
AESexpandKey4(state->expanded_key, key);
- key
- The cipher key, 16 bytes
Return value
- None.
Library
- AES_CORE.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |