oyvindronningstad / suit-processor

https://datatracker.ietf.org/wg/suit/documents/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SUIT Manifest Processor

The manifest processor takes signed SUIT1 envelope and:

  • Validates the structure of the envelope
  • Checks the signature of the manifest
  • Validates the structure of the manifest
  • Validates the parameters
  • Runs the requested commands

Running tests

The tests are deivided into two categories:

  • Unit tests - that verify the SUIT processor module logic. They are based on the Unity CMock mocking framework, running under Zephyr RTOS.
  • Integration tests - that verify the SUIT processor running with a sample platform code on the HW. Those tests are based on the Zephyr ztest.

There are also test scripts to quickly run all tests.

  • tests/test.sh runs all tests.
  • tests/verbose_test.sh runs all tests with increased verbosity. Please make sure that the environment variable $ZEPHYR_BASE is set prior to running those scripts.

To set up the environment to all tests, follow nRF Connect SDK Getting Started Guide, or see the workflow in the .github directory. Alternatively, to run only integration tests, you may follow Zephyr's Getting Started Guide.

About

https://datatracker.ietf.org/wg/suit/documents/

License:Other


Languages

Language:C 97.9%Language:CMake 2.0%Language:Shell 0.1%