Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/crypto/hisilicon/sec2/
Dsec_crypto.c2480 static void sec_unregister_skcipher(u64 alg_mask, int end) in sec_unregister_skcipher() argument
2485 if (sec_skciphers[i].alg_msk & alg_mask) in sec_unregister_skcipher()
2489 static int sec_register_skcipher(u64 alg_mask) in sec_register_skcipher() argument
2496 if (!(sec_skciphers[i].alg_msk & alg_mask)) in sec_register_skcipher()
2507 sec_unregister_skcipher(alg_mask, i); in sec_register_skcipher()
2512 static void sec_unregister_aead(u64 alg_mask, int end) in sec_unregister_aead() argument
2517 if (sec_aeads[i].alg_msk & alg_mask) in sec_unregister_aead()
2521 static int sec_register_aead(u64 alg_mask) in sec_register_aead() argument
2528 if (!(sec_aeads[i].alg_msk & alg_mask)) in sec_register_aead()
2539 sec_unregister_aead(alg_mask, i); in sec_register_aead()
[all …]
Dsec_main.c1081 u64 alg_mask; in sec_set_qm_algs() local
1091 alg_mask = sec_get_alg_bitmap(qm, SEC_DEV_ALG_BITMAP_HIGH, SEC_DEV_ALG_BITMAP_LOW); in sec_set_qm_algs()
1094 if (alg_mask & sec_dev_algs[i].alg_msk) in sec_set_qm_algs()
/Linux-v6.6/drivers/crypto/hisilicon/zip/
Dzip_main.c420 u32 alg_mask; in hisi_zip_set_qm_algs() local
430 alg_mask = hisi_qm_get_hw_info(qm, zip_basic_cap_info, ZIP_DEV_ALG_BITMAP, qm->cap_ver); in hisi_zip_set_qm_algs()
433 if (alg_mask & zip_dev_algs[i].alg_msk) in hisi_zip_set_qm_algs()