cbc(des)

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

 



I just noticed that none of the testmgr.h cbc(des) test cases
actually exercise doing more than one loop over the input data.

Therefore, the updating of the IV in the inner loop is never exercised
and if you get it wrong the crypto layer test cases will not catch it.

The cbc(des3_ede) test cases, on the other hand, have a 128 byte input
test for both encryption and decryption, so do not fail to cover this
aspect of the implementation.
--
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