Home
last modified time | relevance | path

Searched refs:enc_ctx (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/fs/ext4/
Ddir.c113 struct ext4_fname_crypto_ctx *enc_ctx = NULL; in ext4_readdir() local
137 enc_ctx = ext4_get_fname_crypto_ctx(inode, EXT4_NAME_LEN); in ext4_readdir()
138 if (IS_ERR(enc_ctx)) in ext4_readdir()
139 return PTR_ERR(enc_ctx); in ext4_readdir()
140 if (enc_ctx) { in ext4_readdir()
141 err = ext4_fname_crypto_alloc_buffer(enc_ctx, EXT4_NAME_LEN, in ext4_readdir()
144 ext4_put_fname_crypto_ctx(&enc_ctx); in ext4_readdir()
242 if (enc_ctx == NULL) { in ext4_readdir()
251 err = ext4_fname_disk_to_usr(enc_ctx, in ext4_readdir()
275 ext4_put_fname_crypto_ctx(&enc_ctx); in ext4_readdir()
/linux-4.1.27/arch/x86/crypto/
Ddes3_ede_glue.c47 u32 *enc_ctx = ctx->enc_expkey; in des3_ede_enc_blk() local
49 des3_ede_x86_64_crypt_blk(enc_ctx, dst, src); in des3_ede_enc_blk()
63 u32 *enc_ctx = ctx->enc_expkey; in des3_ede_enc_blk_3way() local
65 des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src); in des3_ede_enc_blk_3way()
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dqat_algs.c287 struct qat_enc *enc_ctx = &ctx->enc_cd->qat_enc_cd; in qat_alg_aead_init_enc_session() local
288 struct icp_qat_hw_cipher_algo_blk *cipher = &enc_ctx->cipher; in qat_alg_aead_init_enc_session()
290 (struct icp_qat_hw_auth_algo_blk *)((char *)enc_ctx + in qat_alg_aead_init_enc_session()