-parse_auth_algo(struct cperf_options *opts, const char *arg) {
- struct name_id_map cipher_auth_namemap[] = {
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_CBC_MAC],
- RTE_CRYPTO_AUTH_AES_CBC_MAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_CCM],
- RTE_CRYPTO_AUTH_AES_CCM
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_CMAC],
- RTE_CRYPTO_AUTH_AES_CMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_GCM],
- RTE_CRYPTO_AUTH_AES_GCM
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_GMAC],
- RTE_CRYPTO_AUTH_AES_GMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_AES_XCBC_MAC],
- RTE_CRYPTO_AUTH_AES_XCBC_MAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_MD5],
- RTE_CRYPTO_AUTH_MD5
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_MD5_HMAC],
- RTE_CRYPTO_AUTH_MD5_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA1],
- RTE_CRYPTO_AUTH_SHA1
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA1_HMAC],
- RTE_CRYPTO_AUTH_SHA1_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA224],
- RTE_CRYPTO_AUTH_SHA224
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA224_HMAC],
- RTE_CRYPTO_AUTH_SHA224_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA256],
- RTE_CRYPTO_AUTH_SHA256
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA256_HMAC],
- RTE_CRYPTO_AUTH_SHA256_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA384],
- RTE_CRYPTO_AUTH_SHA384
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA384_HMAC],
- RTE_CRYPTO_AUTH_SHA384_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA512],
- RTE_CRYPTO_AUTH_SHA512
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SHA512_HMAC],
- RTE_CRYPTO_AUTH_SHA512_HMAC
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_KASUMI_F9],
- RTE_CRYPTO_AUTH_KASUMI_F9
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_SNOW3G_UIA2],
- RTE_CRYPTO_AUTH_SNOW3G_UIA2
- },
- {
- rte_crypto_auth_algorithm_strings
- [RTE_CRYPTO_AUTH_ZUC_EIA3],
- RTE_CRYPTO_AUTH_ZUC_EIA3
- },
- };
-