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