Home
last modified time | relevance | path

Searched refs:lastWord (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
DSHA1PRNG_SecureRandomImpl.java287 int lastWord; // index of last word in frame containing bytes in engineNextBytes() local
294 lastWord = seed[BYTES_OFFSET] == 0 ? 0 in engineNextBytes()
305 lastWord = seed[BYTES_OFFSET] == 0 ? 0 in engineNextBytes()
326 for (i = lastWord + 3; i < FRAME_LENGTH + 2; i++) { in engineNextBytes()
370 seed[lastWord] = (int) (counter >>> 32); in engineNextBytes()
371 seed[lastWord + 1] = (int) (counter & 0xFFFFFFFF); in engineNextBytes()
372 seed[lastWord + 2] = END_FLAGS[0]; in engineNextBytes()
376 seed[lastWord] |= (int) ((counter >>> RIGHT1[n]) & MASK[n]); in engineNextBytes()
377 seed[lastWord + 1] = (int) ((counter >>> RIGHT2[n]) & 0xFFFFFFFF); in engineNextBytes()
378 seed[lastWord + 2] = (int) ((counter << LEFT[n]) | END_FLAGS[n]); in engineNextBytes()