Home | History | Annotate | Download | only in hmac_sha

Lines Matching refs:block_nb

217                    unsigned int block_nb)
229 for (i = 0; i < (int) block_nb; i++) {
361 unsigned int block_nb;
376 block_nb = new_len / SHA256_BLOCK_SIZE;
381 block_nb);
385 memcpy(ctx->block, &shifted_message[block_nb << 6],
389 ctx->tot_len += (block_nb + 1) << 6;
394 unsigned int block_nb;
402 block_nb = (1 + ((SHA256_BLOCK_SIZE - 9)
406 pm_len = block_nb << 6;
412 sha256_transf(ctx, ctx->block, block_nb);
433 unsigned int block_nb)
441 for (i = 0; i < (int) block_nb; i++) {
558 unsigned int block_nb;
573 block_nb = new_len / SHA512_BLOCK_SIZE;
578 sha512_transf(ctx, shifted_message, block_nb);
582 memcpy(ctx->block, &shifted_message[block_nb << 7],
586 ctx->tot_len += (block_nb + 1) << 7;
591 unsigned int block_nb;
599 block_nb = 1 + ((SHA512_BLOCK_SIZE - 17)
603 pm_len = block_nb << 7;
609 sha512_transf(ctx, ctx->block, block_nb);
660 unsigned int block_nb;
675 block_nb = new_len / SHA384_BLOCK_SIZE;
680 sha512_transf(ctx, shifted_message, block_nb);
684 memcpy(ctx->block, &shifted_message[block_nb << 7],
688 ctx->tot_len += (block_nb + 1) << 7;
693 unsigned int block_nb;
701 block_nb = (1 + ((SHA384_BLOCK_SIZE - 17)
705 pm_len = block_nb << 7;
711 sha512_transf(ctx, ctx->block, block_nb);
760 unsigned int block_nb;
775 block_nb = new_len / SHA224_BLOCK_SIZE;
780 sha256_transf(ctx, shifted_message, block_nb);
784 memcpy(ctx->block, &shifted_message[block_nb << 6],
788 ctx->tot_len += (block_nb + 1) << 6;
793 unsigned int block_nb;
801 block_nb = (1 + ((SHA224_BLOCK_SIZE - 9)
805 pm_len = block_nb << 6;
811 sha256_transf(ctx, ctx->block, block_nb);