Home
last modified time | relevance | path

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

/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()
/drivers/crypto/inside-secure/
Dsafexcel_cipher.c1294 .algo_mask = SAFEXCEL_ALG_AES,
1331 .algo_mask = SAFEXCEL_ALG_AES,
1369 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_AES_XFB,
1407 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_AES_XFB,
1481 .algo_mask = SAFEXCEL_ALG_AES,
1543 .algo_mask = SAFEXCEL_ALG_DES,
1582 .algo_mask = SAFEXCEL_ALG_DES,
1642 .algo_mask = SAFEXCEL_ALG_DES,
1681 .algo_mask = SAFEXCEL_ALG_DES,
1754 .algo_mask = SAFEXCEL_ALG_AES | SAFEXCEL_ALG_SHA1,
[all …]
Dsafexcel_hash.c983 .algo_mask = SAFEXCEL_ALG_SHA1,
1234 .algo_mask = SAFEXCEL_ALG_SHA1,
1292 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1349 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1420 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1492 .algo_mask = SAFEXCEL_ALG_SHA2_256,
1550 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1607 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1678 .algo_mask = SAFEXCEL_ALG_SHA2_512,
1750 .algo_mask = SAFEXCEL_ALG_SHA2_512,
[all …]
Dsafexcel.c1274 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms()
1275 safexcel_algs[i]->algo_mask) in safexcel_register_algorithms()
1295 if ((safexcel_algs[j]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_register_algorithms()
1296 safexcel_algs[j]->algo_mask) in safexcel_register_algorithms()
1317 if ((safexcel_algs[i]->algo_mask & priv->hwconfig.algo_flags) != in safexcel_unregister_algorithms()
1318 safexcel_algs[i]->algo_mask) in safexcel_unregister_algorithms()
Dsafexcel.h873 enum safexcel_eip_algorithms algo_mask; member