OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
p5_crpt2.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "cryptlib.h"
#include <openssl/x509.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
#include "evp_locl.h"

Go to the source code of this file.

Functions

int PKCS5_PBKDF2_HMAC (const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, const EVP_MD *digest, int keylen, unsigned char *out)
 
int PKCS5_PBKDF2_HMAC_SHA1 (const char *pass, int passlen, const unsigned char *salt, int saltlen, int iter, int keylen, unsigned char *out)
 
int PKCS5_v2_PBE_keyivgen (EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *c, const EVP_MD *md, int en_de)
 
int PKCS5_v2_PBKDF2_keyivgen (EVP_CIPHER_CTX *ctx, const char *pass, int passlen, ASN1_TYPE *param, const EVP_CIPHER *c, const EVP_MD *md, int en_de)
 

Function Documentation

int PKCS5_PBKDF2_HMAC ( const char *  pass,
int  passlen,
const unsigned char *  salt,
int  saltlen,
int  iter,
const EVP_MD digest,
int  keylen,
unsigned char *  out 
)

Definition at line 80 of file p5_crpt2.c.

int PKCS5_PBKDF2_HMAC_SHA1 ( const char *  pass,
int  passlen,
const unsigned char *  salt,
int  saltlen,
int  iter,
int  keylen,
unsigned char *  out 
)

Definition at line 147 of file p5_crpt2.c.

int PKCS5_v2_PBE_keyivgen ( EVP_CIPHER_CTX ctx,
const char *  pass,
int  passlen,
ASN1_TYPE param,
const EVP_CIPHER c,
const EVP_MD md,
int  en_de 
)

Definition at line 172 of file p5_crpt2.c.

int PKCS5_v2_PBKDF2_keyivgen ( EVP_CIPHER_CTX ctx,
const char *  pass,
int  passlen,
ASN1_TYPE param,
const EVP_CIPHER c,
const EVP_MD md,
int  en_de 
)

Definition at line 230 of file p5_crpt2.c.