Skip to contentSkip to conversation

corstone1000: Align PSA crypto structs with TF-M

PATCH New [email protected] 3 participants 5 messages May 6, 2025 – May 13, 2025

lore
Share & tools
lore
#0 lore raw

cover corstone1000: Align PSA crypto structs with TF-M

From: Ali Can Ozaslan <[email protected]>

The TF-M was upgraded to v2.1.1 for the Corstone-1000. The TS had to be aligned with it.

Ali Can Ozaslan (1):
arm-bsp/trusted-services: corstone1000: Align PSA crypto structs with
TF-M

 ...n-PSA-Crypto-structs-with-TF-Mv2.1.1.patch | 29 +++++++++++++++++++
 .../trusted-services/ts-arm-platforms.inc     |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-security/trusted-services/corstone1000/0021-Align-PSA-Crypto-structs-with-TF-Mv2.1.1.patch
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 Align PSA Crypto structs with TF-Mv2.1.1

From: Ali Can Ozaslan <[email protected]>

The psa_client_key_attributes_s struct had to be aligned with the psa_key_attributes_s struct in TF-M.

---
 components/service/crypto/include/psa/crypto_client_struct.h | 1 -
 1 file changed, 1 deletion(-)
components/service/crypto/include/psa/crypto_client_struct.h +0 -1
index ebc4008..f0c8cad 100644
@@ -38,7 +38,6 @@ struct psa_client_key_attributes_s
     uint32_t alg;
     uint32_t alg2;
     uint32_t id;
-    int32_t owner_id;
 };
 
 #define PSA_CLIENT_KEY_ATTRIBUTES_INIT {0, 0, 0, 0, 0, 0}
Signature · 1 line
2.34.1
#2 lore raw

Re: [meta-arm] [PATCH] Align PSA Crypto structs with TF-Mv2.1.1

Quoted 9 lines · ali.oezaslan via lists.yoctoproject.org

From: Ali Can Ozaslan <[email protected]>

The psa_client_key_attributes_s struct had to be aligned with the psa_key_attributes_s struct in TF-M.

---
components/service/crypto/include/psa/crypto_client_struct.h | 1 -

I’m guessing that you’re doing git-format-patch and then git-send-email manually, because the cover letter is correct but this is a patch for TF-M, not meta-arm.

Can you re-send?

Ross

#3 lore raw

Re: [meta-arm] [PATCH] Align PSA Crypto structs with TF-Mv2.1.1

I applied the walnascar one to master (and am currently merging both). The Pending thing is an issue that needs to be addressed, but we can do that after (given the proximity of the release)

Quoted 25 lines · Ross Burton via lists.yoctoproject.org
Quoted 9 lines · ali.oezaslan via lists.yoctoproject.org

From: Ali Can Ozaslan <[email protected]>

The psa_client_key_attributes_s struct had to be aligned with the psa_key_attributes_s struct in TF-M.

---
components/service/crypto/include/psa/crypto_client_struct.h | 1 -

I’m guessing that you’re doing git-format-patch and then git-send-email manually, because the cover letter is correct but this is a patch for TF-M, not meta-arm.

Can you re-send?

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6497): https://lists.yoctoproject.org/g/meta-arm/message/6497
Mute This Topic: https://lists.yoctoproject.org/mt/112652834/3616920
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Re: [meta-arm] [PATCH] Align PSA Crypto structs with TF-Mv2.1.1

Thanks for the feedback and for applying the walnascar patch to master. As for the pending issue you mentioned, it will be addressed.

You're right — I had manually prepared the patch using git format-patch and git send-email

Ali Can Ozaslan
________________________________
From: Jon Mason <[email protected]>
Sent: Tuesday, May 13, 2025 1:59 PM
To: Ross Burton <[email protected]>
Cc: Ali Ozaslan <[email protected]>; [email protected] <[email protected]>
Subject: Re: [meta-arm] [PATCH] Align PSA Crypto structs with TF-Mv2.1.1

I applied the walnascar one to master (and am currently merging both). The Pending thing is an issue that needs to be addressed, but we can do that after (given the proximity of the release)

Quoted 25 lines · Ross Burton via lists.yoctoproject.org
Quoted 9 lines · ali.oezaslan via lists.yoctoproject.org

From: Ali Can Ozaslan <[email protected]>

The psa_client_key_attributes_s struct had to be aligned with the psa_key_attributes_s struct in TF-M.

---
components/service/crypto/include/psa/crypto_client_struct.h | 1 -

I’m guessing that you’re doing git-format-patch and then git-send-email manually, because the cover letter is correct but this is a patch for TF-M, not meta-arm.

Can you re-send?

Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6497): https://lists.yoctoproject.org/g/meta-arm/message/6497
Mute This Topic: https://lists.yoctoproject.org/mt/112652834/3616920
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-