Home | History | Annotate | Download | only in crypto

Lines Matching refs:nextBytes

64     // to use to form byte array returning by the "nextBytes(byte[])" method
73 // COUNTER_BASE - initial value to set to "counter" before computing "nextBytes(..)";
124 private transient byte[] nextBytes;
126 // index of used bytes in "nextBytes" array
146 // - upon getting "nextBytes(byte[])" invoked, single or first in row,
167 nextBytes = new byte[DIGEST_LENGTH];
208 if (state == NEXT_BYTES) { // first setSeed after NextBytes; restoring hash
233 byte[] myBytes; // byte[] for bytes returned by "nextBytes()"
340 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n);
384 nextBytes[j] = (byte) (k >>> 24); // getting first byte from left
385 nextBytes[j + 1] = (byte) (k >>> 16); // getting second byte from left
386 nextBytes[j + 2] = (byte) (k >>> 8); // getting third byte from left
387 nextBytes[j + 3] = (byte) (k); // getting fourth byte from left
396 System.arraycopy(nextBytes, 0, bytes, nextByteToReturn, j);
436 // previous method was "nextBytes(..)"
474 oos.write(nextBytes, nextBIndex, HASHBYTES_TO_USE - nextBIndex);
482 nextBytes = new byte[DIGEST_LENGTH];
527 Streams.readFully(ois, nextBytes, nextBIndex, HASHBYTES_TO_USE - nextBIndex);