Lines Matching refs:tfm
27 static int null_compress(struct crypto_tfm *tfm, const u8 *src,
59 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key,
63 static int null_skcipher_setkey(struct crypto_skcipher *tfm, const u8 *key,
67 static int null_setkey(struct crypto_tfm *tfm, const u8 *key,
71 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src)
155 struct crypto_sync_skcipher *tfm;
158 tfm = crypto_default_null_skcipher;
160 if (!tfm) {
161 tfm = crypto_alloc_sync_skcipher("ecb(cipher_null)", 0, 0);
162 if (IS_ERR(tfm))
165 crypto_default_null_skcipher = tfm;
173 return tfm;