Lines Matching refs:ivp
334 u_int8_t *ivp, *dptr, *ivp_unaligned;
359 ivp = (u_int8_t *) sav->iv;
464 // check ivp pointer alignment and use a separate aligned buffer (if ivp is not aligned on 4-byte boundary).
465 if (IPSEC_IS_P2ALIGNED(ivp)) {
468 ivp_unaligned = ivp;
469 ivp = ivp_aligned_buf;
470 memcpy(ivp, ivp_unaligned, len);
473 aes_encrypt_cbc(sp, ivp, len >> 4, dptr + dn,
481 ivp = ivp_unaligned;
489 ivp = dptr + dn - AES_BLOCKLEN; // last block encrypted