Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-x509.c101 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 …]
Dmbedtls-extensions.c171 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()
Dprivate-lib-tls-mbedtls.h58 lws_x509_get_crt_ext(mbedtls_x509_crt *crt, mbedtls_x509_buf *skid,
Dmbedtls-client.c55 &ssl->kid_chain.skid[ssl->kid_chain.count]); in lws_mbedtls_client_verify_callback()
/third_party/libwebsockets/lib/tls/
Dtls-jit-trust.c132 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 …]
Dprivate-jit-trust.h67 lws_tls_kid_t skid[4]; member
/third_party/openssl/test/certs/
Dmkcert.sh103 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/
Dminimal-http-client.c372 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/
Dx_x509.c46 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/
Dlws-system.h160 const uint8_t *skid, size_t skid_len,
195 int (*jit_trust_query)(struct lws_context *cx, const uint8_t *skid,
Dlws-misc.h836 const uint8_t *skid, size_t skid_len,
/third_party/libwebsockets/scripts/
Dmozilla-trust-gen.sh46 mkdir -p _trust/webroot/by-skid _trust/webroot/by-iss _trust/webroot/der
96 cd _trust/webroot/by-skid
/third_party/openssl/crypto/x509v3/
Dv3_purp.c511 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/
Dx509.h174 ASN1_OCTET_STRING *skid; member
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c168 &wsi->tls.kid_chain.skid[ in OpenSSL_client_verify_callback()
/third_party/libwebsockets/READMEs/
DREADME.jit-trust.md222 int (*jit_trust_query)(struct lws_context *cx, const uint8_t *skid, size_t skid_len, void *got_opaq…