Home
last modified time | relevance | path

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

/linux/drivers/crypto/virtio/
H A 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/drivers/crypto/inside-secure/
H A 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,
2769 .algo_mask = SAFEXCEL_ALG_CHACHA20,
3051 .algo_mask = SAFEXCEL_ALG_SM4,
3088 .algo_mask = SAFEXCEL_ALG_SM4,
[all …]
H A Dsafexcel_hash.c983 .algo_mask = SAFEXCEL_ALG_SHA1,
1208 .algo_mask = SAFEXCEL_ALG_SHA1,
1782 .algo_mask = SAFEXCEL_ALG_MD5,
1854 .algo_mask = SAFEXCEL_ALG_MD5,
1935 .algo_mask = 0,
2026 .algo_mask = 0,
2109 .algo_mask = 0,
2196 .algo_mask = 0,
2254 .algo_mask = SAFEXCEL_ALG_SM3,
2325 .algo_mask = SAFEXCEL_ALG_SM3,
[all …]
H A 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()
H A Dsafexcel.h879 enum safexcel_eip_algorithms algo_mask; member