/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-x509.c | 101 mbedtls_x509_buf skid; in lws_tls_mbedtls_cert_info() local 199 memset(&skid, 0, sizeof(skid)); in lws_tls_mbedtls_cert_info() 201 lws_x509_get_crt_ext(x509, &skid, &akid); in lws_tls_mbedtls_cert_info() 215 memset(&skid, 0, sizeof(skid)); in lws_tls_mbedtls_cert_info() 217 lws_x509_get_crt_ext(x509, &skid, &akid); in lws_tls_mbedtls_cert_info() 241 memset(&skid, 0, sizeof(skid)); in lws_tls_mbedtls_cert_info() 243 lws_x509_get_crt_ext(x509, &skid, &akid); in lws_tls_mbedtls_cert_info() 258 memset(&skid, 0, sizeof(skid)); in lws_tls_mbedtls_cert_info() 260 lws_x509_get_crt_ext(x509, &skid, &akid); in lws_tls_mbedtls_cert_info() 262 if (skid.MBEDTLS_PRIVATE(tag) != MBEDTLS_ASN1_OCTET_STRING) in lws_tls_mbedtls_cert_info() [all …]
|
D | mbedtls-extensions.c | 171 x509_get_skid(uint8_t **p, const uint8_t *end, mbedtls_x509_buf *skid) in x509_get_skid() argument 180 skid->MBEDTLS_PRIVATE(len) = len; in x509_get_skid() 181 skid->MBEDTLS_PRIVATE(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_skid() 182 skid->MBEDTLS_PRIVATE(p) = *p; in x509_get_skid() 434 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid, in lws_x509_get_crt_ext() argument 494 r = x509_get_skid(&p, end_ext_data, skid); in lws_x509_get_crt_ext()
|
D | private-lib-tls-mbedtls.h | 58 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid,
|
D | mbedtls-client.c | 55 &ssl->kid_chain.skid[ssl->kid_chain.count]); in lws_mbedtls_client_verify_callback()
|
/third_party/libwebsockets/lib/tls/ |
D | tls-jit-trust.c | 132 if (!lws_tls_kid_cmp(&ch->skid[n], in lws_tls_jit_trust_sort_kids() 146 if (!lws_tls_kid_cmp(&ch->skid[n], in lws_tls_jit_trust_sort_kids() 160 t = ch->skid[m]; in lws_tls_jit_trust_sort_kids() 161 ch->skid[m] = ch->skid[n]; in lws_tls_jit_trust_sort_kids() 162 ch->skid[n] = t; in lws_tls_jit_trust_sort_kids() 180 lwsl_hexdump_info(ch->skid[n].kid, ch->skid[n].kid_len); in lws_tls_jit_trust_sort_kids() 417 const uint8_t *skid, size_t skid_len, in lws_tls_jit_trust_got_cert_cb() argument 453 inf->tag ^= *((uint32_t *)skid); in lws_tls_jit_trust_got_cert_cb() 464 memcpy(inf->kid[inf->ders].kid, skid, in lws_tls_jit_trust_got_cert_cb() 530 memcpy(jci.skids[jci.count_skids++].kid, skid, skid_len); in lws_tls_jit_trust_got_cert_cb() [all …]
|
D | private-jit-trust.h | 67 lws_tls_kid_t skid[4]; member
|
/third_party/openssl/test/certs/ |
D | mkcert.sh | 103 local skid="subjectKeyIdentifier = hash" 106 exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = critical,CA:true") 135 local skid="subjectKeyIdentifier = hash" 138 exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid" "basicConstraints = critical,CA:true") 157 local skid="subjectKeyIdentifier = hash" 160 exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid")
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/ |
D | minimal-http-client.c | 372 jit_trust_query(struct lws_context *cx, const uint8_t *skid, in jit_trust_query() argument 379 lwsl_hexdump_info(skid, skid_len); in jit_trust_query() 389 sizeof(jit_trust_blob), skid, in jit_trust_query() 399 return lws_tls_jit_trust_got_cert_cb(cx, got_opaque, skid, skid_len, in jit_trust_query()
|
/third_party/openssl/crypto/x509/ |
D | x_x509.c | 46 ASN1_OCTET_STRING_free(ret->skid); in x509_cb() 67 ret->skid = NULL; in x509_cb() 85 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-system.h | 160 const uint8_t *skid, size_t skid_len, 195 int (*jit_trust_query)(struct lws_context *cx, const uint8_t *skid,
|
D | lws-misc.h | 836 const uint8_t *skid, size_t skid_len,
|
/third_party/libwebsockets/scripts/ |
D | mozilla-trust-gen.sh | 46 mkdir -p _trust/webroot/by-skid _trust/webroot/by-iss _trust/webroot/der 96 cd _trust/webroot/by-skid
|
/third_party/openssl/crypto/x509v3/ |
D | v3_purp.c | 511 x->skid = X509_get_ext_d2i(x, NID_subject_key_identifier, &i, NULL); in x509v3_cache_extensions() 512 if (x->skid == NULL && i != -1) in x509v3_cache_extensions() 886 if (akid->keyid && issuer->skid && in X509_check_akid() 887 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid() 950 return x->skid; in X509_get0_subject_key_id()
|
/third_party/openssl/include/crypto/ |
D | x509.h | 174 ASN1_OCTET_STRING *skid; member
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-client.c | 168 &wsi->tls.kid_chain.skid[ in OpenSSL_client_verify_callback()
|
/third_party/libwebsockets/READMEs/ |
D | README.jit-trust.md | 222 int (*jit_trust_query)(struct lws_context *cx, const uint8_t *skid, size_t skid_len, void *got_opaq…
|