Home
last modified time | relevance | path

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

/linux-4.1.27/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()
105 crypto_xor(keystream, src, nbytes); in p8_aes_ctr_final()
106 memcpy(dst, keystream, nbytes); in p8_aes_ctr_final()
/linux-4.1.27/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(keystream, src, nbytes); in crypto_ctr_crypt_final()
69 memcpy(dst, keystream, nbytes); in crypto_ctr_crypt_final()
111 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace() local
115 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace()
116 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
/linux-4.1.27/arch/x86/crypto/
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(keystream, src, nbytes); in ctr_crypt_final()
275 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
Ddes3_ede_glue.c274 u8 keystream[DES3_EDE_BLOCK_SIZE]; in ctr_crypt_final() local
279 des3_ede_enc_blk(ctx, keystream, ctrblk); in ctr_crypt_final()
280 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
281 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
Dcast5_avx_glue.c254 u8 keystream[CAST5_BLOCK_SIZE]; in ctr_crypt_final() local
259 __cast5_encrypt(ctx, keystream, ctrblk); in ctr_crypt_final()
260 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
261 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
Daesni-intel_glue.c474 u8 keystream[AES_BLOCK_SIZE]; in ctr_crypt_final() local
479 aesni_enc(ctx, keystream, ctrblk); in ctr_crypt_final()
480 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
481 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
/linux-4.1.27/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((u8 *) keystream, src, nbytes); in ctr_crypt_final()
348 memcpy(dst, keystream, nbytes); in ctr_crypt_final()