m460_crypto_hash.h File Reference

M460 hash hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Macros

#define M460_CRYPTO_HASH_SUPPORT   DISABLED
 
#define CRPT_HMAC_CTL_OPMODE_SHA1   0x00000000
 
#define CRPT_HMAC_CTL_OPMODE_SHA256   0x00000400
 
#define CRPT_HMAC_CTL_OPMODE_SHA224   0x00000500
 
#define CRPT_HMAC_CTL_OPMODE_SHA512   0x00000600
 
#define CRPT_HMAC_CTL_OPMODE_SHA384   0x00000700
 
#define CRPT_HMAC_CTL_OPMODE_SHA3_256   0x00000400
 
#define CRPT_HMAC_CTL_OPMODE_SHA3_224   0x00000500
 
#define CRPT_HMAC_CTL_OPMODE_SHA3_512   0x00000600
 
#define CRPT_HMAC_CTL_OPMODE_SHA3_384   0x00000700
 
#define CRPT_HMAC_CTL_OPMODE_SHAKE128   0x00000000
 
#define CRPT_HMAC_CTL_OPMODE_SHAKE256   0x00000100
 

Detailed Description

M460 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.4

Definition in file m460_crypto_hash.h.

Macro Definition Documentation

◆ CRPT_HMAC_CTL_OPMODE_SHA1

#define CRPT_HMAC_CTL_OPMODE_SHA1   0x00000000

Definition at line 45 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA224

#define CRPT_HMAC_CTL_OPMODE_SHA224   0x00000500

Definition at line 47 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA256

#define CRPT_HMAC_CTL_OPMODE_SHA256   0x00000400

Definition at line 46 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA384

#define CRPT_HMAC_CTL_OPMODE_SHA384   0x00000700

Definition at line 49 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA3_224

#define CRPT_HMAC_CTL_OPMODE_SHA3_224   0x00000500

Definition at line 51 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA3_256

#define CRPT_HMAC_CTL_OPMODE_SHA3_256   0x00000400

Definition at line 50 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA3_384

#define CRPT_HMAC_CTL_OPMODE_SHA3_384   0x00000700

Definition at line 53 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA3_512

#define CRPT_HMAC_CTL_OPMODE_SHA3_512   0x00000600

Definition at line 52 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHA512

#define CRPT_HMAC_CTL_OPMODE_SHA512   0x00000600

Definition at line 48 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHAKE128

#define CRPT_HMAC_CTL_OPMODE_SHAKE128   0x00000000

Definition at line 54 of file m460_crypto_hash.h.

◆ CRPT_HMAC_CTL_OPMODE_SHAKE256

#define CRPT_HMAC_CTL_OPMODE_SHAKE256   0x00000100

Definition at line 55 of file m460_crypto_hash.h.

◆ M460_CRYPTO_HASH_SUPPORT

#define M460_CRYPTO_HASH_SUPPORT   DISABLED

Definition at line 39 of file m460_crypto_hash.h.