Home
last modified time | relevance | path

Searched refs:sec_skciphers (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c1502 static struct skcipher_alg sec_skciphers[] = { variable
1644 ret = crypto_register_skciphers(sec_skciphers, in sec_register_to_crypto()
1645 ARRAY_SIZE(sec_skciphers)); in sec_register_to_crypto()
1651 crypto_unregister_skciphers(sec_skciphers, in sec_register_to_crypto()
1652 ARRAY_SIZE(sec_skciphers)); in sec_register_to_crypto()
1658 crypto_unregister_skciphers(sec_skciphers, in sec_unregister_from_crypto()
1659 ARRAY_SIZE(sec_skciphers)); in sec_unregister_from_crypto()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c2175 static struct sec_skcipher sec_skciphers[] = { variable
2485 if (sec_skciphers[i].alg_msk & alg_mask) in sec_unregister_skcipher()
2486 crypto_unregister_skcipher(&sec_skciphers[i].alg); in sec_unregister_skcipher()
2493 count = ARRAY_SIZE(sec_skciphers); in sec_register_skcipher()
2496 if (!(sec_skciphers[i].alg_msk & alg_mask)) in sec_register_skcipher()
2499 ret = crypto_register_skcipher(&sec_skciphers[i].alg); in sec_register_skcipher()
2559 sec_unregister_skcipher(alg_mask, ARRAY_SIZE(sec_skciphers)); in sec_register_to_crypto()
2572 sec_unregister_skcipher(alg_mask, ARRAY_SIZE(sec_skciphers)); in sec_unregister_from_crypto()

Completed in 6 milliseconds