/******************************************************************************/
/* Component Name   ICU-M Interface Library (ICUMIF)                          */
/******************************************************************************/
/* Product      : ICU-M Firmware                                              */
/******************************************************************************/
/*******************************************************************************
* Copyright(C) 2021-2023 Renesas Electronics Corporation.                       
*                                                                               
*          RENESAS ELECTRONICS CONFIDENTIAL AND PROPRIETARY                     
*                                                                               
* These instructions, statements, and programs are the confidential information 
* of Renesas Electronics Corporation. They must be used and modified solely for 
* the purpose for which it was furnished by Renesas Electronics Corporation.    
* All part of them must not be reproduced nor disclosed to others in any form,  
* without the prior written permission of Renesas Electronics Corporation.      
*******************************************************************************/
#if !defined(R_ICUMIF_API_PK_IMPORT_EXT_H)
#define R_ICUMIF_API_PK_IMPORT_EXT_H

/**********************************************************************************/
/* Service parameters                                                             */
/**********************************************************************************/

typedef struct ISD_PK_IMPORT_EXT
{
    r_key_group_t               key_group;
    r_key_index_t               key_id;
    struct
    {
        r_key_property_flags_t  disable_on_debug:1;
        r_key_property_flags_t  write_protected:1;
        r_key_property_flags_t  iso15118:1;
    } flags;
    r_mem_cluster_verif_t       mem_cluster_verif;
    r_key_group_t               sig_key_group;
    r_key_index_t               sig_key_id;
    r_signature_algo_t          sig_algo;
    r_hash_primitive_t          hash_primitive;
    union
    {
        const uint32_t         *p_x509_certificate;
        uint64_t                padding_sys64;
    } ptr;
    uint16_t                    x509_certificate_size_in_bytes;
    uint8_t                     skip_verify;
} ISD_PK_IMPORT_EXT_t;


#endif /* R_ICUMIF_API_PK_IMPORT_EXT_H */
