Lines Matching refs:space
321 space = SHA256_BLOCK_SIZE - pos; in sha256_hash() local
327 while (len >= space) { /* tranfer whole blocks while possible */ in sha256_hash()
328 memcpy(((unsigned char *)ctx->wbuf) + pos, sp, space); in sha256_hash()
329 sp += space; in sha256_hash()
330 len -= space; in sha256_hash()
331 space = SHA256_BLOCK_SIZE; in sha256_hash()
533 space = SHA512_BLOCK_SIZE - pos; in sha512_hash() local
539 while (len >= space) { /* tranfer whole blocks while possible */ in sha512_hash()
540 memcpy(((unsigned char *)ctx->wbuf) + pos, sp, space); in sha512_hash()
541 sp += space; in sha512_hash()
542 len -= space; in sha512_hash()
543 space = SHA512_BLOCK_SIZE; in sha512_hash()