blob: e55a27830f7771d78367ac13d4f8276fdc8cf230 [file] [log] [blame]
Karl Zhang3de5ab12021-05-31 11:45:48 +08001/*
2 * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef SECURITY_CALL_HPP
9#define SECURITY_CALL_HPP
10
11#include <string>
12#include <vector>
13
14/* This project's header files #including other project headers quickly becomes
15 unrealistically complicated. The only solution is for each .cpp to include
16 the headers it needs. */
17
18
19using namespace std;
20
21class hash_call : public security_call
22{
23public:
24 // Data members: // (low value in hiding these behind setters and getters)
25 // Methods:
26 bool copy_call_to_asset (void);
27 bool copy_asset_to_call (void);
28 void fill_in_prep_code (void);
29 void fill_in_command (void);
30 /* Hash checks are different from the rest in that there's a single "call" --
31 not a PSA call though -- for all of the assets cited in the template line.
32 In other cases, create a single call for each asset cited by the template
33 line, but in this case it's a single call for all of them. */
34 hash_call (tf_fuzz_info *test_state, long &asset_ser_no,
35 asset_search how_asset_found); // (constructor)
36 ~hash_call (void);
37
38protected:
39 // Data members:
40 // Methods:
41// void calc_result_code (void); for *now* keep this in security_call::
42
43private:
44 // Data members:
45 // Methods:
46};
47
48#endif // #ifndef SECURITY_CALL_HPP