macro definition for encrypt API

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

macro definition for encrypt API

ソリューションへジャンプ
831件の閲覧回数
ShinjiOhishi
Contributor II

About encrypt a data using the following API on LPC55S69.

  • psa_cipher_generate_iv
  • psa_cipher_update
  • psa_cipher_finish

The following macro definition is defined in the API specification. https://developer.arm.com/documentation/ihi0086/latest/

  • PSA_CIPHER_IV_LENGTH
  • PSA_CIPHER_UPDATE_OUTPUT_SIZE
  • PSA_CIPHER_UPDATE_OUTPUT_MAX_SIZE
  • PSA_CIPHER_FINISH_OUTPUT_SIZE
  • PSA_CIPHER_FINISH_OUTPUT_MAX_SIZE

encrypto_API.png

I have mbedtls enabled and tried to build the SDK, but crypto_sizes.h doesn't have these macro definitions.
Why is no define?

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
817件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi Shinji,

According to the same document you are referring those macros were added in 1.0 beta 3 version. You can see this in the C.1.2 Changes between 1.0 beta 3 and 1.0.0 section of the document.

Our latest SDK is using Platform Security Architecture APIs Version 1.0 so these new macros are still not reflected in our drivers.

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct"button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time. 

------------------------------------------------------------------------------ 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
810件の閲覧回数
ShinjiOhishi
Contributor II

Hi, Felipe Garcia.
Thank you for answering.

0 件の賞賛
返信
818件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi Shinji,

According to the same document you are referring those macros were added in 1.0 beta 3 version. You can see this in the C.1.2 Changes between 1.0 beta 3 and 1.0.0 section of the document.

Our latest SDK is using Platform Security Architecture APIs Version 1.0 so these new macros are still not reflected in our drivers.

Best regards,

Felipe

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct"button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored. Please open a new thread and refer to the closed one, if you have a related question at a later point in time. 

------------------------------------------------------------------------------ 

0 件の賞賛
返信