SAM4C hash hardware accelerator. More...
#include "core/crypto.h"
Go to the source code of this file.
Data Structures | |
struct | Sam4cIcmDesc |
ICM region descriptor. More... | |
Macros | |
#define | SAM4C_CRYPTO_HASH_SUPPORT DISABLED |
#define | ICM_ALGO_SHA1 0 |
#define | ICM_ALGO_SHA256 1 |
#define | ICM_ALGO_SHA224 4 |
#define | ICM_RCFG_MRPROT 0x3F000000 |
#define | ICM_RCFG_ALGO 0x00007000 |
#define | ICM_RCFG_ALGO_SHA1 0x00000000 |
#define | ICM_RCFG_ALGO_SHA256 0x00001000 |
#define | ICM_RCFG_ALGO_SHA224 0x00004000 |
#define | ICM_RCFG_PROCDLY 0x00000400 |
#define | ICM_RCFG_SUIEN 0x00000200 |
#define | ICM_RCFG_ECIEN 0x00000100 |
#define | ICM_RCFG_WCIEN 0x00000080 |
#define | ICM_RCFG_BEIEN 0x00000040 |
#define | ICM_RCFG_DMIEN 0x00000020 |
#define | ICM_RCFG_RHIEN 0x00000010 |
#define | ICM_RCFG_EOM 0x00000004 |
#define | ICM_RCFG_WRAP 0x00000002 |
#define | ICM_RCFG_CDWBN 0x00000001 |
Detailed Description
SAM4C 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.
- Version
- 2.4.4
Definition in file sam4c_crypto_hash.h.
Macro Definition Documentation
◆ ICM_ALGO_SHA1
#define ICM_ALGO_SHA1 0 |
Definition at line 45 of file sam4c_crypto_hash.h.
◆ ICM_ALGO_SHA224
#define ICM_ALGO_SHA224 4 |
Definition at line 47 of file sam4c_crypto_hash.h.
◆ ICM_ALGO_SHA256
#define ICM_ALGO_SHA256 1 |
Definition at line 46 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_ALGO
#define ICM_RCFG_ALGO 0x00007000 |
Definition at line 51 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_ALGO_SHA1
#define ICM_RCFG_ALGO_SHA1 0x00000000 |
Definition at line 52 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_ALGO_SHA224
#define ICM_RCFG_ALGO_SHA224 0x00004000 |
Definition at line 54 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_ALGO_SHA256
#define ICM_RCFG_ALGO_SHA256 0x00001000 |
Definition at line 53 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_BEIEN
#define ICM_RCFG_BEIEN 0x00000040 |
Definition at line 59 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_CDWBN
#define ICM_RCFG_CDWBN 0x00000001 |
Definition at line 64 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_DMIEN
#define ICM_RCFG_DMIEN 0x00000020 |
Definition at line 60 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_ECIEN
#define ICM_RCFG_ECIEN 0x00000100 |
Definition at line 57 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_EOM
#define ICM_RCFG_EOM 0x00000004 |
Definition at line 62 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_MRPROT
#define ICM_RCFG_MRPROT 0x3F000000 |
Definition at line 50 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_PROCDLY
#define ICM_RCFG_PROCDLY 0x00000400 |
Definition at line 55 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_RHIEN
#define ICM_RCFG_RHIEN 0x00000010 |
Definition at line 61 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_SUIEN
#define ICM_RCFG_SUIEN 0x00000200 |
Definition at line 56 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_WCIEN
#define ICM_RCFG_WCIEN 0x00000080 |
Definition at line 58 of file sam4c_crypto_hash.h.
◆ ICM_RCFG_WRAP
#define ICM_RCFG_WRAP 0x00000002 |
Definition at line 63 of file sam4c_crypto_hash.h.
◆ SAM4C_CRYPTO_HASH_SUPPORT
#define SAM4C_CRYPTO_HASH_SUPPORT DISABLED |
Definition at line 39 of file sam4c_crypto_hash.h.