OSTC Companion  3.0
Companion sofftware for H&W dive computers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros
rijndael.cpp File Reference

Public Domain AES encryption/decryption. More...

#include "rijndael.h"
#include <sys/time.h>
Include dependency graph for rijndael.cpp:

Namespaces

 Rijndael
 

Macros

#define FULL_UNROLL
 
#define GETU32(plaintext)
 
#define PUTU32(ciphertext, st)
 

Detailed Description

Public Domain AES encryption/decryption.

Author
Philip J. Erdelsky pje@e.nosp@m.fgh..nosp@m.com, JD Gascuel, and others.
Id
rijndael.cpp,v 85eecaa1bf6b 2015/04/07 09:13:38 jDG

Macro Definition Documentation

#define FULL_UNROLL
#define GETU32 (   plaintext)
Value:
(((Word32)(plaintext)[0] << 24) ^ \
((Word32)(plaintext)[1] << 16) ^ \
((Word32)(plaintext)[2] << 8) ^ \
((Word32)(plaintext)[3]))
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