test_params.h 695 B

1234567891011121314151617181920212223242526
  1. /*
  2. * SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. */
  7. #include "soc/soc_caps.h"
  8. #if SOC_AES_SUPPORTED
  9. #define ESP_AES_ENCRYPT 1 /**< AES encryption. */
  10. #define ESP_AES_DECRYPT 0 /**< AES decryption. */
  11. static const uint8_t key_256[] = {
  12. 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
  13. 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
  14. 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
  15. 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
  16. };
  17. static const uint8_t iv[] = {
  18. 0x10, 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0a, 0x09,
  19. 0x08, 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01,
  20. };
  21. #endif /* SOC_AES_SUPPORTED */