summaryrefslogtreecommitdiff
path: root/crypto/ctr.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-06-18 10:22:40 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2018-07-01 21:00:44 +0800
commitdf5f4059ced2064a468e3805d885d74332fda0da (patch)
tree0ff0eafa89664defb65b9da158b212e652ff0523 /crypto/ctr.c
parent1bcc8320ca5b92f8d236614c4236a3e1e5bed2b5 (diff)
downloadlinux-crypto-df5f4059ced2064a468e3805d885d74332fda0da.tar.gz
linux-crypto-df5f4059ced2064a468e3805d885d74332fda0da.zip
crypto: vmac - remove insecure version with hardcoded nonce
Remove the original version of the VMAC template that had the nonce hardcoded to 0 and produced a digest with the wrong endianness. I'm unsure whether this had users or not (there are no explicit in-kernel references to it), but given that the hardcoded nonce made it wildly insecure unless a unique key was used for each message, let's try removing it and see if anyone complains. Leave the new "vmac64" template that requires the nonce to be explicitly specified as the first 16 bytes of data and uses the correct endianness for the digest. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ctr.c')
0 files changed, 0 insertions, 0 deletions