esp32_s3_crypto_hash.h File Reference

ESP32-S3 hash hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Macros

#define ESP32_S3_CRYPTO_HASH_SUPPORT   DISABLED
 
#define SHA_MODE_SHA1   0x00000000
 
#define SHA_MODE_SHA224   0x00000001
 
#define SHA_MODE_SHA256   0x00000002
 
#define SHA_MODE_SHA384   0x00000003
 
#define SHA_MODE_SHA512   0x00000004
 
#define SHA_MODE_SHA512_224   0x00000005
 
#define SHA_MODE_SHA512_256   0x00000006
 
#define SHA_MODE_SHA512_T   0x00000007
 

Functions

void esp32s3ShaInit (void)
 SHA module initialization. More...
 

Detailed Description

ESP32-S3 hash 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_s3_crypto_hash.h.

Macro Definition Documentation

◆ ESP32_S3_CRYPTO_HASH_SUPPORT

#define ESP32_S3_CRYPTO_HASH_SUPPORT   DISABLED

Definition at line 39 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA1

#define SHA_MODE_SHA1   0x00000000

Definition at line 45 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA224

#define SHA_MODE_SHA224   0x00000001

Definition at line 46 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA256

#define SHA_MODE_SHA256   0x00000002

Definition at line 47 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA384

#define SHA_MODE_SHA384   0x00000003

Definition at line 48 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA512

#define SHA_MODE_SHA512   0x00000004

Definition at line 49 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA512_224

#define SHA_MODE_SHA512_224   0x00000005

Definition at line 50 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA512_256

#define SHA_MODE_SHA512_256   0x00000006

Definition at line 51 of file esp32_s3_crypto_hash.h.

◆ SHA_MODE_SHA512_T

#define SHA_MODE_SHA512_T   0x00000007

Definition at line 52 of file esp32_s3_crypto_hash.h.

Function Documentation

◆ esp32s3ShaInit()

void esp32s3ShaInit ( void  )

SHA module initialization.

Definition at line 66 of file esp32_s3_crypto_hash.c.