diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-09-06 15:00:42 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-09-06 15:00:42 +0200 |
commit | 0f981ee35028602b9e60ac82b07d54972f6f7331 (patch) | |
tree | f8d6df4535fba1fd45dc8b33fb2c8ec03b3956f5 /crypto/userspace/ncr-key.c | |
parent | 5d08c95e8a0101f156cf1afe8b2fae8487d1cfce (diff) | |
parent | c61c13594953d462597ed18d6c77e736878ff9d9 (diff) | |
download | kernel-crypto-ncr-userspace-crypto.tar.gz kernel-crypto-ncr-userspace-crypto.tar.xz kernel-crypto-ncr-userspace-crypto.zip |
Merge branch 'standalone-rename' into userspace-cryptoncr-userspace-crypto
Diffstat (limited to 'crypto/userspace/ncr-key.c')
-rw-r--r-- | crypto/userspace/ncr-key.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/userspace/ncr-key.c b/crypto/userspace/ncr-key.c index de2a4ab70f1..e293a1b14ba 100644 --- a/crypto/userspace/ncr-key.c +++ b/crypto/userspace/ncr-key.c @@ -558,7 +558,7 @@ int bits; /* FIXME: should we move everything here into algorithm properties? */ if (item->type == NCR_KEY_TYPE_SECRET) { - if (item->algorithm->algo == NCR_ALG_3DES_CBC) + if (item->algorithm->algo == NCR_ALG_3DES_CBC || item->algorithm->algo == NCR_ALG_3DES_ECB) return 112; return item->key.secret.size*8; |