Searched refs:alg_mask (Results 1 – 3 of 3) sorted by relevance
2480 static void sec_unregister_skcipher(u64 alg_mask, int end) in sec_unregister_skcipher() argument2485 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() argument2496 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() argument2517 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() argument2528 if (!(sec_aeads[i].alg_msk & alg_mask)) in sec_register_aead()2539 sec_unregister_aead(alg_mask, i); in sec_register_aead()[all …]
1081 u64 alg_mask; in sec_set_qm_algs() local1091 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()
420 u32 alg_mask; in hisi_zip_set_qm_algs() local430 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()