UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
crypt_aes_impl.h
Go to the documentation of this file.
1
26#ifndef __RIJNDAEL_ALG_FST_H
27#define __RIJNDAEL_ALG_FST_H
28
29#define MAXKC (256/32)
30#define MAXKB (256/8)
31#define MAXNR 14
32
33typedef unsigned char u8;
34typedef unsigned short u16;
35typedef unsigned int u32;
36
37int rijndaelKeySetupEnc(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits);
38int rijndaelKeySetupDec(u32 rk[/*4*(Nr + 1)*/], const u8 cipherKey[], int keyBits);
39void rijndaelEncrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 pt[16], u8 ct[16]);
40void rijndaelDecrypt(const u32 rk[/*4*(Nr + 1)*/], int Nr, const u8 ct[16], u8 pt[16]);
41
42void rijndaelEncryptRound(const u32 rk[/*4*(Nr + 1)*/], int Nr, u8 block[16], int rounds);
43void rijndaelDecryptRound(const u32 rk[/*4*(Nr + 1)*/], int Nr, u8 block[16], int rounds);
44
45#endif /* __RIJNDAEL_ALG_FST_H */
int rijndaelKeySetupDec(u32 rk[], const u8 cipherKey[], int keyBits)
void rijndaelEncryptRound(const u32 rk[], int Nr, u8 block[16], int rounds)
void rijndaelDecrypt(const u32 rk[], int Nr, const u8 ct[16], u8 pt[16])
int rijndaelKeySetupEnc(u32 rk[], const u8 cipherKey[], int keyBits)
void rijndaelEncrypt(const u32 rk[], int Nr, const u8 pt[16], u8 ct[16])
unsigned short u16
void rijndaelDecryptRound(const u32 rk[], int Nr, u8 block[16], int rounds)
unsigned char u8
unsigned int u32
Definition cuda_dxt.cu:12
uint8_t u8
Definition dxt62tga.c:12