/**
 * @file       pa_tz_internal.h
 * @brief      Process authenticator for trusted applications
 *
 * Main purpose of this module is providing helping functions
 * SWD process inside SWD using internal.
 * @author     Viacheslav Vovchenko (v.vovchenko@samsung.com)
 * @version    1.0
 * @date       Created May 30, 2016
 * @copyright  In Samsung Ukraine R&D Center (SURC) 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 2016. All rights reserved.
**/


#ifndef __PA_TZ_INTERNAL_H__
#define __PA_TZ_INTERNAL_H__

#include "PaDriverCommandAuthenticateResponse.h"
#include "pa_tz_api.h"

/**
 * @brief Check the authentication result of answer from driver.
 * @param [in] pointer of command authenticate
* @return ::PA_TZ_SUCCESS in case of success or another error code
 */
PaTzResult ConvertAuthenticateResult(const PaDriverCommandAuthenticateResponse_t *authenticate_response);

#endif // __PA_TZ_INTERNAL_H__
