|
void | mbedtls_pem_init (mbedtls_pem_context *ctx) |
|
static int | pem_get_iv (const unsigned char *s, unsigned char *iv, size_t iv_len) |
|
static void | pem_pbkdf1 (unsigned char *key, size_t keylen, unsigned char *iv, const unsigned char *pwd, size_t pwdlen) |
|
static void | pem_des_decrypt (unsigned char des_iv[8], unsigned char *buf, size_t buflen, const unsigned char *pwd, size_t pwdlen) |
|
static void | pem_des3_decrypt (unsigned char des3_iv[8], unsigned char *buf, size_t buflen, const unsigned char *pwd, size_t pwdlen) |
|
static void | pem_aes_decrypt (unsigned char aes_iv[16], unsigned int keylen, unsigned char *buf, size_t buflen, const unsigned char *pwd, size_t pwdlen) |
|
int | mbedtls_pem_read_buffer (mbedtls_pem_context *ctx, const char *header, const char *footer, const unsigned char *data, const unsigned char *pwd, size_t pwdlen, size_t *use_len) |
|
void | mbedtls_pem_free (mbedtls_pem_context *ctx) |
|
int | mbedtls_pem_write_buffer (const char *header, const char *footer, const unsigned char *der_data, size_t der_len, unsigned char *buf, size_t buf_len, size_t *olen) |
|