Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/vmx/
Daes_ctr.c97 u8 keystream[AES_BLOCK_SIZE]; in p8_aes_ctr_final() local
105 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); in p8_aes_ctr_final()
108 crypto_xor(keystream, src, nbytes); in p8_aes_ctr_final()
109 memcpy(dst, keystream, nbytes); in p8_aes_ctr_final()
/linux-4.4.14/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.4.14/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.c253 u8 keystream[CAST5_BLOCK_SIZE]; in ctr_crypt_final() local
258 __cast5_encrypt(ctx, keystream, ctrblk); in ctr_crypt_final()
259 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
260 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
Daesni-intel_glue.c475 u8 keystream[AES_BLOCK_SIZE]; in ctr_crypt_final() local
480 aesni_enc(ctx, keystream, ctrblk); in ctr_crypt_final()
481 crypto_xor(keystream, src, nbytes); in ctr_crypt_final()
482 memcpy(dst, keystream, nbytes); in ctr_crypt_final()
/linux-4.4.14/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()