f2838x_crypto_cipher.h File Reference

TMS320F2838xD cipher hardware accelerator. More...

#include "core/crypto.h"

Go to the source code of this file.

Macros

#define F2838X_CRYPTO_CIPHER_SUPPORT   DISABLED
 
#define AES_KEY2_6_R   HWREG(AES_BASE + AES_O_KEY2_6)
 
#define AES_KEY2_7_R   HWREG(AES_BASE + AES_O_KEY2_7)
 
#define AES_KEY2_4_R   HWREG(AES_BASE + AES_O_KEY2_4)
 
#define AES_KEY2_5_R   HWREG(AES_BASE + AES_O_KEY2_5)
 
#define AES_KEY2_2_R   HWREG(AES_BASE + AES_O_KEY2_2)
 
#define AES_KEY2_3_R   HWREG(AES_BASE + AES_O_KEY2_3)
 
#define AES_KEY2_0_R   HWREG(AES_BASE + AES_O_KEY2_0)
 
#define AES_KEY2_1_R   HWREG(AES_BASE + AES_O_KEY2_1)
 
#define AES_KEY1_6_R   HWREG(AES_BASE + AES_O_KEY1_6)
 
#define AES_KEY1_7_R   HWREG(AES_BASE + AES_O_KEY1_7)
 
#define AES_KEY1_4_R   HWREG(AES_BASE + AES_O_KEY1_4)
 
#define AES_KEY1_5_R   HWREG(AES_BASE + AES_O_KEY1_5)
 
#define AES_KEY1_2_R   HWREG(AES_BASE + AES_O_KEY1_2)
 
#define AES_KEY1_3_R   HWREG(AES_BASE + AES_O_KEY1_3)
 
#define AES_KEY1_0_R   HWREG(AES_BASE + AES_O_KEY1_0)
 
#define AES_KEY1_1_R   HWREG(AES_BASE + AES_O_KEY1_1)
 
#define AES_IV_IN_OUT_0_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_0)
 
#define AES_IV_IN_OUT_1_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_1)
 
#define AES_IV_IN_OUT_2_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_2)
 
#define AES_IV_IN_OUT_3_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_3)
 
#define AES_CTRL_R   HWREG(AES_BASE + AES_O_CTRL)
 
#define AES_C_LENGTH_0_R   HWREG(AES_BASE + AES_O_C_LENGTH_0)
 
#define AES_C_LENGTH_1_R   HWREG(AES_BASE + AES_O_C_LENGTH_1)
 
#define AES_AUTH_LENGTH_R   HWREG(AES_BASE + AES_O_AUTH_LENGTH)
 
#define AES_DATA_IN_OUT_0_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_0)
 
#define AES_DATA_IN_OUT_1_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_1)
 
#define AES_DATA_IN_OUT_2_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_2)
 
#define AES_DATA_IN_OUT_3_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_3)
 
#define AES_TAG_OUT_0_R   HWREG(AES_BASE + AES_O_TAG_OUT_0)
 
#define AES_TAG_OUT_1_R   HWREG(AES_BASE + AES_O_TAG_OUT_1)
 
#define AES_TAG_OUT_2_R   HWREG(AES_BASE + AES_O_TAG_OUT_2)
 
#define AES_TAG_OUT_3_R   HWREG(AES_BASE + AES_O_TAG_OUT_3)
 
#define AES_REVISION_R   HWREG(AES_BASE + AES_O_REVISION)
 
#define AES_SYSCONFIG_R   HWREG(AES_BASE + AES_O_SYSCONFIG)
 
#define AES_SYSSTATUS_R   HWREG(AES_BASE + AES_O_SYSSTATUS)
 
#define AES_IRQSTATUS_R   HWREG(AES_BASE + AES_O_IRQSTATUS)
 
#define AES_IRQENABLE_R   HWREG(AES_BASE + AES_O_IRQENABLE)
 
#define AES_DIRTYBITS_R   HWREG(AES_BASE + AES_O_DIRTYBITS)
 
#define AES_DMAIM_R   HWREG(AES_BASE + AES_O_DMAIM)
 
