Closed GoogleCodeExporter closed 9 years ago
Also there is a change in the doFinal method for encryption to work:
// RSA PKCS1 engine has its internal padding engine
if (algorithm != ALG_RSA_PKCS1){
if ((bufferPos < engine.getInputBlockSize()) && (paddingEngine == null)) {
CryptoException.throwIt(CryptoException.ILLEGAL_USE);
} else if (bufferPos < engine.getInputBlockSize()) {
paddingEngine.addPadding(buffer, bufferPos);
}
}
Original comment by smbl64@gmail.com
on 9 Feb 2013 at 7:41
Original comment by jcard...@licel.ru
on 1 Jun 2013 at 2:45
Original issue reported on code.google.com by
smbl64@gmail.com
on 3 Feb 2013 at 8:10