Home
last modified time | relevance | path

Searched refs:keystream (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/crypto/
Dctr.c34 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final() local
39 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final()
40 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final()
82 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace() local
86 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
87 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
DKconfig436 stream cipher. It generates keystream blocks, which are then XORed
/Linux-v5.10/drivers/crypto/vmx/
Daes_ctr.c73 u8 keystream[AES_BLOCK_SIZE]; in p8_aes_ctr_final() local
81 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
86 crypto_xor_cpy(dst, keystream, src, nbytes); in p8_aes_ctr_final()
/Linux-v5.10/arch/x86/crypto/
Dcast5_avx_glue.c220 u8 keystream[CAST5_BLOCK_SIZE]; in ctr_crypt_final() local
225 __cast5_encrypt(ctx, keystream, ctrblk); in ctr_crypt_final()
226 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Dblowfish_glue.c253 u8 keystream[BF_BLOCK_SIZE]; in ctr_crypt_final() local
258 blowfish_enc_blk(ctx, keystream, ctrblk); in ctr_crypt_final()
259 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Ddes3_ede_glue.c260 u8 keystream[DES3_EDE_BLOCK_SIZE]; in ctr_crypt_final() local
265 des3_ede_enc_blk(ctx, keystream, ctrblk); in ctr_crypt_final()
266 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Daesni-intel_glue.c462 u8 keystream[AES_BLOCK_SIZE]; in ctr_crypt_final() local
467 aesni_enc(ctx, keystream, ctrblk); in ctr_crypt_final()
468 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
/Linux-v5.10/arch/sparc/crypto/
Daes_glue.c323 u64 keystream[AES_BLOCK_SIZE / sizeof(u64)]; in ctr_crypt_final() local
329 keystream, AES_BLOCK_SIZE); in ctr_crypt_final()
330 crypto_xor_cpy(dst, (u8 *) keystream, src, nbytes); in ctr_crypt_final()