Se050-PLUG-TRUST-MW empty "axCi_Mutex" implementation and possibly deadlock in NXP code

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

Se050-PLUG-TRUST-MW empty "axCi_Mutex" implementation and possibly deadlock in NXP code

ソリューションへジャンプ
1,551件の閲覧回数
grzegorz2
Contributor II

Hi

I'am using MW version 03.03.00

I found out that openssl plugin uses mutex which has empty implementation in the file "sss/plugin/openssl/engine/src/ax_cryptoIpc.c" is it required to add implementation? Another issue with this mutex is that with proper implementation it can cause deadlock because of the bug in the file "sss/plugin/openssl/engine/src/ax_sssEngine_ecc.c". There is a code like this:

axCi_MutexLock();

if (status != kStatus_SSS_Success) {

return NULL;

}

axCi_MutexUnlock();

mutex is not released in case of error and application will be deadlocked after next function call

タグ(1)
0 件の賞賛
返信
1 解決策
1,538件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @grzegorz2 ,

 

Actually I didn't find such kind of issue in the latest version of 04.01.01, would you please update the MW on your hands? or is there any reason to stay with the older version? Please kindly refer to https://www.nxp.com/products/security-and-authentication/authentication/edgelock-se051-proven-easy-t... for more details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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 返答(返信)
1,539件の閲覧回数
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @grzegorz2 ,

 

Actually I didn't find such kind of issue in the latest version of 04.01.01, would you please update the MW on your hands? or is there any reason to stay with the older version? Please kindly refer to https://www.nxp.com/products/security-and-authentication/authentication/edgelock-se051-proven-easy-t... for more details.

 

Have a great day,
Kan


-------------------------------------------------------------------------------
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 件の賞賛
返信
1,529件の閲覧回数
grzegorz2
Contributor II

Hi @Kan_Li 

I downloaded this new version and I don't see these mutexes anymore so I will use it. Thanks for support.

Have a nice day

0 件の賞賛
返信