sample:
  description: This app provides an example of using PSA crypto APIs
      to generate device certificate signing request in Zephyr
      using IPC mode.
  name: PSA crypto example
tests:
  sample.psa_crypto:
    tags:
      - introduction
      - trusted-firmware-m
      - crypto
      - csr
      - mcuboot
    platform_allow: mps2_an521_ns v2m_musca_s1_ns
      nrf5340dk_nrf5340_cpuapp_ns nrf9160dk_nrf9160_ns
      stm32l562e_dk_ns bl5340_dvk_cpuapp_ns
    harness: console
    harness_config:
      type: multi_line
      regex:
        - "System IAT size is: (.*)"
        - "Requesting IAT with (.*) byte challenge."
        - "IAT data received: (.*)"
        - "Retrieving public key for key #1"
        - "Signature verified"
        - "Destroyed persistent key #1"
        - "Generating 256 bytes of random data."
        - "Create device Certificate Signing Request completed"
        - "BEGIN CERTIFICATE REQUEST"
        - "END CERTIFICATE REQUEST"
