| /xnu-10002.1.13/bsd/netinet6/ ! |
| H A D | esp_rijndael.h | 71 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 73 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 84 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 86 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t);
|
| H A D | esp.h | 81 struct newesp { struct 144 struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 146 struct newesp *, uint8_t *, size_t, uint8_t *, size_t);
|
| H A D | esp_chachapoly.h | 49 struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 51 struct newesp *, uint8_t *, size_t, uint8_t *, size_t);
|
| H A D | esp_core.c | 141 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 143 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 145 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 147 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 149 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 151 size_t, struct newesp *, uint8_t *, size_t, uint8_t *, size_t); 437 __unused struct newesp *esp_hdr, __unused uint8_t *out_iv, in esp_null_encrypt_data() 447 __unused struct newesp *esp_hdr, __unused uint8_t *iv, in esp_null_decrypt_data() 790 ivoff = off + sizeof(struct newesp); in esp_cbc_decrypt() 791 bodyoff = off + sizeof(struct newesp) + ivlen; in esp_cbc_decrypt() [all …]
|
| H A D | esp_rijndael.c | 178 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() 589 size_t input_data_len, struct newesp *esp_hdr, uint8_t *out_iv, in esp_aes_cbc_encrypt_data() 630 size_t input_data_len, struct newesp *esp_hdr, uint8_t *iv, in esp_aes_cbc_decrypt_data() 778 struct newesp esp; in esp_gcm_encrypt_aes() 782 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_encrypt_aes() 937 struct newesp esp; in esp_gcm_decrypt_aes() 941 const size_t ivoff = off + sizeof(struct newesp); in esp_gcm_decrypt_aes() [all …]
|
| H A D | esp_chachapoly.c | 256 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() 523 size_t input_data_len, struct newesp *esp_hdr, uint8_t *out_iv, in esp_chachapoly_encrypt_data() 614 size_t input_data_len, struct newesp *esp_hdr, uint8_t *iv, size_t ivlen, in esp_chachapoly_decrypt_data()
|
| H A D | esp_output.c | 189 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 D | esp_input.c | 135 (sizeof(struct esp) < sizeof(struct newesp) \ 136 ? sizeof(struct newesp) : sizeof(struct esp)) 315 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp4_input_extended() 437 esplen = sizeof(struct newesp); in esp4_input_extended() 989 (u_int32_t)ntohl(spi), (u_int32_t)ntohl(spi), ntohl(((struct newesp *)esp)->esp_seq), in esp6_input_extended() 1033 seq = ntohl(((struct newesp *)esp)->esp_seq); in esp6_input_extended() 1150 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-10002.1.13/bsd/net/ ! |
| H A D | bpf.c | 151 #define ESP_HDR_SIZE sizeof(struct newesp)
|