Eneboo - Documentación para desarrolladores
Clases | 'defines' | 'typedefs' | Funciones
Referencia del Archivo src/libdigidoc/openssl/crypto/camellia/camellia.h
#include <openssl/opensslconf.h>

Ir al código fuente de este archivo.

Clases

struct  camellia_key_st

'defines'

#define CAMELLIA_ENCRYPT   1
#define CAMELLIA_DECRYPT   0
#define CAMELLIA_BLOCK_SIZE   16
#define CAMELLIA_TABLE_BYTE_LEN   272
#define CAMELLIA_TABLE_WORD_LEN   (CAMELLIA_TABLE_BYTE_LEN / 4)

'typedefs'

typedef unsigned int KEY_TABLE_TYPE [CAMELLIA_TABLE_WORD_LEN]
typedef struct camellia_key_st CAMELLIA_KEY

Funciones

int Camellia_set_key (const unsigned char *userKey, const int bits, CAMELLIA_KEY *key)
void Camellia_encrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key)
void Camellia_decrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key)
void Camellia_ecb_encrypt (const unsigned char *in, unsigned char *out, const CAMELLIA_KEY *key, const int enc)
void Camellia_cbc_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char *ivec, const int enc)
void Camellia_cfb128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc)
void Camellia_cfb1_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc)
void Camellia_cfb8_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num, const int enc)
void Camellia_cfbr_encrypt_block (const unsigned char *in, unsigned char *out, const int nbits, const CAMELLIA_KEY *key, unsigned char *ivec, const int enc)
void Camellia_ofb128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char *ivec, int *num)
void Camellia_ctr128_encrypt (const unsigned char *in, unsigned char *out, const unsigned long length, const CAMELLIA_KEY *key, unsigned char ivec[CAMELLIA_BLOCK_SIZE], unsigned char ecount_buf[CAMELLIA_BLOCK_SIZE], unsigned int *num)

Documentación de los 'defines'

#define CAMELLIA_BLOCK_SIZE   16
#define CAMELLIA_DECRYPT   0
#define CAMELLIA_ENCRYPT   1
#define CAMELLIA_TABLE_BYTE_LEN   272
#define CAMELLIA_TABLE_WORD_LEN   (CAMELLIA_TABLE_BYTE_LEN / 4)

Documentación de los 'typedefs'

typedef struct camellia_key_st CAMELLIA_KEY
typedef unsigned int KEY_TABLE_TYPE[CAMELLIA_TABLE_WORD_LEN]

Documentación de las funciones

void Camellia_cbc_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char *  ivec,
const int  enc 
)
void Camellia_cfb128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char *  ivec,
int num,
const int  enc 
)
void Camellia_cfb1_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char *  ivec,
int num,
const int  enc 
)
void Camellia_cfb8_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char *  ivec,
int num,
const int  enc 
)
void Camellia_cfbr_encrypt_block ( const unsigned char *  in,
unsigned char *  out,
const int  nbits,
const CAMELLIA_KEY key,
unsigned char *  ivec,
const int  enc 
)
void Camellia_ctr128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char  ivec[CAMELLIA_BLOCK_SIZE],
unsigned char  ecount_buf[CAMELLIA_BLOCK_SIZE],
unsigned int num 
)
void Camellia_decrypt ( const unsigned char *  in,
unsigned char *  out,
const CAMELLIA_KEY key 
)
void Camellia_ecb_encrypt ( const unsigned char *  in,
unsigned char *  out,
const CAMELLIA_KEY key,
const int  enc 
)
void Camellia_encrypt ( const unsigned char *  in,
unsigned char *  out,
const CAMELLIA_KEY key 
)
void Camellia_ofb128_encrypt ( const unsigned char *  in,
unsigned char *  out,
const unsigned long  length,
const CAMELLIA_KEY key,
unsigned char *  ivec,
int num 
)
int Camellia_set_key ( const unsigned char *  userKey,
const int  bits,
CAMELLIA_KEY key 
)
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'