/*!
 * In Samsung Ukraine R&D Center (SRK) under a contract between
 * LLC "Samsung Electronics Ukraine Company" (Kyiv, Ukraine)
 * and "Samsung Electronics Co", Ltd (Seoul, Republic of Korea)
 * Copyright: (c) Samsung Electronics Co, Ltd 2017. All rights reserved.
 *
 * Created on: Feb 27, 2018
 * Author: Pavlo Marusyk <p.marusik@samsung.com>
 */

#ifndef TZ_PROCA_HANDLER_H
#define TZ_PROCA_HANDLER_H

#ifdef __cplusplus
extern "C" {
#endif // ifdef __cplusplus

#include "wsm_config.h"
#include "wsm_types.h"

#if (PROCA_FEATURE_ENABLED == WSM_OPTION_ENABLED)
    #include "pa_tz_api.h"
#else
    #define PA_TZ_SUCCESS       0x00000000
    #define PA_TZ_GENERAL_ERROR 0x00010000
    #define PaTzResult return_t
    #define PaHandler void
#endif /* if (PROCA_FEATURE_ENABLED == WSM_OPTION_ENABLED) */

return_t proca_tz_auth(void);
return_t get_proca_error(PaTzResult proca_error);

#ifdef __cplusplus
}
#endif // ifdef __cplusplus

#endif // ifndef TZ_PROCA_HANDLER_H
