Home
last modified time | relevance | path

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

12

/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_V30_ONLY(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_V30_ONLY(len) = len; in x509_get_skid()
181 skid->MBEDTLS_PRIVATE_V30_ONLY(tag) = MBEDTLS_ASN1_OCTET_STRING; in x509_get_skid()
182 skid->MBEDTLS_PRIVATE_V30_ONLY(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.sh105 local skid="subjectKeyIdentifier = hash"
108 exts=$(printf "%s\n%s\n%s\n" "$bcon" "$ku" "$skid" "$akid")
140 local skid="subjectKeyIdentifier = hash"
143 exts=$(printf "%s\n%s\n%s\n" "$bcon" "$ku" "$skid" "$akid")
166 local skid="subjectKeyIdentifier = hash"
169 exts=$(printf "%s\n%s\n%s\n" "$skid" "$akid")
/third_party/node/deps/openssl/openssl/crypto/cmp/
Dcmp_vfy.c177 const ASN1_OCTET_STRING *skid) in check_kid() argument
181 if (skid == NULL) in check_kid()
190 if (ASN1_OCTET_STRING_cmp(ckid, skid) == 0) { in check_kid()
200 if ((str = OPENSSL_buf2hexstr(skid->data, skid->length)) != NULL) in check_kid()
455 const ASN1_OCTET_STRING *skid = msg->header->senderKID; in check_msg_find_cert() local
503 skid_str = skid == NULL ? NULL in check_msg_find_cert()
504 : OPENSSL_buf2hexstr(skid->data, skid->length); in check_msg_find_cert()
/third_party/openssl/crypto/cmp/
Dcmp_vfy.c177 const ASN1_OCTET_STRING *skid) in check_kid() argument
181 if (skid == NULL) in check_kid()
190 if (ASN1_OCTET_STRING_cmp(ckid, skid) == 0) { in check_kid()
200 if ((str = OPENSSL_buf2hexstr(skid->data, skid->length)) != NULL) in check_kid()
455 const ASN1_OCTET_STRING *skid = msg->header->senderKID; in check_msg_find_cert() local
503 skid_str = skid == NULL ? NULL in check_msg_find_cert()
504 : OPENSSL_buf2hexstr(skid->data, skid->length); in check_msg_find_cert()
/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/node/deps/openssl/openssl/crypto/x509/
Dx_x509.c46 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
68 ret->skid = NULL; in x509_cb()
87 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
Dv3_purp.c546 x->skid = X509_get_ext_d2i(x, NID_subject_key_identifier, &i, NULL); in ossl_x509v3_cache_extensions()
547 if (x->skid == NULL && i != -1) in ossl_x509v3_cache_extensions()
959 if (akid->keyid && issuer->skid && in X509_check_akid()
960 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid()
1023 return x->skid; in X509_get0_subject_key_id()
/third_party/openssl/crypto/x509/
Dx_x509.c46 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
68 ret->skid = NULL; in x509_cb()
87 ASN1_OCTET_STRING_free(ret->skid); in x509_cb()
Dv3_purp.c546 x->skid = X509_get_ext_d2i(x, NID_subject_key_identifier, &i, NULL); in ossl_x509v3_cache_extensions()
547 if (x->skid == NULL && i != -1) in ossl_x509v3_cache_extensions()
959 if (akid->keyid && issuer->skid && in X509_check_akid()
960 ASN1_OCTET_STRING_cmp(akid->keyid, issuer->skid)) in X509_check_akid()
1023 return x->skid; in X509_get0_subject_key_id()
Dx509_vfy.c563 CB_FAIL_IF(x->skid != NULL in check_extensions()
575 CB_FAIL_IF((x->ex_flags & EXFLAG_CA) != 0 && x->skid == NULL, in check_extensions()
/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/ohos_lite/include/crypto/
Dx509.h174 ASN1_OCTET_STRING *skid; member
/third_party/node/deps/openssl/openssl/apps/
Dx509.c197 ASN1_OBJECT *skid = OBJ_nid2obj(NID_subject_key_identifier); in x509_to_req() local
209 warn_copying(skid, names); in x509_to_req()
217 if (OBJ_cmp(obj, skid) != 0 && OBJ_cmp(obj, akid) != 0 in x509_to_req()
/third_party/openssl/apps/
Dx509.c197 ASN1_OBJECT *skid = OBJ_nid2obj(NID_subject_key_identifier); in x509_to_req() local
209 warn_copying(skid, names); in x509_to_req()
217 if (OBJ_cmp(obj, skid) != 0 && OBJ_cmp(obj, akid) != 0 in x509_to_req()
/third_party/openssl/include/crypto/
Dx509.h188 ASN1_OCTET_STRING *skid; member
/third_party/node/deps/openssl/openssl/include/crypto/
Dx509.h188 ASN1_OCTET_STRING *skid; member
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dtypes.rs289 skid: *mut c_void,
315 skid: *mut c_void,
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c170 &wsi->tls.kid_chain.skid[ in OpenSSL_client_verify_callback()

12