Lines Matching refs:xform_cipher
3807 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher() local
3816 xform_cipher = calloc(1, sizeof(*xform_cipher)); in parse_table_action_cipher()
3817 if (xform_cipher == NULL) in parse_table_action_cipher()
3820 xform_cipher->type = RTE_CRYPTO_SYM_XFORM_CIPHER; in parse_table_action_cipher()
3821 xform_cipher->cipher.op = encrypt ? RTE_CRYPTO_CIPHER_OP_ENCRYPT : 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()
3842 xform_cipher->cipher.key.length = (uint16_t)len; in parse_table_action_cipher()
3857 xform_cipher->cipher.iv.length = (uint16_t)len; in parse_table_action_cipher()
3858 xform_cipher->cipher.iv.offset = RTE_TABLE_ACTION_SYM_CRYPTO_IV_OFFSET; in parse_table_action_cipher()
3862 return xform_cipher; in parse_table_action_cipher()
3870 free(xform_cipher); in parse_table_action_cipher()
3880 struct rte_crypto_sym_xform *xform_cipher; in parse_table_action_cipher_auth() local
3930 xform_cipher = parse_table_action_cipher(p, key, max_key_len, tokens, in parse_table_action_cipher_auth()
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()
3941 xform_auth->next = xform_cipher; in parse_table_action_cipher_auth()