Searched refs:sp_unaligned (Results 1 – 2 of 2) sorted by relevance
| /xnu-8792.41.9/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 | 700 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; in esp_cbc_decrypt() local 869 sp_unaligned = NULL; in esp_cbc_decrypt() 871 sp_unaligned = sp; in esp_cbc_decrypt() 873 memcpy(sp, sp_unaligned, blocklen); in esp_cbc_decrypt() 879 if (!IPSEC_IS_P2ALIGNED(sp_unaligned)) { in esp_cbc_decrypt() 880 sp = sp_unaligned; in esp_cbc_decrypt() 938 u_int8_t *sbuf = NULL, *sp, *sp_unaligned; in esp_cbc_encrypt() local 1121 sp_unaligned = NULL; in esp_cbc_encrypt() 1123 sp_unaligned = sp; in esp_cbc_encrypt() 1125 memcpy(sp, sp_unaligned, blocklen); in esp_cbc_encrypt() [all …]
|