#include <stdio.h>
#include "cryptlib.h"
#include <openssl/pkcs12.h>
#include <openssl/bn.h>
Go to the source code of this file.
|
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) |
|
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
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 |
|
) |
| |