Eneboo - Documentación para desarrolladores
|
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/evp.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include <openssl/engine.h>
#include "evp_locl.h"
'defines' | |
#define | M_do_cipher(ctx, out, in, inl) ctx->cipher->do_cipher(ctx,out,in,inl) |
Funciones | |
EVP_CIPHER_CTX * | EVP_CIPHER_CTX_new (void) |
int | EVP_CipherInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv, int enc) |
int | EVP_CipherUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) |
int | EVP_CipherFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
int | EVP_CipherFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
int | EVP_EncryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) |
int | EVP_EncryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) |
int | EVP_DecryptInit (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, const unsigned char *key, const unsigned char *iv) |
int | EVP_DecryptInit_ex (EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, ENGINE *impl, const unsigned char *key, const unsigned char *iv) |
int | EVP_EncryptUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) |
int | EVP_EncryptFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
int | EVP_EncryptFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
int | EVP_DecryptUpdate (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl, const unsigned char *in, int inl) |
int | EVP_DecryptFinal (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
int | EVP_DecryptFinal_ex (EVP_CIPHER_CTX *ctx, unsigned char *out, int *outl) |
void | EVP_CIPHER_CTX_free (EVP_CIPHER_CTX *ctx) |
int | EVP_CIPHER_CTX_set_key_length (EVP_CIPHER_CTX *c, int keylen) |
int | EVP_CIPHER_CTX_set_padding (EVP_CIPHER_CTX *ctx, int pad) |
int | EVP_CIPHER_CTX_rand_key (EVP_CIPHER_CTX *ctx, unsigned char *key) |
Variables | |
const char | EVP_version [] = "EVP" OPENSSL_VERSION_PTEXT |
void EVP_CIPHER_CTX_free | ( | EVP_CIPHER_CTX * | ctx | ) |
EVP_CIPHER_CTX* EVP_CIPHER_CTX_new | ( | void | ) |
int EVP_CIPHER_CTX_rand_key | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | key | ||
) |
int EVP_CIPHER_CTX_set_key_length | ( | EVP_CIPHER_CTX * | c, |
int | keylen | ||
) |
int EVP_CIPHER_CTX_set_padding | ( | EVP_CIPHER_CTX * | ctx, |
int | pad | ||
) |
int EVP_CipherFinal | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_CipherFinal_ex | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_CipherInit | ( | EVP_CIPHER_CTX * | ctx, |
const EVP_CIPHER * | cipher, | ||
const unsigned char * | key, | ||
const unsigned char * | iv, | ||
int | enc | ||
) |
int EVP_CipherUpdate | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl, | ||
const unsigned char * | in, | ||
int | inl | ||
) |
int EVP_DecryptFinal | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_DecryptFinal_ex | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_DecryptInit | ( | EVP_CIPHER_CTX * | ctx, |
const EVP_CIPHER * | cipher, | ||
const unsigned char * | key, | ||
const unsigned char * | iv | ||
) |
int EVP_DecryptInit_ex | ( | EVP_CIPHER_CTX * | ctx, |
const EVP_CIPHER * | cipher, | ||
ENGINE * | impl, | ||
const unsigned char * | key, | ||
const unsigned char * | iv | ||
) |
int EVP_DecryptUpdate | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl, | ||
const unsigned char * | in, | ||
int | inl | ||
) |
int EVP_EncryptFinal | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_EncryptFinal_ex | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl | ||
) |
int EVP_EncryptInit | ( | EVP_CIPHER_CTX * | ctx, |
const EVP_CIPHER * | cipher, | ||
const unsigned char * | key, | ||
const unsigned char * | iv | ||
) |
int EVP_EncryptInit_ex | ( | EVP_CIPHER_CTX * | ctx, |
const EVP_CIPHER * | cipher, | ||
ENGINE * | impl, | ||
const unsigned char * | key, | ||
const unsigned char * | iv | ||
) |
int EVP_EncryptUpdate | ( | EVP_CIPHER_CTX * | ctx, |
unsigned char * | out, | ||
int * | outl, | ||
const unsigned char * | in, | ||
int | inl | ||
) |
const char EVP_version[] = "EVP" OPENSSL_VERSION_PTEXT |