packages feed

cryptohash 0.11.1 → 0.11.2

raw patch · 2 files changed

+7/−1 lines, 2 files

Files

cbits/sha3.c view
@@ -139,6 +139,12 @@ { 	uint64_t w[25]; +	/* process full buffer if needed */+	if (ctx->bufindex == ctx->bufsz) {+		sha3_do_chunk(ctx->state, (uint64_t *) ctx->buf, ctx->bufsz / 8);+		ctx->bufindex = 0;+	}+ 	/* add the 10*1 padding */ 	ctx->buf[ctx->bufindex++] = 1; 	memset(ctx->buf + ctx->bufindex, 0, ctx->bufsz - ctx->bufindex);
cryptohash.cabal view
@@ -1,5 +1,5 @@ Name:                cryptohash-Version:             0.11.1+Version:             0.11.2 Description:     A collection of crypto hashes, with a practical incremental and one-pass, pure APIs,     with performance close to the fastest implementations available in other languages.