Lines Matching refs:algo
58 enum rte_crypto_cipher_algorithm *algo) in cipher_algo_transform() argument
62 *algo = RTE_CRYPTO_CIPHER_AES_CBC; in cipher_algo_transform()
65 *algo = RTE_CRYPTO_CIPHER_AES_CTR; in cipher_algo_transform()
68 *algo = -VIRTIO_CRYPTO_NOTSUPP; in cipher_algo_transform()
71 *algo = RTE_CRYPTO_CIPHER_DES_CBC; in cipher_algo_transform()
74 *algo = RTE_CRYPTO_CIPHER_3DES_ECB; in cipher_algo_transform()
77 *algo = RTE_CRYPTO_CIPHER_3DES_CBC; in cipher_algo_transform()
80 *algo = RTE_CRYPTO_CIPHER_3DES_CTR; in cipher_algo_transform()
83 *algo = RTE_CRYPTO_CIPHER_KASUMI_F8; in cipher_algo_transform()
86 *algo = RTE_CRYPTO_CIPHER_SNOW3G_UEA2; in cipher_algo_transform()
89 *algo = RTE_CRYPTO_CIPHER_AES_F8; in cipher_algo_transform()
92 *algo = RTE_CRYPTO_CIPHER_AES_XTS; in cipher_algo_transform()
95 *algo = RTE_CRYPTO_CIPHER_ZUC_EEA3; in cipher_algo_transform()
107 enum rte_crypto_auth_algorithm *algo) in auth_algo_transform() argument
111 *algo = RTE_CRYPTO_AUTH_NULL; in auth_algo_transform()
114 *algo = RTE_CRYPTO_AUTH_MD5_HMAC; in auth_algo_transform()
117 *algo = RTE_CRYPTO_AUTH_SHA1_HMAC; in auth_algo_transform()
120 *algo = RTE_CRYPTO_AUTH_SHA224_HMAC; in auth_algo_transform()
123 *algo = RTE_CRYPTO_AUTH_SHA256_HMAC; in auth_algo_transform()
126 *algo = RTE_CRYPTO_AUTH_SHA384_HMAC; in auth_algo_transform()
129 *algo = RTE_CRYPTO_AUTH_SHA512_HMAC; in auth_algo_transform()
132 *algo = RTE_CRYPTO_AUTH_AES_CMAC; in auth_algo_transform()
135 *algo = RTE_CRYPTO_AUTH_KASUMI_F9; in auth_algo_transform()
138 *algo = RTE_CRYPTO_AUTH_SNOW3G_UIA2; in auth_algo_transform()
141 *algo = RTE_CRYPTO_AUTH_AES_GMAC; in auth_algo_transform()
144 *algo = RTE_CRYPTO_AUTH_AES_CBC_MAC; in auth_algo_transform()
147 *algo = RTE_CRYPTO_AUTH_AES_XCBC_MAC; in auth_algo_transform()
160 static int get_iv_len(enum rte_crypto_cipher_algorithm algo) in get_iv_len() argument
164 switch (algo) { in get_iv_len()
244 ret = cipher_algo_transform(param->cipher_algo, &xform->cipher.algo); in transform_cipher_param()
266 ret = get_iv_len(xform->cipher.algo); in transform_cipher_param()
300 &xform_cipher->cipher.algo); in transform_chain_param()
312 ret = get_iv_len(xform_cipher->cipher.algo); in transform_chain_param()
320 ret = auth_algo_transform(param->hash_algo, &xform_auth->auth.algo); in transform_chain_param()