aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/randomize_layout_plugin.c
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2018-01-10 12:11:42 +0000
committerHerbert Xu <[email protected]>2018-01-18 12:00:33 +0000
commit20b04c02bcb2d1e6a642bbe9e759157bb198499e (patch)
tree0898dcc1f5d75c217186c0abf7360d9ea570869e /scripts/gcc-plugins/randomize_layout_plugin.c
parentcrypto: arm64/sha2-ce - move the round constant table to .rodata section (diff)
downloadkernel-20b04c02bcb2d1e6a642bbe9e759157bb198499e.tar.gz
kernel-20b04c02bcb2d1e6a642bbe9e759157bb198499e.zip
crypto: arm64/sha1-ce - get rid of literal pool
Load the four SHA-1 round constants using immediates rather than literal pool entries, to avoid having executable data that may be exploitable under speculation attacks. Signed-off-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions