TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Macros | Typedefs
aes_locl.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define GETU32(pt)   (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))
 
#define PUTU32(ct, st)   { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }
 
#define MAXKC   (256/32)
 
#define MAXKB   (256/8)
 
#define MAXNR   14
 

Typedefs

typedef unsigned int u32
 
typedef unsigned short u16
 
typedef unsigned char u8
 

Macro Definition Documentation

#define GETU32 (   pt)    (((u32)(pt)[0] << 24) ^ ((u32)(pt)[1] << 16) ^ ((u32)(pt)[2] << 8) ^ ((u32)(pt)[3]))

Definition at line 22 of file aes_locl.h.

Referenced by AES_decrypt(), AES_encrypt(), and AES_set_encrypt_key().

#define MAXKB   (256/8)

Definition at line 35 of file aes_locl.h.

#define MAXKC   (256/32)

Definition at line 34 of file aes_locl.h.

#define MAXNR   14

Definition at line 36 of file aes_locl.h.

#define PUTU32 (   ct,
  st 
)    { (ct)[0] = (u8)((st) >> 24); (ct)[1] = (u8)((st) >> 16); (ct)[2] = (u8)((st) >> 8); (ct)[3] = (u8)(st); }

Definition at line 23 of file aes_locl.h.

Referenced by AES_decrypt(), and AES_encrypt().

Typedef Documentation

typedef unsigned short u16

Definition at line 31 of file aes_locl.h.

typedef unsigned int u32

Definition at line 29 of file aes_locl.h.

typedef unsigned char u8

Definition at line 32 of file aes_locl.h.