Home
last modified time | relevance | path

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

/lib/crypto/
Dsha256.c211 unsigned int partial, done; in sha256_update() local
214 partial = sctx->count & 0x3f; in sha256_update()
219 if ((partial + len) > 63) { in sha256_update()
220 if (partial) { in sha256_update()
221 done = -partial; in sha256_update()
222 memcpy(sctx->buf + partial, data, done + 64); in sha256_update()
232 partial = 0; in sha256_update()
234 memcpy(sctx->buf + partial, src, len - done); in sha256_update()