psasim: skip some functions; see _SKIP_FUNCTIONS in generate_psa_wrappers.py

Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
Tom Cosgrove 2024-06-21 15:28:19 +01:00 committed by Valerio Setti
parent a4eac4a84d
commit 55b62dab75

View File

@ -18,6 +18,16 @@ my $debug = 0;
my %functions = get_functions();
my @functions = sort keys %functions;
# We don't want these functions (e.g. because they are not implemented, etc)
my @skip_functions = qw(
psa_key_derivation_verify_bytes
psa_key_derivation_verify_key
);
# Remove @skip_functions from @functions
my %skip_functions = map { $_ => 1 } @skip_functions;
@functions = grep(!exists($skip_functions{$_}), @functions);
# get_functions(), called above, returns a data structure for each function
# that we need to create client and server stubs for. In this example Perl script,
# the function declarations we want are in the data section (after __END__ at