m460_crypto_cipher.h File Reference

M460 cipher hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Macros

#define M460_CRYPTO_CIPHER_SUPPORT   DISABLED
 
#define CRPT_AES_CTL_OPMODE_ECB   0x00000000
 
#define CRPT_AES_CTL_OPMODE_CBC   0x00000100
 
#define CRPT_AES_CTL_OPMODE_CFB   0x00000200
 
#define CRPT_AES_CTL_OPMODE_OFB   0x00000300
 
#define CRPT_AES_CTL_OPMODE_CTR   0x00000400
 
#define CRPT_AES_CTL_OPMODE_CBC_CS1   0x00001000
 
#define CRPT_AES_CTL_OPMODE_CBC_CS2   0x00001100
 
#define CRPT_AES_CTL_OPMODE_CBC_CS3   0x00001200
 
#define CRPT_AES_CTL_OPMODE_GCM   0x00002000
 
#define CRPT_AES_CTL_OPMODE_GHASH   0x00002100
 
#define CRPT_AES_CTL_OPMODE_CCM   0x00002200
 
#define CRPT_AES_CTL_KEYSZ_128B   0x00000000
 
#define CRPT_AES_CTL_KEYSZ_192B   0x00000004
 
#define CRPT_AES_CTL_KEYSZ_256B   0x00000008
 

Detailed Description

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

Definition in file m460_crypto_cipher.h.

Macro Definition Documentation

◆ CRPT_AES_CTL_KEYSZ_128B

#define CRPT_AES_CTL_KEYSZ_128B   0x00000000

Definition at line 58 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_KEYSZ_192B

#define CRPT_AES_CTL_KEYSZ_192B   0x00000004

Definition at line 59 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_KEYSZ_256B

#define CRPT_AES_CTL_KEYSZ_256B   0x00000008

Definition at line 60 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CBC

#define CRPT_AES_CTL_OPMODE_CBC   0x00000100

Definition at line 46 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CBC_CS1

#define CRPT_AES_CTL_OPMODE_CBC_CS1   0x00001000

Definition at line 50 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CBC_CS2

#define CRPT_AES_CTL_OPMODE_CBC_CS2   0x00001100

Definition at line 51 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CBC_CS3

#define CRPT_AES_CTL_OPMODE_CBC_CS3   0x00001200

Definition at line 52 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CCM

#define CRPT_AES_CTL_OPMODE_CCM   0x00002200

Definition at line 55 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CFB

#define CRPT_AES_CTL_OPMODE_CFB   0x00000200

Definition at line 47 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_CTR

#define CRPT_AES_CTL_OPMODE_CTR   0x00000400

Definition at line 49 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_ECB

#define CRPT_AES_CTL_OPMODE_ECB   0x00000000

Definition at line 45 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_GCM

#define CRPT_AES_CTL_OPMODE_GCM   0x00002000

Definition at line 53 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_GHASH

#define CRPT_AES_CTL_OPMODE_GHASH   0x00002100

Definition at line 54 of file m460_crypto_cipher.h.

◆ CRPT_AES_CTL_OPMODE_OFB

#define CRPT_AES_CTL_OPMODE_OFB   0x00000300

Definition at line 48 of file m460_crypto_cipher.h.

◆ M460_CRYPTO_CIPHER_SUPPORT

#define M460_CRYPTO_CIPHER_SUPPORT   DISABLED

Definition at line 39 of file m460_crypto_cipher.h.