Searched refs:RTSHA512_BLOCK_SIZE (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Runtime/common/checksum/
H A Dalt-sha512.cpp32 #define RTSHA512_BLOCK_SIZE 128U macro
242 memcpy(puW, puSrc, RTSHA512_BLOCK_SIZE);
444 size_t cbBuffered = (size_t)pCtx->AltPrivate.cbMessage.s.Lo & (RTSHA512_BLOCK_SIZE - 1U);
447 size_t cbMissing = RTSHA512_BLOCK_SIZE - cbBuffered;
473 while (cbBuf >= RTSHA512_BLOCK_SIZE)
478 pCtx->AltPrivate.cbMessage.s.Lo += RTSHA512_BLOCK_SIZE;
481 pbBuf += RTSHA512_BLOCK_SIZE;
482 cbBuf -= RTSHA512_BLOCK_SIZE;
490 while (cbBuf >= RTSHA512_BLOCK_SIZE)
492 memcpy((uint8_t *)&pCtx->AltPrivate.auW[0], pbBuf, RTSHA512_BLOCK_SIZE);
[all...]

Completed in 42 milliseconds