Lines Matching refs:tfm
32 static int null_compress(struct crypto_tfm *tfm, const u8 *src, in null_compress() argument
64 static int null_hash_setkey(struct crypto_shash *tfm, const u8 *key, in null_hash_setkey() argument
68 static int null_setkey(struct crypto_tfm *tfm, const u8 *key, in null_setkey() argument
72 static void null_crypt(struct crypto_tfm *tfm, u8 *dst, const u8 *src) in null_crypt() argument
158 struct crypto_blkcipher *tfm; in crypto_get_default_null_skcipher() local
161 tfm = crypto_default_null_skcipher; in crypto_get_default_null_skcipher()
163 if (!tfm) { in crypto_get_default_null_skcipher()
164 tfm = crypto_alloc_blkcipher("ecb(cipher_null)", 0, 0); in crypto_get_default_null_skcipher()
165 if (IS_ERR(tfm)) in crypto_get_default_null_skcipher()
168 crypto_default_null_skcipher = tfm; in crypto_get_default_null_skcipher()
176 return tfm; in crypto_get_default_null_skcipher()