| /freebsd-14.2/contrib/tcpdump/ |
| H A D | print-bfd.c | 97 nd_uint8_t auth_len; member 187 uint8_t auth_type, auth_len; in auth_print() local 194 auth_len = GET_U_1(bfd_auth_header->auth_len); in auth_print() 197 auth_type, auth_len); in auth_print() 214 if (auth_len < AUTH_PASSWORD_FIELD_MIN_LEN || in auth_print() 215 auth_len > AUTH_PASSWORD_FIELD_MAX_LEN) { in auth_print() 217 auth_len); in auth_print() 242 if (auth_len != AUTH_MD5_FIELD_LEN) { in auth_print() 244 auth_len); in auth_print() 272 if (auth_len != AUTH_SHA1_FIELD_LEN) { in auth_print() [all …]
|
| /freebsd-14.2/sys/crypto/aesni/ |
| H A D | aesni_ccm.c | 108 byte_ptr[0] = ((auth_len > 0) ? 1 : 0) * 64 | in cbc_mac_start() 115 if (auth_len != 0) { in cbc_mac_start() 130 KASSERT(auth_len < (1ULL << 32), in cbc_mac_start() 132 __FUNCTION__, auth_len)); in cbc_mac_start() 134 if (auth_len < ((1 << 16) - (1 << 8))) { in cbc_mac_start() 141 be16enc(&staging_block, auth_len); in cbc_mac_start() 143 } else if (auth_len < (1ULL << 32)) { in cbc_mac_start() 150 be32enc((char*)&staging_block + 2, auth_len); in cbc_mac_start() 160 copy_amt = MIN(auth_len, in cbc_mac_start() 168 while (auth_ptr < auth_data + auth_len) { in cbc_mac_start() [all …]
|
| /freebsd-14.2/sys/rpc/ |
| H A D | svc_auth_unix.c | 71 u_int auth_len; in _svcauth_unix() local 76 auth_len = (u_int)msg->rm_call.cb_cred.oa_length; in _svcauth_unix() 77 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len, in _svcauth_unix() 79 buf = XDR_INLINE(&xdrs, auth_len); in _svcauth_unix() 111 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 113 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
| /freebsd-14.2/lib/libc/rpc/ |
| H A D | svc_auth_unix.c | 69 u_int auth_len; in _svcauth_unix() local 80 auth_len = (u_int)msg->rm_call.cb_cred.oa_length; in _svcauth_unix() 81 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE); in _svcauth_unix() 82 buf = XDR_INLINE(&xdrs, auth_len); in _svcauth_unix() 109 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 111 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | crypto_os.c | 221 size_t auth_len) in freebsd_crypt_uio_debug_log() argument 344 size_t auth_len) in freebsd_crypt_uio() argument 352 key, ivbuf, datalen, auth_len); in freebsd_crypt_uio() 376 crp->crp_aad_length = auth_len; in freebsd_crypt_uio() 377 crp->crp_payload_start = auth_len; in freebsd_crypt_uio() 511 size_t auth_len) in freebsd_crypt_uio() argument 521 key, ivbuf, datalen, auth_len); in freebsd_crypt_uio() 590 crp->crp_ilen = auth_len + datalen; in freebsd_crypt_uio() 595 auth_desc->crd_len = auth_len; in freebsd_crypt_uio() 604 enc_desc->crd_skip = auth_len; in freebsd_crypt_uio() [all …]
|
| H A D | zio_crypt.c | 399 zfs_uio_t *uio, uint_t auth_len) in zio_do_crypt_uio_opencrypto() argument 408 datalen, auth_len); in zio_do_crypt_uio_opencrypto() 1408 *auth_len = aad_len; in zio_crypt_init_uios_zil() 1422 uint_t *auth_len, boolean_t *no_crypt) in zio_crypt_init_uios_dnode() argument 1558 *auth_len = aad_len; in zio_crypt_init_uios_dnode() 1625 uint8_t **authbuf, uint_t *auth_len, boolean_t *no_crypt) in zio_crypt_init_uios() argument 1642 auth_len, no_crypt); in zio_crypt_init_uios() 1648 *auth_len = 0; in zio_crypt_init_uios() 1687 uint_t enc_len, auth_len; in zio_do_crypt_data() local 1716 &authbuf, &auth_len, no_crypt); in zio_do_crypt_data() [all …]
|
| /freebsd-14.2/contrib/wpa/src/eap_server/ |
| H A D | ikev2.c | 589 u8 method, const u8 *auth, size_t auth_len) in ikev2_process_auth_cert() argument 604 size_t auth_len) in ikev2_process_auth_secret() argument 634 if (auth_len != prf->hash_len || in ikev2_process_auth_secret() 635 os_memcmp_const(auth, auth_data, auth_len) != 0) { in ikev2_process_auth_secret() 638 auth, auth_len); in ikev2_process_auth_secret() 652 const u8 *auth, size_t auth_len) in ikev2_process_auth() argument 661 if (auth_len < 4) { in ikev2_process_auth() 669 auth_len -= 4; in ikev2_process_auth() 677 auth_len); in ikev2_process_auth() 680 auth_len); in ikev2_process_auth() [all …]
|
| /freebsd-14.2/contrib/wpa/src/eap_peer/ |
| H A D | ikev2.c | 523 u8 method, const u8 *auth, size_t auth_len) in ikev2_process_auth_cert() argument 538 size_t auth_len) in ikev2_process_auth_secret() argument 568 if (auth_len != prf->hash_len || in ikev2_process_auth_secret() 569 os_memcmp_const(auth, auth_data, auth_len) != 0) { in ikev2_process_auth_secret() 572 auth, auth_len); in ikev2_process_auth_secret() 588 const u8 *auth, size_t auth_len) in ikev2_process_auth() argument 597 if (auth_len < 4) { in ikev2_process_auth() 605 auth_len -= 4; in ikev2_process_auth() 613 auth_len); in ikev2_process_auth() 616 auth_len); in ikev2_process_auth() [all …]
|
| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | wpa_auth_ft.c | 532 size_t plain_len = 0, auth_len = 0; in wpa_ft_rrb_build() local 559 pos = auth + auth_len; in wpa_ft_rrb_build() 565 auth_len += pad_len; in wpa_ft_rrb_build() 573 WPA_PUT_LE16(pos, auth_len); in wpa_ft_rrb_build() 575 os_memcpy(pos, auth, auth_len); in wpa_ft_rrb_build() 576 pos += auth_len; in wpa_ft_rrb_build() 916 size_t auth_len; member 920 const u8 *auth, size_t auth_len, 1014 if (auth && auth_len > 0) { in wpa_ft_rrb_seq_req() 1016 item->auth_len = auth_len; in wpa_ft_rrb_seq_req() [all …]
|
| H A D | ieee802_11.c | 7976 size_t nontx_profile_len, auth_len; in hostapd_eid_mbssid_elem_len() local 7996 auth = wpa_auth_get_wpa_ie(bss->wpa_auth, &auth_len); in hostapd_eid_mbssid_elem_len() 7998 rsn = get_ie(auth, auth_len, WLAN_EID_RSN); in hostapd_eid_mbssid_elem_len() 8002 rsnx = get_ie(auth, auth_len, WLAN_EID_RSNX); in hostapd_eid_mbssid_elem_len() 8106 size_t auth_len = 0; in hostapd_eid_mbssid_elem() local 8150 auth = wpa_auth_get_wpa_ie(bss->wpa_auth, &auth_len); in hostapd_eid_mbssid_elem() 8152 rsn = get_ie(auth, auth_len, WLAN_EID_RSN); in hostapd_eid_mbssid_elem() 8158 rsnx = get_ie(auth, auth_len, WLAN_EID_RSNX); in hostapd_eid_mbssid_elem()
|
| /freebsd-14.2/contrib/wpa/src/eap_common/ |
| H A D | eap_eke_common.c | 411 os_memset(zeros, 0, sess->auth_len); in eap_eke_shared_secret() 412 if (eap_eke_prf(sess->prf, zeros, sess->auth_len, modexp, dh->prime_len, in eap_eke_shared_secret() 416 sess->shared_secret, sess->auth_len); in eap_eke_shared_secret() 691 sess->ka, sess->auth_len); in eap_eke_auth() 693 return eap_eke_prf(sess->prf, sess->ka, sess->auth_len, in eap_eke_auth() 709 sess->auth_len = eap_eke_auth_len(prf); in eap_eke_session_init() 713 if (sess->prf_len < 0 || sess->nonce_len < 0 || sess->auth_len < 0 || in eap_eke_session_init()
|
| H A D | eap_eke_common.h | 75 int auth_len; member
|
| H A D | ikev2_common.h | 307 size_t auth_len; member
|
| H A D | ikev2_common.c | 313 payloads->auth_len = pdatalen; in ikev2_parse_payloads()
|
| /freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 434 ccmp.ulAuthDataSize = auth_len; in zio_do_crypt_uio() 445 gcmp.ulAADLen = auth_len; in zio_do_crypt_uio() 1580 *auth_len = aad_len; in zio_crypt_init_uios_zil() 1605 *auth_len = 0; in zio_crypt_init_uios_zil() 1768 *auth_len = aad_len; in zio_crypt_init_uios_dnode() 1793 *auth_len = 0; in zio_crypt_init_uios_dnode() 1883 auth_len, no_crypt); in zio_crypt_init_uios() 1889 *auth_len = 0; in zio_crypt_init_uios() 1924 uint_t enc_len, auth_len; in zio_do_crypt_data() local 1996 &authbuf, &auth_len, no_crypt); in zio_do_crypt_data() [all …]
|
| /freebsd-14.2/crypto/openssh/ |
| H A D | cipher.c | 72 u_int auth_len; member 126 if (auth_only && c->auth_len == 0) in cipher_alg_list() 176 return (c->auth_len); in cipher_authlen()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | sctp_input.c | 1336 int auth_skipped, uint32_t auth_offset, uint32_t auth_len, 1742 auth_skipped, auth_offset, auth_len, in sctp_process_cookie_existing() 2100 if (auth_len <= SCTP_CHUNK_BUFFER_SIZE) { in sctp_process_cookie_new() 2534 auth_skipped, auth_offset, auth_len, in sctp_handle_cookie_echo() 2543 ¬ification, auth_skipped, auth_offset, auth_len, in sctp_handle_cookie_echo() 4335 uint32_t auth_offset = 0, auth_len = 0; in sctp_process_control() local 4380 auth_len = ntohs(ch->chunk_length); in sctp_process_control() 4383 *offset += SCTP_SIZE32(auth_len); in sctp_process_control() 4438 if (auth_len <= SCTP_CHUNK_BUFFER_SIZE) { in sctp_process_control() 4922 auth_len, in sctp_process_control() [all …]
|
| /freebsd-14.2/sys/dev/qat_c2xxx/ |
| H A D | qat_hw15reg.h | 620 uint32_t auth_len; member
|
| H A D | qat_hw15.c | 885 auth_req->auth_len = crp->crp_payload_length; in qat_hw15_crypto_setup_req_params() 955 auth_req->auth_len = in qat_hw15_crypto_setup_req_params()
|
| /freebsd-14.2/sys/dev/qat/qat_api/firmware/include/ |
| H A D | icp_qat_fw_la.h | 1703 uint32_t auth_len; member
|
| /freebsd-14.2/sys/dev/qat/qat_api/common/crypto/sym/qat/ |
| H A D | lac_sym_qat_hash.c | 878 pHashReqParams->auth_len = authLenInBytes; in LacSymQat_HashRequestParamsPopulate()
|