Classes | Functions
pkcs5.c File Reference
#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "crypto/md5.h"
#include "asn1.h"
#include "pkcs5.h"
Include dependency graph for pkcs5.c:

Go to the source code of this file.

Classes

struct  pkcs5_params

Functions

static struct crypto_cipherpkcs5_crypto_init (struct pkcs5_params *params, const char *passwd)
u8 * pkcs5_decrypt (const u8 *enc_alg, size_t enc_alg_len, const u8 *enc_data, size_t enc_data_len, const char *passwd, size_t *data_len)
enum pkcs5_alg pkcs5_get_alg (struct asn1_oid *oid)
static int pkcs5_get_params (const u8 *enc_alg, size_t enc_alg_len, struct pkcs5_params *params)

Function Documentation

static struct crypto_cipher* pkcs5_crypto_init ( struct pkcs5_params params,
const char *  passwd 
) [static, read]

Definition at line 145 of file pkcs5.c.

u8* pkcs5_decrypt ( const u8 *  enc_alg,
size_t  enc_alg_len,
const u8 *  enc_data,
size_t  enc_data_len,
const char *  passwd,
size_t *  data_len 
)

Definition at line 176 of file pkcs5.c.

enum pkcs5_alg pkcs5_get_alg ( struct asn1_oid oid)

Definition at line 35 of file pkcs5.c.

static int pkcs5_get_params ( const u8 *  enc_alg,
size_t  enc_alg_len,
struct pkcs5_params params 
) [static]

Definition at line 51 of file pkcs5.c.



wpa_supplicant
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Jan 2 2014 11:26:42