mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
fix(soc): Refactor variable names for MPI operations and block bases
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
#include "soc/hwcrypto_reg.h"
|
||||
#include "soc/mpi_periph.h"
|
||||
|
||||
const uint32_t MPI_LL_BLOCK_BASES[4] = {
|
||||
const uint32_t MPI_BLOCK_BASES[SOC_MPI_MEM_BLOCKS_NUM] = {
|
||||
RSA_MEM_X_BLOCK_BASE,
|
||||
RSA_MEM_Y_BLOCK_BASE,
|
||||
RSA_MEM_Z_BLOCK_BASE,
|
||||
RSA_MEM_M_BLOCK_BASE,
|
||||
};
|
||||
|
||||
const uint32_t MPI_LL_OPERATIONS[3] = {
|
||||
const uint32_t MPI_OPERATIONS_REG[SOC_MPI_OPERATIONS_NUM] = {
|
||||
RSA_MULT_START_REG,
|
||||
RSA_MOD_MULT_START_REG,
|
||||
RSA_MODEXP_START_REG,
|
||||
|
Reference in New Issue
Block a user