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/rc2.h>
Clases | |
struct | EVP_RC2_KEY |
'defines' | |
#define | data(ctx) ((EVP_RC2_KEY *)(ctx)->cipher_data) |
#define | RC2_40_MAGIC 0xa0 |
#define | RC2_64_MAGIC 0x78 |
#define | RC2_128_MAGIC 0x3a |
Funciones | |
IMPLEMENT_BLOCK_CIPHER (rc2, ks, RC2, EVP_RC2_KEY, NID_rc2, 8, RC2_KEY_LENGTH, 8, 64, EVP_CIPH_VARIABLE_LENGTH|EVP_CIPH_CTRL_INIT, rc2_init_key, NULL, rc2_set_asn1_type_and_iv, rc2_get_asn1_type_and_iv, rc2_ctrl) static const EVP_CIPHER r2_64_cbc_cipher | |
const EVP_CIPHER * | EVP_rc2_64_cbc (void) |
const EVP_CIPHER * | EVP_rc2_40_cbc (void) |
#define data | ( | ctx | ) | ((EVP_RC2_KEY *)(ctx)->cipher_data) |
#define RC2_128_MAGIC 0x3a |
#define RC2_40_MAGIC 0xa0 |
#define RC2_64_MAGIC 0x78 |
const EVP_CIPHER* EVP_rc2_40_cbc | ( | void | ) |
const EVP_CIPHER* EVP_rc2_64_cbc | ( | void | ) |
IMPLEMENT_BLOCK_CIPHER | ( | rc2 | , |
ks | , | ||
RC2 | , | ||
EVP_RC2_KEY | , | ||
NID_rc2 | , | ||
8 | , | ||
RC2_KEY_LENGTH | , | ||
8 | , | ||
64 | , | ||
EVP_CIPH_VARIABLE_LENGTH| | EVP_CIPH_CTRL_INIT, | ||
rc2_init_key | , | ||
NULL | , | ||
rc2_set_asn1_type_and_iv | , | ||
rc2_get_asn1_type_and_iv | , | ||
rc2_ctrl | |||
) | const |