Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c461 uint8_t *buf = lws_malloc((unsigned int)buflen, "tmp cert buf"), *p = buf, *pkey_asn1; in lws_tls_acme_sni_cert_create() local
547 pkey_asn1 = lws_malloc((unsigned int)pkey_asn1_len, "mbed crt tmp"); in lws_tls_acme_sni_cert_create()
548 if (!pkey_asn1) in lws_tls_acme_sni_cert_create()
551 m = lws_genrsa_render_pkey_asn1(&ctx, 1, pkey_asn1, (size_t)pkey_asn1_len); in lws_tls_acme_sni_cert_create()
553 lws_free(pkey_asn1); in lws_tls_acme_sni_cert_create()
561 lws_free(pkey_asn1); in lws_tls_acme_sni_cert_create()
570 pkey_asn1, m); in lws_tls_acme_sni_cert_create()
571 lws_free(pkey_asn1); in lws_tls_acme_sni_cert_create()
Dlws-genrsa.c473 uint8_t *pkey_asn1, size_t pkey_asn1_len) argument
475 uint8_t *p = pkey_asn1, *totlen, *end = pkey_asn1 + pkey_asn1_len - 1;
548 n = lws_ptr_diff(p, pkey_asn1);
/third_party/libwebsockets/include/libwebsockets/
Dlws-genrsa.h254 uint8_t *pkey_asn1, size_t pkey_asn1_len);