Classes | Functions
e_des.c File Reference
#include <openssl/cipher.h>
#include <openssl/des.h>
#include <openssl/nid.h>
#include "internal.h"
#include "../delocate.h"
Include dependency graph for e_des.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DES_EDE_KEY
 
struct  EVP_DES_KEY
 

Functions

 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_cbc)
 
 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_ecb)
 
 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_ede)
 
 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_ede3)
 
 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_ede3_cbc)
 
 DEFINE_METHOD_FUNCTION (EVP_CIPHER, EVP_des_ede_cbc)
 
static int des_cbc_cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
static int des_ecb_cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
static int des_ede3_cbc_cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
static int des_ede3_init_key (EVP_CIPHER_CTX *ctx, const uint8_t *key, const uint8_t *iv, int enc)
 
static int des_ede_ecb_cipher (EVP_CIPHER_CTX *ctx, uint8_t *out, const uint8_t *in, size_t in_len)
 
static int des_ede_init_key (EVP_CIPHER_CTX *ctx, const uint8_t *key, const uint8_t *iv, int enc)
 
static int des_init_key (EVP_CIPHER_CTX *ctx, const uint8_t *key, const uint8_t *iv, int enc)
 
const EVP_CIPHEREVP_des_ede3_ecb (void)
 

Function Documentation

◆ DEFINE_METHOD_FUNCTION() [1/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_cbc   
)

Definition at line 91 of file e_des.c.

◆ DEFINE_METHOD_FUNCTION() [2/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_ecb   
)

Definition at line 118 of file e_des.c.

◆ DEFINE_METHOD_FUNCTION() [3/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_ede   
)

Definition at line 211 of file e_des.c.

◆ DEFINE_METHOD_FUNCTION() [4/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_ede3   
)

Definition at line 223 of file e_des.c.

◆ DEFINE_METHOD_FUNCTION() [5/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_ede3_cbc   
)

Definition at line 159 of file e_des.c.

◆ DEFINE_METHOD_FUNCTION() [6/6]

DEFINE_METHOD_FUNCTION ( EVP_CIPHER  ,
EVP_des_ede_cbc   
)

Definition at line 183 of file e_des.c.

◆ des_cbc_cipher()

static int des_cbc_cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)
static

Definition at line 81 of file e_des.c.

◆ des_ecb_cipher()

static int des_ecb_cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)
static

Definition at line 103 of file e_des.c.

◆ des_ede3_cbc_cipher()

static int des_ede3_cbc_cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)
static

Definition at line 149 of file e_des.c.

◆ des_ede3_init_key()

static int des_ede3_init_key ( EVP_CIPHER_CTX ctx,
const uint8_t key,
const uint8_t iv,
int  enc 
)
static

Definition at line 137 of file e_des.c.

◆ des_ede_ecb_cipher()

static int des_ede_ecb_cipher ( EVP_CIPHER_CTX ctx,
uint8_t out,
const uint8_t in,
size_t  in_len 
)
static

Definition at line 195 of file e_des.c.

◆ des_ede_init_key()

static int des_ede_init_key ( EVP_CIPHER_CTX ctx,
const uint8_t key,
const uint8_t iv,
int  enc 
)
static

Definition at line 171 of file e_des.c.

◆ des_init_key()

static int des_init_key ( EVP_CIPHER_CTX ctx,
const uint8_t key,
const uint8_t iv,
int  enc 
)
static

Definition at line 72 of file e_des.c.

◆ EVP_des_ede3_ecb()

const EVP_CIPHER* EVP_des_ede3_ecb ( void  )

Definition at line 235 of file e_des.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:11