|
SmartSnippets DA1459x SDK
|
Definition of API for the HASH Engine Low Level Driver. More...
#include "hw_aes_hash.h"Go to the source code of this file.
Data Structures | |
| struct | hw_hash_config_t |
| HASH engine configuration structure. More... | |
Enumerations | |
| enum | HW_HASH_ERROR |
| HASH engine error codes. | |
| enum | HW_HASH_TYPE { HW_HASH_TYPE_SHA_256_224 = 0, HW_HASH_TYPE_SHA_256 = 1 } |
| HASH Type. More... | |
| enum | HW_HASH_OUTPUT_LENGTH_MAX { HW_HASH_OUTPUT_LEN_MAX_SHA_256_224 = 28, HW_HASH_OUTPUT_LEN_MAX_SHA_256 = 32 } |
| The maximum allowed output length of the HASH engine in bytes for all supported HASH types. More... | |
Functions | |
| __STATIC_INLINE void | hw_hash_set_type (HW_HASH_TYPE hash_type) |
| Set HASH type. More... | |
| __STATIC_INLINE void | hw_hash_set_output_data_len (HW_HASH_TYPE hash_type, uint8_t output_data_len) |
| Set HASH output length. More... | |
| bool | hw_hash_check_input_data_len_restrictions (void) |
| Check if the restrictions of the input data length are fulfilled. More... | |
| HW_HASH_ERROR | hw_hash_init (const hw_hash_config_t *hash_cfg) |
| HASH engine initialization function. More... | |
Definition of API for the HASH Engine Low Level Driver.
Copyright (C) 2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.
This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.
THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.
1.8.16