aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorGilad Ben-Yossef <[email protected]>2018-07-01 08:02:38 +0100
committerHerbert Xu <[email protected]>2018-07-09 00:33:36 +0800
commit84f366dadc6a03dd39a3f4b2fc63347f04a56628 (patch)
treea64e4aaf518c85bebfcf51dc90f865a8797bd131 /tools/perf/scripts/python/bin/stackcollapse-record
parentd6b609d1b8e99694cfc47180e395f14fde68addb (diff)
crypto: ccree - use CBC-CS3 CTS mode
The ccree driver implemented NIST 800-38A CBC-CS2 ciphertext format, which only reverses the last two blocks if the stolen ciphertext amount are none zero. Move it to the kernel chosen format of CBC-CS3 which swaps the final blocks unconditionally and rename it to "cts" now that it complies with the kernel format and passes the self tests. Ironically, the CryptoCell REE HW does just that, so the fix is dropping the code that forced it to use plain CBC if the ciphertext was block aligned. Signed-off-by: Gilad Ben-Yossef <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions