This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM2632: random number generation

Part Number: AM2632

Hello,When I used the HSM random number API, the code crashed when I changed the length to 128. Then I tried lengths of 112, 96, 80, 60, 48, 32, and 16, and all of them worked fine. Why did it start to have problems exactly at 128?

image.png

  • Hi Wang,

    There is an update in this implementation in the latest releases (i.e. post 11.0). We are taking in resultLength instead of resultLengthPtr. Could you please this change as per latest release?

    Please use the HSM from the latest SDK. 

    Thanks and Regards,

    Nikhil Dasan