Patrick Williams | 6ad2fb6 | 2023-06-15 12:50:14 -0500 | [diff] [blame^] | 1 | From cf83184500703f9b4f2ac04be59cc7d624d8fd66 Mon Sep 17 00:00:00 2001 |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 2 | From: Satish Kumar <satish.kumar01@arm.com> |
| 3 | Date: Sun, 13 Feb 2022 09:01:10 +0000 |
Patrick Williams | 6ad2fb6 | 2023-06-15 12:50:14 -0500 | [diff] [blame^] | 4 | Subject: [PATCH 15/20] Fix: Crypto interface structure aligned with tf-m |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 5 | change. |
| 6 | |
| 7 | NO NEED TO RAISE PR: The PR for this FIX is raied by Emek. |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> |
| 11 | --- |
| 12 | components/service/crypto/backend/psa_ipc/crypto_ipc_backend.h | 3 ++- |
| 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/components/service/crypto/backend/psa_ipc/crypto_ipc_backend.h b/components/service/crypto/backend/psa_ipc/crypto_ipc_backend.h |
| 16 | index c13c20e84131..ec25eaf868c7 100644 |
| 17 | --- a/components/service/crypto/backend/psa_ipc/crypto_ipc_backend.h |
| 18 | +++ b/components/service/crypto/backend/psa_ipc/crypto_ipc_backend.h |
| 19 | @@ -38,7 +38,8 @@ struct psa_ipc_crypto_pack_iovec { |
| 20 | * multipart operation |
| 21 | */ |
| 22 | uint32_t capacity; /*!< Key derivation capacity */ |
| 23 | - |
| 24 | + uint32_t ad_length; /*!< Additional Data length for multipart AEAD */ |
| 25 | + uint32_t plaintext_length; /*!< Plaintext length for multipart AEAD */ |
| 26 | struct psa_ipc_crypto_aead_pack_input aead_in; /*!< FixMe: Temporarily used for |
| 27 | * AEAD until the API is |
| 28 | * restructured |
| 29 | -- |
Patrick Williams | 6ad2fb6 | 2023-06-15 12:50:14 -0500 | [diff] [blame^] | 30 | 2.38.1 |
Patrick Williams | 975a06f | 2022-10-21 14:42:47 -0500 | [diff] [blame] | 31 | |