Lines Matching defs:tfm
134 struct crypto_skcipher *tfm;
496 desc->tfm = lmk->hash_tfm;
658 desc->tfm = tcw->crc32_tfm;
747 struct crypto_skcipher *tfm = any_tfm(cc);
755 reqsize = sizeof(*req) + crypto_skcipher_reqsize(tfm);
762 skcipher_request_set_tfm(req, tfm);
782 crypto_free_skcipher(elephant->tfm);
783 elephant->tfm = NULL;
792 elephant->tfm = crypto_alloc_skcipher("ecb(aes)", 0,
794 if (IS_ERR(elephant->tfm)) {
795 r = PTR_ERR(elephant->tfm);
796 elephant->tfm = NULL;
959 req = skcipher_request_alloc(elephant->tfm, GFP_NOIO);
1051 return crypto_skcipher_setkey(elephant->tfm, &cc->key[key_offset], cc->key_extra_size);
1060 return crypto_skcipher_setkey(elephant->tfm, key, cc->key_extra_size);
2985 ti->error = "Error allocating crypto tfm";
3070 ti->error = "Error allocating crypto tfm";