Home
last modified time | relevance | path

Searched refs:label_len (Results 1 – 25 of 26) sorted by relevance

12

/external/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c70 const char *label, size_t label_len, in tls1_P_hash() argument
85 !HMAC_Update(&ctx, (const uint8_t *) label, label_len) || in tls1_P_hash()
99 !HMAC_Update(&ctx, (const uint8_t *) label, label_len) || in tls1_P_hash()
140 const char *label, size_t label_len, in CRYPTO_tls1_prf() argument
153 label_len, seed1, seed1_len, seed2, seed2_len)) { in CRYPTO_tls1_prf()
163 return tls1_P_hash(out, out_len, digest, secret, secret_len, label, label_len, in CRYPTO_tls1_prf()
Dinternal.h30 const char *label, size_t label_len,
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/tls/
Dkdf.c70 const char *label, size_t label_len, in tls1_P_hash() argument
85 !HMAC_Update(&ctx, (const uint8_t *) label, label_len) || in tls1_P_hash()
99 !HMAC_Update(&ctx, (const uint8_t *) label, label_len) || in tls1_P_hash()
140 const char *label, size_t label_len, in CRYPTO_tls1_prf() argument
153 label_len, seed1, seed1_len, seed2, seed2_len)) { in CRYPTO_tls1_prf()
163 return tls1_P_hash(out, out_len, digest, secret, secret_len, label, label_len, in CRYPTO_tls1_prf()
Dinternal.h30 const char *label, size_t label_len,
/external/grpc-grpc/bazel/
Dgenerate_cc.bzl12 # label_len is length of the path from WORKSPACE root to the location of this build file
13 label_len = 0
18 label_len += len(ctx.label.package) + 1
20 label_len += len(ctx.label.workspace_root) + 1
24 outs += [proto.path[label_len:-len(".proto")] + ".grpc.pb.h" for proto in protos]
25 outs += [proto.path[label_len:-len(".proto")] + ".grpc.pb.cc" for proto in protos]
27 outs += [proto.path[label_len:-len(".proto")] + "_mock.grpc.pb.h" for proto in protos]
29 outs += [proto.path[label_len:-len(".proto")] + ".pb.h" for proto in protos]
30 outs += [proto.path[label_len:-len(".proto")] + ".pb.cc" for proto in protos]
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c431 size_t label_len; in eap_eke_derive_ke_ki() local
452 label_len = os_strlen(label); in eap_eke_derive_ke_ki()
453 data_len = label_len + id_s_len + id_p_len; in eap_eke_derive_ke_ki()
457 os_memcpy(data, label, label_len); in eap_eke_derive_ke_ki()
458 os_memcpy(data + label_len, id_s, id_s_len); in eap_eke_derive_ke_ki()
459 os_memcpy(data + label_len + id_s_len, id_p, id_p_len); in eap_eke_derive_ke_ki()
484 size_t label_len; in eap_eke_derive_ka() local
493 label_len = os_strlen(label); in eap_eke_derive_ka()
494 data_len = label_len + id_s_len + id_p_len + 2 * sess->nonce_len; in eap_eke_derive_ka()
499 os_memcpy(pos, label, label_len); in eap_eke_derive_ka()
[all …]
Deap_peap_common.c22 size_t label_len = os_strlen(label); in peap_prfplus() local
30 len[1] = label_len; in peap_prfplus()
Deap_sake_common.c217 size_t label_len = os_strlen(label) + 1; in eap_sake_kdf() local
222 len[0] = label_len; in eap_sake_kdf()
/external/wpa_supplicant_8/src/crypto/
Dsha1-prf.c36 size_t label_len = os_strlen(label) + 1; in sha1_prf() local
41 len[0] = label_len; in sha1_prf()
Dsha1-tprf.c35 size_t label_len = os_strlen(label); in sha1_t_prf() local
43 len[1] = label_len + 1; in sha1_t_prf()
/external/tcpdump/
Dprint-dhcp6.c291 int label_len; /* Label length */ in dhcp6opt_print() local
737 label_len = *tp++; in dhcp6opt_print()
738 if (label_len < remain_len - 1) { in dhcp6opt_print()
739 (void)fn_printn(ndo, tp, label_len, NULL); in dhcp6opt_print()
740 tp += label_len; in dhcp6opt_print()
741 remain_len -= (label_len + 1); in dhcp6opt_print()
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dt1_enc.cc313 const char *label, size_t label_len, in SSL_export_keying_material() argument
333 MakeConstSpan(label, label_len), MakeConstSpan(context, context_len)); in SSL_export_keying_material()
364 MakeConstSpan(label, label_len), seed, {}); in SSL_export_keying_material()
/external/boringssl/src/ssl/
Dt1_enc.cc333 const char *label, size_t label_len, in SSL_export_keying_material() argument
353 MakeConstSpan(label, label_len), MakeConstSpan(context, context_len)); in SSL_export_keying_material()
383 MakeConstSpan(label, label_len), seed, {}); in SSL_export_keying_material()
/external/e2fsprogs/misc/
Dblkid.c151 static int label_len = 8, mtpt_len = 14; in pretty_print_line() local
164 label_len += w; in pretty_print_line()
174 len = pretty_print_word(label, label_len, len, 0); in pretty_print_line()
/external/toybox/toys/other/
Dblkid.c42 int magic_len, magic_offset, uuid_off, label_len, label_off; member
142 len = fstypes[i].label_len; in do_blkid()
/external/libevent/
Devdns.c995 u8 label_len; in name_parse() local
996 GET8(label_len); in name_parse()
997 if (!label_len) break; in name_parse()
998 if (label_len & 0xc0) { in name_parse()
1002 j = (((int)label_len & 0x3f) << 8) + ptr_low; in name_parse()
1010 if (label_len > 63) return -1; in name_parse()
1015 if (cp + label_len >= end) return -1; in name_parse()
1016 if (j + label_len > length) return -1; in name_parse()
1017 memcpy(cp, packet + j, label_len); in name_parse()
1018 cp += label_len; in name_parse()
[all …]
/external/e2fsprogs/lib/blkid/
Dprobe.h355 unsigned char label_len[2]; member
364 #define ocfslabellen(o) ((__u32)o.label_len[0] + (((__u32) o.label_len[1]) << 8))
525 __u8 label_len; member
Dprobe.c522 int label_len = 0, maxloop = 100; in probe_fat() local
621 if ((label_len = figure_label_len(vol_label, 11))) in probe_fat()
629 blkid_set_tag(probe->dev, "LABEL", (const char *) label, label_len); in probe_fat()
1214 blkid_set_tag(probe->dev, "LABEL", (char *)hfs->label, hfs->label_len); in probe_hfs()
1244 unsigned int label_len; in probe_hfsplus() local
1341 label_len = blkid_be16(key->unicode_len) * 2; in probe_hfsplus()
1343 key->unicode, label_len); in probe_hfsplus()
/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/
Dp_rsa.c629 size_t label_len) { in EVP_PKEY_CTX_set0_rsa_oaep_label() argument
630 RSA_OAEP_LABEL_PARAMS params = {label, label_len}; in EVP_PKEY_CTX_set0_rsa_oaep_label()
/external/boringssl/src/crypto/evp/
Dp_rsa.c629 size_t label_len) { in EVP_PKEY_CTX_set0_rsa_oaep_label() argument
630 RSA_OAEP_LABEL_PARAMS params = {label, label_len}; in EVP_PKEY_CTX_set0_rsa_oaep_label()
/external/rust/crates/quiche/src/
Dcrypto.rs420 let label_len = (LABEL_PREFIX.len() + label.len()) as u8; in hkdf_expand_label() localVariable
422 let info = [&out_len, &[label_len][..], LABEL_PREFIX, label, &[0][..]]; in hkdf_expand_label()
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Devp.h785 size_t label_len);
Dssl.h1613 SSL *ssl, uint8_t *out, size_t out_len, const char *label, size_t label_len,
/external/boringssl/src/include/openssl/
Devp.h797 size_t label_len);
Dssl.h1625 SSL *ssl, uint8_t *out, size_t out_len, const char *label, size_t label_len,

12