OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Functions
e_des3.c File Reference
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "evp_locl.h"
#include <openssl/des.h>
#include <openssl/rand.h>

Go to the source code of this file.

Classes

struct  DES_EDE_KEY
 

Macros

#define data(ctx)   ((DES_EDE_KEY *)(ctx)->cipher_data)
 
#define des_ede3_cfb64_cipher   des_ede_cfb64_cipher
 
#define des_ede3_ofb_cipher   des_ede_ofb_cipher
 
#define des_ede3_cbc_cipher   des_ede_cbc_cipher
 
#define des_ede3_ecb_cipher   des_ede_ecb_cipher
 

Functions

 BLOCK_CIPHER_defs (des_ede, BLOCK_CIPHER_defs(DES_EDE_KEY, NID_des_ede, BLOCK_CIPHER_defs(8, 16, BLOCK_CIPHER_defs(8, BLOCK_CIPHER_defs(64, BLOCK_CIPHER_defs(EVP_CIPH_RAND_KEY, des_ede_init_key, BLOCK_CIPHER_defs(NULL, BLOCK_CIPHER_defs(EVP_CIPHER_set_asn1_iv, BLOCK_CIPHER_defs(EVP_CIPHER_get_asn1_iv, des3_ctrl)
 
const EVP_CIPHEREVP_des_ede (void)
 
const EVP_CIPHEREVP_des_ede3 (void)
 

Macro Definition Documentation

#define data (   ctx)    ((DES_EDE_KEY *)(ctx)->cipher_data)

Definition at line 85 of file e_des3.c.

#define des_ede3_cbc_cipher   des_ede_cbc_cipher
#define des_ede3_cfb64_cipher   des_ede_cfb64_cipher
#define des_ede3_ecb_cipher   des_ede_ecb_cipher
#define des_ede3_ofb_cipher   des_ede_ofb_cipher

Function Documentation

BLOCK_CIPHER_defs ( des_ede  ,
BLOCK_CIPHER_defs(  DES_EDE_KEY,
NID_des_ede  ,
BLOCK_CIPHER_defs(  8,
16  ,
BLOCK_CIPHER_defs(  8,
BLOCK_CIPHER_defs(  64,
BLOCK_CIPHER_defs(  EVP_CIPH_RAND_KEY,
des_ede_init_key  ,
BLOCK_CIPHER_defs(  NULL,
BLOCK_CIPHER_defs(  EVP_CIPHER_set_asn1_iv,
BLOCK_CIPHER_defs(  EVP_CIPHER_get_asn1_iv,
des3_ctrl   
)

Definition at line 210 of file e_des3.c.

const EVP_CIPHER* EVP_des_ede ( void  )

Definition at line 306 of file e_des3.c.

const EVP_CIPHER* EVP_des_ede3 ( void  )

Definition at line 311 of file e_des3.c.