Home
last modified time | relevance | path

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

/crypt/
A Dmd5.c77 ctx->total[0] = ctx->total[1] = 0; in md5_init_ctx()
110 ctx->total[0] += bytes; in md5_finish_ctx()
111 if (ctx->total[0] < bytes) in md5_finish_ctx()
112 ++ctx->total[1]; in md5_finish_ctx()
118 ctx->buffer32[(bytes + pad) / 4] = SWAP (ctx->total[0] << 3); in md5_finish_ctx()
119 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP ((ctx->total[1] << 3) in md5_finish_ctx()
120 | (ctx->total[0] >> 29)); in md5_finish_ctx()
A Dsha512.c120 ctx->total[0] = ctx->total[1] = 0; in __sha512_init_ctx()
141 ctx->total[TOTAL128_low] += bytes; in __sha512_finish_ctx()
142 if (ctx->total[TOTAL128_low] < bytes) in __sha512_finish_ctx()
143 ++ctx->total[TOTAL128_high]; in __sha512_finish_ctx()
150 ctx->buffer64[(bytes + pad + 8) / 8] = SWAP (ctx->total[TOTAL128_low] << 3); in __sha512_finish_ctx()
151 ctx->buffer64[(bytes + pad) / 8] = SWAP ((ctx->total[TOTAL128_high] << 3) in __sha512_finish_ctx()
152 | (ctx->total[TOTAL128_low] >> 61)); in __sha512_finish_ctx()
A Dsha256.c126 ctx->buffer32[(bytes + pad + 4) / 4] = SWAP (ctx->total[TOTAL64_low] << 3); in __sha256_finish_ctx()
127 ctx->buffer32[(bytes + pad) / 4] = SWAP ((ctx->total[TOTAL64_high] << 3) in __sha256_finish_ctx()
128 | (ctx->total[TOTAL64_low] >> 29)); in __sha256_finish_ctx()
A Dsha512-block.c26 ctx->total[TOTAL128_low] += lolen; in __sha512_process_block()
27 ctx->total[TOTAL128_high] += ((len >> 31 >> 31 >> 2) in __sha512_process_block()
28 + (ctx->total[TOTAL128_low] < lolen)); in __sha512_process_block()
A Dsha256.h39 uint32_t total[2]; member
A Dsha512.h43 uint64_t total[2]; member
A Dmd5.h83 md5_uint32 total[2]; member
A Dmd5-block.c29 ctx->total[0] += lolen; in __md5_process_block()
30 ctx->total[1] += (len >> 31 >> 1) + (ctx->total[0] < lolen); in __md5_process_block()

Completed in 14 milliseconds