Home
last modified time | relevance | path

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

/external/pdfium/core/src/fdrm/crypto/
Dfx_crypt_sha.cpp15 int blkused; member
84 s->blkused = 0; in CRYPT_SHA1Start()
96 if (s->blkused && s->blkused + len < 64) { in CRYPT_SHA1Update()
97 FXSYS_memcpy(s->block + s->blkused, q, len); in CRYPT_SHA1Update()
98 s->blkused += len; in CRYPT_SHA1Update()
100 while (s->blkused + len >= 64) { in CRYPT_SHA1Update()
101 FXSYS_memcpy(s->block + s->blkused, q, 64 - s->blkused); in CRYPT_SHA1Update()
102 q += 64 - s->blkused; in CRYPT_SHA1Update()
103 len -= 64 - s->blkused; in CRYPT_SHA1Update()
111 s->blkused = 0; in CRYPT_SHA1Update()
[all …]