| /freebsd-12-stable/sys/mips/cavium/cryptocteon/ |
| D | cavium_crypto.c | 329 int auth_off, int auth_len, in octo_des_cbc_encrypt() argument 343 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_des_cbc_encrypt() 388 int auth_off, int auth_len, in octo_des_cbc_decrypt() argument 402 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_des_cbc_decrypt() 448 int auth_off, int auth_len, in octo_aes_cbc_encrypt() argument 462 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_aes_cbc_encrypt() 517 int auth_off, int auth_len, in octo_aes_cbc_decrypt() argument 531 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in octo_aes_cbc_decrypt() 588 int auth_off, int auth_len, in octo_null_md5_encrypt() argument 595 int data_i, data_l, alen = auth_len; in octo_null_md5_encrypt() [all …]
|
| D | cryptocteonvar.h | 37 …*od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, i… 38 …*od, struct iovec *iov, size_t iovcnt, size_t iovlen, int auth_off, int auth_len, int crypt_off, i…
|
| D | cryptocteon.c | 272 int auth_off = 0, auth_len = 0, crypt_off = 0, crypt_len = 0, icv_off = 0; in cryptocteon_process() local 348 auth_len = maccrd->crd_len; in cryptocteon_process() 356 auth_len = maccrd->crd_len; in cryptocteon_process() 415 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in cryptocteon_process() 418 auth_off, auth_len, crypt_off, crypt_len, icv_off, ivp); in cryptocteon_process()
|
| /freebsd-12-stable/sys/crypto/aesni/ |
| D | aesni_ccm.c | 89 cbc_mac_start(const unsigned char *auth_data, size_t auth_len, in cbc_mac_start() argument 106 byte_ptr[0] = ((auth_len > 0) ? 1 : 0) * 64 | in cbc_mac_start() 113 if (auth_len != 0) { in cbc_mac_start() 128 KASSERT(auth_len < (1ULL << 32), in cbc_mac_start() 130 __FUNCTION__, auth_len)); in cbc_mac_start() 132 if (auth_len < ((1 << 16) - (1 << 8))) { in cbc_mac_start() 139 be16enc(&staging_block, auth_len); in cbc_mac_start() 141 } else if (auth_len < (1ULL << 32)) { in cbc_mac_start() 148 be32enc((char*)&staging_block + 2, auth_len); in cbc_mac_start() 158 copy_amt = MIN(auth_len, in cbc_mac_start() [all …]
|
| /freebsd-12-stable/contrib/tcpdump/ |
| D | print-bfd.c | 98 uint8_t auth_len; member 189 bfd_auth_header->auth_len)); in auth_print() 206 if (bfd_auth_header->auth_len < AUTH_PASSWORD_FIELD_MIN_LEN || in auth_print() 207 bfd_auth_header->auth_len > AUTH_PASSWORD_FIELD_MAX_LEN) { in auth_print() 209 bfd_auth_header->auth_len)); in auth_print() 215 if (fn_printn(ndo, pptr, bfd_auth_header->auth_len - 3, in auth_print() 236 if (bfd_auth_header->auth_len != AUTH_MD5_FIELD_LEN) { in auth_print() 238 bfd_auth_header->auth_len)); in auth_print() 267 if (bfd_auth_header->auth_len != AUTH_SHA1_FIELD_LEN) { in auth_print() 269 bfd_auth_header->auth_len)); in auth_print()
|
| /freebsd-12-stable/sys/rpc/ |
| D | svc_auth_unix.c | 73 u_int auth_len; in _svcauth_unix() local 78 auth_len = (u_int)msg->rm_call.cb_cred.oa_length; in _svcauth_unix() 79 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len, in _svcauth_unix() 81 buf = XDR_INLINE(&xdrs, auth_len); in _svcauth_unix() 113 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 115 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
| /freebsd-12-stable/lib/libc/rpc/ |
| D | svc_auth_unix.c | 72 u_int auth_len; in _svcauth_unix() local 83 auth_len = (u_int)msg->rm_call.cb_cred.oa_length; in _svcauth_unix() 84 xdrmem_create(&xdrs, msg->rm_call.cb_cred.oa_base, auth_len,XDR_DECODE); in _svcauth_unix() 85 buf = XDR_INLINE(&xdrs, auth_len); in _svcauth_unix() 112 if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { in _svcauth_unix() 114 (long)gid_len, (long)str_len, auth_len); in _svcauth_unix()
|
| /freebsd-12-stable/contrib/wpa/src/ap/ |
| D | wpa_auth_ft.c | 72 const u8 *auth, const size_t auth_len, in wpa_ft_rrb_decrypt() argument 77 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_decrypt() 83 wpa_hexdump(MSG_DEBUG, "FT(RRB): authenticated TLVs", auth, auth_len); in wpa_ft_rrb_decrypt() 476 const u8 *auth, const size_t auth_len, in wpa_ft_rrb_encrypt() argument 480 size_t ad_len[3] = { ETH_ALEN, auth_len, sizeof(type) }; in wpa_ft_rrb_encrypt() 487 wpa_hexdump(MSG_DEBUG, "FT(RRB): authenticated TLVs", auth, auth_len); in wpa_ft_rrb_encrypt() 528 size_t plain_len = 0, auth_len = 0; in wpa_ft_rrb_build() local 536 if (wpa_ft_rrb_lin(tlvs_auth, NULL, NULL, &auth, &auth_len) < 0) in wpa_ft_rrb_build() 539 *packet_len = sizeof(u16) + auth_len + plain_len; in wpa_ft_rrb_build() 551 tmp = os_realloc(auth, auth_len + pad_len); in wpa_ft_rrb_build() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/eap_peer/ |
| 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() 608 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Authentication Data", auth, auth_len); in ikev2_process_auth() 613 auth_len); in ikev2_process_auth() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/eap_server/ |
| 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() 672 wpa_hexdump(MSG_MSGDUMP, "IKEV2: Authentication Data", auth, auth_len); in ikev2_process_auth() 677 auth_len); in ikev2_process_auth() [all …]
|
| /freebsd-12-stable/contrib/wpa/src/eap_common/ |
| 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()
|
| D | eap_eke_common.h | 75 int auth_len; member
|
| D | ikev2_common.h | 307 size_t auth_len; member
|
| D | ikev2_common.c | 313 payloads->auth_len = pdatalen; in ikev2_parse_payloads()
|
| /freebsd-12-stable/crypto/openssh/ |
| 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-12-stable/sys/netinet/ |
| D | sctp_input.c | 1412 int auth_skipped, uint32_t auth_offset, uint32_t auth_len, 1429 int auth_skipped, uint32_t auth_offset, uint32_t auth_len, in sctp_process_cookie_existing() argument 1806 auth_skipped, auth_offset, auth_len, in sctp_process_cookie_existing() 2008 int auth_skipped, uint32_t auth_offset, uint32_t auth_len, in sctp_process_cookie_new() argument 2156 if (auth_len <= SCTP_CHUNK_BUFFER_SIZE) { in sctp_process_cookie_new() 2157 auth = (struct sctp_auth_chunk *)sctp_m_getptr(m, auth_offset, auth_len, auth_chunk_buf); in sctp_process_cookie_new() 2304 int auth_skipped, uint32_t auth_offset, uint32_t auth_len, in sctp_handle_cookie_echo() argument 2592 auth_skipped, auth_offset, auth_len, in sctp_handle_cookie_echo() 2601 ¬ification, auth_skipped, auth_offset, auth_len, in sctp_handle_cookie_echo() 4397 uint32_t auth_offset = 0, auth_len = 0; in sctp_process_control() local [all …]
|
| /freebsd-12-stable/sys/dev/qat/ |
| D | qat_hw17.c | 614 auth_param->auth_len = enc->crd_len; in qat_hw17_crypto_setup_req_params() 646 auth_param->auth_len = mac->crd_len; in qat_hw17_crypto_setup_req_params()
|
| D | qat_hw15reg.h | 621 uint32_t auth_len; member
|
| D | qat_hw15.c | 876 auth_req->auth_len = enc->crd_len; in qat_hw15_crypto_setup_req_params() 940 auth_req->auth_len = mac->crd_len; in qat_hw15_crypto_setup_req_params()
|
| D | qat_hw17reg.h | 1904 uint32_t auth_len; member
|