Documentation
Includes
config.h
#include "config.h"
MBEDTLS_CONFIG_FILE
#include MBEDTLS_CONFIG_FILE
asn1.h
#include "asn1.h"
md.h
#include "md.h"
stddef.h
#include <stddef.h>
stdint.h
#include <stdint.h>
Macros
Marco MBEDTLS_PKCS5_H
#define MBEDTLS_PKCS5_H
#define MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA -12160 /**< Bad input parameters to function. */
#define MBEDTLS_ERR_PKCS5_INVALID_FORMAT -12032 /**< Unexpected ASN.1 data. */
Marco MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE
#define MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE -2e80 /**< Requested encryption or digest alg not available. */
Marco MBEDTLS_ERR_PKCS5_PASSWORD_MISMATCH
#define MBEDTLS_ERR_PKCS5_PASSWORD_MISMATCH -2e00 /**< Given private key password does not allow for correct decryption. */
Marco MBEDTLS_PKCS5_DECRYPT
#define MBEDTLS_PKCS5_DECRYPT 0
Marco MBEDTLS_PKCS5_ENCRYPT
#define MBEDTLS_PKCS5_ENCRYPT 1
Functions
Func mbedtls_pkcs5_pbes2
int mbedtls_pkcs5_pbes2( const mbedtls_asn1_buf *pbe_params, int mode,
const unsigned char *pwd, size_t pwdlen,
const unsigned char *data, size_t datalen,
unsigned char *output );
Func mbedtls_pkcs5_pbkdf2_hmac
int mbedtls_pkcs5_pbkdf2_hmac( mbedtls_md_context_t *ctx, const unsigned char *password,
size_t plen, const unsigned char *salt, size_t slen,
unsigned int iteration_count,
uint32_t key_length, unsigned char *output );
Func mbedtls_pkcs5_self_test
int mbedtls_pkcs5_self_test( int verbose );
Vars
Consts
Types
Typedefs