Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Dctr.c33 u8 *ctrblk = walk->iv; in crypto_ctr_crypt_final() local
40 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final()
43 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_final()
52 u8 *ctrblk = walk->iv; in crypto_ctr_crypt_segment() local
59 fn(crypto_cipher_tfm(tfm), dst, ctrblk); in crypto_ctr_crypt_segment()
63 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_segment()
80 u8 *ctrblk = walk->iv; in crypto_ctr_crypt_inplace() local
87 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
91 crypto_inc(ctrblk, bsize); in crypto_ctr_crypt_inplace()
/openbmc/linux/arch/s390/crypto/
H A 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()
H A Dpaes_s390.c40 static u8 *ctrblk; variable
668 n = __ctrblk_init(ctrblk, walk.iv, nbytes); in ctr_paes_crypt()
669 ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_paes_crypt()
673 if (ctrptr == ctrblk) in ctr_paes_crypt()
748 if (ctrblk) in paes_s390_fini()
749 free_page((unsigned long) ctrblk); in paes_s390_fini()
787 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in paes_s390_init()
788 if (!ctrblk) { in paes_s390_init()
H A Daes_s390.c37 static u8 *ctrblk; variable
584 n = __ctrblk_init(ctrblk, walk.iv, nbytes); in ctr_aes_crypt()
585 ctrptr = (n > AES_BLOCK_SIZE) ? ctrblk : walk.iv; in ctr_aes_crypt()
588 if (ctrptr == ctrblk) in ctr_aes_crypt()
978 if (ctrblk) in aes_s390_fini()
979 free_page((unsigned long) ctrblk); in aes_s390_fini()
1025 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in aes_s390_init()
1026 if (!ctrblk) { in aes_s390_init()
/openbmc/linux/drivers/crypto/vmx/
H A Daes_ctr.c72 u8 *ctrblk = walk->iv; in p8_aes_ctr_final() local
81 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
87 crypto_inc(ctrblk, AES_BLOCK_SIZE); in p8_aes_ctr_final()
/openbmc/linux/arch/sparc/crypto/
H A 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()