Lines Matching refs:thisp
40 cbc_xorblock(uint8_t *lastp, uint8_t *thisp, int blocksize) in cbc_xorblock() argument
46 if (IS_P2ALIGNED(thisp, sizeof (uint32_t)) && in cbc_xorblock()
50 this32p = (uint32_t *)thisp; in cbc_xorblock()
60 thisp[i] ^= lastp[i]; in cbc_xorblock()
70 uint8_t *thisp; in cbc_encrypt() local
77 thisp = data; in cbc_encrypt()
81 cbc_xorblock(lastp, thisp, ch->blocklen); in cbc_encrypt()
83 ch->encrypt(ch->ks, thisp); in cbc_encrypt()
84 lastp = thisp; in cbc_encrypt()
85 thisp += ch->blocklen; in cbc_encrypt()
98 uint8_t *thisp; in cbc_decrypt() local
105 thisp = data; in cbc_decrypt()
111 bcopy(thisp, cbcblock, ch->blocklen); in cbc_decrypt()
114 ch->decrypt(ch->ks, thisp); in cbc_decrypt()
116 cbc_xorblock(lastp, thisp, ch->blocklen); in cbc_decrypt()
120 thisp += ch->blocklen; in cbc_decrypt()