aboutsummaryrefslogtreecommitdiff
path: root/lib/clz_tab.c
diff options
context:
space:
mode:
authorGiovanni Cabiddu <[email protected]>2022-05-09 14:34:14 +0100
committerHerbert Xu <[email protected]>2022-05-20 13:49:18 +0800
commit9714061423b8b24b8afb31b8eb4df977c63f19c4 (patch)
tree543888b6afc1d92415f31b8389e9317ed969b50c /lib/clz_tab.c
parent029aa4624a7fe35233bdd3d1354dc7be260380bf (diff)
crypto: qat - add param check for RSA
Reject requests with a source buffer that is bigger than the size of the key. This is to prevent a possible integer underflow that might happen when copying the source scatterlist into a linear buffer. Cc: [email protected] Signed-off-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Adam Guerin <[email protected]> Reviewed-by: Wojciech Ziemba <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions