Searched refs:sp_unaligned (Results 1 – 2 of 2) sorted by relevance
| /xnu-10002.1.13/bsd/netinet6/ |
| H A D | esp_rijndael.c | 160 u_int8_t sbuf[AES_BLOCKLEN] __attribute__((aligned(4))), *sp, *sp_unaligned, *sp_aligned = NULL; in esp_cbc_decrypt_aes() local 291 sp_unaligned = NULL; in esp_cbc_decrypt_aes() 293 sp_unaligned = sp; in esp_cbc_decrypt_aes() 316 memcpy(sp, sp_unaligned, len); in esp_cbc_decrypt_aes() 323 if (!IPSEC_IS_P2ALIGNED(sp_unaligned)) { in esp_cbc_decrypt_aes() 324 sp = sp_unaligned; in esp_cbc_decrypt_aes() 375 u_int8_t sbuf[AES_BLOCKLEN] __attribute__((aligned(4))), *sp, *sp_unaligned, *sp_aligned = NULL; in esp_cbc_encrypt_aes() local 507 sp_unaligned = NULL; in esp_cbc_encrypt_aes() 509 sp_unaligned = sp; in esp_cbc_encrypt_aes() 532 memcpy(sp, sp_unaligned, len); in esp_cbc_encrypt_aes() [all …]
|
| H A D | esp_core.c | 746 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; in esp_cbc_decrypt() local 915 sp_unaligned = NULL; in esp_cbc_decrypt() 917 sp_unaligned = sp; in esp_cbc_decrypt() 919 memcpy(sp, sp_unaligned, blocklen); in esp_cbc_decrypt() 925 if (!IPSEC_IS_P2ALIGNED(sp_unaligned)) { in esp_cbc_decrypt() 926 sp = sp_unaligned; in esp_cbc_decrypt() 984 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; in esp_cbc_encrypt() local 1167 sp_unaligned = NULL; in esp_cbc_encrypt() 1169 sp_unaligned = sp; in esp_cbc_encrypt() 1171 memcpy(sp, sp_unaligned, blocklen); in esp_cbc_encrypt() [all …]
|