Lines Matching defs:tfm
132 struct crypto_skcipher *tfm;
493 desc->tfm = lmk->hash_tfm;
655 desc->tfm = tcw->crc32_tfm;
750 struct crypto_skcipher *tfm = any_tfm(cc);
758 reqsize = sizeof(*req) + crypto_skcipher_reqsize(tfm);
765 skcipher_request_set_tfm(req, tfm);
785 crypto_free_skcipher(elephant->tfm);
786 elephant->tfm = NULL;
795 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0,
797 if (IS_ERR(elephant->tfm)) {
798 r = PTR_ERR(elephant->tfm);
799 elephant->tfm = NULL;
962 req = skcipher_request_alloc(elephant->tfm, GFP_NOIO);
1054 return crypto_skcipher_setkey(elephant->tfm, &cc->key[key_offset], cc->key_extra_size);
1063 return crypto_skcipher_setkey(elephant->tfm, key, cc->key_extra_size);
2982 ti->error = "Error allocating crypto tfm";
3067 ti->error = "Error allocating crypto tfm";