/******************************************************************************/
/* 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_TLS_ECDH_EXCHANGE_H)
#define R_ICUMIF_API_TLS_ECDH_EXCHANGE_H

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

typedef struct ISD_TLS_ECDH_EXCHANGE
{
    union
    {
        const uint8_t *p_client_random;
        uint64_t      padding_sys64;
    } ptr1;
    union
    {
        const uint8_t *p_server_random;
        uint64_t      padding_sys64;
    } ptr2;
    r_key_group_t ecc_priv_key_group;
    r_key_index_t ecc_priv_key_id;
    r_key_group_t ecc_pub_key_group;
    r_key_index_t ecc_pub_key_id;
    r_key_index_t master_secret_id;
    r_key_index_t aes_send_key_id;
    r_key_index_t aes_receive_key_id;
    r_key_index_t hmac_send_key_id;
    r_key_index_t hmac_receive_key_id;
    uint32_t      hmac_key_size_in_bytes;
    r_job_slice_t job_slice_multiply;
} ISD_TLS_ECDH_EXCHANGE_t;

#endif /* R_ICUMIF_API_TLS_ECDH_EXCHANGE_H */
