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

Go to the source code of this file.

Functions

int EVP_PBE_CipherInit (ASN1_OBJECT *pbe_obj, const char *pass, int passlen, ASN1_TYPE *param, EVP_CIPHER_CTX *ctx, int en_de)
 
 DECLARE_OBJ_BSEARCH_CMP_FN (EVP_PBE_CTL, EVP_PBE_CTL, pbe2)
 
 IMPLEMENT_OBJ_BSEARCH_CMP_FN (EVP_PBE_CTL, EVP_PBE_CTL, pbe2)
 
int EVP_PBE_alg_add_type (int pbe_type, int pbe_nid, int cipher_nid, int md_nid, EVP_PBE_KEYGEN *keygen)
 
int EVP_PBE_alg_add (int nid, const EVP_CIPHER *cipher, const EVP_MD *md, EVP_PBE_KEYGEN *keygen)
 
int EVP_PBE_find (int type, int pbe_nid, int *pcnid, int *pmnid, EVP_PBE_KEYGEN **pkeygen)
 
void EVP_PBE_cleanup (void)
 

Variables

 EVP_PBE_CTL
 

Function Documentation

DECLARE_OBJ_BSEARCH_CMP_FN ( EVP_PBE_CTL  ,
EVP_PBE_CTL  ,
pbe2   
)
int EVP_PBE_alg_add ( int  nid,
const EVP_CIPHER cipher,
const EVP_MD md,
EVP_PBE_KEYGEN keygen 
)

Definition at line 257 of file evp_pbe.c.

int EVP_PBE_alg_add_type ( int  pbe_type,
int  pbe_nid,
int  cipher_nid,
int  md_nid,
EVP_PBE_KEYGEN keygen 
)

Definition at line 235 of file evp_pbe.c.

int EVP_PBE_CipherInit ( ASN1_OBJECT pbe_obj,
const char *  pass,
int  passlen,
ASN1_TYPE param,
EVP_CIPHER_CTX ctx,
int  en_de 
)

Definition at line 155 of file evp_pbe.c.

void EVP_PBE_cleanup ( void  )

Definition at line 312 of file evp_pbe.c.

int EVP_PBE_find ( int  type,
int  pbe_nid,
int *  pcnid,
int *  pmnid,
EVP_PBE_KEYGEN **  pkeygen 
)

Definition at line 274 of file evp_pbe.c.

IMPLEMENT_OBJ_BSEARCH_CMP_FN ( EVP_PBE_CTL  ,
EVP_PBE_CTL  ,
pbe2   
)

Variable Documentation

EVP_PBE_CTL

Definition at line 80 of file evp_pbe.c.