Home
last modified time | relevance | path

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

12

/third_party/openssl/crypto/kdf/
Dhkdf.c23 const unsigned char *info, size_t info_len,
33 const unsigned char *info, size_t info_len,
44 size_t info_len; member
66 OPENSSL_cleanse(kctx->info, kctx->info_len); in pkey_hkdf_cleanup()
121 if (p1 < 0 || p1 > (int)(HKDF_MAXBUF - kctx->info_len)) in pkey_hkdf_ctrl()
124 memcpy(kctx->info + kctx->info_len, p2, p1); in pkey_hkdf_ctrl()
125 kctx->info_len += p1; in pkey_hkdf_ctrl()
184 OPENSSL_cleanse(kctx->info, kctx->info_len); in pkey_hkdf_derive_init()
207 kctx->key_len, kctx->info, kctx->info_len, key, in pkey_hkdf_derive()
220 kctx->info_len, key, *keylen) != NULL; in pkey_hkdf_derive()
[all …]
/third_party/mbedtls/library/
Dhkdf.c30 const unsigned char *info, size_t info_len, in mbedtls_hkdf() argument
41 info, info_len, okm, okm_len ); in mbedtls_hkdf()
81 size_t info_len, unsigned char *okm, size_t okm_len ) in mbedtls_hkdf_expand() argument
107 info_len = 0; in mbedtls_hkdf_expand()
156 ret = mbedtls_md_hmac_update( &ctx, info, info_len ); in mbedtls_hkdf_expand()
/third_party/mbedtls/tests/suites/
Dtest_suite_hkdf.function76 size_t info_len, prk_len, okm_len;
84 info = mbedtls_test_unhexify_alloc( hex_info_string, &info_len );
89 ret = mbedtls_hkdf_expand( md, prk, prk_len, info, info_len,
136 size_t info_len;
143 info_len = 0;
152 info, info_len, okm, okm_len );
/third_party/mbedtls/include/mbedtls/
Dhkdf.h70 const unsigned char *info, size_t info_len,
130 size_t info_len, unsigned char *okm, size_t okm_len );
/third_party/flutter/skia/platform_tools/android/apps/arcore/src/main/cpp/
Dutil.cc53 GLint info_len = 0; in LoadShader() local
55 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &info_len); in LoadShader()
56 if (!info_len) { in LoadShader()
60 char *buf = reinterpret_cast<char *>(malloc(info_len)); in LoadShader()
65 glGetShaderInfoLog(shader, info_len, nullptr, buf); in LoadShader()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/
Dp2p_build.c404 size_t info_len = 0; in p2p_buf_add_session_info() local
407 info_len = os_strlen(info); in p2p_buf_add_session_info()
411 wpabuf_put_le16(buf, (u16) info_len); in p2p_buf_add_session_info()
414 wpabuf_put_data(buf, info, info_len); in p2p_buf_add_session_info()
483 size_t info_len; in p2p_buf_add_service_info() local
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info()
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) { in p2p_buf_add_service_info()
588 *total_len += info_len; in p2p_buf_add_service_info()
Dp2p_pd.c1507 size_t info_len = msg.session_info_len; in p2p_process_prov_disc_resp() local
1508 char *deferred_sess_resp = os_malloc(2 * info_len + 1); in p2p_process_prov_disc_resp()
1515 utf8_escape((char *) msg.session_info, info_len, in p2p_process_prov_disc_resp()
1516 deferred_sess_resp, 2 * info_len + 1); in p2p_process_prov_disc_resp()
Dp2p.c2750 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local
2766 info_len = os_strlen(svc_info); in p2p_service_add_asp()
2769 info_len + 1; in p2p_service_add_asp()
2787 if (svc_info && info_len) { in p2p_service_add_asp()
2789 os_memcpy(adv_data->svc_info, svc_info, info_len); in p2p_service_add_asp()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/
Dp2p_build.c404 size_t info_len = 0; in p2p_buf_add_session_info() local
407 info_len = os_strlen(info); in p2p_buf_add_session_info()
411 wpabuf_put_le16(buf, (u16) info_len); in p2p_buf_add_session_info()
414 wpabuf_put_data(buf, info, info_len); in p2p_buf_add_session_info()
483 size_t info_len; in p2p_buf_add_service_info() local
487 info_len = sizeof(adv_id) + sizeof(config_methods) + sizeof(u8) + in p2p_buf_add_service_info()
490 if (info_len + *total_len > MAX_SVC_ADV_LEN) { in p2p_buf_add_service_info()
588 *total_len += info_len; in p2p_buf_add_service_info()
Dp2p_pd.c1507 size_t info_len = msg.session_info_len; in p2p_process_prov_disc_resp() local
1508 char *deferred_sess_resp = os_malloc(2 * info_len + 1); in p2p_process_prov_disc_resp()
1515 utf8_escape((char *) msg.session_info, info_len, in p2p_process_prov_disc_resp()
1516 deferred_sess_resp, 2 * info_len + 1); in p2p_process_prov_disc_resp()
Dp2p.c2730 size_t adv_data_len, adv_len, info_len = 0; in p2p_service_add_asp() local
2746 info_len = os_strlen(svc_info); in p2p_service_add_asp()
2749 info_len + 1; in p2p_service_add_asp()
2767 if (svc_info && info_len) { in p2p_service_add_asp()
2769 os_memcpy(adv_data->svc_info, svc_info, info_len); in p2p_service_add_asp()
/third_party/selinux/libselinux/src/
Dregex.c326 size_t info_len; in regex_load_mmap() local
346 rc = pcre_fullinfo((*regex)->regex, NULL, PCRE_INFO_SIZE, &info_len); in regex_load_mmap()
347 if (rc < 0 || info_len != entry_len) in regex_load_mmap()
363 PCRE_INFO_STUDYSIZE, &info_len); in regex_load_mmap()
364 if (rc < 0 || info_len != entry_len) in regex_load_mmap()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgsttcpsrcstats.c17 if (getsockopt (fd, IPPROTO_TCP, TCP_INFO, &info, &info_len) == 0) { in gst_tcp_stats_from_socket()
/third_party/openssl/crypto/
Dmem_dbg.c518 int info_len; in print_leak() local
533 info_len = strlen(amip->info); in print_leak()
534 if (128 - buf_len - 3 < info_len) { in print_leak()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant_sd.c565 size_t info_len = 0; in wpas_sd_req_asp() local
581 info_len = *info++; in wpas_sd_req_asp()
585 if (svc_len + (info_len ? info_len + 2 : 1) > query_len) { in wpas_sd_req_asp()
605 find_p2ps_substr(adv_data, info, info_len)) { in wpas_sd_req_asp()
Dctrl_iface.c5871 size_t info_len = 0; in p2p_parse_asp_provision_cmd() local
5880 info_len = os_strlen(pos); in p2p_parse_asp_provision_cmd()
5882 if (info_len) { in p2p_parse_asp_provision_cmd()
5883 info = os_malloc(info_len + 1); in p2p_parse_asp_provision_cmd()
5885 info_len = utf8_unescape(pos, info_len, in p2p_parse_asp_provision_cmd()
5886 info, info_len + 1); in p2p_parse_asp_provision_cmd()
5888 info_len = 0; in p2p_parse_asp_provision_cmd()
5892 p2ps_prov = os_zalloc(sizeof(struct p2ps_provision) + info_len + 1); in p2p_parse_asp_provision_cmd()
5899 os_memcpy(p2ps_prov->info, info, info_len); in p2p_parse_asp_provision_cmd()
5900 p2ps_prov->info[info_len] = '\0'; in p2p_parse_asp_provision_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant_sd.c565 size_t info_len = 0; in wpas_sd_req_asp() local
581 info_len = *info++; in wpas_sd_req_asp()
585 if (svc_len + (info_len ? info_len + 2 : 1) > query_len) { in wpas_sd_req_asp()
605 find_p2ps_substr(adv_data, info, info_len)) { in wpas_sd_req_asp()
Dctrl_iface.c5495 size_t info_len = 0; in p2p_parse_asp_provision_cmd() local
5504 info_len = os_strlen(pos); in p2p_parse_asp_provision_cmd()
5506 if (info_len) { in p2p_parse_asp_provision_cmd()
5507 info = os_malloc(info_len + 1); in p2p_parse_asp_provision_cmd()
5509 info_len = utf8_unescape(pos, info_len, in p2p_parse_asp_provision_cmd()
5510 info, info_len + 1); in p2p_parse_asp_provision_cmd()
5512 info_len = 0; in p2p_parse_asp_provision_cmd()
5516 p2ps_prov = os_zalloc(sizeof(struct p2ps_provision) + info_len + 1); in p2p_parse_asp_provision_cmd()
5523 os_memcpy(p2ps_prov->info, info, info_len); in p2p_parse_asp_provision_cmd()
5524 p2ps_prov->info[info_len] = '\0'; in p2p_parse_asp_provision_cmd()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Ddpp_crypto.c1597 size_t info_len; in dpp_pkex_derive_z() local
1612 info_len = 2 * ETH_ALEN; in dpp_pkex_derive_z()
1614 info_len = 2; in dpp_pkex_derive_z()
1615 info_len += Mx_len + Nx_len + os_strlen(code); in dpp_pkex_derive_z()
1616 info = os_malloc(info_len); in dpp_pkex_derive_z()
1637 res = hmac_sha256_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()
1640 res = hmac_sha384_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()
1643 res = hmac_sha512_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()
Dsae.c557 size_t info_len = os_strlen(info); in hkdf_expand() local
561 (const u8 *) info, info_len, in hkdf_expand()
566 (const u8 *) info, info_len, in hkdf_expand()
572 (const u8 *) info, info_len, in hkdf_expand()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h1262 __u64 info_len; member
Dvmw_screen_svga.c282 .info_len = mksstat_area_size_info, in vmw_svga_winsys_add_stats()
/third_party/ltp/include/lapi/
Dbpf.h278 uint32_t info_len; member
/third_party/curl/lib/vtls/
Dopenssl.c3466 long info_len = BIO_get_mem_data(mem, &ptr); \
3467 Curl_ssl_push_certinfo_len(data, _num, _label, ptr, info_len); \
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Ddpp.c7177 size_t info_len; in dpp_pkex_derive_z() local
7188 info_len = 2 * ETH_ALEN + Mx_len + Nx_len + os_strlen(code); in dpp_pkex_derive_z()
7189 info = os_malloc(info_len); in dpp_pkex_derive_z()
7205 res = hmac_sha256_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()
7208 res = hmac_sha384_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()
7211 res = hmac_sha512_kdf(prk, hash_len, NULL, info, info_len, in dpp_pkex_derive_z()

12