<< Previous | Next >> | |
|
void AESdecrypt4x4( char far * expandedkey, char far * crypt, char far * plain );
Description
- Decrypts a block of data using an implementation of the Rijndael AES cipher with a 128-bit key and block size.
- The encrypted block of data may be overwritten by the decrypted block of data.
Parameters
- expandedkey
- A set of round keys (generated by
AESexpandKey4()
) from a 16-byte (128 bit) key.
- Total of 176 bytes (44 longwords)
- Note: when using an AESstreamState structure (e.g. "state") then call this function using:
AESdecrypt4x4(state->expanded_key, plain, crypt);
- crypt
- A block of 16 bytes of ciphertext to be decrypted; "crypt" and "plain" may point to the same place.
- plain
- A block of 16 bytes of resulting plaintext data; "crypt" and "plain" may point to the same place.
Library
- AES_CORE.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |