Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c2487 if (sec_skciphers[i].alg_msk & alg_mask) in sec_unregister_skcipher()
2498 if (!(sec_skciphers[i].alg_msk & alg_mask)) in sec_register_skcipher()
2509 sec_unregister_skcipher(alg_mask, i); in sec_register_skcipher()
2519 if (sec_aeads[i].alg_msk & alg_mask) in sec_unregister_aead()
2523 static int sec_register_aead(u64 alg_mask) in sec_register_aead() argument
2530 if (!(sec_aeads[i].alg_msk & alg_mask)) in sec_register_aead()
2541 sec_unregister_aead(alg_mask, i); in sec_register_aead()
2548 u64 alg_mask; in sec_register_to_crypto() local
2555 ret = sec_register_skcipher(alg_mask); in sec_register_to_crypto()
2559 ret = sec_register_aead(alg_mask); in sec_register_to_crypto()
[all …]