2023-03-27 07:20:03 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "soc/hwcrypto_reg.h"
|
|
|
|
#include "soc/mpi_periph.h"
|
|
|
|
|
2024-05-07 02:42:03 -04:00
|
|
|
const uint32_t MPI_BLOCK_BASES[SOC_MPI_MEM_BLOCKS_NUM] = {
|
2023-03-27 07:20:03 -04:00
|
|
|
RSA_MEM_X_BLOCK_BASE,
|
|
|
|
RSA_MEM_Y_BLOCK_BASE,
|
|
|
|
RSA_MEM_Z_BLOCK_BASE,
|
|
|
|
RSA_MEM_M_BLOCK_BASE,
|
|
|
|
};
|
|
|
|
|
2024-05-07 02:42:03 -04:00
|
|
|
const uint32_t MPI_OPERATIONS_REG[SOC_MPI_OPERATIONS_NUM] = {
|
2023-03-27 07:20:03 -04:00
|
|
|
RSA_MULT_START_REG,
|
|
|
|
RSA_MOD_MULT_START_REG,
|
|
|
|
RSA_MODEXP_START_REG,
|
|
|
|
};
|