diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-13 15:10:39 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-08-13 15:10:39 +0200 |
commit | aef27136b8b5e526f2e96ca1caa30a6d07e70f42 (patch) | |
tree | 3192bd703f2e4971318ac6a7eabb33007c1eac96 /crypto/ablkcipher.c | |
parent | Revert crypto: fips - Select CPRNG (diff) | |
download | linux-aef27136b8b5e526f2e96ca1caa30a6d07e70f42.tar.xz linux-aef27136b8b5e526f2e96ca1caa30a6d07e70f42.zip |
crypto: ctr - Use chainiv on raw counter mode
Raw counter mode only works with chainiv, which is no longer
the default IV generator on SMP machines. This broke raw counter
mode as it can no longer instantiate as a givcipher.
This patch fixes it by always picking chainiv on raw counter
mode. This is based on the diagnosis and a patch by Huang
Ying.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions