Nik Dewally | bc9e194 | 2024-07-02 17:00:15 +0100 | [diff] [blame] | 1 | ################################ |
| 2 | 'tfz-cpp/assets'-directory guide |
| 3 | ################################ |
Karl Zhang | 3de5ab1 | 2021-05-31 11:45:48 +0800 | [diff] [blame] | 4 | |
| 5 | ************ |
| 6 | Introduction |
| 7 | ************ |
| 8 | |
| 9 | This directory contains C++ header and program files for classes of objects that |
| 10 | track PSA assets, while generating a directed-random test. Notably this is |
| 11 | during the Simulate phase, after Parse phase, which parses the test-template |
| 12 | file, and prior to writing out the generated C code. |
| 13 | |
Nik Dewally | bc9e194 | 2024-07-02 17:00:15 +0100 | [diff] [blame] | 14 | ********************************************* |
| 15 | ``tf_fuzz/tfz-cpp/assets`` directory contents |
| 16 | ********************************************* |
Karl Zhang | 3de5ab1 | 2021-05-31 11:45:48 +0800 | [diff] [blame] | 17 | .. code-block:: bash |
| 18 | |
| 19 | crypto_asset.cpp psa_asset.cpp sst_asset.cpp |
| 20 | crypto_asset.hpp psa_asset.hpp sst_asset.hpp |
| 21 | |
| 22 | These hold current state of those assets as the run is simulated, after the |
| 23 | exact sequence of PSA commands to be executed is generated by the Parse stage. |
| 24 | Simulation only occurs to a level of detail of being able to predict pass/fail |
| 25 | status, and asset data. Generally speaking, it does not simulate |
| 26 | secure-partition code. |
| 27 | |
| 28 | -------------- |
| 29 | |
| 30 | *Copyright (c) 2020, Arm Limited. All rights reserved.* |