Searched refs:kid_len (Results 1 – 4 of 4) sorted by relevance
/third_party/libwebsockets/lib/tls/ |
D | tls-jit-trust.c | 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() 49 if (src->kid_len < klen) in lws_tls_kid_copy_kid() 50 klen = src->kid_len; in lws_tls_kid_copy_kid() 52 kid->kid_len = (uint8_t)klen; in lws_tls_kid_copy_kid() 60 if (a->kid_len != b->kid_len) in lws_tls_kid_cmp() 63 return memcmp(a->kid, b->kid, a->kid_len); in lws_tls_kid_cmp() 178 lwsl_hexdump_info(ch->akid[n].kid, ch->akid[n].kid_len); 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() [all …]
|
D | private-jit-trust.h | 62 uint8_t kid_len; member
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-key/ |
D | main.c | 116 size_t kid_len = 0, stp = 0; in main() local 160 kid_len = strlen(p); in main() 165 kid_len = (size_t)lws_hex_to_byte_array(p, ktmp, sizeof(ktmp)); in main() 221 if (!kid_len || (ke->len && in main() 222 ke->len == (uint32_t)kid_len && in main() 223 !memcmp(ke->buf, kid, kid_len))) { in main() 287 kid, kid_len); in main()
|
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/ |
D | main.c | 106 size_t ks_len, kid_len = 0; in main() local 171 kid_len = strlen(p); in main() 176 kid_len = (size_t)lws_hex_to_byte_array(p, ktmp, sizeof(ktmp)); in main() 274 ck = lws_cose_key_from_set(&set, kid, kid_len); in main()
|