SmartSnippets DA1459x SDK
Data Structures | Typedefs | Enumerations | Functions
ad_crypto.h File Reference

AES/HASH device access API. More...

#include "hw_aes.h"
#include "hw_hash.h"
#include "hw_aes_hash.h"
#include <osal.h>

Go to the source code of this file.

Data Structures

union  ad_crypto_engine_config_t
 Crypto configuration union. More...
 
struct  ad_crypto_config_t
 Crypto adapter configuration structure. More...
 

Typedefs

typedef void * ad_crypto_handle_t
 Crypto handle returned by ad_crypto_open()
 

Enumerations

enum  AD_CRYPTO_ALGO
 Supported cryptographic algorithms.
 

Functions

void ad_crypto_configure (ad_crypto_config_t *cfg)
 Configure the crypto engine. More...
 
void ad_crypto_configure_for_next_fragment (ad_crypto_config_t *cfg)
 Configure crypto engine to perform next fragment of operation. More...
 
ad_crypto_handle_t ad_crypto_open (ad_crypto_config_t *cfg, OS_TICK_TIME timeout)
 Open crypto engine. More...
 
void ad_crypto_close (void)
 Close crypto engine. More...
 
OS_BASE_TYPE ad_crypto_perform_operation (OS_TICK_TIME timeout)
 Perform crypto operation. More...
 

Detailed Description

AES/HASH device access API.

Copyright (C) 2016-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.