Linux Hardening
 help / color / mirror / Atom feed
* memset() in crypto code
@ 2021-09-03  1:13 Sandy Harris
  2021-09-03  6:15 ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Sandy Harris @ 2021-09-03  1:13 UTC (permalink / raw)
  To: Linux Crypto Mailing List, linux-hardening

Doing this the crypto directory:
grep memset *.c | wc -l
I get 137 results.

The compiler may optimise memset() away, subverting the intent of
these operations. We have memzero_explicit() to avoid that problem.

Should most or all those memset() calls be replaced?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-16  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-03  1:13 memset() in crypto code Sandy Harris
2021-09-03  6:15 ` Greg KH
2021-11-16  0:47   ` Sandy Harris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox