blob: 5eb0e6371f631437df364e502195016aa26f2273 [file] [log] [blame]
Nik Dewallybc9e1942024-07-02 17:00:15 +01001###############################
2'tfz-cpp/calls'-directory guide
3###############################
Karl Zhang3de5ab12021-05-31 11:45:48 +08004
5************
6Introduction
7************
8
9These classes define objects that describe everything needed to generate a PSA
10call. The Parse phase, which parses the test-template file, generates an C++
11STL ``vector`` of ``psa_call``-class objects describing the series of PSA calls
12chosen for the test to run, based upon the test template and the random seed.
13
14More-specifically class psa_class is an abstract class, and this vector contains
15objects of derived classes, each derived class defining a particular call type.
16Each ``psa_call``-subclass object encapsulates the initial and expected data,
17expected pass/fail results, and other information about the call.
18
Nik Dewallybc9e1942024-07-02 17:00:15 +010019********************************************
20``tf_fuzz/tfz-cpp/calls`` directory contents
21********************************************
Karl Zhang3de5ab12021-05-31 11:45:48 +080022.. code-block:: bash
23
24 crypto_call.cpp psa_call.cpp security_call.cpp sst_call.cpp
25 crypto_call.hpp psa_call.hpp security_call.hpp sst_call.hpp
26
27In the future, it's probably possible to, for target systems that can support
28sufficiently large memory footprints, instead of writing these calls out to a
29``.c`` file, to directly execute these PSA calls.
30
31--------------
32
33*Copyright (c) 2020, Arm Limited. All rights reserved.*