mpi_periph.c 435 B

12345678910111213141516171819
  1. /*
  2. * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "soc/hwcrypto_reg.h"
  7. #include "soc/mpi_periph.h"
  8. const uint32_t MPI_LL_BLOCK_BASES[SOC_MPI_MEM_BLOCKS_NUM] = {
  9. RSA_MEM_X_BLOCK_BASE,
  10. RSA_MEM_Y_BLOCK_BASE,
  11. RSA_MEM_Z_BLOCK_BASE,
  12. RSA_MEM_M_BLOCK_BASE,
  13. };
  14. const uint32_t MPI_LL_OPERATIONS[SOC_MPI_OPERATIONS_NUM] = {
  15. RSA_MULT_START_REG,
  16. };