/******************************************************************************/
/* 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_HASH_H)
#define R_ICUMIF_API_HASH_H

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

typedef struct ISD_HASH
{
    union
    {
        const uint8_t  *p_message;
        uint64_t        padding_sys64;
    } ptr1;
    union
    {
        uint8_t        *p_hash;
        uint64_t        padding_sys64;
    } ptr2;
    uint32_t            message_size_in_bytes;
    volatile uint16_t   hash_size_in_bytes;
    r_hash_primitive_t  hash_primitive;
    r_job_slice_t       job_slice;
    r_job_cycle_t       job_cycle;
    uint32_t            total_msg_size_in_bytes;
} ISD_HASH_t;

#endif /* R_ICUMIF_API_HASH_H */
