Home
last modified time | relevance | path

Searched refs:ctrblk (Results 1 – 4 of 4) sorted by relevance

/arch/s390/crypto/
Ddes_s390.c25 static u8 *ctrblk; variable
333 n = __ctrblk_init(ctrblk, walk.iv, nbytes); in ctr_desall_crypt()
334 ctrptr = (n > DES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_desall_crypt()
337 if (ctrptr == ctrblk) in ctr_desall_crypt()
429 if (ctrblk) in des_s390_exit()
430 free_page((unsigned long) ctrblk); in des_s390_exit()
471 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in des_s390_init()
472 if (!ctrblk) { in des_s390_init()
Dpaes_s390.c40 static u8 *ctrblk; variable
663 n = __ctrblk_init(ctrblk, walk.iv, nbytes); in ctr_paes_crypt()
664 ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_paes_crypt()
668 if (ctrptr == ctrblk) in ctr_paes_crypt()
743 if (ctrblk) in paes_s390_fini()
744 free_page((unsigned long) ctrblk); in paes_s390_fini()
782 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in paes_s390_init()
783 if (!ctrblk) { in paes_s390_init()
Daes_s390.c37 static u8 *ctrblk; variable
588 n = __ctrblk_init(ctrblk, walk.iv, nbytes); in ctr_aes_crypt()
589 ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_aes_crypt()
592 if (ctrptr == ctrblk) in ctr_aes_crypt()
982 if (ctrblk) in aes_s390_fini()
983 free_page((unsigned long) ctrblk); in aes_s390_fini()
1029 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in aes_s390_init()
1030 if (!ctrblk) { in aes_s390_init()
/arch/sparc/crypto/
Daes_glue.c322 u8 *ctrblk = walk->iv; in ctr_crypt_final() local
328 ctx->ops->ecb_encrypt(&ctx->key[0], (const u64 *)ctrblk, in ctr_crypt_final()
331 crypto_inc(ctrblk, AES_BLOCK_SIZE); in ctr_crypt_final()