aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2017-06-08 14:49:34 +0100
committerJames Morris <[email protected]>2017-06-09 13:29:49 +1000
commitbbe240454d86be95151e0ecfd6ac55fe5ef5a6f5 (patch)
tree662839ffc98b691fe598cef81a1bab0c2b123ccd /tools/perf/scripts
parent0620fddb56dfaf0e1034eeb69d79c73b361debbf (diff)
KEYS: DH: forbid using digest_null as the KDF hash
Requesting "digest_null" in the keyctl_kdf_params caused an infinite loop in kdf_ctr() because the "null" hash has a digest size of 0. Fix it by rejecting hash algorithms with a digest size of 0. Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Stephan Mueller <[email protected]> Signed-off-by: James Morris <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions