sha-512 generation with lpc55s69

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sha-512 generation with lpc55s69

Jump to solution
990 Views
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

Tags (3)
0 Kudos
Reply
1 Solution
965 Views
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

 

View solution in original post

0 Kudos
Reply
1 Reply
966 Views
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 Kudos
Reply