[Bug crypto/23768] doFinal() methods in javax.crypto.Cipher incorrectly resetting cipher state

cvs-commit at developer dot classpath dot org gcc-bugzilla@gcc.gnu.org
Sat Mar 11 20:29:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list