Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c289 uint32_t algo_mask = 0; in virtcrypto_algo_is_supported() local
303 algo_mask = vcrypto->cipher_algo_l; in virtcrypto_algo_is_supported()
305 algo_mask = vcrypto->cipher_algo_h; in virtcrypto_algo_is_supported()
309 algo_mask = vcrypto->hash_algo; in virtcrypto_algo_is_supported()
314 algo_mask = vcrypto->mac_algo_l; in virtcrypto_algo_is_supported()
316 algo_mask = vcrypto->mac_algo_h; in virtcrypto_algo_is_supported()
320 algo_mask = vcrypto->aead_algo; in virtcrypto_algo_is_supported()
324 algo_mask = vcrypto->akcipher_algo; in virtcrypto_algo_is_supported()
328 if (!(algo_mask & (1u << algo))) in virtcrypto_algo_is_supported()
/linux-6.12.1/drivers/crypto/inside-secure/
Dsafexcel_cipher.c1293 .algo_mask = SAFEXCEL_ALG_AES,
1330 .algo_mask = SAFEXCEL_ALG_AES,
1404 .algo_mask = SAFEXCEL_ALG_AES,
1466 .algo_mask = SAFEXCEL_ALG_DES,
1505 .algo_mask = SAFEXCEL_ALG_DES,
1565 .algo_mask = SAFEXCEL_ALG_DES,
1604 .algo_mask = SAFEXCEL_ALG_DES,
1677 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_SHA1,
1713 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_SHA2_256,
1749 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_SHA2_256,
[all …]
Dsafexcel_hash.c983 .algo_mask = SAFEXCEL_ALG_SHA1,
1208 .algo_mask = SAFEXCEL_ALG_SHA1,
1266 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1323 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1394 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1466 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1524 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1581 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1652 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1724 .algo_mask = SAFEXCEL_ALG_SHA2_512,
[all …]
Dsafexcel.c1267 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms()
1268 safexcel_algs[i]->algo_mask) in safexcel_register_algorithms()
1288 if ((safexcel_algs[j]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms()
1289 safexcel_algs[j]->algo_mask) in safexcel_register_algorithms()
1310 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_unregister_algorithms()
1311 safexcel_algs[i]->algo_mask) in safexcel_unregister_algorithms()
Dsafexcel.h879 enum safexcel_eip_algorithms algo_mask; member