#ifndef _APP_SERVICE_H_
#define _APP_SERVICE_H_

#include <stdio.h>

#include <qsee_core.h>
#include <qsee_hash.h>
#include <qsee_kdf.h>
#include <qsee_log.h>

#include "grdm_common.h"

GRDM_RESULT grdm_ICCC_auth_key_init(uint8_t* auth_key);

#if DEBUG_ICCC
#define DBG_DUMP(...) dbg_dump(__VA_ARGS__)
void dbg_dump(uint8_t * data, uint32_t data_len);
void getStringValueFromROT(uint32_t type, uint32_t value);
#endif

extern char TZ_APP_NAME[];

#define GRDM_STATUS_SIZE          16
#define CHIPID_SIZE               12
#define FWVERSION_SIZE             8
#define AUTH_KEY_SIZE             32
#define SALT_SIZE                256
#define SHA256_DIGEST_LENGTH      32

#endif // _APP_SERVICE_H_
