/**
 * @file       device_compromised.h
 * @brief      Platform-depended API to check if device security compromised
 * @author     Oleksandr Borsuk (o.borsuk@partner.samsung.com)
 * @version    1.0
 * @date       Created Dec 10, 2019
 * @copyright  In Samsung R&D Institute Ukraine (SRK) under a contract between
 * @copyright  LLC "Samsung Electronics Ukraine Company" (Kiev, Ukraine) and
 * @copyright  "Samsung Electronics Co", Ltd (Seoul, Republic of Korea)
 * @copyright  Copyright: (c) Samsung Electronics Co, Ltd 2019. All rights reserved.
**/

#ifndef PA_TZ_DRV_SRC_DEVICE_COMPROMISED_H_
#define PA_TZ_DRV_SRC_DEVICE_COMPROMISED_H_

#include <stdbool.h>

/**
 * @brief The function gets status of device/software validity
 * @details Provide API to check if device security compromised or not and print error if compromised
 * @return ::bool, true if device is compromised or underlying API unavailable
 */
bool PlatformIsDeviceCompromised();

#endif  // PA_TZ_DRV_SRC_DEVICE_COMPROMISED_H_
