2023-08-03 00:14:02 -04:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "soc/rsa_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-08-03 00:14:02 -04:00
|
|
|
RSA_X_MEM,
|
|
|
|
RSA_Y_MEM,
|
|
|
|
RSA_Z_MEM,
|
|
|
|
RSA_M_MEM,
|
|
|
|
};
|
|
|
|
|
2024-05-07 02:42:03 -04:00
|
|
|
const uint32_t MPI_OPERATIONS_REG[SOC_MPI_OPERATIONS_NUM] = {
|
2023-08-03 00:14:02 -04:00
|
|
|
RSA_SET_START_MULT_REG,
|
|
|
|
RSA_SET_START_MODMULT_REG,
|
|
|
|
RSA_SET_START_MODEXP_REG,
|
|
|
|
};
|