/*
 * =====================================================================================
 *
 *       Filename:  systemConfig.h
 *
 *    Description:  Configuration for system.
 *
 *        Version:  1.0
 *        Created:  03/27/2017 10:15:57 AM
 *        Updated:  22/01/2020 04:14:18 PM
 *       Compiler:  arm / g++
 *
 *        Company:  Samsung Electronics
 *
 *        Copyright (c) 2020 by Samsung Electronics, All rights reserved.
 *
 * =====================================================================================
 */

#ifndef __SYSTEM_CONFIG_H__
#define __SYSTEM_CONFIG_H__

#include "commonConfig.h"
#include "Bytes.h"

using vendor::samsung::hardware::security::drk::Bytes;

/*******************************************
 *
 * Structure Definitions.
 *
 *******************************************/
typedef struct {
    Bytes   name;
    Bytes   data;
} __attribute__((packed)) FILEBLOB;

typedef struct {
    uint8_t  keyType;
    char     serviceName[MAX_SERVICE_NAME + 1];
    char     model[MAX_MODEL_SIZE];
    char     serialNo[MAX_SERIALNO_SIZE];
    uint32_t keyLength;
} __attribute__((packed)) ServiceKeyInfo_t;
#endif  // End of __SYSTEM_CONFIG_H__

