#include "includes.h"
#include "common.h"
#include "crypto/crypto.h"
#include "crypto/md5.h"
#include "asn1.h"
#include "pkcs5.h"
Go to the source code of this file.
Classes | |
struct | pkcs5_params |
Functions | |
static struct crypto_cipher * | pkcs5_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) |
static struct crypto_cipher* pkcs5_crypto_init | ( | struct pkcs5_params * | params, |
const char * | passwd | ||
) | [static, read] |
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 | ||
) | [static] |