
/*
 * =====================================================================================
 *
 *       Filename:  process_cmd.h
 *
 *    Description:  HDM process command
 *
 *        Version:  1.0
 *        Created:  09/16/2019 15:26:11 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *        Company:  Samsung Electronics
 *        Copyright (c) 2015 by Samsung Electronics, All rights reserved.
 *
 * =====================================================================================
 */

#ifndef _HDM_PROCESS_CMD_H_
#define _HDM_PROCESS_CMD_H_

/**
 * Conditional includes
 */
#ifdef CONFIG_QSEE
#ifdef ICCC_SUPPORT
#include "tz_iccc_comdef.h"
#endif
#endif

/**
 * HDM includes
 */
#include "tz_hdm_interface.h"
#include "hdm_defs.h"
#include "hdm_core.h"
#include "hdm_utils.h"
#include "hdm_hash.h"
#include "hdm_rpmb.h"
#include "hdm_response.h"

/**
 * @brief
 * process_cmd
 * Process command
 *
 * @param[in] commandId - command id
 * @param[in] tci_req   - tci request message
 * @param[in] tci_resp  - tci response message
 *
 * @return HDM status code
 */
hdm_return_code_t process_cmd(uint32_t commandId, tci_message_t *tci_req, tci_message_t *tci_resp);

#endif /* _HDM_PROCESS_CMD_H_ */
