Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/rockchip/
H A Drk3288_crypto.c248 static struct rk_crypto_tmp *rk_cipher_algs[] = { variable
265 for (i = 0; i < ARRAY_SIZE(rk_cipher_algs); i++) { in rk_crypto_register()
266 rk_cipher_algs[i]->dev = crypto_info; in rk_crypto_register()
267 if (rk_cipher_algs[i]->type == ALG_TYPE_CIPHER) in rk_crypto_register()
269 &rk_cipher_algs[i]->alg.skcipher); in rk_crypto_register()
272 &rk_cipher_algs[i]->alg.hash); in rk_crypto_register()
280 if (rk_cipher_algs[i]->type == ALG_TYPE_CIPHER) in rk_crypto_register()
281 crypto_unregister_skcipher(&rk_cipher_algs[k]->alg.skcipher); in rk_crypto_register()
283 crypto_unregister_ahash(&rk_cipher_algs[i]->alg.hash); in rk_crypto_register()
292 for (i = 0; i < ARRAY_SIZE(rk_cipher_algs); i++) { in rk_crypto_unregister()
[all …]