Home
last modified time | relevance | path

Searched refs:len_buf (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/wpa/src/crypto/
H A Daes-gcm.c194 u8 len_buf[16]; in aes_gcm_prepare_j0() local
208 WPA_PUT_BE64(len_buf, 0); in aes_gcm_prepare_j0()
209 WPA_PUT_BE64(len_buf + 8, iv_len * 8); in aes_gcm_prepare_j0()
210 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
232 u8 len_buf[16]; in aes_gcm_ghash() local
243 WPA_PUT_BE64(len_buf, aad_len * 8); in aes_gcm_ghash()
244 WPA_PUT_BE64(len_buf + 8, crypt_len * 8); in aes_gcm_ghash()
245 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/freebsd/sys/net80211/
H A Dieee80211_crypto_gcm.c250 uint8_t len_buf[16]; in aes_gcm_prepare_j0() local
264 WPA_PUT_BE64(len_buf, 0); in aes_gcm_prepare_j0()
265 WPA_PUT_BE64(len_buf + 8, iv_len * 8); in aes_gcm_prepare_j0()
266 ghash(H, len_buf, sizeof(len_buf), J0); in aes_gcm_prepare_j0()
289 uint8_t len_buf[16]; in aes_gcm_ghash() local
300 WPA_PUT_BE64(len_buf, aad_len * 8); in aes_gcm_ghash()
301 WPA_PUT_BE64(len_buf + 8, crypt_len * 8); in aes_gcm_ghash()
302 ghash(H, len_buf, sizeof(len_buf), S); in aes_gcm_ghash()
/freebsd/contrib/unbound/dnstap/
H A Ddnstap.c62 size_t len_buf; member
115 dt_send(const struct dt_env *env, void *buf, size_t len_buf) in dt_send() argument
117 dt_msg_queue_submit(env->msgqueue, buf, len_buf); in dt_send()
471 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_client_query()
472 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_client_query()
509 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_client_response()
510 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_client_response()
563 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_outside_query()
564 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_outside_query()
625 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_outside_response()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_zip.c170 size_t len_buf; member
474 zip->len_buf = 65536; in archive_write_set_format_zip()
475 zip->buf = malloc(zip->len_buf); in archive_write_set_format_zip()
992 zip->stream.avail_out = (uInt)zip->len_buf; in archive_write_zip_header()
1055 zip->buf, zip->len_buf); in archive_write_zip_data()
1057 l = zip->len_buf; in archive_write_zip_data()
1096 zip->buf, zip->len_buf, in archive_write_zip_data()
1097 zip->buf, zip->len_buf); in archive_write_zip_data()
1099 size_t outl = zip->len_buf; in archive_write_zip_data()
1102 zip->buf, zip->len_buf, in archive_write_zip_data()
[all …]
/freebsd/contrib/wpa/src/wps/
H A Dwps_upnp_web.c315 char len_buf[10]; in web_connection_parse_get() local
405 os_snprintf(len_buf, 10, "%d", body_length); in web_connection_parse_get()
406 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_parse_get()
852 char len_buf[10]; in web_connection_send_reply() local
853 os_snprintf(len_buf, sizeof(len_buf), "%d", body_length); in web_connection_send_reply()
854 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_send_reply()
H A Dwps_er.c953 char len_buf[10]; in wps_er_soap_end() local
956 os_snprintf(len_buf, sizeof(len_buf), "%d", in wps_er_soap_end()
958 os_memcpy(len_ptr, len_buf, os_strlen(len_buf)); in wps_er_soap_end()