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

Go to the source code of this file.

Macros

#define min(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

int PKCS12_key_gen_asc (const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type)
 
int PKCS12_key_gen_uni (unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type)
 

Macro Definition Documentation

#define min (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 74 of file p12_key.c.

Function Documentation

int PKCS12_key_gen_asc ( const char *  pass,
int  passlen,
unsigned char *  salt,
int  saltlen,
int  id,
int  iter,
int  n,
unsigned char *  out,
const EVP_MD md_type 
)

Definition at line 77 of file p12_key.c.

int PKCS12_key_gen_uni ( unsigned char *  pass,
int  passlen,
unsigned char *  salt,
int  saltlen,
int  id,
int  iter,
int  n,
unsigned char *  out,
const EVP_MD md_type 
)

Definition at line 103 of file p12_key.c.