Searched refs:xform_cipher (Results 1 – 3 of 3) sorted by relevance
278 struct rte_crypto_sym_xform *xform_cipher, *xform_auth; in transform_chain_param() local284 xform_cipher = xforms->next; in transform_chain_param()285 xform_cipher->cipher.op = RTE_CRYPTO_CIPHER_OP_DECRYPT; in transform_chain_param()289 xform_cipher = xforms; in transform_chain_param()291 xform_cipher->cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT; in transform_chain_param()300 &xform_cipher->cipher.algo); in transform_chain_param()309 xform_cipher->type = RTE_CRYPTO_SYM_XFORM_CIPHER; in transform_chain_param()311 xform_cipher->cipher.key.data = param->cipher_key_buf; in transform_chain_param()312 ret = get_iv_len(xform_cipher->cipher.algo); in transform_chain_param()315 xform_cipher->cipher.iv.length = (uint16_t)ret; in transform_chain_param()[all …]
4514 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local4523 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()4524 if (xform_cipher == NULL) in parse_table_action_cipher()4533 &xform_cipher->cipher.algo, tokens[2]); in parse_table_action_cipher()4548 xform_cipher->cipher.key.data = key; in parse_table_action_cipher()4569 return xform_cipher; in parse_table_action_cipher()4577 free(xform_cipher); in parse_table_action_cipher()4639 if (xform_cipher == NULL) in parse_table_action_cipher_auth()4645 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()4646 return xform_cipher; in parse_table_action_cipher_auth()[all …]
3807 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local3816 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()3817 if (xform_cipher == NULL) in parse_table_action_cipher()3826 &xform_cipher->cipher.algo, tokens[2]); in parse_table_action_cipher()3841 xform_cipher->cipher.key.data = key; in parse_table_action_cipher()3862 return xform_cipher; in parse_table_action_cipher()3870 free(xform_cipher); in parse_table_action_cipher()3932 if (xform_cipher == NULL) in parse_table_action_cipher_auth()3938 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()3939 return xform_cipher; in parse_table_action_cipher_auth()[all …]