[Top][All Lists]
[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: |
vivekl at redhat dot com |
Subject: |
[Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null |
Date: |
16 Jun 2006 01:12:18 -0000 |
------- Comment #17 from vivekl at redhat dot com 2006-06-16 01:12 -------
(In reply to comment #16)
> (In reply to comment #15)
> btw. going through the public API of the engineInit(int,Key,SecureRandom)
> (JDK1.4.2_12) it is stated that we only need to check for the IV iff 'opmode'
> is Cipher.DECRYPT_MODE or Cipher.UNWRAP_MODE. if you can add this check to
> your patch, that would be much appreciated.
I checked the JDK javadocs for all the engineInit()s. I have added a test case
in the mauve suite (gnu.testlet.gnu.javax.crypto.jce.TestOfCipherEngineInit)
modelling the behaviour mentioned there for engineInit(int, Key, SecureRandom)
and engineInit(int, Key, AlgorithmParameterSpec, SecureRandom). I have also
verified most of the behaviour the test case expects against the JDK and other
providers as well. I just sent a patch on cp-patches that IMO models executes
this logic properly:
http://developer.classpath.org/pipermail/classpath-patches/2006-June/002869.html
Please have a look when you get a chance and comment.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27849
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, (continued)
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/11
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, csm at gnu dot org, 2006/06/11
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/11
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, csm at gnu dot org, 2006/06/11
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/11
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, vivekl at redhat dot com, 2006/06/12
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, csm at gnu dot org, 2006/06/12
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/13
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, vivekl at redhat dot com, 2006/06/13
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/14
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null,
vivekl at redhat dot com <=
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/17
- [Bug crypto/27849] getIV() call on cipher for DESede/CBC returns null, raif at swiftdsl dot com dot au, 2006/06/17