same70_crypto_hash.h File Reference

SAME70 hash hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Data Structures

struct  Same70IcmDesc
 ICM region descriptor. More...
 

Macros

#define SAME70_CRYPTO_HASH_SUPPORT   DISABLED
 
#define SAME70_ICM_BUFFER_SIZE   1024
 
#define SAME70_ICM_RAM_SECTION   ".ram_no_cache"
 
#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

SAME70 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 same70_crypto_hash.h.

Macro Definition Documentation

◆ ICM_ALGO_SHA1

#define ICM_ALGO_SHA1   0

Definition at line 57 of file same70_crypto_hash.h.

◆ ICM_ALGO_SHA224

#define ICM_ALGO_SHA224   4

Definition at line 59 of file same70_crypto_hash.h.

◆ ICM_ALGO_SHA256

#define ICM_ALGO_SHA256   1

Definition at line 58 of file same70_crypto_hash.h.

◆ ICM_RCFG_ALGO

#define ICM_RCFG_ALGO   0x00007000

Definition at line 63 of file same70_crypto_hash.h.

◆ ICM_RCFG_ALGO_SHA1

#define ICM_RCFG_ALGO_SHA1   0x00000000

Definition at line 64 of file same70_crypto_hash.h.

◆ ICM_RCFG_ALGO_SHA224

#define ICM_RCFG_ALGO_SHA224   0x00004000

Definition at line 66 of file same70_crypto_hash.h.

◆ ICM_RCFG_ALGO_SHA256

#define ICM_RCFG_ALGO_SHA256   0x00001000

Definition at line 65 of file same70_crypto_hash.h.

◆ ICM_RCFG_BEIEN

#define ICM_RCFG_BEIEN   0x00000040

Definition at line 71 of file same70_crypto_hash.h.

◆ ICM_RCFG_CDWBN

#define ICM_RCFG_CDWBN   0x00000001

Definition at line 76 of file same70_crypto_hash.h.

◆ ICM_RCFG_DMIEN

#define ICM_RCFG_DMIEN   0x00000020

Definition at line 72 of file same70_crypto_hash.h.

◆ ICM_RCFG_ECIEN

#define ICM_RCFG_ECIEN   0x00000100

Definition at line 69 of file same70_crypto_hash.h.

◆ ICM_RCFG_EOM

#define ICM_RCFG_EOM   0x00000004

Definition at line 74 of file same70_crypto_hash.h.

◆ ICM_RCFG_MRPROT

#define ICM_RCFG_MRPROT   0x3F000000

Definition at line 62 of file same70_crypto_hash.h.

◆ ICM_RCFG_PROCDLY

#define ICM_RCFG_PROCDLY   0x00000400

Definition at line 67 of file same70_crypto_hash.h.

◆ ICM_RCFG_RHIEN

#define ICM_RCFG_RHIEN   0x00000010

Definition at line 73 of file same70_crypto_hash.h.

◆ ICM_RCFG_SUIEN

#define ICM_RCFG_SUIEN   0x00000200

Definition at line 68 of file same70_crypto_hash.h.

◆ ICM_RCFG_WCIEN

#define ICM_RCFG_WCIEN   0x00000080

Definition at line 70 of file same70_crypto_hash.h.

◆ ICM_RCFG_WRAP

#define ICM_RCFG_WRAP   0x00000002

Definition at line 75 of file same70_crypto_hash.h.

◆ SAME70_CRYPTO_HASH_SUPPORT

#define SAME70_CRYPTO_HASH_SUPPORT   DISABLED

Definition at line 39 of file same70_crypto_hash.h.

◆ SAME70_ICM_BUFFER_SIZE

#define SAME70_ICM_BUFFER_SIZE   1024

Definition at line 46 of file same70_crypto_hash.h.

◆ SAME70_ICM_RAM_SECTION

#define SAME70_ICM_RAM_SECTION   ".ram_no_cache"

Definition at line 53 of file same70_crypto_hash.h.