Lines Matching refs:block_nb
122 unsigned int block_nb) in sha256_transf() argument
132 for (i = 0; i < (int) block_nb; i++) { in sha256_transf()
194 unsigned int block_nb = 0; in sha256_update() local
211 block_nb = new_len / SHA256_BLOCK_SIZE; in sha256_update()
216 sha256_transf(ctx, shifted_message, block_nb); in sha256_update()
220 memcpy(ctx->block, &shifted_message[block_nb << 6], in sha256_update()
224 ctx->tot_len += (block_nb + 1) << 6; in sha256_update()
229 unsigned int block_nb = 0; in sha256_final() local
234 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9) in sha256_final()
238 pm_len = block_nb << 6; in sha256_final()
244 sha256_transf(ctx, ctx->block, block_nb); in sha256_final()