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 …]
4510 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local4519 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()4520 if (xform_cipher == NULL) in parse_table_action_cipher()4529 &xform_cipher->cipher.algo, tokens[2]); in parse_table_action_cipher()4544 xform_cipher->cipher.key.data = key; in parse_table_action_cipher()4565 return xform_cipher; in parse_table_action_cipher()4573 free(xform_cipher); in parse_table_action_cipher()4635 if (xform_cipher == NULL) in parse_table_action_cipher_auth()4641 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()4642 return xform_cipher; in parse_table_action_cipher_auth()[all …]
3801 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local3810 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()3811 if (xform_cipher == NULL) in parse_table_action_cipher()3820 &xform_cipher->cipher.algo, tokens[2]); in parse_table_action_cipher()3835 xform_cipher->cipher.key.data = key; in parse_table_action_cipher()3856 return xform_cipher; in parse_table_action_cipher()3864 free(xform_cipher); in parse_table_action_cipher()3926 if (xform_cipher == NULL) in parse_table_action_cipher_auth()3932 xform_cipher->next = xform_auth; in parse_table_action_cipher_auth()3933 return xform_cipher; in parse_table_action_cipher_auth()[all …]