Lines Matching refs:xform_cipher
3801 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local
3810 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()
3811 if (xform_cipher == NULL) in parse_table_action_cipher()
3814 xform_cipher->type = RTE_CRYPTO_SYM_XFORM_CIPHER; in parse_table_action_cipher()
3815 xform_cipher->cipher.op = encrypt ? RTE_CRYPTO_CIPHER_OP_ENCRYPT : 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()
3836 xform_cipher->cipher.key.length = (uint16_t)len; in parse_table_action_cipher()
3851 xform_cipher->cipher.iv.length = (uint16_t)len; in parse_table_action_cipher()
3852 xform_cipher->cipher.iv.offset = RTE_TABLE_ACTION_SYM_CRYPTO_IV_OFFSET; in parse_table_action_cipher()
3856 return xform_cipher; in parse_table_action_cipher()
3864 free(xform_cipher); in parse_table_action_cipher()
3874 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher_auth() local
3924 xform_cipher = parse_table_action_cipher(p, key, max_key_len, tokens, in parse_table_action_cipher_auth()
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()
3935 xform_auth->next = xform_cipher; in parse_table_action_cipher_auth()