Home
last modified time | relevance | path

Searched refs:crypto_shash_type (Results 1 – 3 of 3) sorted by relevance

/linux/crypto/
H A Dshash.c216 const struct crypto_type crypto_shash_type = { variable
236 spawn->base.frontend = &crypto_shash_type; in crypto_grab_shash()
244 return crypto_alloc_tfm(alg_name, &crypto_shash_type, type, mask); in crypto_alloc_shash()
250 return crypto_type_has_alg(alg_name, &crypto_shash_type, type, mask); in crypto_has_shash()
272 nhash = crypto_clone_tfm(&crypto_shash_type, tfm); in crypto_clone_shash()
321 base->cra_type = &crypto_shash_type; in shash_prepare_alg()
H A Dhash.h14 extern const struct crypto_type crypto_shash_type;
H A Dahash.c123 shash = crypto_create_tfm(calg, &crypto_shash_type); in crypto_init_ahash_using_shash()
477 if (tfm->__crt_alg->cra_type == &crypto_shash_type) in crypto_ahash_init_tfm()
490 if (alg->cra_type == &crypto_shash_type) in crypto_ahash_extsize()
572 if (alg->cra_type == &crypto_shash_type) in crypto_hash_alg_has_setkey()