/*
 *
 * (c) Copyright 2018 Samsung Research America, Inc.
 *                  All rights reserved
 *
 *                  MCL-B2B Lab
 *
 *
 * File: tlc_dualdar.h
 * Author: r.kadir@samsung.com
 * Creation Date: Nov, 2018
 *
 */
/**
* Copyright (C) 2018 Samsung Electronics Co., Ltd. All rights reserved.
*
* Mobile Platform & Solutions Lab (MPS Lab),
* Samsung Electronics Co., Ltd.
*
* This software and its documentation are confidential and proprietary
* information of Samsung Electronics Co., Ltd.  No part of the software and
* documents may be copied, reproduced, transmitted, translated, or reduced to
* any electronic medium or machine-readable form without the prior written
* consent of Samsung Electronics.
*
* Samsung Electronics makes no representations with respect to the contents,
* and assumes no responsibility for any errors that might appear in the
* software and documents. This publication and the contents hereof are subject
* to change without notice.
*/

#ifndef TLC_DUALDAR_H_
#define TLC_DUALDAR_H_

#include "tlc_tz_common.h"
#include "dualdar_api.h"

/**Other constants */
#define DUALDAR_TLC_MAX_ERROR_STR_LEN            256

/* TLC return and error codes */
#define DUALDAR_TLC_OK                           		0x00000000
#define DUALDAR_TLC_INVALID_CTX                       	0x00000001
#define DUALDAR_TLC_CTX_INIT_FAILED                   	0x00000002
#define DUALDAR_TLC_INPUT_DATA_LENGTH_EXCEEDS_MAXIMUM 	0x00000003
#define DUALDAR_TLC_INSUFFICIENT_OUTPUT_DATA_LENGTH   	0x00000004
#define DUALDAR_TLC_INVALID_PARAMS						0x00000005
#define DUALDAR_TLC_UNKNOWN_FAILURE					0x00000006
#define DUALDAR_TLC_PROCESSING_ERROR                  	0x00000007

uint32_t dualdar_init(
	void
);

uint32_t dualdar_test_cmd(
	uint32_t input_code,
	uint32_t * out_resp_code,
	uint8_t * out_error_str,
	uint32_t * in_out_error_str_len
);

#endif /* TLC_DUALDAR_H_ */
