Lines Matching defs:sp
155 u_int8_t sbuf[MAX_SBUF_LEN] __attribute__((aligned(4))), *sp, *sp_unaligned;
197 sp = dptr = NULL;
220 sp = mtod(s, u_int8_t *) + sn;
226 sp = sbuf;
275 // check input pointer alignment and use a separate aligned buffer (if sp is unaligned on 4-byte boundary).
276 if (IPSEC_IS_P2ALIGNED(sp)) {
279 sp_unaligned = sp;
280 sp = sbuf;
281 memcpy(sp, sp_unaligned, len);
284 aes_decrypt_cbc(sp, iv, len >> 4, dptr + dn,
289 sp = sp_unaligned;
297 bcopy(sp + len - AES_BLOCKLEN, iv, AES_BLOCKLEN);
335 u_int8_t sbuf[MAX_SBUF_LEN] __attribute__((aligned(4))), *sp, *sp_unaligned;
378 sp = dptr = NULL;
401 sp = mtod(s, u_int8_t *) + sn;
407 sp = sbuf;
456 // check input pointer alignment and use a separate aligned buffer (if sp is not aligned on 4-byte boundary).
457 if (IPSEC_IS_P2ALIGNED(sp)) {
460 sp_unaligned = sp;
461 sp = sbuf;
462 memcpy(sp, sp_unaligned, len);
473 aes_encrypt_cbc(sp, ivp, len >> 4, dptr + dn,
478 sp = sp_unaligned;