Gilles Peskine 6a0a44e167 HMAC: clean up local variables containing key material
In psa_mac_start, the hash of the key and ipad contain material that
can be used to make HMAC calculations with the key, therefore they
must be wiped.

In psa_mac_finish_internal, tmp contains an intermediate value which
could reveal the HMAC. This is definitely sensitive in the verify case,
and marginally sensitive in the finish case (it isn't if the hash
function is ideal, but it could make things worse if the hash function
is partially broken).
2018-09-12 16:13:49 +03:00
..
2018-08-13 13:49:52 +03:00
2018-05-25 14:54:14 +01:00
2017-07-27 21:44:33 +01:00
2018-06-18 10:30:30 +02:00
2018-09-05 10:59:00 +03:00
2017-09-06 17:51:14 +03:00
2017-10-10 19:04:27 +03:00
2018-05-15 09:21:57 +01:00
2018-08-20 10:39:27 +03:00
2018-08-17 16:52:08 +01:00
2018-09-05 10:59:00 +03:00
2018-07-24 16:43:20 +01:00
2015-09-04 14:21:07 +02:00
2018-09-05 11:53:24 +03:00
2018-05-25 14:54:14 +01:00
2015-09-04 14:21:07 +02:00
2018-09-05 11:53:24 +03:00
2017-10-29 17:53:52 +02:00
2018-04-11 20:27:32 -04:00
2018-09-05 10:59:00 +03:00