Lines Matching refs:outblk
111 unsigned char *outblk; in swcr_encdec() local
164 outblk = crypto_cursor_segbase(&cc_out); in swcr_encdec()
186 outblk = blk; in swcr_encdec()
194 exf->encrypt(sw->sw_kschedule, inblk, outblk); in swcr_encdec()
196 exf->decrypt(sw->sw_kschedule, inblk, outblk); in swcr_encdec()
200 outblk[i] = inblk[i] ^ ivp[i]; in swcr_encdec()
202 exf->encrypt(sw->sw_kschedule, outblk, outblk); in swcr_encdec()
208 memcpy(iv, outblk, blks); in swcr_encdec()
218 exf->decrypt(sw->sw_kschedule, inblk, outblk); in swcr_encdec()
222 outblk[i] ^= ivp[i]; in swcr_encdec()
239 outblk = crypto_cursor_segbase(&cc_out); in swcr_encdec()
243 outblk += blks; in swcr_encdec()
267 outblk = blk; in swcr_encdec()
269 outblk = crypto_cursor_segbase(&cc_out); in swcr_encdec()
271 exf->encrypt_last(sw->sw_kschedule, inblk, outblk, in swcr_encdec()
274 exf->decrypt_last(sw->sw_kschedule, inblk, outblk, in swcr_encdec()
473 u_char *outblk; in swcr_gcm() local
560 outblk = blk; in swcr_gcm()
562 outblk = crypto_cursor_segbase(&cc_out); in swcr_gcm()
563 exf->encrypt(swe->sw_kschedule, inblk, outblk); in swcr_gcm()
564 axf->Update(&ctx, outblk, blksz); in swcr_gcm()
565 if (outblk == blk) in swcr_gcm()
620 outblk = blk; in swcr_gcm()
622 outblk = crypto_cursor_segbase(&cc_out); in swcr_gcm()
623 exf->decrypt(swe->sw_kschedule, inblk, outblk); in swcr_gcm()
624 if (outblk == blk) in swcr_gcm()
711 u_char *outblk; in swcr_ccm() local
778 outblk = blk; in swcr_ccm()
780 outblk = crypto_cursor_segbase(&cc_out); in swcr_ccm()
782 exf->encrypt(swe->sw_kschedule, inblk, outblk); in swcr_ccm()
783 if (outblk == blk) in swcr_ccm()
844 outblk = blk; in swcr_ccm()
846 outblk = crypto_cursor_segbase(&cc_out); in swcr_ccm()
847 exf->decrypt(swe->sw_kschedule, inblk, outblk); in swcr_ccm()
848 if (outblk == blk) in swcr_ccm()