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
89 s->blkused = 0; in CRYPT_SHA1Start()
102 if (s->blkused && s->blkused + len < 64) { in CRYPT_SHA1Update()
103 FXSYS_memcpy32(s->block + s->blkused, q, len); in CRYPT_SHA1Update()
104 s->blkused += len; in CRYPT_SHA1Update()
106 while (s->blkused + len >= 64) { in CRYPT_SHA1Update()
107 FXSYS_memcpy32(s->block + s->blkused, q, 64 - s->blkused); in CRYPT_SHA1Update()
108 q += 64 - s->blkused; in CRYPT_SHA1Update()
109 len -= 64 - s->blkused; in CRYPT_SHA1Update()
118 s->blkused = 0; in CRYPT_SHA1Update()
[all …]