STM32MP13 cipher hardware accelerator. More...
#include "core/crypto.h"
Go to the source code of this file.
Macros | |
#define | STM32MP13XX_CRYPTO_CIPHER_SUPPORT DISABLED |
#define | CRYP_CR_GCM_CCMPH_INIT 0 |
#define | CRYP_CR_GCM_CCMPH_HEADER CRYP_CR_GCM_CCMPH_0 |
#define | CRYP_CR_GCM_CCMPH_PAYLOAD CRYP_CR_GCM_CCMPH_1 |
#define | CRYP_CR_GCM_CCMPH_FINAL (CRYP_CR_GCM_CCMPH_1 | CRYP_CR_GCM_CCMPH_0) |
#define | CRYP_CR_KEYSIZE_128B 0 |
#define | CRYP_CR_KEYSIZE_192B CRYP_CR_KEYSIZE_0 |
#define | CRYP_CR_KEYSIZE_256B CRYP_CR_KEYSIZE_1 |
#define | CRYP_CR_DATATYPE_32B 0 |
#define | CRYP_CR_DATATYPE_16B CRYP_CR_DATATYPE_0 |
#define | CRYP_CR_DATATYPE_8B CRYP_CR_DATATYPE_1 |
#define | CRYP_CR_DATATYPE_1B (CRYP_CR_DATATYPE_1 | CRYP_CR_DATATYPE_0) |
Functions | |
error_t | crypInit (void) |
CRYP module initialization. More... | |
Detailed Description
STM32MP13 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.
- Version
- 2.4.4
Definition in file stm32mp13xx_crypto_cipher.h.
Macro Definition Documentation
◆ CRYP_CR_DATATYPE_16B
#define CRYP_CR_DATATYPE_16B CRYP_CR_DATATYPE_0 |
Definition at line 57 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_DATATYPE_1B
#define CRYP_CR_DATATYPE_1B (CRYP_CR_DATATYPE_1 | CRYP_CR_DATATYPE_0) |
Definition at line 59 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_DATATYPE_32B
#define CRYP_CR_DATATYPE_32B 0 |
Definition at line 56 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_DATATYPE_8B
#define CRYP_CR_DATATYPE_8B CRYP_CR_DATATYPE_1 |
Definition at line 58 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_GCM_CCMPH_FINAL
#define CRYP_CR_GCM_CCMPH_FINAL (CRYP_CR_GCM_CCMPH_1 | CRYP_CR_GCM_CCMPH_0) |
Definition at line 48 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_GCM_CCMPH_HEADER
#define CRYP_CR_GCM_CCMPH_HEADER CRYP_CR_GCM_CCMPH_0 |
Definition at line 46 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_GCM_CCMPH_INIT
#define CRYP_CR_GCM_CCMPH_INIT 0 |
Definition at line 45 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_GCM_CCMPH_PAYLOAD
#define CRYP_CR_GCM_CCMPH_PAYLOAD CRYP_CR_GCM_CCMPH_1 |
Definition at line 47 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_KEYSIZE_128B
#define CRYP_CR_KEYSIZE_128B 0 |
Definition at line 51 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_KEYSIZE_192B
#define CRYP_CR_KEYSIZE_192B CRYP_CR_KEYSIZE_0 |
Definition at line 52 of file stm32mp13xx_crypto_cipher.h.
◆ CRYP_CR_KEYSIZE_256B
#define CRYP_CR_KEYSIZE_256B CRYP_CR_KEYSIZE_1 |
Definition at line 53 of file stm32mp13xx_crypto_cipher.h.
◆ STM32MP13XX_CRYPTO_CIPHER_SUPPORT
#define STM32MP13XX_CRYPTO_CIPHER_SUPPORT DISABLED |
Definition at line 39 of file stm32mp13xx_crypto_cipher.h.
Function Documentation
◆ crypInit()
error_t crypInit | ( | void | ) |
CRYP module initialization.
- Returns
- Error code
Definition at line 53 of file apm32f4xx_crypto_cipher.c.