sha-512 generation with lpc55s69

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

sha-512 generation with lpc55s69

跳至解决方案
740 次查看
steffen_norbert
Contributor II

Hi,

I am using LPC55s69 in an access control application development. The device has hardware accelerated sha-256 generation, which I use. However, now in addition I need sha-512 hashes. How can I do that with lpc55s69, preferably with HW support (e.g. repeated application and extension of sha 256 hashes)? A code snipped would be appreciated! If the only solution is software, is there a library, I can use (I am using MCUXpresso as IDE)?

 

Thank you for any help with this,

Steffen

标记 (3)
0 项奖励
1 解答
715 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Steffen,

For LPC55Sxx family, the on-chip hash module only supports SHA-1 and SHA-2 with 256-bit digest (SHA-256), it does not support SHA-512.

But the software in SDK package supports SHA-512. In SDK package, there is _mbed-crypto_selftest example, you can refer to it.

You can download SDK package from the link:

https://mcuxpresso.nxp.com/en/welcome

 

Hope it can help you

BR

XiangJun Rong

 

 

xiangjun_rong_0-1609816423641.png

 

在原帖中查看解决方案

0 项奖励
1 回复
716 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Steffen,

For LPC55Sxx family, the on-chip hash module only supports SHA-1 and SHA-2 with 256-bit digest (SHA-256), it does not support SHA-512.

But the software in SDK package supports SHA-512. In SDK package, there is _mbed-crypto_selftest example, you can refer to it.

You can download SDK package from the link:

https://mcuxpresso.nxp.com/en/welcome

 

Hope it can help you

BR

XiangJun Rong

 

 

xiangjun_rong_0-1609816423641.png

 

0 项奖励