Searched refs:xform_auth (Results 1 – 3 of 3) sorted by relevance
278 struct rte_crypto_sym_xform *xform_cipher, *xform_auth; in transform_chain_param() local283 xform_auth = xforms; in transform_chain_param()286 xform_auth->auth.op = RTE_CRYPTO_AUTH_OP_VERIFY; in transform_chain_param()290 xform_auth = xforms->next; in transform_chain_param()292 xform_auth->auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; in transform_chain_param()319 xform_auth->type = RTE_CRYPTO_SYM_XFORM_AUTH; in transform_chain_param()320 ret = auth_algo_transform(param->hash_algo, &xform_auth->auth.algo); in transform_chain_param()329 xform_auth->auth.digest_length = param->digest_len; in transform_chain_param()330 xform_auth->auth.key.length = param->auth_key_len; in transform_chain_param()331 xform_auth->auth.key.data = param->auth_key_buf; in transform_chain_param()
4588 struct rte_crypto_sym_xform *xform_auth; in parse_table_action_cipher_auth() local4598 xform_auth = calloc(1, sizeof(*xform_auth)); in parse_table_action_cipher_auth()4599 if (xform_auth == NULL) in parse_table_action_cipher_auth()4623 xform_auth->auth.key.data = key; in parse_table_action_cipher_auth()4624 xform_auth->auth.key.length = (uint16_t)len; in parse_table_action_cipher_auth()4626 key += xform_auth->auth.key.length; in parse_table_action_cipher_auth()4627 max_key_len -= xform_auth->auth.key.length; in parse_table_action_cipher_auth()4645 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()4648 xform_auth->next = xform_cipher; in parse_table_action_cipher_auth()4649 return xform_auth; in parse_table_action_cipher_auth()[all …]
3881 struct rte_crypto_sym_xform *xform_auth; in parse_table_action_cipher_auth() local3891 xform_auth = calloc(1, sizeof(*xform_auth)); in parse_table_action_cipher_auth()3892 if (xform_auth == NULL) in parse_table_action_cipher_auth()3916 xform_auth->auth.key.data = key; in parse_table_action_cipher_auth()3917 xform_auth->auth.key.length = (uint16_t)len; in parse_table_action_cipher_auth()3919 key += xform_auth->auth.key.length; in parse_table_action_cipher_auth()3920 max_key_len -= xform_auth->auth.key.length; in parse_table_action_cipher_auth()3938 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()3941 xform_auth->next = xform_cipher; in parse_table_action_cipher_auth()3942 return xform_auth; in parse_table_action_cipher_auth()[all …]