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

/linux-4.1.27/crypto/
H A Dctr.c62 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); crypto_ctr_crypt_final() local
67 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); crypto_ctr_crypt_final()
68 crypto_xor(keystream, src, nbytes); crypto_ctr_crypt_final()
69 memcpy(dst, keystream, nbytes); crypto_ctr_crypt_final()
86 /* create keystream */ crypto_ctr_crypt_segment()
111 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); crypto_ctr_crypt_inplace() local
114 /* create keystream */ crypto_ctr_crypt_inplace()
115 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); crypto_ctr_crypt_inplace() local
116 crypto_xor(src, keystream, bsize); crypto_ctr_crypt_inplace()
/linux-4.1.27/drivers/crypto/vmx/
H A Daes_ctr.c94 u8 keystream[AES_BLOCK_SIZE]; p8_aes_ctr_final() local
102 aes_p8_encrypt(ctrblk, keystream, &ctx->enc_key); p8_aes_ctr_final()
105 crypto_xor(keystream, src, nbytes); p8_aes_ctr_final()
106 memcpy(dst, keystream, nbytes); p8_aes_ctr_final()
/linux-4.1.27/arch/x86/crypto/
H A Dblowfish_glue.c268 u8 keystream[BF_BLOCK_SIZE]; ctr_crypt_final() local
273 blowfish_enc_blk(ctx, keystream, ctrblk); ctr_crypt_final()
274 crypto_xor(keystream, src, nbytes); ctr_crypt_final()
275 memcpy(dst, keystream, nbytes); ctr_crypt_final()
H A Dcast5_avx_glue.c254 u8 keystream[CAST5_BLOCK_SIZE]; ctr_crypt_final() local
259 __cast5_encrypt(ctx, keystream, ctrblk); ctr_crypt_final()
260 crypto_xor(keystream, src, nbytes); ctr_crypt_final()
261 memcpy(dst, keystream, nbytes); ctr_crypt_final()
H A Ddes3_ede_glue.c274 u8 keystream[DES3_EDE_BLOCK_SIZE]; ctr_crypt_final() local
279 des3_ede_enc_blk(ctx, keystream, ctrblk); ctr_crypt_final()
280 crypto_xor(keystream, src, nbytes); ctr_crypt_final()
281 memcpy(dst, keystream, nbytes); ctr_crypt_final()
H A Daesni-intel_glue.c474 u8 keystream[AES_BLOCK_SIZE]; ctr_crypt_final() local
479 aesni_enc(ctx, keystream, ctrblk); ctr_crypt_final()
480 crypto_xor(keystream, src, nbytes); ctr_crypt_final()
481 memcpy(dst, keystream, nbytes); ctr_crypt_final()
/linux-4.1.27/arch/sparc/crypto/
H A Daes_glue.c340 u64 keystream[AES_BLOCK_SIZE / sizeof(u64)]; ctr_crypt_final() local
346 keystream, AES_BLOCK_SIZE); ctr_crypt_final()
347 crypto_xor((u8 *) keystream, src, nbytes); ctr_crypt_final()
348 memcpy(dst, keystream, nbytes); ctr_crypt_final()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dcrypto.c113 * CCM uses Ax blocks to generate a keystream with which the MIC and

Completed in 98 milliseconds