Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/
Dsha512.c225 #define SHA512_BLOCKSIZE 128 macro
233 if (md->sha512.curlen == 0 && inlen >= SHA512_BLOCKSIZE) { in sha512_process()
235 md->sha512.length += SHA512_BLOCKSIZE * 8; in sha512_process()
236 in += SHA512_BLOCKSIZE; in sha512_process()
237 inlen -= SHA512_BLOCKSIZE; in sha512_process()
239 n = MIN(inlen, (SHA512_BLOCKSIZE - md->sha512.curlen)); in sha512_process()
245 if (md->sha512.curlen == SHA512_BLOCKSIZE) { in sha512_process()
247 md->sha512.length += SHA512_BLOCKSIZE * 8; in sha512_process()
/external/e2fsprogs/lib/ext2fs/
Dsha512.c205 #define SHA512_BLOCKSIZE 128 macro
213 if (md->sha512.curlen == 0 && inlen >= SHA512_BLOCKSIZE) { in sha512_process()
215 md->sha512.length += SHA512_BLOCKSIZE * 8; in sha512_process()
216 in += SHA512_BLOCKSIZE; in sha512_process()
217 inlen -= SHA512_BLOCKSIZE; in sha512_process()
219 n = MIN(inlen, (SHA512_BLOCKSIZE - md->sha512.curlen)); in sha512_process()
225 if (md->sha512.curlen == SHA512_BLOCKSIZE) { in sha512_process()
227 md->sha512.length += SHA512_BLOCKSIZE * 8; in sha512_process()