Home
last modified time | relevance | path

Searched refs:encode_buf (Results 1 – 1 of 1) sorted by relevance

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dpem.c438 unsigned char *encode_buf = NULL, *c, *p = buf; in mbedtls_pem_write_buffer() local
451 ( ( encode_buf = mbedtls_calloc( 1, use_len ) ) == NULL ) ) in mbedtls_pem_write_buffer()
454 if( ( ret = mbedtls_base64_encode( encode_buf, use_len, &use_len, der_data, in mbedtls_pem_write_buffer()
457 mbedtls_free( encode_buf ); in mbedtls_pem_write_buffer()
463 c = encode_buf; in mbedtls_pem_write_buffer()
484 mbedtls_free( encode_buf ); in mbedtls_pem_write_buffer()