Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/netinet6/
H A Desp_rijndael.h72 struct newesp *,
77 struct newesp *,
91 struct newesp *,
96 struct newesp *,
H A Desp.h81 struct newesp { struct
146 struct newesp *, uint8_t *, size_t, uint8_t *, size_t);
148 struct newesp *, uint8_t *, size_t, uint8_t *, size_t);
H A Desp_chachapoly.h50 struct newesp *,
55 struct newesp *,
H A Desp_core.c146 struct newesp *,
151 struct newesp *,
156 struct newesp *,
161 struct newesp *,
166 struct newesp *,
171 struct newesp *,
462 __unused struct newesp *esp_hdr, in esp_null_encrypt_data()
475 __unused struct newesp *esp_hdr, in esp_null_decrypt_data()
820 ivoff = off + sizeof(struct newesp); in esp_cbc_decrypt()
821 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_decrypt()
[all …]
H A Desp_rijndael.c179 ivoff = off + sizeof(struct newesp); in esp_cbc_decrypt_aes()
180 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_decrypt_aes()
395 ivoff = off + sizeof(struct newesp); in esp_cbc_encrypt_aes()
396 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_encrypt_aes()
592 struct newesp *esp_hdr, in esp_aes_cbc_encrypt_data()
635 struct newesp *esp_hdr, in esp_aes_cbc_decrypt_data()
794 struct newesp esp; in esp_gcm_encrypt_aes()
798 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_encrypt_aes()
953 struct newesp esp; in esp_gcm_decrypt_aes()
957 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_decrypt_aes()
[all …]
H A Desp_chachapoly.c256 const int32_t ivoff = (int32_t)off + (int32_t)sizeof(struct newesp); // IV offset in esp_chachapoly_encrypt()
259 struct newesp esp_hdr; // ESP header for AAD in esp_chachapoly_encrypt()
401 const int32_t ivoff = (int32_t)off + (int32_t)sizeof(struct newesp); // IV offset in esp_chachapoly_decrypt()
404 struct newesp esp_hdr; // ESP header for AAD in esp_chachapoly_decrypt()
524 struct newesp *esp_hdr, in esp_chachapoly_encrypt_data()
617 struct newesp *esp_hdr, in esp_chachapoly_decrypt_data()
H A Desp_output.c189 hdrsiz = sizeof(struct newesp) + ivlen + maxpad + authlen; in esp_hdrsiz()
215 return sizeof(struct newesp) + esp_max_ivlen() + 17 + AH_MAXSUMSIZE + sizeof(struct udphdr); in esp_hdrsiz()
373 esplen = sizeof(struct newesp); in esp_output()
572 struct newesp *nesp; in esp_output()
573 nesp = (struct newesp *)esp; in esp_output()
975 struct newesp *esp = NULL; in esp_kpipe_output()
1084 iv = dbaddr + iphlen + sizeof(struct newesp); in esp_kpipe_output()
1087 esphlen = sizeof(struct newesp) + ivlen; in esp_kpipe_output()
1193 esp = (struct newesp *)(void *)(dbaddr + iphlen); in esp_kpipe_output()
H A Desp_input.c135 (sizeof(struct esp) < sizeof(struct newesp) \
136 ? sizeof(struct newesp) : sizeof(struct esp))
318 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended()
440 esplen = sizeof(struct newesp); in esp4_input_extended()
994 (u_int32_t)ntohl(spi), (u_int32_t)ntohl(spi), ntohl(((struct newesp *)esp)->esp_seq), in esp6_input_extended()
1031 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp6_input_extended()
1148 esplen = sizeof(struct newesp); in esp6_input_extended()
1621 const struct newesp *espp; in esp6_ctlinput()
1622 struct newesp esp; in esp6_ctlinput()
1686 espp = (struct newesp*)(void *)(mtod(m, caddr_t) + off); in esp6_ctlinput()
[all …]
/xnu-12377.41.6/bsd/net/
H A Dbpf.c150 #define ESP_HDR_SIZE sizeof(struct newesp)