Searched refs:salg (Results 1 – 3 of 3) sorted by relevance
115 struct simd_skcipher_alg *salg; in simd_skcipher_init() local120 salg = container_of(alg, struct simd_skcipher_alg, alg); in simd_skcipher_init()122 cryptd_tfm = cryptd_alloc_skcipher(salg->ialg_name, in simd_skcipher_init()144 struct simd_skcipher_alg *salg; in simd_skcipher_create_compat() local148 salg = kzalloc_obj(*salg); in simd_skcipher_create_compat()149 if (!salg) { in simd_skcipher_create_compat()150 salg = ERR_PTR(-ENOMEM); in simd_skcipher_create_compat()154 salg->ialg_name = basename; in simd_skcipher_create_compat()155 alg = &salg->alg; in simd_skcipher_create_compat()191 return salg; in simd_skcipher_create_compat()[all …]
188 struct shash_alg *salg; in __hmac_create_shash() local203 salg = crypto_spawn_shash_alg(spawn); in __hmac_create_shash()204 alg = &salg->base; in __hmac_create_shash()208 if (crypto_shash_alg_needs_key(salg)) in __hmac_create_shash()211 ds = salg->digestsize; in __hmac_create_shash()212 ss = salg->statesize; in __hmac_create_shash()228 inst->alg.descsize = sizeof(struct shash_desc) + salg->descsize; in __hmac_create_shash()
337 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_report() local344 rhash.digestsize = salg->digestsize; in crypto_shash_report()352 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_show() local356 seq_printf(m, "digestsize : %u\n", salg->digestsize); in crypto_shash_show()