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/libarchive/libarchive/
H A Darchive_write_set_format_zip.c221 size_t len_buf; member
753 zip->len_buf = 65536; in archive_write_set_format_zip()
754 zip->buf = malloc(zip->len_buf); in archive_write_set_format_zip()
1338 zip->stream.deflate.avail_out = (uInt)zip->len_buf; in archive_write_zip_header()
1351 zip->stream.bzip2.avail_out = (unsigned int)zip->len_buf; in archive_write_zip_header()
1379 zip->stream.zstd.out.size = zip->len_buf; in archive_write_zip_header()
1411 zip->stream.lzma.context.avail_out = (unsigned int)zip->len_buf; in archive_write_zip_header()
1466 zip->stream.lzma.context.avail_out = (unsigned int)zip->len_buf; in archive_write_zip_header()
1526 zip->buf, zip->len_buf); in archive_write_zip_data()
1528 l = zip->len_buf; in archive_write_zip_data()
[all …]
/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()
483 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_client_query()
484 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_client_query()
521 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_client_response()
522 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_client_response()
575 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_outside_query()
576 dt_send(env, dm.buf, dm.len_buf); in dt_msg_send_outside_query()
637 if (dt_pack(&dm.d, &dm.buf, &dm.len_buf)) in dt_msg_send_outside_response()
[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()