diff options
author | Radu Solea <[email protected]> | 2018-10-02 19:01:50 +0000 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2018-10-08 13:45:41 +0800 |
commit | c709eebaf5c5faa8a0f140355f9cfe67e8f7afb1 (patch) | |
tree | c4df0775786afbc2989b3145aae16c46443ee412 /scripts/bpf_helpers_doc.py | |
parent | ea9e7568f7a7f0a6695e046316132afe382969a8 (diff) |
crypto: mxs-dcp - Fix SHA null hashes and output length
DCP writes at least 32 bytes in the output buffer instead of hash length
as documented. Add intermediate buffer to prevent write out of bounds.
When requested to produce null hashes DCP fails to produce valid output.
Add software workaround to bypass hardware and return valid output.
Signed-off-by: Radu Solea <[email protected]>
Signed-off-by: Leonard Crestez <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions