Searched refs:encode_buf (Results 1 – 1 of 1) sorted by relevance
518 unsigned char *encode_buf = NULL, *c, *p = buf; in mbedtls_pem_write_buffer() local531 ( ( encode_buf = mbedtls_calloc( 1, use_len ) ) == NULL ) ) in mbedtls_pem_write_buffer()534 if( ( ret = mbedtls_base64_encode( encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()537 mbedtls_free( encode_buf ); in mbedtls_pem_write_buffer()543 c = encode_buf; in mbedtls_pem_write_buffer()564 mbedtls_free( encode_buf ); in mbedtls_pem_write_buffer()