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

Bug in crypto/gen-cbc.h?



Hi!

As far as I can see the atomic flag is not honoured when
doing an atomic cbc decryption. The code in crypto/gen-cbc.h
reads:
      if (current->need_resched) {
         schedule();
      }

But it should perhaps be changed to:
      if (!atomic && current->need_resched) {
         schedule();
      }

Martin




Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/