public int getUpdateOutputSize(int len) { return cipher.getUpdateOutputSize(len); }
public int getUpdateOutputSize(int len) { return cipher.getUpdateOutputSize(len); }
public int getUpdateOutputSize(int len) { return cipher.getUpdateOutputSize(len); }
protected byte[] engineUpdate( byte[] input, int inputOffset, int inputLen) { int length = cipher.getUpdateOutputSize(inputLen); if (length > 0) { byte[] out = new byte[length]; cipher.processBytes(input, inputOffset, inputLen, out, 0); return out; } cipher.processBytes(input, inputOffset, inputLen, null, 0); return null; }
protected byte[] engineUpdate( byte[] input, int inputOffset, int inputLen) { int length = cipher.getUpdateOutputSize(inputLen); if (length > 0) { byte[] out = new byte[length]; cipher.processBytes(input, inputOffset, inputLen, out, 0); return out; } cipher.processBytes(input, inputOffset, inputLen, null, 0); return null; }
bufLen = bufferedBlockCipher.getUpdateOutputSize(updateSize);
int length = getUpdateOutputSize(len);
bufLen = bufferedBlockCipher.getUpdateOutputSize(updateSize);
int length = getUpdateOutputSize(len);