Searched refs:keystream (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/kernel/crypto/ |
| H A D | ctr.c | 35 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_final() local 40 crypto_cipher_encrypt_one(tfm, keystream, ctrblk); in crypto_ctr_crypt_final() 41 crypto_xor_cpy(dst, keystream, src, nbytes); in crypto_ctr_crypt_final() 83 u8 *keystream = PTR_ALIGN(tmp + 0, alignmask + 1); in crypto_ctr_crypt_inplace() local 87 fn(crypto_cipher_tfm(tfm), keystream, ctrblk); in crypto_ctr_crypt_inplace() 88 crypto_xor(src, keystream, bsize); in crypto_ctr_crypt_inplace()
|
| H A D | Kconfig | 467 stream cipher. It generates keystream blocks, which are then XORed
|
| /OK3568_Linux_fs/kernel/drivers/crypto/vmx/ |
| H A D | aes_ctr.c | 73 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()
|
| /OK3568_Linux_fs/kernel/arch/x86/crypto/ |
| H A D | cast5_avx_glue.c | 220 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()
|
| H A D | blowfish_glue.c | 253 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()
|
| H A D | des3_ede_glue.c | 260 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()
|
| H A D | aesni-intel_glue.c | 465 u8 keystream[AES_BLOCK_SIZE]; in ctr_crypt_final() local 470 aesni_enc(ctx, keystream, ctrblk); in ctr_crypt_final() 471 crypto_xor_cpy(dst, keystream, src, nbytes); in ctr_crypt_final()
|
| /OK3568_Linux_fs/kernel/arch/sparc/crypto/ |
| H A D | aes_glue.c | 323 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()
|