/third_party/libwebsockets/lib/tls/ |
H A D | tls-jit-trust.c | 28 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 in lws_tls_kid_copy() 45 lws_tls_kid_copy_kid(lws_tls_kid_t *kid, const lws_tls_kid_t *src) lws_tls_kid_copy_kid() argument [all...] |
H A D | private-jit-trust.h | 61 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/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | load-actual.js | 218 for (const [name, kid] of actualRoot.children.entries()) { 219 const def = kid.isLink ? `file:${kid.realpath.replace(/#/g, '%23')}` : '*' 339 .filter(([name, kid]) => !did.has(kid.realpath)) 340 .map(([name, kid]) => this.#loadFSTree(kid)) 353 kids.filter(kid => !/^(@[^/]+\/)?\./.test(kid)) 354 .filter(kid [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | override-set.js | 132 for (const kid of override.children.values()) { 133 if (!ruleset.has(kid.key)) { 134 ruleset.set(kid.key, kid)
|
H A D | place-dep.js | 281 for (const kid of node.children.values()) { 282 this.pruneDedupable(kid, false)
|
H A D | node.js | 1169 for (const kid of node.children.values()) { 1170 kid.parent = this
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/ |
H A D | main.c | 19 "kty", "kid", "use", "key_ops", "base_iv", "alg" 112 uint8_t *kid = NULL, ktmp[4096], set_temp[32 * 1024], temp[256]; in main() local 129 lwsl_user("LWS cose-key example tool -k keyset [-s alg-name kid ]\n"); in main() 158 if ((p = lws_cmdline_option(argc, argv, "--kid"))) { in main() 159 kid = (uint8_t *)p; in main() 161 //lwsl_hexdump_notice(kid, kid_len); in main() 164 if ((p = lws_cmdline_option(argc, argv, "--kid-hex"))) { in main() 166 kid = (uint8_t *)ktmp; in main() 223 !memcmp(ke->buf, kid, kid_len))) { in main() 287 kid, kid_le in main() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | movenccenc.c | 348 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()
|
H A D | movenccenc.h | 84 int ff_mov_cenc_write_sinf_tag(struct MOVTrack* track, AVIOContext *pb, uint8_t* kid);
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
H A D | main.c | 94 uint8_t *ks, temp[256], *kid = NULL, ktmp[4096], sbuf[512]; in main() local 118 lwsl_user("LWS cose-sign example tool -k keyset [-s alg-name kid ]\n"); in main() 169 if ((p = lws_cmdline_option(argc, argv, "--kid"))) { in main() 170 kid = (uint8_t *)p; in main() 172 //lwsl_hexdump_notice(kid, kid_len); in main() 175 if ((p = lws_cmdline_option(argc, argv, "--kid-hex"))) { in main() 177 kid = (uint8_t *)ktmp; in main() 274 ck = lws_cose_key_from_set(&set, kid, kid_len); in main() 374 " result: %d (alg %s, kid %s)\n", in main()
|
/third_party/libwebsockets/lib/cose/ |
H A D | cose_validate.c | 79 * unprotected: map: for sign1, eg, the alg (!?), the kid 85 * unprotected: map: (eg, the kid) 248 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()
|
H A D | cose_key.c | 67 "kty", "kid", "use", "key_ops", "base_iv", "alg" 768 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() 820 if (kid) { in lws_cose_key_generate() 824 memcpy(ke->buf, kid, ke->len); in lws_cose_key_generate() 787 lws_cose_key_generate(struct lws_context *context, cose_param_t cose_kty, int use_mask, int bits, const char *curve, const uint8_t *kid, size_t kl) lws_cose_key_generate() argument
|
H A D | private-lib-cose.h | 69 struct lws_gencrypto_keyelem kid; member
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl16.c | 296 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() 610 * Ignore unexpected kid, it could be a in run_test() 617 /* Found the right kid, check his status */ in run_test() 624 /* got unexpected exit status from kid */ in run_test()
|
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-cose.h | 325 * \param kid: string describing the key, or NULL 332 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);
|
H A D | lws-secure-streams.h | 826 * \param kid: eg, "aws_access_key_id" 839 lws_aws_filesystem_credentials_helper(const char *path, const char *kid,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_crypto.c | 592 struct wpabuf *kid = NULL; in dpp_parse_jws_prot_hdr() local 651 kid = json_get_member_base64url(root, "kid"); in dpp_parse_jws_prot_hdr() 652 if (!kid) { in dpp_parse_jws_prot_hdr() 653 wpa_printf(MSG_DEBUG, "DPP: No kid string value found"); in dpp_parse_jws_prot_hdr() 656 wpa_hexdump_buf(MSG_DEBUG, "DPP: JWS Protected Header kid (decoded)", in dpp_parse_jws_prot_hdr() 657 kid); in dpp_parse_jws_prot_hdr() 661 return kid; in dpp_parse_jws_prot_hdr() 705 struct wpabuf *kid = NULL; in dpp_process_signed_connector() local 735 kid in dpp_process_signed_connector() [all...] |
H A D | dpp.c | 1351 struct crypto_ec_key *key, const char *kid, in dpp_build_jwk() 1374 if (kid) { in dpp_build_jwk() 1376 json_add_string(buf, "kid", kid); in dpp_build_jwk() 1521 tailroom += 2 * curve->prime_len * 4 / 3 + os_strlen(auth->conf->kid); in dpp_build_conf_obj_dpp() 1577 if (dpp_build_jwk(buf, "csign", auth->conf->csign, auth->conf->kid, in dpp_build_conf_obj_dpp() 3377 os_free(conf->kid); in dpp_configurator_free() 3418 /* kid = SHA256(ANSI X9.63 uncompressed C-sign-key) */ in dpp_configurator_gen_kid() 3425 "DPP: Failed to derive kid for C-sign-key"); in dpp_configurator_gen_kid() 3429 conf->kid in dpp_configurator_gen_kid() 1350 dpp_build_jwk(struct wpabuf *buf, const char *name, struct crypto_ec_key *key, const char *kid, const struct dpp_curve_params *curve) dpp_build_jwk() argument 4324 dpp_configurator_find_kid(struct dpp_global *dpp, const u8 *kid) dpp_configurator_find_kid() argument [all...] |
H A D | dpp_i.h | 41 struct crypto_ec_key *key, const char *kid,
|
H A D | dpp.h | 369 char *kid; member 673 const u8 *kid);
|
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
H A D | sign.c | 467 lws_aws_filesystem_credentials_helper(const char *path, const char *kid, in lws_aws_filesystem_credentials_helper() argument 504 if (strncmp(line, i ? kid : ak, strlen(i ? kid : ak))) in lws_aws_filesystem_credentials_helper()
|
/third_party/python/Lib/lib2to3/ |
H A D | fixer_util.py | 381 for i, kid in enumerate(child.children[3:]): 382 if kid.type == token.COLON and kid.value == ":":
|
/third_party/libwebsockets/plugins/acme-client/ |
H A D | protocol_lws_acme_client.c | 76 char *kid; member 210 const char *nonce, const char *url, const char *kid, in jws_create_packet() 242 if (kid) in jws_create_packet() 243 p += lws_snprintf(p, lws_ptr_diff_size_t(end, p), ",\"kid\":\"%s\"", kid); in jws_create_packet() 990 ac->kid = ac->acct_id; in callback_acme_client() 1062 ac->kid, in callback_acme_client() 209 jws_create_packet(struct lws_jwe *jwe, const char *payload, size_t len, const char *nonce, const char *url, const char *kid, char *out, size_t out_len, struct lws_context *context) jws_create_packet() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
H A D | dpp.c | 4518 const char *kid, const struct dpp_curve_params *curve) in dpp_build_jwk() 4543 if (kid) { in dpp_build_jwk() 4544 wpabuf_put_str(buf, "\",\"kid\":\""); in dpp_build_jwk() 4545 wpabuf_put_str(buf, kid); in dpp_build_jwk() 4684 "{\"typ\":\"dppCon\",\"kid\":\"%s\",\"alg\":\"%s\"}", in dpp_build_conf_obj_dpp() 4685 auth->conf->kid, curve->jws_alg); in dpp_build_conf_obj_dpp() 4748 tailroom += 2 * curve->prime_len * 4 / 3 + os_strlen(auth->conf->kid); in dpp_build_conf_obj_dpp() 4768 if (dpp_build_jwk(buf, "csign", auth->conf->csign, auth->conf->kid, in dpp_build_conf_obj_dpp() 5106 struct wpabuf *kid = NULL; in dpp_parse_jws_prot_hdr() local 5166 kid in dpp_parse_jws_prot_hdr() 4517 dpp_build_jwk(struct wpabuf *buf, const char *name, EVP_PKEY *key, const char *kid, const struct dpp_curve_params *curve) dpp_build_jwk() argument 5560 struct wpabuf *kid = NULL; dpp_process_signed_connector() local [all...] |
/third_party/node/src/crypto/ |
H A D | crypto_common.cc | 1113 int kid = EVP_PKEY_id(key.get()); in GetEphemeralKey() local 1115 switch (kid) { in GetEphemeralKey() 1130 if (kid == EVP_PKEY_EC) { in GetEphemeralKey() 1135 curve_name = OBJ_nid2sn(kid); in GetEphemeralKey()
|