diff options
author | Marcelo Cerri <mhcerri@linux.vnet.ibm.com> | 2013-08-29 18:36:38 +0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-02 14:32:55 +0400 |
commit | 41e3173daf4e2d2f2dcc48ae7ffc8d0c4f3ecec9 (patch) | |
tree | 7ed61814485e0d054cc982bf1b9fbf84365582a2 /ipc/sem.c | |
parent | 2b188b3b86005ca63eb851a1992f06b9a301f800 (diff) | |
download | linux-41e3173daf4e2d2f2dcc48ae7ffc8d0c4f3ecec9.tar.xz |
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 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions