/******************************************************************************/
/* 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_AES_KET_UPDATE_PLAIN_H)
#define R_ICUMIF_API_AES_KET_UPDATE_PLAIN_H

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

typedef struct ISD_KEY_UPDATE_PLAIN
{
    union
    {
        const uint8_t      *p_key_value;
        uint64_t            padding_sys64;
    } ptr;
    r_key_group_t           key_group;
    r_key_index_t           key_id;
    uint16_t                key_size_in_bytes;
    r_mem_cluster_verif_t   mem_cluster_verif;
    struct
    {
        r_key_property_flags_t encryption:1;
        r_key_property_flags_t decryption:1;
        r_key_property_flags_t cmac_generation:1;
        r_key_property_flags_t cmac_verification:1;
        r_key_property_flags_t write_protected:1;
        r_key_property_flags_t disable_on_debug:1;
        r_key_property_flags_t no_wild_card:1;
    } flags;
} ISD_KEY_UPDATE_PLAIN_t;

#endif /* R_ICUMIF_API_AES_KET_UPDATE_PLAIN_H */
