Lines Matching defs:output

61  * output. A transformation always includes the name of a cryptographic
263 * Returns the length in bytes that an output buffer would
271 * <p>The actual output length of the next <code>update</code> or
277 * @return the required output buffer size (in bytes)
498 * and the result is stored in the <code>output</code> buffer, starting at
501 * <p>If the <code>output</code> buffer is too small to hold the result,
508 * @param output the buffer for the result
509 * @param outputOffset the offset in <code>output</code> where the result
512 * @return the number of bytes stored in <code>output</code>
514 * @exception ShortBufferException if the given output buffer is too small
518 int inputLen, byte[] output,
529 * in the output buffer.
531 * to its limit; its limit will not have changed. The output buffer's
533 * by this method; the output buffer's limit will not have changed.
535 * <p>If <code>output.remaining()</code> bytes are insufficient to
542 * @param output the output ByteByffer
544 * @return the number of bytes stored in <code>output</code>
547 * output buffer
552 protected int engineUpdate(ByteBuffer input, ByteBuffer output)
555 return bufferCrypt(input, output, true);
626 * The result is stored in the <code>output</code> buffer, starting at
629 * <p>If the <code>output</code> buffer is too small to hold the result,
646 * @param output the buffer for the result
647 * @param outputOffset the offset in <code>output</code> where the result
650 * @return the number of bytes stored in <code>output</code>
657 * @exception ShortBufferException if the given output buffer is too small
667 int inputLen, byte[] output,
683 * The result is stored in the output buffer.
685 * to its limit; its limit will not have changed. The output buffer's
687 * by this method; the output buffer's limit will not have changed.
689 * <p>If <code>output.remaining()</code> bytes are insufficient to
706 * @param output the output ByteByffer
708 * @return the number of bytes stored in <code>output</code>
716 * output buffer
727 protected int engineDoFinal(ByteBuffer input, ByteBuffer output)
730 return bufferCrypt(input, output, false);
744 private int bufferCrypt(ByteBuffer input, ByteBuffer output,
747 if ((input == null) || (output == null)) {
749 ("Input and output buffers must not be null");
758 if (output.remaining() < outLenNeeded) {
760 + " bytes of space in output buffer");
764 boolean a2 = output.hasArray();
769 byte[] outArray = output.array();
770 int outPos = output.position();
771 int outOfs = output.arrayOffset() + outPos;
779 output.position(outPos + n);
782 int outPos = output.position();
783 byte[] outArray = output.array();
784 int outOfs = output.arrayOffset() + outPos;
802 output.position(outPos + total);
804 } else { // output is not backed by an accessible byte[]
836 output.put(outArray, 0, n);
841 // we just resized the output buffer, but it still
846 // output buffer is too small, realloc and try again