#define AES_DMARIS_R   HWREG(AES_BASE + AES_O_DMARIS)
 
#define AES_DMAMIS_R   HWREG(AES_BASE + AES_O_DMAMIS)
 
#define AES_DMAIC_R   HWREG(AES_BASE + AES_O_DMAIC)
 

Detailed Description

TMS320F2838xD 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 f2838x_crypto_cipher.h.

Macro Definition Documentation

◆ AES_AUTH_LENGTH_R

#define AES_AUTH_LENGTH_R   HWREG(AES_BASE + AES_O_AUTH_LENGTH)

Definition at line 68 of file f2838x_crypto_cipher.h.

◆ AES_C_LENGTH_0_R

#define AES_C_LENGTH_0_R   HWREG(AES_BASE + AES_O_C_LENGTH_0)

Definition at line 66 of file f2838x_crypto_cipher.h.

◆ AES_C_LENGTH_1_R

#define AES_C_LENGTH_1_R   HWREG(AES_BASE + AES_O_C_LENGTH_1)

Definition at line 67 of file f2838x_crypto_cipher.h.

◆ AES_CTRL_R

#define AES_CTRL_R   HWREG(AES_BASE + AES_O_CTRL)

Definition at line 65 of file f2838x_crypto_cipher.h.

◆ AES_DATA_IN_OUT_0_R

#define AES_DATA_IN_OUT_0_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_0)

Definition at line 69 of file f2838x_crypto_cipher.h.

◆ AES_DATA_IN_OUT_1_R

#define AES_DATA_IN_OUT_1_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_1)

Definition at line 70 of file f2838x_crypto_cipher.h.

◆ AES_DATA_IN_OUT_2_R

#define AES_DATA_IN_OUT_2_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_2)

Definition at line 71 of file f2838x_crypto_cipher.h.

◆ AES_DATA_IN_OUT_3_R

#define AES_DATA_IN_OUT_3_R   HWREG(AES_BASE + AES_O_DATA_IN_OUT_3)

Definition at line 72 of file f2838x_crypto_cipher.h.

◆ AES_DIRTYBITS_R

#define AES_DIRTYBITS_R   HWREG(AES_BASE + AES_O_DIRTYBITS)

Definition at line 82 of file f2838x_crypto_cipher.h.

◆ AES_DMAIC_R

#define AES_DMAIC_R   HWREG(AES_BASE + AES_O_DMAIC)

Definition at line 86 of file f2838x_crypto_cipher.h.

◆ AES_DMAIM_R

#define AES_DMAIM_R   HWREG(AES_BASE + AES_O_DMAIM)

Definition at line 83 of file f2838x_crypto_cipher.h.

◆ AES_DMAMIS_R

#define AES_DMAMIS_R   HWREG(AES_BASE + AES_O_DMAMIS)

Definition at line 85 of file f2838x_crypto_cipher.h.

◆ AES_DMARIS_R

#define AES_DMARIS_R   HWREG(AES_BASE + AES_O_DMARIS)

Definition at line 84 of file f2838x_crypto_cipher.h.

◆ AES_IRQENABLE_R

#define AES_IRQENABLE_R   HWREG(AES_BASE + AES_O_IRQENABLE)

Definition at line 81 of file f2838x_crypto_cipher.h.

◆ AES_IRQSTATUS_R

#define AES_IRQSTATUS_R   HWREG(AES_BASE + AES_O_IRQSTATUS)

Definition at line 80 of file f2838x_crypto_cipher.h.

◆ AES_IV_IN_OUT_0_R

#define AES_IV_IN_OUT_0_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_0)

Definition at line 61 of file f2838x_crypto_cipher.h.

◆ AES_IV_IN_OUT_1_R

#define AES_IV_IN_OUT_1_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_1)

Definition at line 62 of file f2838x_crypto_cipher.h.

◆ AES_IV_IN_OUT_2_R

#define AES_IV_IN_OUT_2_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_2)

Definition at line 63 of file f2838x_crypto_cipher.h.

◆ AES_IV_IN_OUT_3_R

#define AES_IV_IN_OUT_3_R   HWREG(AES_BASE + AES_O_IV_IN_OUT_3)

Definition at line 64 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_0_R

#define AES_KEY1_0_R   HWREG(AES_BASE + AES_O_KEY1_0)

Definition at line 59 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_1_R

#define AES_KEY1_1_R   HWREG(AES_BASE + AES_O_KEY1_1)

Definition at line 60 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_2_R

#define AES_KEY1_2_R   HWREG(AES_BASE + AES_O_KEY1_2)

Definition at line 57 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_3_R

#define AES_KEY1_3_R   HWREG(AES_BASE + AES_O_KEY1_3)

Definition at line 58 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_4_R

#define AES_KEY1_4_R   HWREG(AES_BASE + AES_O_KEY1_4)

Definition at line 55 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_5_R

#define AES_KEY1_5_R   HWREG(AES_BASE + AES_O_KEY1_5)

Definition at line 56 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_6_R

#define AES_KEY1_6_R   HWREG(AES_BASE + AES_O_KEY1_6)

Definition at line 53 of file f2838x_crypto_cipher.h.

◆ AES_KEY1_7_R

#define AES_KEY1_7_R   HWREG(AES_BASE + AES_O_KEY1_7)

Definition at line 54 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_0_R

#define AES_KEY2_0_R   HWREG(AES_BASE + AES_O_KEY2_0)

Definition at line 51 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_1_R

#define AES_KEY2_1_R   HWREG(AES_BASE + AES_O_KEY2_1)

Definition at line 52 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_2_R

#define AES_KEY2_2_R   HWREG(AES_BASE + AES_O_KEY2_2)

Definition at line 49 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_3_R

#define AES_KEY2_3_R   HWREG(AES_BASE + AES_O_KEY2_3)

Definition at line 50 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_4_R

#define AES_KEY2_4_R   HWREG(AES_BASE + AES_O_KEY2_4)

Definition at line 47 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_5_R

#define AES_KEY2_5_R   HWREG(AES_BASE + AES_O_KEY2_5)

Definition at line 48 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_6_R

#define AES_KEY2_6_R   HWREG(AES_BASE + AES_O_KEY2_6)

Definition at line 45 of file f2838x_crypto_cipher.h.

◆ AES_KEY2_7_R

#define AES_KEY2_7_R   HWREG(AES_BASE + AES_O_KEY2_7)

Definition at line 46 of file f2838x_crypto_cipher.h.

◆ AES_REVISION_R

#define AES_REVISION_R   HWREG(AES_BASE + AES_O_REVISION)

Definition at line 77 of file f2838x_crypto_cipher.h.

◆ AES_SYSCONFIG_R

#define AES_SYSCONFIG_R   HWREG(AES_BASE + AES_O_SYSCONFIG)

Definition at line 78 of file f2838x_crypto_cipher.h.

◆ AES_SYSSTATUS_R

#define AES_SYSSTATUS_R   HWREG(AES_BASE + AES_O_SYSSTATUS)

Definition at line 79 of file f2838x_crypto_cipher.h.

◆ AES_TAG_OUT_0_R

#define AES_TAG_OUT_0_R   HWREG(AES_BASE + AES_O_TAG_OUT_0)

Definition at line 73 of file f2838x_crypto_cipher.h.

◆ AES_TAG_OUT_1_R

#define AES_TAG_OUT_1_R   HWREG(AES_BASE + AES_O_TAG_OUT_1)

Definition at line 74 of file f2838x_crypto_cipher.h.

◆ AES_TAG_OUT_2_R

#define AES_TAG_OUT_2_R   HWREG(AES_BASE + AES_O_TAG_OUT_2)

Definition at line 75 of file f2838x_crypto_cipher.h.

◆ AES_TAG_OUT_3_R

#define AES_TAG_OUT_3_R   HWREG(AES_BASE + AES_O_TAG_OUT_3)

Definition at line 76 of file f2838x_crypto_cipher.h.

◆ F2838X_CRYPTO_CIPHER_SUPPORT

#define F2838X_CRYPTO_CIPHER_SUPPORT   DISABLED

Definition at line 39 of file f2838x_crypto_cipher.h.