Searched refs:algo_mask (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/crypto/virtio/ |
H A D | virtio_crypto_mgr.c | 289 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()
|
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 1293 .algo_mask = SAFEXCEL_ALG_AES, 1330 .algo_mask = SAFEXCEL_ALG_AES, 1480 .algo_mask = SAFEXCEL_ALG_AES, 1542 .algo_mask = SAFEXCEL_ALG_DES, 1581 .algo_mask = SAFEXCEL_ALG_DES, 1641 .algo_mask = SAFEXCEL_ALG_DES, 1680 .algo_mask = SAFEXCEL_ALG_DES, 2845 .algo_mask = SAFEXCEL_ALG_CHACHA20, 3127 .algo_mask = SAFEXCEL_ALG_SM4, 3164 .algo_mask = SAFEXCEL_ALG_SM4, [all …]
|
H A D | safexcel_hash.c | 983 .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 D | safexcel.c | 1271 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms() 1272 safexcel_algs[i]->algo_mask) in safexcel_register_algorithms() 1292 if ((safexcel_algs[j]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms() 1293 safexcel_algs[j]->algo_mask) in safexcel_register_algorithms() 1314 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_unregister_algorithms() 1315 safexcel_algs[i]->algo_mask) in safexcel_unregister_algorithms()
|
H A D | safexcel.h | 879 enum safexcel_eip_algorithms algo_mask; member
|