Home
last modified time | relevance | path

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

/linux/drivers/crypto/inside-secure/
H A Dsafexcel.c1187 static struct safexcel_alg_template *safexcel_algs[] = { variable
1263 for (i = 0; i < ARRAY_SIZE(safexcel_algs); i++) { in safexcel_register_algorithms()
1264 safexcel_algs[i]->priv = priv; in safexcel_register_algorithms()
1267 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms()
1268 safexcel_algs[i]->algo_mask) in safexcel_register_algorithms()
1272 if (safexcel_algs[i]->type == SAFEXCEL_ALG_TYPE_SKCIPHER) in safexcel_register_algorithms()
1273 ret = crypto_register_skcipher(&safexcel_algs[i]->alg.skcipher); in safexcel_register_algorithms()
1274 else if (safexcel_algs[i]->type == SAFEXCEL_ALG_TYPE_AEAD) in safexcel_register_algorithms()
1275 ret = crypto_register_aead(&safexcel_algs[i]->alg.aead); in safexcel_register_algorithms()
1277 ret = crypto_register_ahash(&safexcel_algs[i]->alg.ahash); in safexcel_register_algorithms()
[all …]