OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
aes_ige.c File Reference
#include "cryptlib.h"
#include <openssl/aes.h>
#include "aes_locl.h"

Go to the source code of this file.

Classes

struct  aes_block_t
 

Macros

#define N_WORDS   (AES_BLOCK_SIZE / sizeof(unsigned long))
 
#define UNALIGNED_MEMOPS_ARE_FAST   0
 
#define load_block(d, s)   memcpy((d).data, (s), AES_BLOCK_SIZE)
 
#define store_block(d, s)   memcpy((d), (s).data, AES_BLOCK_SIZE)
 

Functions

void AES_ige_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, unsigned char *ivec, const int enc)
 
void AES_bi_ige_encrypt (const unsigned char *in, unsigned char *out, size_t length, const AES_KEY *key, const AES_KEY *key2, const unsigned char *ivec, const int enc)
 

Macro Definition Documentation

#define load_block (   d,
 
)    memcpy((d).data, (s), AES_BLOCK_SIZE)

Definition at line 73 of file aes_ige.c.

#define N_WORDS   (AES_BLOCK_SIZE / sizeof(unsigned long))

Definition at line 57 of file aes_ige.c.

#define store_block (   d,
 
)    memcpy((d), (s).data, AES_BLOCK_SIZE)

Definition at line 74 of file aes_ige.c.

#define UNALIGNED_MEMOPS_ARE_FAST   0

Definition at line 66 of file aes_ige.c.

Function Documentation

void AES_bi_ige_encrypt ( const unsigned char *  in,
unsigned char *  out,
size_t  length,
const AES_KEY key,
const AES_KEY key2,
const unsigned char *  ivec,
const int  enc 
)

Definition at line 213 of file aes_ige.c.

void AES_ige_encrypt ( const unsigned char *  in,
unsigned char *  out,
size_t  length,
const AES_KEY key,
unsigned char *  ivec,
const int  enc 
)

Definition at line 79 of file aes_ige.c.