mpi_periph.c 425 B

123456789101112131415161718192021
  1. /*
  2. * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. #include "soc/rsa_reg.h"
  7. #include "soc/mpi_periph.h"
  8. const uint32_t MPI_LL_BLOCK_BASES[4] = {
  9. RSA_X_MEM_REG,
  10. RSA_Y_MEM_REG,
  11. RSA_Z_MEM_REG,
  12. RSA_M_MEM_REG,
  13. };
  14. const uint32_t MPI_LL_OPERATIONS[3] = {
  15. RSA_SET_START_MULT_REG,
  16. RSA_SET_START_MODMULT_REG,
  17. RSA_SET_START_MODEXP_REG,
  18. };