Go to the documentation of this file.
28 #ifndef MBEDTLS_PKCS5_H
29 #define MBEDTLS_PKCS5_H
31 #if !defined(MBEDTLS_CONFIG_FILE)
34 #include MBEDTLS_CONFIG_FILE
43 #define MBEDTLS_ERR_PKCS5_BAD_INPUT_DATA -0x2f80
44 #define MBEDTLS_ERR_PKCS5_INVALID_FORMAT -0x2f00
45 #define MBEDTLS_ERR_PKCS5_FEATURE_UNAVAILABLE -0x2e80
46 #define MBEDTLS_ERR_PKCS5_PASSWORD_MISMATCH -0x2e00
48 #define MBEDTLS_PKCS5_DECRYPT 0
49 #define MBEDTLS_PKCS5_ENCRYPT 1
55 #if defined(MBEDTLS_ASN1_PARSE_C)
71 const unsigned char *pwd,
size_t pwdlen,
72 const unsigned char *data,
size_t datalen,
73 unsigned char *output );
92 size_t plen,
const unsigned char *salt,
size_t slen,
93 unsigned int iteration_count,
94 uint32_t key_length,
unsigned char *output );
96 #if defined(MBEDTLS_SELF_TEST)