cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am trying to implement the HKDF algorithm to generate a secret key, and I found a link containing an example of HKDF implementation ( you will find link below in details) but unfortunately, the code is incomplete and I have a few questions.

WYous.1
Associate III

the link : https://wiki.st.com/stm32mcu/index.php?title=Security:How_to_implement_HKDF_with_the_Cryptographic_library&oldid=11796&diff=prev#HKDF_implementation_example_using_HMAC-SHA256_Cryptographic_library_services .

my questions is first, once I added the salt, IKM, info values and I declared  uint32_t L = 256; and

 uint32_t N = 0; I should add other code to determine the "computed_PRK" and "computed_hash" values right ? or is there a more complete example for my case ?

Thanks a lot

0 REPLIES 0