Go to the documentation of this file.
29 #if !defined(MBEDTLS_CONFIG_FILE)
32 #include MBEDTLS_CONFIG_FILE
43 #define MBEDTLS_ERR_PEM_NO_HEADER_FOOTER_PRESENT -0x1080
44 #define MBEDTLS_ERR_PEM_INVALID_DATA -0x1100
45 #define MBEDTLS_ERR_PEM_ALLOC_FAILED -0x1180
46 #define MBEDTLS_ERR_PEM_INVALID_ENC_IV -0x1200
47 #define MBEDTLS_ERR_PEM_UNKNOWN_ENC_ALG -0x1280
48 #define MBEDTLS_ERR_PEM_PASSWORD_REQUIRED -0x1300
49 #define MBEDTLS_ERR_PEM_PASSWORD_MISMATCH -0x1380
50 #define MBEDTLS_ERR_PEM_FEATURE_UNAVAILABLE -0x1400
51 #define MBEDTLS_ERR_PEM_BAD_INPUT_DATA -0x1480
58 #if defined(MBEDTLS_PEM_PARSE_C)
100 const unsigned char *data,
101 const unsigned char *pwd,
102 size_t pwdlen,
size_t *use_len );
112 #if defined(MBEDTLS_PEM_WRITE_C)
130 const unsigned char *der_data,
size_t der_len,
131 unsigned char *buf,
size_t buf_len,
size_t *olen );