Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/crypto/vmx/
Daes_ctr.c94 u8 keystream[AES_BLOCK_SIZE]; in p8_aes_ctr_final() local
102 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
107 crypto_xor_cpy(dst, keystream, src, nbytes); in p8_aes_ctr_final()
/Linux-v4.19/crypto/
Dctr.c62 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final() local
67 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final()
68 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final()
110 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace() local
114 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
115 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
/Linux-v4.19/arch/x86/crypto/
Dcast5_avx_glue.c235 u8 keystream[CAST5_BLOCK_SIZE]; in ctr_crypt_final() local
240 __cast5_encrypt(ctx, keystream, ctrblk); in ctr_crypt_final()
241 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Dblowfish_glue.c268 u8 keystream[BF_BLOCK_SIZE]; in ctr_crypt_final() local
273 blowfish_enc_blk(ctx, keystream, ctrblk); in ctr_crypt_final()
274 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Ddes3_ede_glue.c270 u8 keystream[DES3_EDE_BLOCK_SIZE]; in ctr_crypt_final() local
275 des3_ede_enc_blk(ctx, keystream, ctrblk); in ctr_crypt_final()
276 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
Daesni-intel_glue.c520 u8 keystream[AES_BLOCK_SIZE]; in ctr_crypt_final() local
525 aesni_enc(ctx, keystream, ctrblk); in ctr_crypt_final()
526 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
/Linux-v4.19/arch/sparc/crypto/
Daes_glue.c340 u64 keystream[AES_BLOCK_SIZE / sizeof(u64)]; in ctr_crypt_final() local
346 keystream, AES_BLOCK_SIZE); in ctr_crypt_final()
347 crypto_xor_cpy(dst, (u8 *) keystream, src, nbytes); in ctr_crypt_final()