Eneboo - Documentación para desarrolladores
|
#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>
Clases | |
struct | DES_EDE_KEY |
'defines' | |
#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 |
Funciones | |
BLOCK_CIPHER_defs (des_ede, DES_EDE_KEY, NID_des_ede, 8, 16, 8, 64, EVP_CIPH_RAND_KEY|EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1, des_ede_init_key, NULL, NULL, NULL, des3_ctrl) BLOCK_CIPHER_defs(des_ede3 | |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl | BLOCK_CIPHER_def_cfb (des_ede3, DES_EDE_KEY, NID_des_ede3, 24, 8, 1, EVP_CIPH_RAND_KEY|EVP_CIPH_FLAG_FIPS|EVP_CIPH_FLAG_DEFAULT_ASN1, des_ede3_init_key, NULL, NULL, NULL, des3_ctrl) BLOCK_CIPHER_def_cfb(des_ede3 |
const EVP_CIPHER * | EVP_des_ede (void) |
const EVP_CIPHER * | EVP_des_ede3 (void) |
Variables | |
DES_EDE_KEY | |
NID_des_ede3 | |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS | EVP_CIPH_FLAG_DEFAULT_ASN1 |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS | des_ede3_init_key |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS | NULL |
#define data | ( | ctx | ) | ((DES_EDE_KEY *)(ctx)->cipher_data) |
#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 |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl BLOCK_CIPHER_def_cfb | ( | des_ede3 | , |
DES_EDE_KEY | , | ||
NID_des_ede3 | , | ||
24 | , | ||
8 | , | ||
1 | , | ||
EVP_CIPH_RAND_KEY|EVP_CIPH_FLAG_FIPS| | EVP_CIPH_FLAG_DEFAULT_ASN1, | ||
des_ede3_init_key | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
des3_ctrl | |||
) |
BLOCK_CIPHER_defs | ( | des_ede | , |
DES_EDE_KEY | , | ||
NID_des_ede | , | ||
8 | , | ||
16 | , | ||
8 | , | ||
64 | , | ||
EVP_CIPH_RAND_KEY|EVP_CIPH_FLAG_FIPS| | EVP_CIPH_FLAG_DEFAULT_ASN1, | ||
des_ede_init_key | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
des3_ctrl | |||
) |
const EVP_CIPHER* EVP_des_ede | ( | void | ) |
const EVP_CIPHER* EVP_des_ede3 | ( | void | ) |
static int des_ede3_init_key |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl DES_EDE_KEY |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS EVP_CIPH_FLAG_DEFAULT_ASN1 |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl NID_des_ede3 |
EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS des3_ctrl EVP_CIPH_RAND_KEY EVP_CIPH_FLAG_FIPS NULL |