Hi Nicola,
I am seeing this error during NSPE build. I am using Infineon target (but I believe it will be same on other targets too)
Most importantly I am building INITIAL_ATTESTATION psa arch test suite (this is important because the only reference of psa_key_handle_t
type comes from api-tests/platform/targets/common/nspe/initial_attestation/pal_attestation_crypto.c)
Can you please check INITIAL_ATTESTATION PSA arch tests build on your platform and confirm whether they can be built successfully.
Best regards,
Bohdan Hunko
Cypress Semiconductor Ukraine LLC
Senior Engineer
CSS ICW SW INT BFS SFW
Mobile: +380995019714
Bohdan.Hunko@infineon.com
From: Nicola Mazzucato <Nicola.Mazzucato@arm.com>
Sent: Thursday, 5 February 2026 17:48
To: tf-m@lists.trustedfirmware.org; Hunko Bohdan (CSS ICW SWE INT BFS SFW) <Bohdan.Hunko@infineon.com>
Subject: Re: PSA arch tests with new PSA crypoto headers build issues
|
Caution: This e-mail originated outside Infineon
Technologies. Please be cautious when sharing information or opening attachments especially from unknown senders. Refer to our intranet
guide to help you identify Phishing email. |
Hi Bohdan,
I just quickly did a build test for AN521 with -DTEST_PSA_API=CRYPTO with success on mainline: 057abb632.
I can look into replicate if you share the target and the relevant build options.
Hope that helps
Thanks
Nick
From: Bohdan.Hunko--- via TF-M <tf-m@lists.trustedfirmware.org>
Sent: 05 February 2026 14:25
To: tf-m@lists.trustedfirmware.org <tf-m@lists.trustedfirmware.org>
Subject: [TF-M] PSA arch tests with new PSA crypoto headers build issues
Hi all,
I am trying to build psa-arch-tests for the latest master but I am getting these king of build errors:
error: unknown type name 'psa_key_handle_t'; did you mean 'psa_handle_t'?
23 | static psa_key_handle_t public_key_handle;
From what I can tell – psa arch tests have not yet been adapted to new PSA crypto headers. Am I correct? When can we expect this change to be available?
Best regards,
Bohdan Hunko
Cypress Semiconductor Ukraine LLC
Senior Engineer
CSS ICW SW INT BFS SFW
Mobile: +380995019714
Bohdan.Hunko@infineon.com