![]() |
|
| << Previous | Next >> | |
| | |
int AESdecryptStream4x4_CBC( AESstreamState * state, long message, long output, unsigned int count);
Description
- Perform an AES-CBC decryption operation.
- See
Samples\Crypt\AES_STREAMTEST.Cfor a sample program and a detailed explanation of the encryption/decryption process.Parameters
- state
- The
AESstreamStatestructure, initialized viaAESinitStream4x4().
- This memory must be allocated in the program code before calling
AESdecrptyStream4x4_CBC():
static AESstreamState decrypt_state;- message
- Cipher-text message (an xmem buffer)
- output
- Output buffer, for return of decrypted text (in xmem). Must be as large as the cipher-text buffer. May be the same as the cipher-text buffer.
- count
- Length of the message. Must a multiple of
_AES_CBC_BLK_SZ_(16).
Return Value
- 0 on success, non-zero on failure
Library
- AES_CORE.LIB
| Dynamic C Functions | << Previous | Next >> | rabbit.com |