Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c659 unsigned char *load_buf; in x509_pm_load() local
672 load_buf = ssl_mem_malloc((unsigned int)len + 1); in x509_pm_load()
673 if (!load_buf) { in x509_pm_load()
678 ssl_memcpy(load_buf, buffer, (unsigned int)len); in x509_pm_load()
679 load_buf[len] = '\0'; in x509_pm_load()
681 ret = mbedtls_x509_crt_parse(x509_pm->x509_crt, load_buf, (unsigned int)len + 1); in x509_pm_load()
682 ssl_mem_free(load_buf); in x509_pm_load()
739 unsigned char *load_buf; in pkey_pm_load() local
753 load_buf = ssl_mem_malloc((unsigned int)len + 1); in pkey_pm_load()
754 if (!load_buf) { in pkey_pm_load()
[all …]