summaryrefslogtreecommitdiff
path: root/lib/globtest.c
diff options
context:
space:
mode:
authorPascal van Leeuwen <pvanleeuwen@rambus.com>2020-09-08 09:10:45 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-18 10:20:10 +0300
commitbd03b0214ad426c078d46c2b54a3b14f81b97f6b (patch)
tree2fba28b5a9e607da605b6c654aa567e71cca8c96 /lib/globtest.c
parent9b20cbf8ebf072ef7ef603c139c004904b2ddd52 (diff)
downloadlinux-bd03b0214ad426c078d46c2b54a3b14f81b97f6b.tar.xz
crypto: inside-secure - Prevent missing of processing errors
On systems with coherence issues, packet processed could succeed while it should have failed, e.g. because of an authentication fail. This is because the driver would read stale status information that had all error bits initialised to zero = no error. Since this is potential a security risk, we want to prevent it from being a possibility at all. So initialize all error bits to error state, so that reading stale status information will always result in errors. Signed-off-by: Pascal van Leeuwen <pvanleeuwen@rambus.com> Acked-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/globtest.c')
0 files changed, 0 insertions, 0 deletions