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.

CC2640: SHA256

Part Number: CC2640
Other Parts Discussed in Thread: AES-128, , BLE-STACK

Hello,

I need to calculate the hash of a block of data using SHA256. I noticed there's a ROM implementation (which I've been using with rom_crypto.h and rom_crypto.c), which I've been using for AES-128, which also contains SHA256 functions. These functions, however, return an uint8_t (a status code, according to the comments), that isn't documented in the places I've looked. Are there any result codes I should check against?

Thanks