mpi_periph.c 447 B

123456789101112131415161718192021
  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[4] = {
  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[3] = {
  15. RSA_MULT_START_REG,
  16. RSA_MOD_MULT_START_REG,
  17. RSA_MODEXP_START_REG,
  18. };