aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-06-18 10:22:37 -0700
committerHerbert Xu <[email protected]>2018-07-01 21:00:41 +0800
commit73bf20ef3df262026c3470241ae4ac8196943ffa (patch)
tree3bf4d9cfaca73a4a30ff69ce7595564bc558c471 /tools/perf/scripts/python/net_dropmonitor.py
parent38641b83ebc54635151810eeef00b61da3097952 (diff)
crypto: vmac - require a block cipher with 128-bit block size
The VMAC template assumes the block cipher has a 128-bit block size, but it failed to check for that. Thus it was possible to instantiate it using a 64-bit block size cipher, e.g. "vmac(cast5)", causing uninitialized memory to be used. Add the needed check when instantiating the template. Fixes: f1939f7c5645 ("crypto: vmac - New hash algorithm for intel_txt support") Cc: <[email protected]> # v2.6.32+ Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions