Lines Matching refs:inblk
110 const unsigned char *inblk; in swcr_encdec() local
157 inblk = crypto_cursor_segbase(&cc_in); in swcr_encdec()
183 inblk = 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()
216 memcpy(nivp, inblk, blks); in swcr_encdec()
218 exf->decrypt(sw->sw_kschedule, inblk, outblk); in swcr_encdec()
229 inblk = crypto_cursor_segbase(&cc_in); in swcr_encdec()
233 inblk += blks; in swcr_encdec()
263 inblk = blk; in swcr_encdec()
265 inblk = crypto_cursor_segbase(&cc_in); 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()
395 const u_char *inblk; in swcr_gmac() local
420 inblk = crypto_cursor_segbase(&cc); in swcr_gmac()
426 inblk = blk; in swcr_gmac()
428 axf->Update(&ctx, inblk, len); in swcr_gmac()
472 const u_char *inblk; in swcr_gcm() local
523 inblk = crypto_cursor_segbase(&cc_in); in swcr_gcm()
529 inblk = blk; in swcr_gcm()
531 axf->Update(&ctx, inblk, len); in swcr_gcm()
553 inblk = blk; in swcr_gcm()
555 inblk = crypto_cursor_segbase(&cc_in); in swcr_gcm()
563 exf->encrypt(swe->sw_kschedule, inblk, outblk); in swcr_gcm()
570 axf->Update(&ctx, inblk, blksz); in swcr_gcm()
614 inblk = blk; in swcr_gcm()
616 inblk = crypto_cursor_segbase(&cc_in); in swcr_gcm()
623 exf->decrypt(swe->sw_kschedule, inblk, outblk); in swcr_gcm()
710 const u_char *inblk; in swcr_ccm() local
771 inblk = blk; in swcr_ccm()
773 inblk = crypto_cursor_segbase(&cc_in); in swcr_ccm()
781 axf->Update(&ctx, inblk, blksz); in swcr_ccm()
782 exf->encrypt(swe->sw_kschedule, inblk, outblk); in swcr_ccm()
796 exf->decrypt(swe->sw_kschedule, inblk, blk); in swcr_ccm()
838 inblk = blk; in swcr_ccm()
840 inblk = crypto_cursor_segbase(&cc_in); in swcr_ccm()
847 exf->decrypt(swe->sw_kschedule, inblk, outblk); in swcr_ccm()