Has anyone worked successfully with AES CBC hardware encryption on Photon? I have tried to use the library that comes with stdperiphdriver, the “high-level” implementation of the encryption/decryption procedure. The decrypted buffer is always 0 (zeroed) and no error is returned during the decryption procedure.
I would not want to use the software implementation of the AES provided with the firmware, and I wonder why is there when hardware support is provided.
Some documents are including f205 as “supported” for the HW crypt api but not explicitly (something like … all 2xx). I also found some mentions in the revision history about “Encryption features removed.” Didn’t find one specifying f205 is not supported, either.
It’s confusing, but the F205 definitely doesn’t have HW crypto. The block is there and it will complete operations, but the output is all zero (ie if you program it up, it takes the right amount of time to do the crypto but doesn’t give you any output).
Looks like they artificially fused it off for marketing reasons