/third_party/libcoap/src/oscore/ |
H A D | oscore_crypto.c | 104 size_t info_len, in oscore_hkdf_expand() 108 uint8_t *aggregate_buffer = coap_malloc_type(COAP_STRING, 32 + info_len + 1); in oscore_hkdf_expand() 119 memcpy(aggregate_buffer, info, info_len); in oscore_hkdf_expand() 120 aggregate_buffer[info_len] = 0x01; in oscore_hkdf_expand() 123 data.length = info_len + 1; in oscore_hkdf_expand() 132 memcpy(&(aggregate_buffer[32]), info, info_len); in oscore_hkdf_expand() 133 aggregate_buffer[32 + info_len] = (uint8_t)(i + 1); in oscore_hkdf_expand() 135 data.length = 32 + info_len + 1; in oscore_hkdf_expand() 162 size_t info_len, in oscore_hkdf() 170 oscore_hkdf_expand(hkdf_alg, hkdf_extract, info, info_len, ok in oscore_hkdf() 101 oscore_hkdf_expand(cose_hkdf_alg_t hkdf_alg, coap_bin_const_t *prk, uint8_t *info, size_t info_len, uint8_t *okm, size_t okm_len) oscore_hkdf_expand() argument 158 oscore_hkdf(cose_hkdf_alg_t hkdf_alg, coap_bin_const_t *salt, coap_bin_const_t *ikm, uint8_t *info, size_t info_len, uint8_t *okm, size_t okm_len) oscore_hkdf() argument [all...] |
H A D | oscore_context.c | 314 size_t info_len; in oscore_build_key() local 319 info_len = compose_info(info_buffer, in oscore_build_key() 326 if (info_len == 0 || info_len > sizeof(info_buffer)) in oscore_build_key() 333 info_len, in oscore_build_key()
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 61 size_t info_len; member 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 107 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN in SSKDF_hash_kdm() 135 && EVP_DigestUpdate(ctx, info, info_len))) in SSKDF_hash_kdm() 217 const unsigned char *info, size_t info_len, in SSKDF_mac_kdm() 228 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN in SSKDF_mac_kdm() 257 && EVP_MAC_update(ctx, info, info_len))) in SSKDF_mac_kdm() 307 OPENSSL_clear_free(ctx->info, ctx->info_len); in sskdf_reset() 406 ctx->info, ctx->info_len, key, keylen); in sskdf_derive() 415 ctx->info, ctx->info_len, in sskdf_derive() 94 SSKDF_hash_kdm(const EVP_MD *kdf_md, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned int append_ctr, unsigned char *derived_key, size_t derived_key_len) SSKDF_hash_kdm() argument 212 SSKDF_mac_kdm(EVP_MAC_CTX *ctx_init, const unsigned char *kmac_custom, size_t kmac_custom_len, size_t kmac_out_len, const unsigned char *salt, size_t salt_len, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned char *derived_key, size_t derived_key_len) SSKDF_mac_kdm() argument [all...] |
H A D | hkdf.c | 52 const unsigned char *info, size_t info_len, 60 const unsigned char *info, size_t info_len, 87 size_t info_len; member 125 OPENSSL_clear_free(ctx->info, ctx->info_len); in kdf_hkdf_reset() 177 ctx->key, ctx->key_len, ctx->info, ctx->info_len, key, keylen); in kdf_hkdf_derive() 185 ctx->info_len, key, keylen); in kdf_hkdf_derive() 304 OPENSSL_clear_free(ctx->info, ctx->info_len); in kdf_hkdf_set_ctx_params() 312 ctx->info_len = sz; in kdf_hkdf_set_ctx_params() 398 const unsigned char *info, size_t info_len, in HKDF() 416 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, ok in HKDF() 395 HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md, const unsigned char *salt, size_t salt_len, const unsigned char *ikm, size_t ikm_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) HKDF() argument 505 HKDF_Expand(const EVP_MD *evp_md, const unsigned char *prk, size_t prk_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) HKDF_Expand() argument [all...] |
/third_party/openssl/providers/implementations/kdfs/ |
H A D | sskdf.c | 61 size_t info_len; member 96 const unsigned char *info, size_t info_len, in SSKDF_hash_kdm() 107 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN in SSKDF_hash_kdm() 135 && EVP_DigestUpdate(ctx, info, info_len))) in SSKDF_hash_kdm() 217 const unsigned char *info, size_t info_len, in SSKDF_mac_kdm() 228 if (z_len > SSKDF_MAX_INLEN || info_len > SSKDF_MAX_INLEN in SSKDF_mac_kdm() 257 && EVP_MAC_update(ctx, info, info_len))) in SSKDF_mac_kdm() 307 OPENSSL_clear_free(ctx->info, ctx->info_len); in sskdf_reset() 406 ctx->info, ctx->info_len, key, keylen); in sskdf_derive() 415 ctx->info, ctx->info_len, in sskdf_derive() 94 SSKDF_hash_kdm(const EVP_MD *kdf_md, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned int append_ctr, unsigned char *derived_key, size_t derived_key_len) SSKDF_hash_kdm() argument 212 SSKDF_mac_kdm(EVP_MAC_CTX *ctx_init, const unsigned char *kmac_custom, size_t kmac_custom_len, size_t kmac_out_len, const unsigned char *salt, size_t salt_len, const unsigned char *z, size_t z_len, const unsigned char *info, size_t info_len, unsigned char *derived_key, size_t derived_key_len) SSKDF_mac_kdm() argument [all...] |
H A D | hkdf.c | 52 const unsigned char *info, size_t info_len, 60 const unsigned char *info, size_t info_len, 87 size_t info_len; member 125 OPENSSL_clear_free(ctx->info, ctx->info_len); in kdf_hkdf_reset() 177 ctx->key, ctx->key_len, ctx->info, ctx->info_len, key, keylen); in kdf_hkdf_derive() 185 ctx->info_len, key, keylen); in kdf_hkdf_derive() 304 OPENSSL_clear_free(ctx->info, ctx->info_len); in kdf_hkdf_set_ctx_params() 312 ctx->info_len = sz; in kdf_hkdf_set_ctx_params() 398 const unsigned char *info, size_t info_len, in HKDF() 416 ret = HKDF_Expand(evp_md, prk, prk_len, info, info_len, ok in HKDF() 395 HKDF(OSSL_LIB_CTX *libctx, const EVP_MD *evp_md, const unsigned char *salt, size_t salt_len, const unsigned char *ikm, size_t ikm_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) HKDF() argument 505 HKDF_Expand(const EVP_MD *evp_md, const unsigned char *prk, size_t prk_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) HKDF_Expand() argument [all...] |
/third_party/mbedtls/library/ |
H A D | hkdf.c | 30 const unsigned char *info, size_t info_len, in mbedtls_hkdf() 40 info, info_len, okm, okm_len); in mbedtls_hkdf() 77 size_t info_len, unsigned char *okm, size_t okm_len) in mbedtls_hkdf_expand() 100 info_len = 0; in mbedtls_hkdf_expand() 143 ret = mbedtls_md_hmac_update(&ctx, info, info_len); in mbedtls_hkdf_expand() 28 mbedtls_hkdf(const mbedtls_md_info_t *md, const unsigned char *salt, size_t salt_len, const unsigned char *ikm, size_t ikm_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) mbedtls_hkdf() argument 75 mbedtls_hkdf_expand(const mbedtls_md_info_t *md, const unsigned char *prk, size_t prk_len, const unsigned char *info, size_t info_len, unsigned char *okm, size_t okm_len) mbedtls_hkdf_expand() argument
|
/third_party/libcoap/include/oscore/ |
H A D | oscore_crypto.h | 106 * @param info_len Length of info (can be 0). 115 size_t info_len, 127 * @param info_len Length of info (can be 0). 137 size_t info_len,
|
/third_party/mbedtls/include/mbedtls/ |
H A D | hkdf.h | 58 * \param info_len The length of \p info in bytes. 70 const unsigned char *info, size_t info_len, 118 * \param info_len The length of \p info in bytes. 130 size_t info_len, unsigned char *okm, size_t okm_len);
|
/third_party/libcoap/src/ |
H A D | coap_resource.c | 841 size_t info_len = sizeof(info_buffer); local 845 ret += oscore_cbor_put_array(&info_buf, &info_len, 5); 847 &info_len, 853 &info_len, 857 ret += oscore_cbor_put_nil(&info_buf, &info_len); 863 &info_len, 867 ret += oscore_cbor_put_nil(&info_buf, &info_len); 871 &info_len, 875 ret += oscore_cbor_put_nil(&info_buf, &info_len); 879 &info_len, [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/p2p/ |
H A D | p2p_build.c | 404 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()
|
H A D | p2p_pd.c | 1507 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/p2p/ |
H A D | p2p_build.c | 404 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()
|
H A D | p2p_pd.c | 1507 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()
|
/third_party/libbpf/src/ |
H A D | bpf.h | 488 LIBBPF_API int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len); 494 * Populates up to *info_len* bytes of *info* and updates *info_len* with the 500 * @param info_len pointer to the size of *info*; on success updated with the 505 LIBBPF_API int bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len); 511 * Populates up to *info_len* bytes of *info* and updates *info_len* with the 517 * @param info_len pointer to the size of *info*; on success updated with the 522 LIBBPF_API int bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len); 528 * Populates up to *info_len* byte [all...] |
H A D | bpf.c | 209 __u64 info_len = (__u64)actual_rec_size * cnt; in alloc_zero_tailing_info() local 213 info = malloc(info_len); in alloc_zero_tailing_info() 1132 int bpf_obj_get_info_by_fd(int bpf_fd, void *info, __u32 *info_len) in bpf_obj_get_info_by_fd() argument 1140 attr.info.info_len = *info_len; in bpf_obj_get_info_by_fd() 1145 *info_len = attr.info.info_len; in bpf_obj_get_info_by_fd() 1149 int bpf_prog_get_info_by_fd(int prog_fd, struct bpf_prog_info *info, __u32 *info_len) in bpf_prog_get_info_by_fd() argument 1151 return bpf_obj_get_info_by_fd(prog_fd, info, info_len); in bpf_prog_get_info_by_fd() 1154 int bpf_map_get_info_by_fd(int map_fd, struct bpf_map_info *info, __u32 *info_len) in bpf_map_get_info_by_fd() argument 1159 bpf_btf_get_info_by_fd(int btf_fd, struct bpf_btf_info *info, __u32 *info_len) bpf_btf_get_info_by_fd() argument 1164 bpf_link_get_info_by_fd(int link_fd, struct bpf_link_info *info, __u32 *info_len) bpf_link_get_info_by_fd() argument [all...] |
H A D | netlink.c | 698 __u32 info_len = sizeof(info); in tc_add_fd_and_name() local 702 memset(&info, 0, info_len); in tc_add_fd_and_name() 703 ret = bpf_prog_get_info_by_fd(fd, &info, &info_len); in tc_add_fd_and_name()
|
/third_party/selinux/libselinux/src/ |
H A D | regex.c | 371 size_t info_len; in regex_load_mmap() local 391 rc = pcre_fullinfo((*regex)->regex, NULL, PCRE_INFO_SIZE, &info_len); in regex_load_mmap() 392 if (rc < 0 || info_len != entry_len) in regex_load_mmap() 408 PCRE_INFO_STUDYSIZE, &info_len); in regex_load_mmap() 409 if (rc < 0 || info_len != entry_len) in regex_load_mmap()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 565 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()
|
H A D | ctrl_iface.c | 5495 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() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 567 size_t info_len = 0; in wpas_sd_req_asp() local 583 info_len = *info++; in wpas_sd_req_asp() 587 if (svc_len + (info_len ? info_len + 2 : 1) > query_len) { in wpas_sd_req_asp() 607 find_p2ps_substr(adv_data, info, info_len)) { in wpas_sd_req_asp()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
H A D | dpp_crypto.c | 1597 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()
|
H A D | sae.c | 559 size_t info_len = os_strlen(info); in hkdf_expand() local 563 (const u8 *) info, info_len, in hkdf_expand() 568 (const u8 *) info, info_len, in hkdf_expand() 574 (const u8 *) info, info_len, in hkdf_expand()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmwgfx_drm.h | 1257 * @info_len: Length in bytes of counter-infos array. 1270 __u64 info_len; member
|
/third_party/ltp/include/lapi/ |
H A D | bpf.h | 285 uint32_t info_len; member
|