Home
last modified time | relevance | path

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

/external/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c634 unsigned char *load_buf; in x509_pm_load() local
650 load_buf = ssl_mem_malloc(len + 1); in x509_pm_load()
651 if (!load_buf) { in x509_pm_load()
656 ssl_memcpy(load_buf, buffer, len); in x509_pm_load()
657 load_buf[len] = '\0'; in x509_pm_load()
659 ret = mbedtls_x509_crt_parse(x509_pm->x509_crt, load_buf, len + 1); in x509_pm_load()
660 ssl_mem_free(load_buf); in x509_pm_load()
719 unsigned char *load_buf; in pkey_pm_load() local
733 load_buf = ssl_mem_malloc(len + 1); in pkey_pm_load()
734 if (!load_buf) { in pkey_pm_load()
[all …]