[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug crypto/26805] DES Encryption fails
From: |
csm at gnu dot org |
Subject: |
[Bug crypto/26805] DES Encryption fails |
Date: |
22 Mar 2006 20:54:12 -0000 |
------- Comment #4 from csm at gnu dot org 2006-03-22 20:54 -------
The patch looks good.
The error is probably because we don't support "PKCS5Padding". This is actually
OK, because PKCS5 padding is (I think) the same as PKCS7 padding, so the fix
for that is to change gnu/javax/crypto/pad/PadFactory.java to return a new
"PKCS7" object if the algorithm is "PKCS5," and to add "PKCS5" to the set of
names returned by 'getNames'.
There may be other aliases for this padding scheme, because it is a very common
algorithm.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26805
- [Bug crypto/26805] New: DES Encryption fails, roman at kennke dot org, 2006/03/22
- [Bug crypto/26805] DES Encryption fails, roman at kennke dot org, 2006/03/22
- [Bug crypto/26805] DES Encryption fails, csm at gnu dot org, 2006/03/22
- [Bug crypto/26805] DES Encryption fails, roman at kennke dot org, 2006/03/22
- [Bug crypto/26805] DES Encryption fails,
csm at gnu dot org <=
- [Bug crypto/26805] DES Encryption fails, cvs-commit at developer dot classpath dot org, 2006/03/27
- [Bug crypto/26805] DES Encryption fails, roman at kennke dot org, 2006/03/28