Lines Matching refs:inLen
337 protected synchronized int engineUpdate(byte[] in, int inOfs, int inLen,
339 int min = getOutputSizeByOperation(inLen, false);
343 return update(in, inOfs, inLen, out, outOfs);
379 protected synchronized int engineDoFinal(byte[] in, int inOfs, int inLen,
384 int min = getOutputSizeByOperation(inLen, true);
388 if (inLen > 0) {
389 k = update(in, inOfs, inLen, out, outOfs);
487 byte[] in, int inOfs, int inLen,
506 protected int getOutputSizeByOperation(int inLen, boolean isDoFinal) {
507 if (inLen <= 0) {
508 inLen = 0;
510 if (!isDoFinal && (inLen == 0)) {
513 return inLen + bytesBuffered;
532 private int update(byte[] in, int inOfs, int inLen, byte[] out, int outOfs) {
534 if (inLen <= 0) { return 0; }
536 int k = nativeUpdate(pCtxt.id, encrypt, in, inOfs, inLen, out, outOfs);
543 bytesBuffered += (inLen - k);