diff options
author | 2013-08-29 11:36:38 -0300 | |
---|---|---|
committer | 2013-09-02 20:32:55 +1000 | |
commit | 41e3173daf4e2d2f2dcc48ae7ffc8d0c4f3ecec9 (patch) | |
tree | 7ed61814485e0d054cc982bf1b9fbf84365582a2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: nx - fix limits to sg lists for AES-CCM (diff) | |
download | linux-dev-41e3173daf4e2d2f2dcc48ae7ffc8d0c4f3ecec9.tar.xz linux-dev-41e3173daf4e2d2f2dcc48ae7ffc8d0c4f3ecec9.zip |
crypto: nx - fix XCBC for zero length messages
The NX XCBC implementation doesn't support zero length messages and
because of that NX is currently returning a hard-coded hash for zero
length messages. However this approach is incorrect since the hash value
also depends on which key is used.
This patch removes the hard-coded hash and replace it with an
implementation based on the RFC 3566 using ECB.
Reviewed-by: Joy Latten <jmlatten@linux.vnet.ibm.com>
Signed-off-by: Marcelo Cerri <mhcerri@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions