@Override
    protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output,
            int outputOffset) throws ShortBufferException {
        final int maximumLen = getOutputSizeForUpdate(inputLen);
        return updateInternal(input, inputOffset, inputLen, output, outputOffset, maximumLen);
    }
The size of output if {@code update()} is called with this
{@code inputLen}. If padding is enabled and the size of the input puts it
right at the block size, it will add another block for the padding.
common/src/main/java/org/conscrypt/OpenSSLCipher.java