Home
last modified time | relevance | path

Searched refs:salg (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Dsimd.c115 struct simd_skcipher_alg *salg; in simd_skcipher_init() local
120 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()
143 struct simd_skcipher_alg *salg; in simd_skcipher_create_compat() local
156 salg = kzalloc(sizeof(*salg), GFP_KERNEL); in simd_skcipher_create_compat()
157 if (!salg) { in simd_skcipher_create_compat()
158 salg = ERR_PTR(-ENOMEM); in simd_skcipher_create_compat()
162 salg->ialg_name = basename; in simd_skcipher_create_compat()
163 alg = &salg in simd_skcipher_create_compat()
222 simd_skcipher_free(struct simd_skcipher_alg *salg) simd_skcipher_free() argument
363 struct simd_aead_alg *salg; simd_aead_init() local
390 struct simd_aead_alg *salg; simd_aead_create_compat() local
469 simd_aead_free(struct simd_aead_alg *salg) simd_aead_free() argument
[all...]
H A Dhmac.c170 struct shash_alg *salg; in hmac_create() local
189 salg = crypto_spawn_shash_alg(spawn); in hmac_create()
190 alg = &salg->base; in hmac_create()
194 if (crypto_shash_alg_needs_key(salg)) in hmac_create()
197 ds = salg->digestsize; in hmac_create()
198 ss = salg->statesize; in hmac_create()
H A Dshash.c465 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_report() local
472 rhash.digestsize = salg->digestsize; in crypto_shash_report()
487 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_show() local
491 seq_printf(m, "digestsize : %u\n", salg->digestsize); in crypto_shash_show()
/kernel/linux/linux-6.6/crypto/
H A Dsimd.c115 struct simd_skcipher_alg *salg; in simd_skcipher_init() local
120 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()
143 struct simd_skcipher_alg *salg; in simd_skcipher_create_compat() local
156 salg = kzalloc(sizeof(*salg), GFP_KERNEL); in simd_skcipher_create_compat()
157 if (!salg) { in simd_skcipher_create_compat()
158 salg = ERR_PTR(-ENOMEM); in simd_skcipher_create_compat()
162 salg->ialg_name = basename; in simd_skcipher_create_compat()
163 alg = &salg in simd_skcipher_create_compat()
222 simd_skcipher_free(struct simd_skcipher_alg *salg) simd_skcipher_free() argument
363 struct simd_aead_alg *salg; simd_aead_init() local
390 struct simd_aead_alg *salg; simd_aead_create_compat() local
469 simd_aead_free(struct simd_aead_alg *salg) simd_aead_free() argument
[all...]
H A Dhmac.c189 struct shash_alg *salg; in hmac_create() local
208 salg = crypto_spawn_shash_alg(spawn); in hmac_create()
209 alg = &salg->base; in hmac_create()
213 if (crypto_shash_alg_needs_key(salg)) in hmac_create()
216 ds = salg->digestsize; in hmac_create()
217 ss = salg->statesize; in hmac_create()
H A Dshash.c515 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_report() local
522 rhash.digestsize = salg->digestsize; in crypto_shash_report()
531 struct shash_alg *salg = __crypto_shash_alg(alg); in crypto_shash_show() local
535 seq_printf(m, "digestsize : %u\n", salg->digestsize); in crypto_shash_show()

Completed in 5 milliseconds