Home
last modified time | relevance | path

Searched refs:context_len (Results 1 – 25 of 36) sorted by relevance

12

/external/boringssl/src/ssl/
Dt1_enc.cc310 const uint8_t *context, size_t context_len, in SSL_export_keying_material() argument
324 context_len = 0; in SSL_export_keying_material()
329 MakeConstSpan(label, label_len), MakeConstSpan(context, context_len)); in SSL_export_keying_material()
334 if (context_len >= 1u << 16) { in SSL_export_keying_material()
338 seed_len += 2 + context_len; in SSL_export_keying_material()
350 seed[2 * SSL3_RANDOM_SIZE] = static_cast<uint8_t>(context_len >> 8); in SSL_export_keying_material()
351 seed[2 * SSL3_RANDOM_SIZE + 1] = static_cast<uint8_t>(context_len); in SSL_export_keying_material()
352 OPENSSL_memcpy(seed.data() + 2 * SSL3_RANDOM_SIZE + 2, context, context_len); in SSL_export_keying_material()
Dtls13_enc.cc505 size_t context_len; in tls13_write_psk_binder() local
509 hs, context, &context_len, digest, msg, in tls13_write_psk_binder()
515 MakeConstSpan(context, context_len)) || in tls13_write_psk_binder()
529 size_t context_len; in tls13_verify_psk_binder() local
533 if (!hash_transcript_and_truncated_client_hello(hs, context, &context_len, in tls13_verify_psk_binder()
540 MakeConstSpan(context, context_len)) || in tls13_verify_psk_binder()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c363 size_t context_len = 0; in eap_tls_getKey() local
371 context_len = 1; in eap_tls_getKey()
376 context, context_len, in eap_tls_getKey()
398 size_t context_len = 0; in eap_tls_get_emsk() local
406 context_len = 1; in eap_tls_get_emsk()
411 context, context_len, in eap_tls_get_emsk()
Deap_tls_common.h83 size_t context_len, size_t len);
Deap_server_tls_common.c112 size_t context_len, size_t len) in eap_server_tls_derive_key() argument
121 context, context_len, out, len)) { in eap_server_tls_derive_key()
/external/v8/src/wasm/
Dwasm-result.cc64 size_t context_len = 0; in Format() local
67 context_len = error_msg_.size(); in Format()
69 VPrintFToString(&error_msg_, context_len, format, args); in Format()
/external/wpa_supplicant_8/src/crypto/
Dtls_internal.c416 size_t context_len, int server_random_first, in tls_connection_prf() argument
436 context_len, server_random_first, in tls_connection_prf()
443 context_len, server_random_first, in tls_connection_prf()
457 size_t context_len, u8 *out, size_t out_len) in tls_connection_export_key() argument
459 return tls_connection_prf(tls_ctx, conn, label, context, context_len, in tls_connection_export_key()
Dtls_none.c98 size_t context_len, u8 *out, size_t out_len) in tls_connection_export_key() argument
Dtls.h401 size_t context_len,
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server.c474 const u8 *context, size_t context_len, in tlsv1_server_prf() argument
484 if (context_len > 65535) in tlsv1_server_prf()
488 seed_len += 2 + context_len; in tlsv1_server_prf()
506 WPA_PUT_BE16(pos, context_len); in tlsv1_server_prf()
508 os_memcpy(pos, context, context_len); in tlsv1_server_prf()
Dtlsv1_client.c526 const u8 *context, size_t context_len, in tlsv1_client_prf() argument
536 if (context_len > 65535) in tlsv1_client_prf()
540 seed_len += 2 + context_len; in tlsv1_client_prf()
558 WPA_PUT_BE16(pos, context_len); in tlsv1_client_prf()
560 os_memcpy(pos, context, context_len); in tlsv1_client_prf()
Dtlsv1_server.h22 const u8 *context, size_t context_len,
Dtlsv1_client.h22 const u8 *context, size_t context_len,
/external/webrtc/webrtc/p2p/base/
Ddtlstransportchannel.h150 size_t context_len, in ExportKeyingMaterial() argument
155 context_len, in ExportKeyingMaterial()
Dtransportchannel.h137 size_t context_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls.c185 size_t context_len = 0; in eap_tls_success() local
197 context_len = 1; in eap_tls_success()
212 context, context_len, in eap_tls_success()
Deap_tls_common.h105 size_t context_len, size_t len);
/external/webrtc/webrtc/base/
Dsslstreamadapter.cc63 size_t context_len, in ExportKeyingMaterial() argument
Dsslstreamadapter.h178 size_t context_len,
Dopensslstreamadapter.h98 size_t context_len,
Dsslstreamadapter_unittest.cc493 size_t context_len, in ExportKeyingMaterial() argument
500 context, context_len, in ExportKeyingMaterial()
505 context, context_len, in ExportKeyingMaterial()
/external/harfbuzz_ng/src/
Dhb-buffer.cc255 memset (context_len, 0, sizeof context_len); in clear()
1564 while (start < prev && buffer->context_len[0] < buffer->CONTEXT_LENGTH) in hb_buffer_add_utf()
1568 buffer->context[0][buffer->context_len[0]++] = u; in hb_buffer_add_utf()
1585 while (next < end && buffer->context_len[1] < buffer->CONTEXT_LENGTH) in hb_buffer_add_utf()
1589 buffer->context[1][buffer->context_len[1]++] = u; in hb_buffer_add_utf()
Dhb-buffer.hh124 unsigned int context_len[2]; member
348 void clear_context (unsigned int side) { context_len[side] = 0; } in clear_context()
Dhb-ot-shape-complex-arabic.cc298 for (unsigned int i = 0; i < buffer->context_len[0]; i++) in arabic_joining()
333 for (unsigned int i = 0; i < buffer->context_len[1]; i++) in arabic_joining()
/external/selinux/libsemanage/src/
Dsemanage_store.c142 int context_len; member
2531 size_t start, finish, regex_len, type_len, context_len; in semanage_fc_sort() local
2714 context_len = finish - start; in semanage_fc_sort()
2716 temp->context = (char *)strndup(&line_buf[start], context_len); in semanage_fc_sort()
2728 temp->context_len = context_len; in semanage_fc_sort()
2788 i += current->context_len + 1; /* +1 for a newline */ in semanage_fc_sort()

12