Searched refs:safexcel_algs (Results 1 – 1 of 1) sorted by relevance
834 static struct safexcel_alg_template *safexcel_algs[] = { variable864 for (i = 0; i < ARRAY_SIZE(safexcel_algs); i++) { in safexcel_register_algorithms()865 safexcel_algs[i]->priv = priv; in safexcel_register_algorithms()867 if (!(safexcel_algs[i]->engines & priv->version)) in safexcel_register_algorithms()870 if (safexcel_algs[i]->type == SAFEXCEL_ALG_TYPE_SKCIPHER) in safexcel_register_algorithms()871 ret = crypto_register_skcipher(&safexcel_algs[i]->alg.skcipher); in safexcel_register_algorithms()872 else if (safexcel_algs[i]->type == SAFEXCEL_ALG_TYPE_AEAD) in safexcel_register_algorithms()873 ret = crypto_register_aead(&safexcel_algs[i]->alg.aead); in safexcel_register_algorithms()875 ret = crypto_register_ahash(&safexcel_algs[i]->alg.ahash); in safexcel_register_algorithms()885 if (!(safexcel_algs[j]->engines & priv->version)) in safexcel_register_algorithms()[all …]