Lines Matching refs:xform

42 		struct rte_crypto_sym_xform *xform,
1079 virtio_crypto_get_cipher_xform(struct rte_crypto_sym_xform *xform) in virtio_crypto_get_cipher_xform() argument
1082 if (xform->type == RTE_CRYPTO_SYM_XFORM_CIPHER) in virtio_crypto_get_cipher_xform()
1083 return &xform->cipher; in virtio_crypto_get_cipher_xform()
1085 xform = xform->next; in virtio_crypto_get_cipher_xform()
1086 } while (xform); in virtio_crypto_get_cipher_xform()
1092 virtio_crypto_get_auth_xform(struct rte_crypto_sym_xform *xform) in virtio_crypto_get_auth_xform() argument
1095 if (xform->type == RTE_CRYPTO_SYM_XFORM_AUTH) in virtio_crypto_get_auth_xform()
1096 return &xform->auth; in virtio_crypto_get_auth_xform()
1098 xform = xform->next; in virtio_crypto_get_auth_xform()
1099 } while (xform); in virtio_crypto_get_auth_xform()
1106 virtio_crypto_get_chain_order(struct rte_crypto_sym_xform *xform) in virtio_crypto_get_chain_order() argument
1108 if (xform == NULL) in virtio_crypto_get_chain_order()
1112 if (xform->type == RTE_CRYPTO_SYM_XFORM_CIPHER && in virtio_crypto_get_chain_order()
1113 xform->next == NULL) in virtio_crypto_get_chain_order()
1117 if (xform->type == RTE_CRYPTO_SYM_XFORM_AUTH && in virtio_crypto_get_chain_order()
1118 xform->next == NULL) in virtio_crypto_get_chain_order()
1122 if (xform->type == RTE_CRYPTO_SYM_XFORM_AUTH && in virtio_crypto_get_chain_order()
1123 xform->next->type == RTE_CRYPTO_SYM_XFORM_CIPHER) in virtio_crypto_get_chain_order()
1127 if (xform->type == RTE_CRYPTO_SYM_XFORM_CIPHER && in virtio_crypto_get_chain_order()
1128 xform->next->type == RTE_CRYPTO_SYM_XFORM_AUTH) in virtio_crypto_get_chain_order()
1206 struct rte_crypto_sym_xform *xform, bool is_chainned, in virtio_crypto_sym_pad_op_ctrl_req() argument
1215 cipher_xform = virtio_crypto_get_cipher_xform(xform); in virtio_crypto_sym_pad_op_ctrl_req()
1252 auth_xform = virtio_crypto_get_auth_xform(xform); in virtio_crypto_sym_pad_op_ctrl_req()
1292 struct rte_crypto_sym_xform *xform, in virtio_crypto_check_sym_configure_session_paras() argument
1296 if (unlikely(xform == NULL) || unlikely(sym_sess == NULL) || in virtio_crypto_check_sym_configure_session_paras()
1311 struct rte_crypto_sym_xform *xform, in virtio_crypto_sym_configure_session() argument
1328 ret = virtio_crypto_check_sym_configure_session_paras(dev, xform, in virtio_crypto_sym_configure_session()
1351 cmd_id = virtio_crypto_get_chain_order(xform); in virtio_crypto_sym_configure_session()
1366 xform, true, cipher_key_data, auth_key_data, session); in virtio_crypto_sym_configure_session()
1383 ret = virtio_crypto_sym_pad_op_ctrl_req(ctrl_req, xform, in virtio_crypto_sym_configure_session()