esp32_c3_crypto_cipher.h File Reference

ESP32-C3 cipher hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Macros

#define ESP32_C3_CRYPTO_CIPHER_SUPPORT   DISABLED
 
#define AES_MODE_ENC   0x00000000
 
#define AES_MODE_DEC   0x00000004
 
#define AES_MODE_128_BITS   0x00000000
 
#define AES_MODE_256_BITS   0x00000002
 
#define AES_ENDIAN_DEFAULT   0x0000003F
 

Functions

void esp32c3AesInit (void)
 AES module initialization. More...
 

Detailed Description

ESP32-C3 cipher hardware accelerator.

License

SPDX-License-Identifier: GPL-2.0-or-later

Copyright (C) 2010-2024 Oryx Embedded SARL. All rights reserved.

This file is part of CycloneCRYPTO Open.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author
Oryx Embedded SARL (www.oryx-embedded.com)
Version
2.4.0

Definition in file esp32_c3_crypto_cipher.h.

Macro Definition Documentation

◆ AES_ENDIAN_DEFAULT

#define AES_ENDIAN_DEFAULT   0x0000003F

Definition at line 51 of file esp32_c3_crypto_cipher.h.

◆ AES_MODE_128_BITS

#define AES_MODE_128_BITS   0x00000000

Definition at line 47 of file esp32_c3_crypto_cipher.h.

◆ AES_MODE_256_BITS

#define AES_MODE_256_BITS   0x00000002

Definition at line 48 of file esp32_c3_crypto_cipher.h.

◆ AES_MODE_DEC

#define AES_MODE_DEC   0x00000004

Definition at line 46 of file esp32_c3_crypto_cipher.h.

◆ AES_MODE_ENC

#define AES_MODE_ENC   0x00000000

Definition at line 45 of file esp32_c3_crypto_cipher.h.

◆ ESP32_C3_CRYPTO_CIPHER_SUPPORT

#define ESP32_C3_CRYPTO_CIPHER_SUPPORT   DISABLED

Definition at line 39 of file esp32_c3_crypto_cipher.h.

Function Documentation

◆ esp32c3AesInit()

void esp32c3AesInit ( void  )

AES module initialization.

Definition at line 53 of file esp32_c3_crypto_cipher.c.