MAX32690 public-key hardware accelerator. More...
#include "core/crypto.h"
Go to the source code of this file.
Detailed Description
MAX32690 public-key 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 max32690_crypto_pkc.h.
Macro Definition Documentation
◆ CTB_CTRL_MAA_DONE_Pos
#define CTB_CTRL_MAA_DONE_Pos 28 |
Definition at line 53 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMA
#define CTB_MAA_CTRL_AMA | ( | n | ) | (((n) << CTB_MAA_CTRL_AMA_Pos) & CTB_MAA_CTRL_AMA_Msk) |
Definition at line 72 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMA_Msk
#define CTB_MAA_CTRL_AMA_Msk 0x000F0000 |
Definition at line 71 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMA_Pos
#define CTB_MAA_CTRL_AMA_Pos 16 |
Definition at line 70 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMS
#define CTB_MAA_CTRL_AMS | ( | n | ) | (((n) << CTB_MAA_CTRL_AMS_Pos) & CTB_MAA_CTRL_AMS_Msk) |
Definition at line 88 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMS_Msk
#define CTB_MAA_CTRL_AMS_Msk 0x00000300 |
Definition at line 87 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_AMS_Pos
#define CTB_MAA_CTRL_AMS_Pos 8 |
Definition at line 86 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMA
#define CTB_MAA_CTRL_BMA | ( | n | ) | (((n) << CTB_MAA_CTRL_BMA_Pos) & CTB_MAA_CTRL_BMA_Msk) |
Definition at line 68 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMA_Msk
#define CTB_MAA_CTRL_BMA_Msk 0x00F00000 |
Definition at line 67 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMA_Pos
#define CTB_MAA_CTRL_BMA_Pos 20 |
Definition at line 66 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMS
#define CTB_MAA_CTRL_BMS | ( | n | ) | (((n) << CTB_MAA_CTRL_BMS_Pos) & CTB_MAA_CTRL_BMS_Msk) |
Definition at line 84 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMS_Msk
#define CTB_MAA_CTRL_BMS_Msk 0x00000C00 |
Definition at line 83 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_BMS_Pos
#define CTB_MAA_CTRL_BMS_Pos 10 |
Definition at line 82 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC
#define CTB_MAA_CTRL_CALC | ( | n | ) | (((n) << CTB_MAA_CTRL_CALC_Pos) & CTB_MAA_CTRL_CALC_Msk) |
Definition at line 102 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_ADD_Val
#define CTB_MAA_CTRL_CALC_MOD_ADD_Val 4 |
Definition at line 100 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_EXP_Val
#define CTB_MAA_CTRL_CALC_MOD_EXP_Val 0 |
Definition at line 96 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_MUL_Val
#define CTB_MAA_CTRL_CALC_MOD_MUL_Val 2 |
Definition at line 98 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_SQR_MUL_Val
#define CTB_MAA_CTRL_CALC_MOD_SQR_MUL_Val 3 |
Definition at line 99 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_SQR_Val
#define CTB_MAA_CTRL_CALC_MOD_SQR_Val 1 |
Definition at line 97 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_MOD_SUB_Val
#define CTB_MAA_CTRL_CALC_MOD_SUB_Val 5 |
Definition at line 101 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_Msk
#define CTB_MAA_CTRL_CALC_Msk 0x0000000E |
Definition at line 95 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_CALC_Pos
#define CTB_MAA_CTRL_CALC_Pos 1 |
Definition at line 94 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_EMS
#define CTB_MAA_CTRL_EMS | ( | n | ) | (((n) << CTB_MAA_CTRL_EMS_Pos) & CTB_MAA_CTRL_EMS_Msk) |
Definition at line 80 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_EMS_Msk
#define CTB_MAA_CTRL_EMS_Msk 0x00003000 |
Definition at line 79 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_EMS_Pos
#define CTB_MAA_CTRL_EMS_Pos 12 |
Definition at line 78 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_MMS
#define CTB_MAA_CTRL_MMS | ( | n | ) | (((n) << CTB_MAA_CTRL_MMS_Pos) & CTB_MAA_CTRL_MMS_Msk) |
Definition at line 76 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_MMS_Msk
#define CTB_MAA_CTRL_MMS_Msk 0x0000C000 |
Definition at line 75 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_MMS_Pos
#define CTB_MAA_CTRL_MMS_Pos 14 |
Definition at line 74 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_OPT
#define CTB_MAA_CTRL_OPT | ( | n | ) | (((n) << CTB_MAA_CTRL_OPT_Pos) & CTB_MAA_CTRL_OPT_Msk) |
Definition at line 92 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_OPT_Msk
#define CTB_MAA_CTRL_OPT_Msk 0x00000010 |
Definition at line 91 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_OPT_Pos
#define CTB_MAA_CTRL_OPT_Pos 4 |
Definition at line 90 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_RMA
#define CTB_MAA_CTRL_RMA | ( | n | ) | (((n) << CTB_MAA_CTRL_RMA_Pos) & CTB_MAA_CTRL_RMA_Msk) |
Definition at line 64 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_RMA_Msk
#define CTB_MAA_CTRL_RMA_Msk 0x0F000000 |
Definition at line 63 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_RMA_Pos
#define CTB_MAA_CTRL_RMA_Pos 24 |
Definition at line 62 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_START
#define CTB_MAA_CTRL_START | ( | n | ) | (((n) << CTB_MAA_CTRL_START_Pos) & CTB_MAA_CTRL_START_Msk) |
Definition at line 106 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_START_Msk
#define CTB_MAA_CTRL_START_Msk 0x00000001 |
Definition at line 105 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_START_Pos
#define CTB_MAA_CTRL_START_Pos 0 |
Definition at line 104 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_TMA
#define CTB_MAA_CTRL_TMA | ( | n | ) | (((n) << CTB_MAA_CTRL_TMA_Pos) & CTB_MAA_CTRL_TMA_Msk) |
Definition at line 60 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_TMA_Msk
#define CTB_MAA_CTRL_TMA_Msk 0xF0000000 |
Definition at line 59 of file max32690_crypto_pkc.h.
◆ CTB_MAA_CTRL_TMA_Pos
#define CTB_MAA_CTRL_TMA_Pos 28 |
Definition at line 58 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_0
#define CTB_MAA_MEM_INSTANCE_0 0x0100 |
Definition at line 45 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_1
#define CTB_MAA_MEM_INSTANCE_1 0x0200 |
Definition at line 46 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_2
#define CTB_MAA_MEM_INSTANCE_2 0x0300 |
Definition at line 47 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_3
#define CTB_MAA_MEM_INSTANCE_3 0x0400 |
Definition at line 48 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_4
#define CTB_MAA_MEM_INSTANCE_4 0x0500 |
Definition at line 49 of file max32690_crypto_pkc.h.
◆ CTB_MAA_MEM_INSTANCE_5
#define CTB_MAA_MEM_INSTANCE_5 0x0600 |
Definition at line 50 of file max32690_crypto_pkc.h.
◆ MAX32690_CRYPTO_PKC_SUPPORT
#define MAX32690_CRYPTO_PKC_SUPPORT DISABLED |
Definition at line 39 of file max32690_crypto_pkc.h.
◆ TB_CTRL_MAA_DONE
#define TB_CTRL_MAA_DONE | ( | n | ) | (((n) << CTB_CTRL_MAA_DONE_Pos) & TB_CTRL_MAA_DONE_Msk) |
Definition at line 55 of file max32690_crypto_pkc.h.
◆ TB_CTRL_MAA_DONE_Msk
#define TB_CTRL_MAA_DONE_Msk 0x10000000 |
Definition at line 54 of file max32690_crypto_pkc.h.