Searched refs:ctfm (Results 1 – 4 of 4) sorted by relevance
65 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 …]
127 struct crypto_ablkcipher *ctfm; member
782 struct crypto_tfm *ctfm = crypto_ablkcipher_tfm(tfm); in atmel_des_setkey() local792 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()
454 struct crypto_tfm *ctfm = crypto_aead_tfm(aead); in aead_set_sh_desc() local455 const char *alg_name = crypto_tfm_alg_name(ctfm); in aead_set_sh_desc()