bug-classpath
[Top][All Lists]
Advanced

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

[Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null


From: raif at swiftdsl dot com dot au
Subject: [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null
Date: 13 Jun 2006 11:00:37 -0000


------- Comment #14 from raif at swiftdsl dot com dot au  2006-06-13 11:00 
-------
* in the future, it would be much appreciated if a bug report is accompanied
with a Mauve test case, or one is created by whoever confirms it.  for this
one, i have already created one named TestOfPR27849 in
gnu.testlet.gnu.javax.crypto.jce.

* only ECB mode does not require an IV.  checking for the requirements of an IV
can be done without altering the IMode interface and all its implementing
classes; e.g.:

instead of

  if (mode.requiresIV())

do

  if (! mode.name().equalsIgnoreCase(Registry.ECB_MODE))


other than that the rest seems ok.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27849





reply via email to

[Prev in Thread] Current Thread [Next in Thread]