Bug in geode-aes.c ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello. I noticed strange thing in drivers/crypto/geode-aes.c (
function geode_setkey_cip() )

This code still the same in git://linux-arm.org/linux-2.6-stable.git
(tag v2.6.28-arm2)

Please, check.


 116 static int geode_setkey_cip(struct crypto_tfm *tfm, const u8 *key,
 117                 unsigned int len)
 118 {
...

/** BUG? Should it be 'op->fallback.cip' instead of 'op->fallback.blk' ?  **/

 138         op->fallback.blk->base.crt_flags &= ~CRYPTO_TFM_REQ_MASK;
 139         op->fallback.blk->base.crt_flags |= (tfm->crt_flags &
CRYPTO_TFM_REQ_MASK);

...

 144                 tfm->crt_flags |=
(op->fallback.blk->base.crt_flags & CRYPTO_TFM_RES_MASK);
 145         }
 146         return ret;

-- 
Thanks,
Sergey
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux