[ip/hmac] Wipe out secrets when hash/hmac done
When hmac is done, wipe out (XOR with random value (eventually from LSFR)) internal variables.
- SHA256: w[15:0][31:0], hash (not digest), stored message length (txcount), state
- HMAC: secret_key (? is it necessary?), received message length, txcount. state.
On a mission to clean up old issues, scraping from stalest to freshest.
I think this one should stay open until new "2020 specification" is written.
Resuming @sjgitty mission to clean up old issues, scraping from stalest to freshest.
@eunchan, @tjaychen - should this issue still stay open?
Yes. Should be in open status. Trying to clean up this now.
On Jan 27, 2021, at 5:09 AM, mateenfaisal [email protected] wrote:
Resuming @sjgitty https://github.com/sjgitty mission to clean up old issues, scraping from stalest to freshest.
@eunchan https://github.com/eunchan, @tjaychen https://github.com/tjaychen - should this issue still stay open?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/66#issuecomment-768274128, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJDG3T7KYYXDEISBSM6IPLS4AF77ANCNFSM4ISTJXFA.
@eunchan another status ping on this issue :). Can this be closed?
Yup. I think everyone agrees FW wiped function is fine for HMAC.