aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorStephan Mueller <[email protected]>2014-08-26 10:29:45 +0200
committerHerbert Xu <[email protected]>2014-08-26 16:58:05 +0800
commitb9347aff91ce4789619168539f08202d8d6a1177 (patch)
treed38c52fb8408e6ce77cc61735c2f68d8a2e1b949 /tools/perf/util/scripting-engines/trace-event-python.c
parent7c8ae03f41e635813b777a0989d8ac1ff5a8494e (diff)
crypto: drbg - fix maximum value checks on 32 bit systems
The maximum values for additional input string or generated blocks is larger than 1<<32. To ensure a sensible value on 32 bit systems, return SIZE_MAX on 32 bit systems. This value is lower than the maximum allowed values defined in SP800-90A. The standard allow lower maximum values, but not larger values. SIZE_MAX - 1 is used for drbg_max_addtl to allow drbg_healthcheck_sanity to check the enforcement of the variable without wrapping. Reported-by: Stephen Rothwell <[email protected]> Reported-by: kbuild test robot <[email protected]> Signed-off-by: Stephan Mueller <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions