Public Domain AES encryption/decryption.
More...
#include "rijndael.h"
#include <sys/time.h>
Public Domain AES encryption/decryption.
- Author
- Philip J. Erdelsky pje@e.nosp@m.fgh..nosp@m.com, JD Gascuel, and others.
- Copyright
- (c) 2015 JD Gascuel. All rights reserved.
- Id
- rijndael.cpp,v 85eecaa1bf6b 2015/04/07 09:13:38 jDG
#define GETU32 |
( |
|
plaintext | ) |
|
Value:(((
Word32)(plaintext)[0] << 24) ^ \
((
Word32)(plaintext)[1] << 16) ^ \
((
Word32)(plaintext)[2] << 8) ^ \
unsigned long Word32
Definition: rijndael.h:50
#define PUTU32 |
( |
|
ciphertext, |
|
|
|
st |
|
) |
| |
Value:{ (ciphertext)[0] = (
Byte)((st) >> 24); \
(ciphertext)[1] = (
Byte)((st) >> 16); \
(ciphertext)[2] = (
Byte)((st) >> 8); \
(ciphertext)[3] = (
Byte)(st); }
unsigned char Byte
Definition: rijndael.h:51