Home
last modified time | relevance | path

Searched refs:newesp (Results 1 – 7 of 7) sorted by relevance

/xnu-8020.140.41/bsd/netinet6/
H A Desp_rijndael.c178 ivoff = off + sizeof(struct newesp); in esp_cbc_decrypt_aes()
179 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_decrypt_aes()
393 ivoff = off + sizeof(struct newesp); in esp_cbc_encrypt_aes()
394 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_encrypt_aes()
687 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_encrypt_aes()
695 struct newesp esp; in esp_gcm_encrypt_aes()
931 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_decrypt_aes()
940 struct newesp esp; in esp_gcm_decrypt_aes()
H A Desp_chachapoly.c274 const int32_t ivoff = (int32_t)off + (int32_t)sizeof(struct newesp); // IV offset in esp_chachapoly_encrypt()
277 struct newesp esp_hdr; // ESP header for AAD in esp_chachapoly_encrypt()
421 const int32_t ivoff = (int32_t)off + (int32_t)sizeof(struct newesp); // IV offset in esp_chachapoly_decrypt()
424 struct newesp esp_hdr; // ESP header for AAD in esp_chachapoly_decrypt()
H A Desp_output.c185 hdrsiz = sizeof(struct newesp) + ivlen + maxpad + authlen; in esp_hdrsiz()
211 return sizeof(struct newesp) + esp_max_ivlen() + 17 + AH_MAXSUMSIZE + sizeof(struct udphdr); in esp_hdrsiz()
369 esplen = sizeof(struct newesp); in esp_output()
568 struct newesp *nesp; in esp_output()
569 nesp = (struct newesp *)esp; in esp_output()
H A Desp_input.c131 (sizeof(struct esp) < sizeof(struct newesp) \
132 ? sizeof(struct newesp) : sizeof(struct esp))
311 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended()
424 esplen = sizeof(struct newesp); in esp4_input_extended()
979 (u_int32_t)ntohl(spi), (u_int32_t)ntohl(spi), ntohl(((struct newesp *)esp)->esp_seq), in esp6_input_extended()
1021 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp6_input_extended()
1128 esplen = sizeof(struct newesp); in esp6_input_extended()
1601 const struct newesp *espp; in esp6_ctlinput()
1602 struct newesp esp; in esp6_ctlinput()
1666 espp = (struct newesp*)(void *)(mtod(m, caddr_t) + off); in esp6_ctlinput()
H A Desp.h81 struct newesp { struct
H A Desp_core.c744 ivoff = off + sizeof(struct newesp); in esp_cbc_decrypt()
745 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_decrypt()
982 ivoff = off + sizeof(struct newesp); in esp_cbc_encrypt()
983 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_encrypt()
/xnu-8020.140.41/bsd/net/
H A Dbpf.c145 #define ESP_HDR_SIZE sizeof(struct newesp)