Eneboo - Documentación para desarrolladores
|
#include <stdio.h>
#include "cryptlib.h"
#include <openssl/hmac.h>
#include <openssl/rand.h>
#include <openssl/pkcs12.h>
Funciones | |
int | PKCS12_gen_mac (PKCS12 *p12, const char *pass, int passlen, unsigned char *mac, unsigned int *maclen) |
int | PKCS12_verify_mac (PKCS12 *p12, const char *pass, int passlen) |
int | PKCS12_set_mac (PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) |
int | PKCS12_setup_mac (PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) |
int PKCS12_gen_mac | ( | PKCS12 * | p12, |
const char * | pass, | ||
int | passlen, | ||
unsigned char * | mac, | ||
unsigned int * | maclen | ||
) |
int PKCS12_set_mac | ( | PKCS12 * | p12, |
const char * | pass, | ||
int | passlen, | ||
unsigned char * | salt, | ||
int | saltlen, | ||
int | iter, | ||
const EVP_MD * | md_type | ||
) |
int PKCS12_setup_mac | ( | PKCS12 * | p12, |
int | iter, | ||
unsigned char * | salt, | ||
int | saltlen, | ||
const EVP_MD * | md_type | ||
) |