aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2023-11-28 14:52:57 +0800
committerHerbert Xu <[email protected]>2023-12-08 11:59:46 +0800
commit47309ea1359115125d9cab17a279c8df72b47235 (patch)
tree08c92a0855dd0b24b6129286c15c149fffeff7eb /tools/perf/scripts/python
parent662ea18d089ba6fa02859fbd64f2aa78d88c6648 (diff)
crypto: arc4 - Add internal state
The arc4 algorithm has always had internal state. It's been buggy from day one in that the state has been stored in the shared tfm object. That means two users sharing the same tfm will end up affecting each other's output, or worse, they may end up with the same output. Fix this by declaring an internal state and storing the state there instead of within the tfm context. Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions