Home
last modified time | relevance | path

Searched refs:auth_size (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.81.4/bsd/netinet6/
H A Desp_output.c986 size_t auth_size = 0, add_ip_len = 0; in esp_kpipe_output() local
1104 auth_size = e_algo->icvlen; in esp_kpipe_output()
1108 auth_size = ((a_algo->sumsiz)(sav) + 3) & ~(4 - 1); in esp_kpipe_output()
1109 if (__improbable(auth_size > AH_MAXSUMSIZE)) { in esp_kpipe_output()
1111 auth_size); in esp_kpipe_output()
1122 size_t total_len = iphlen + esphlen + plen + extendsiz + auth_size; in esp_kpipe_output()
1146 add_ip_len = esphlen + extendsiz + auth_size; in esp_kpipe_output()
1235 auth_size)) != 0)) { in esp_kpipe_output()
1242 } else if (sav->key_auth != NULL && auth_size > 0) { in esp_kpipe_output()
1244 esphlen + plen + extendsiz, auth_buf, auth_size)) != 0)) { in esp_kpipe_output()
H A Desp_input.c1741 size_t auth_size = 0; in esp_kpipe_input() local
1934 auth_size = (((*a_algo->sumsiz)(sav) + 3) & ~(4 - 1)); in esp_kpipe_input()
1935 VERIFY(auth_size < AH_MAXSUMSIZE); in esp_kpipe_input()
1937 if (__improbable(slen < iphlen + esphlen + auth_size)) { in esp_kpipe_input()
1949 uint8_t *auth_buf = dbaddr + dlim - auth_size; in esp_kpipe_input()
1951 slen - iphlen - auth_size, auth_buf, auth_size)) != 0)) { in esp_kpipe_input()
1959 if (__improbable(cc_cmp_safe(auth_size, auth_buf, in esp_kpipe_input()
1960 sbaddr + slen - auth_size) != 0)) { in esp_kpipe_input()
1971 auth_size = e_algo->icvlen; in esp_kpipe_input()
1975 auth_size))) { in esp_kpipe_input()
[all …]
H A Desp_core.c1576 uint8_t *out_auth, size_t auth_size) in esp_auth_data() argument
1606 if (__improbable(auth_size < siz)) { in esp_auth_data()
1631 (*algo->result)(&state, (caddr_t)out_auth, auth_size); in esp_auth_data()