Home
last modified time | relevance | path

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

/Linux-v5.15/crypto/
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()
/Linux-v5.15/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()
741 if (ctrblk) in paes_s390_fini()
742 free_page((unsigned long) ctrblk); in paes_s390_fini()
780 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in paes_s390_init()
781 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()
980 if (ctrblk) in aes_s390_fini()
981 free_page((unsigned long) ctrblk); in aes_s390_fini()
1027 ctrblk = (u8 *) __get_free_page(GFP_KERNEL); in aes_s390_init()
1028 if (!ctrblk) { in aes_s390_init()
/Linux-v5.15/drivers/crypto/vmx/
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()
/Linux-v5.15/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()