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,499 次查看
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,486 次查看
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,487 次查看
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,477 次查看
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 项奖励
回复