Home
last modified time | relevance | path

Searched refs:ctfm (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/fs/ext4/
Dcrypto_fname.c65 struct crypto_ablkcipher *tfm = ctx->ctfm; in ext4_fname_encrypt()
143 struct crypto_ablkcipher *tfm = ctx->ctfm; in ext4_fname_decrypt()
266 if (ctx->ctfm && !IS_ERR(ctx->ctfm)) in ext4_free_fname_crypto_ctx()
267 crypto_free_ablkcipher(ctx->ctfm); in ext4_free_fname_crypto_ctx()
323 ctx->ctfm = NULL; in ext4_alloc_fname_crypto_ctx()
373 if (ctx->ctfm == NULL) { in ext4_get_fname_crypto_ctx()
374 ctx->ctfm = crypto_alloc_ablkcipher("cts(cbc(aes))", in ext4_get_fname_crypto_ctx()
377 if (IS_ERR(ctx->ctfm)) { in ext4_get_fname_crypto_ctx()
378 res = PTR_ERR(ctx->ctfm); in ext4_get_fname_crypto_ctx()
382 ctx->ctfm = NULL; in ext4_get_fname_crypto_ctx()
[all …]
Dext4_crypto.h127 struct crypto_ablkcipher *ctfm; member
/linux-4.1.27/drivers/crypto/
Datmel-tdes.c782 struct crypto_tfm *ctfm = crypto_ablkcipher_tfm(tfm); in atmel_des_setkey() local
792 if (err == 0 && (ctfm->crt_flags & CRYPTO_TFM_REQ_WEAK_KEY)) { in atmel_des_setkey()
793 ctfm->crt_flags |= CRYPTO_TFM_RES_WEAK_KEY; in atmel_des_setkey()
/linux-4.1.27/drivers/crypto/caam/
Dcaamalg.c454 struct crypto_tfm *ctfm = crypto_aead_tfm(aead); in aead_set_sh_desc() local
455 const char *alg_name = crypto_tfm_alg_name(ctfm); in aead_set_sh_desc()