Home
last modified time | relevance | path

Searched refs:kid (Results 1 – 25 of 65) sorted by relevance

123

/third_party/libwebsockets/lib/tls/
Dtls-jit-trust.c28 lws_tls_kid_copy(union lws_tls_cert_info_results *ci, lws_tls_kid_t *kid) in lws_tls_kid_copy() argument
36 if ((size_t)ci->ns.len > sizeof(kid->kid)) in lws_tls_kid_copy()
37 kid->kid_len = sizeof(kid->kid); in lws_tls_kid_copy()
39 kid->kid_len = (uint8_t)ci->ns.len; in lws_tls_kid_copy()
41 memcpy(kid->kid, ci->ns.name, kid->kid_len); in lws_tls_kid_copy()
45 lws_tls_kid_copy_kid(lws_tls_kid_t *kid, const lws_tls_kid_t *src) in lws_tls_kid_copy_kid() argument
47 int klen = sizeof(kid->kid); in lws_tls_kid_copy_kid()
52 kid->kid_len = (uint8_t)klen; in lws_tls_kid_copy_kid()
54 memcpy(kid->kid, src->kid, (size_t)klen); in lws_tls_kid_copy_kid()
63 return memcmp(a->kid, b->kid, a->kid_len); in lws_tls_kid_cmp()
[all …]
Dprivate-jit-trust.h61 uint8_t kid[20]; member
90 lws_tls_kid_t kid[2]; /* SKID of the der if any */ member
127 lws_tls_kid_copy(union lws_tls_cert_info_results *ci, lws_tls_kid_t *kid);
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/
DREADME.md8 inside. You can optionally use --kid kid or --kid-hex HEXSTRING to dump one key
13 $ cat set1.cks | ./bin/lws-crypto-cose-key --kid 11
18 Stdin is not used, give parameters for the kty and kid etc to create a
22 $ ./bin/lws-crypto-cose-key --kty EC2 --curve P-521 --kid sec512 >ec512.key
37 |--kid string|Specifies the key ID to use as a string|
38 |--kid-hex HEXSTRING|Specifies the key ID to use as a hex blob|
52 [2021/07/30 10:14:31:0420] U: LWS cose-key example tool -k keyset [-s alg-name kid ]
60 kid: 11
67 kid: meriadoc.brandybuck@buckland.example
74 kid: our-secret
[all …]
Dmain.c112 uint8_t *kid = NULL, ktmp[4096], set_temp[32 * 1024], temp[256]; in main() local
159 kid = (uint8_t *)p; in main()
166 kid = (uint8_t *)ktmp; in main()
223 !memcmp(ke->buf, kid, kid_len))) { in main()
287 kid, kid_len); in main()
DCMakeLists.txt21 COMMAND lws-crypto-cose-key --kty EC2 --curve P-256 --kid ctest-256 --stdout ctest-ec-256.key)
23 COMMAND lws-crypto-cose-key --kty EC2 --curve P-384 --kid ctest-384 --stdout ctest-ec-384.key)
25 COMMAND lws-crypto-cose-key --kty EC2 --curve P-521 --kid ctest-512 --stdout ctest-ec-512.key)
/third_party/gstreamer/gstplugins_good/gst/autodetect/
Dgstautodetect.c109 if (self->kid) { in gst_auto_detect_clear_kid()
110 gst_element_set_state (self->kid, GST_STATE_NULL); in gst_auto_detect_clear_kid()
111 gst_bin_remove (GST_BIN (self), self->kid); in gst_auto_detect_clear_kid()
112 self->kid = NULL; in gst_auto_detect_clear_kid()
147 GstPad *target = gst_element_get_static_pad (self->kid, self->type_klass_lc); in gst_auto_detect_attach_ghost_pad()
162 self->kid = gst_auto_detect_create_fake_element (self); in gst_auto_detect_reset()
163 gst_bin_add (GST_BIN (self), self->kid); in gst_auto_detect_reset()
361 GstElement *kid; in gst_auto_detect_detect() local
368 if (!(kid = gst_auto_detect_find_best (self))) in gst_auto_detect_detect()
372 g_object_class_find_property (G_OBJECT_GET_CLASS (kid), "sync") != NULL; in gst_auto_detect_detect()
[all …]
Dgstautovideosink.c60 GstElement * kid);
107 gst_auto_video_sink_configure (GstAutoDetect * autodetect, GstElement * kid) in gst_auto_video_sink_configure() argument
111 g_object_set (G_OBJECT (kid), "ts-offset", self->ts_offset, NULL); in gst_auto_video_sink_configure()
124 if (autodetect->kid) in gst_auto_video_sink_set_property()
125 g_object_set_property (G_OBJECT (autodetect->kid), pspec->name, value); in gst_auto_video_sink_set_property()
Dgstautoaudiosink.c60 GstElement * kid);
107 gst_auto_audio_sink_configure (GstAutoDetect * autodetect, GstElement * kid) in gst_auto_audio_sink_configure() argument
111 g_object_set (G_OBJECT (kid), "ts-offset", self->ts_offset, NULL); in gst_auto_audio_sink_configure()
124 if (autodetect->kid) in gst_auto_audio_sink_set_property()
125 g_object_set_property (G_OBJECT (autodetect->kid), pspec->name, value); in gst_auto_audio_sink_set_property()
Dgstautodetect.h53 GstElement *kid; member
65 void (*configure)(GstAutoDetect *self, GstElement *kid);
/third_party/node/deps/npm/node_modules/readdir-scoped-modules/
Dreaddir.js45 var scopes = kids . filter (function (kid) { argument
46 return kid . charAt (0) === '@'
49 kids = kids . filter (function (kid) { argument
50 return kid . charAt (0) !== '@'
87 var scopes = kids . filter (function (kid) { argument
88 return kid . charAt (0) === '@'
91 kids = kids . filter (function (kid) { argument
92 return kid . charAt (0) !== '@'
/third_party/node/deps/npm/node_modules/read-package-tree/
Drpt.js113 kids.filter(kid =>
114 kid.charAt(0) !== '.' && (!filterWith || filterWith(node, kid)))
115 .map(kid => loadNode(join(nm, kid), join(rm, kid), cache, rpcache, stcache)))
140 .filter(kid => !did.has(kid.realpath))
141 .map(kid => loadTree(kid, did, cache, filterWith, rpcache, stcache))
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstprotection.c217 GstBuffer *iv, *kid; in GST_START_TEST() local
232 kid = gst_buffer_new_allocate (NULL, 16, NULL); in GST_START_TEST()
233 gst_buffer_memset (kid, 0, 'k', 16); in GST_START_TEST()
234 ASSERT_MINI_OBJECT_REFCOUNT (kid, "kid", 1); in GST_START_TEST()
238 "iv_size", G_TYPE_UINT, 16, "kid", GST_TYPE_BUFFER, kid, NULL); in GST_START_TEST()
239 ASSERT_MINI_OBJECT_REFCOUNT (kid, "kid", 2); in GST_START_TEST()
271 ASSERT_MINI_OBJECT_REFCOUNT (kid, "KID", 1); in GST_START_TEST()
275 gst_buffer_unref (kid); in GST_START_TEST()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
DREADME.md18 |--kid string|o|mac0|Specifies the key ID to use as a string|
19 |--kid-hex HEXSTRING|o|mac0|Specifies the key ID to use as a hex blob|
40 parameter along with a kid hint that it was signed with the key with kid "11"
48 [2021/07/26 05:41:29:3901] N: result: 0 (alg ES256, kid 3131)
54 and the kid that was used.
67 [2021/07/26 05:55:51:1377] N: result: 0 (alg ES256, kid 3131)
79 --kid 11 --alg ES256 > ./test.sig
96 --kid 11 --alg ES256 --cose-sign > ./test.sig
DCMakeLists.txt21 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid 11
26 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec384
31 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec512
79 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid our-secret
84 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-48
89 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-64
94 # COMMAND lws-crypto-cose-sign -s -k set1.cks --kid our-secret
132 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid our-secret
137 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-48
142 COMMAND lws-crypto-cose-sign -s -k set1.cks --kid sec-64
[all …]
Dmain.c94 uint8_t *ks, temp[256], *kid = NULL, ktmp[4096], sbuf[512]; in main() local
170 kid = (uint8_t *)p; in main()
177 kid = (uint8_t *)ktmp; in main()
274 ck = lws_cose_key_from_set(&set, kid, kid_len); in main()
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-jwe/
Dkey-rsa-4096.pub1 {"e":"AQAB","kid":"my kid","kty":"RSA","n":"2_YjG_D1sOWJxs6cohikupHf5WJfWSFfSCrnNZ7WR7AyTLnKZAF4VKy…
Dkey-rsa-4096.private1 …-Yzgqf_QIULP3CRlqzDTvHrMe2A9cNAQ4dNsCbNAjW_MxxGKKWuWXAMQ","e":"AQAB","kid":"my kid","kty":"RSA","n…
/third_party/typescript/src/harness/
DfakesHosts.ts439 next.forEach(kid => text += expectedDiagnosticMessageChainToText(kid, indent));
456 for (const kid of relatedInformation) { constant
458 related:: ${expectedDiagnosticRelatedInformationToText(kid)}`;
474 next.forEach(kid => text += diagnosticMessageChainToText(kid, indent));
491 for (const kid of relatedInformation) { constant
493 related:: ${diagnosticRelatedInformationToText(kid)}`;
/third_party/grpc/src/core/lib/security/credentials/jwt/
Djwt_verifier.cc123 const char* kid; member
168 h->kid = validate_string_field(it->second, "kid"); in jose_header_from_json()
169 if (h->kid == nullptr) goto error; in jose_header_from_json()
576 const char* kid = nullptr; in find_verification_key() local
579 kid = validate_string_field(it->second, "kid"); in find_verification_key()
586 if (alg != nullptr && kid != nullptr && kty != nullptr && in find_verification_key()
587 strcmp(kid, header_kid) == 0 && strcmp(alg, header_alg) == 0) { in find_verification_key()
642 find_verification_key(json, ctx->header->alg, ctx->header->kid); in on_keys_retrieved()
645 ctx->header->kid); in on_keys_retrieved()
778 if (ctx->header->kid == nullptr) { in retrieve_key_and_verify()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl16.c296 void dochild(int kid) in dochild() argument
306 if (kid) { in dochild()
311 test + 1, kid, errno); in dochild()
319 test + 1, kid, errno); in dochild()
/third_party/ffmpeg/libavformat/
Dmovenccenc.c348 static int mov_cenc_write_schi_tag(AVIOContext *pb, uint8_t* kid) in mov_cenc_write_schi_tag() argument
359 avio_write(pb, kid, CENC_KID_SIZE); in mov_cenc_write_schi_tag()
364 int ff_mov_cenc_write_sinf_tag(MOVTrack* track, AVIOContext *pb, uint8_t* kid) in ff_mov_cenc_write_sinf_tag() argument
383 mov_cenc_write_schi_tag(pb, kid); in ff_mov_cenc_write_sinf_tag()
Dmovenccenc.h84 int ff_mov_cenc_write_sinf_tag(struct MOVTrack* track, AVIOContext *pb, uint8_t* kid);
/third_party/libwebsockets/lib/cose/
Dcose_validate.c248 ck = lws_cose_key_from_set(cps->info.keyset, sl->kid.buf, sl->kid.len); in create_alg()
251 lwsl_hexdump_notice(sl->kid.buf, sl->kid.len); in create_alg()
872 ke = &sl->kid; in cb_cose_sig()
1045 if (cps->st[cps->sp].kid.buf) in lws_cose_validate_destroy()
1046 lws_free(cps->st[cps->sp].kid.buf); in lws_cose_validate_destroy()
Dcose_key.c768 lws_cose_key_from_set(lws_dll2_owner_t *set, const uint8_t *kid, size_t kl) in lws_cose_key_from_set() argument
774 if (!kid) /* always the first then */ in lws_cose_key_from_set()
778 !memcmp(ke->buf, kid, ke->len)) in lws_cose_key_from_set()
789 const uint8_t *kid, size_t kl) in lws_cose_key_generate() argument
820 if (kid) { in lws_cose_key_generate()
824 memcpy(ke->buf, kid, ke->len); in lws_cose_key_generate()
/third_party/libwebsockets/include/libwebsockets/
Dlws-cose.h332 const uint8_t *kid, size_t kl);
335 lws_cose_key_from_set(lws_dll2_owner_t *set, const uint8_t *kid, size_t kl);

123