opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

[ip/hmac] Wipe out secrets when hash/hmac done

Open eunchan opened this issue 7 years ago • 5 comments

When hmac is done, wipe out (XOR with random value (eventually from LSFR)) internal variables.

  1. SHA256: w[15:0][31:0], hash (not digest), stored message length (txcount), state
  2. HMAC: secret_key (? is it necessary?), received message length, txcount. state.

eunchan avatar Apr 23 '19 05:04 eunchan

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.

sjgitty avatar Dec 05 '19 02:12 sjgitty

Resuming @sjgitty mission to clean up old issues, scraping from stalest to freshest.

@eunchan, @tjaychen - should this issue still stay open?

mateenfaisal avatar Jan 27 '21 13:01 mateenfaisal

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 avatar Jan 27 '21 17:01 eunchan

@eunchan another status ping on this issue :). Can this be closed?

msfschaffner avatar Jul 14 '21 21:07 msfschaffner

Yup. I think everyone agrees FW wiped function is fine for HMAC.

eunchan avatar Jul 15 '21 17:07 eunchan