This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug crypto/23768] doFinal() methods in javax.crypto.Cipher incorrectly resetting cipher state
- From: "cvs-commit at developer dot classpath dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Mar 2006 20:29:33 -0000
- Subject: [Bug crypto/23768] doFinal() methods in javax.crypto.Cipher incorrectly resetting cipher state
- References: <bug-23768-11320@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from cvs-commit at developer dot classpath dot org 2006-03-11 20:29 -------
Subject: Bug 23768
CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Casey Marshall <rsdio@savannah.gnu.org> 06/03/11 05:21:58
Modified files:
. : ChangeLog
javax/crypto : Cipher.java CipherSpi.java
Log message:
2006-03-10 Casey Marshall <csm@gnu.org>
Fixes PR 23768.
* javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
reset `state.'
(doFinal, update): new methods.
(init, init, init, init): initialize `state' after trying the
implementation, which can throw an exception.
* javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
methods.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6692&tr2=1.6693&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/Cipher.java.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/crypto/CipherSpi.java.diff?tr1=1.2&tr2=1.3&r1=text&r2=text
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23768