This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r121154 - in /branches/gcc-4_2-branch/libjava: ...


Author: tromey
Date: Thu Jan 25 00:25:05 2007
New Revision: 121154

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121154
Log:
2007-01-24  Marco Trudel  <mtrudel@gmx.ch>

	* java/security/Security.java
	Imported the version from GNU classpath 0.92 (kept GCJ differences).
	* classpath/gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an
	unnecessary test.
	* classpath/javax/crypto/CipherOutputStream.java: Re-implemented.
	* classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
	(engineUpdate(byte[], int, int)): Always keep data for unpadding
	in padded decryption mode and check if it is a complete block.
	(engineUpdate(byte[], int, int, byte[], int)): Likewise.
	(engineDoFinal(byte[], int, int)): In padded decryption mode, take
	partially processed data into account.

Modified:
    branches/gcc-4_2-branch/libjava/ChangeLog
    branches/gcc-4_2-branch/libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
    branches/gcc-4_2-branch/libjava/classpath/gnu/javax/crypto/pad/PKCS7.java
    branches/gcc-4_2-branch/libjava/classpath/javax/crypto/CipherOutputStream.java
    branches/gcc-4_2-branch/libjava/java/security/Security.java


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]