#ifndef __SERVICE_KEY_H
#define __SERVICE_KEY_H

#include "tz_platform.h"

#define WRAPPED_RSA_CERT_SIZE                   5000

void unwrapSEMServiceKey(p_cmd_t cmd, p_rsp_t rsp);
void rewrapSEMServiceKey(p_cmd_t cmd, p_rsp_t rsp);
void unwrapRewrappedSEMServiceKey(p_cmd_t cmd, p_rsp_t rsp);

void rewrapSKMSServiceKey(p_cmd_t cmd, p_rsp_t rsp);
void unwrapRewrappedSKMSServiceKey(p_cmd_t cmd, p_rsp_t rsp, uint8_t type);
void signMsgUnwrappedSKMSServiceKey(p_cmd_t cmd, p_rsp_t rsp);

#endif
