diff options
author | Marcelo Cerri <[email protected]> | 2013-08-29 11:36:40 -0300 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2013-09-02 20:32:56 +1000 |
commit | 069fa0453f9dc86fd97dd5b3f5fda4724ed5ff69 (patch) | |
tree | 7ceed83003c64dd51c5a99fafef144bf8320e124 /tools/perf/util/trace-event-scripting.c | |
parent | dec0ed6c1b2c8c2aa37c04feccaf4784764c95f1 (diff) |
crypto: nx - fix SHA-2 for chunks bigger than block size
Each call to the co-processor, with exception of the last call, needs to
send data that is multiple of block size. As consequence, any remaining
data is kept in the internal NX context.
This patch fixes a bug in the driver that causes it to save incorrect
data into the context when data is bigger than the block size.
Reviewed-by: Joy Latten <[email protected]>
Signed-off-by: Marcelo Cerri <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions