Lines Matching refs:shash
123 struct shash_desc *shash; in __do_hmac() local
145 shash = *this_cpu_ptr(algo->shashs); in __do_hmac()
146 shash->tfm = tfm; in __do_hmac()
148 ret = crypto_shash_digest(shash, text, psize, output); in __do_hmac()
355 struct shash_desc *shash; in seg6_hmac_init_algo() local
380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
387 shash = kzalloc_node(shsize, GFP_KERNEL, in seg6_hmac_init_algo()
389 if (!shash) in seg6_hmac_init_algo()
391 *per_cpu_ptr(algo->shashs, cpu) = shash; in seg6_hmac_init_algo()
422 struct shash_desc *shash; in seg6_hmac_exit() local
424 shash = *per_cpu_ptr(algo->shashs, cpu); in seg6_hmac_exit()
425 kfree(shash); in seg6_hmac_exit()