Searched refs:ctrblk (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/crypto/ |
D | ctr.c | 33 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-v6.1/arch/s390/crypto/ |
D | des_s390.c | 25 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()
|
D | paes_s390.c | 40 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()
|
D | aes_s390.c | 37 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-v6.1/drivers/crypto/vmx/ |
D | aes_ctr.c | 72 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-v6.1/arch/sparc/crypto/ |
D | aes_glue.c | 322 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()
|