]> git.codecow.com Git - Monocypher.git/commitdiff
Removed redundant initialization
authorLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Sep 2017 06:43:37 +0000 (08:43 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Tue, 19 Sep 2017 06:43:37 +0000 (08:43 +0200)
dist/src/monocypher.c

index f95f4fd9189a8f329719701a0e3af210a542a84f..f9de62be60a8d8013bb32c2538be4e5c4afe24e8 100644 (file)
@@ -544,7 +544,6 @@ void crypto_blake2b_general_init(crypto_blake2b_ctx *ctx, size_t hash_size,
 
     ctx->input_offset[0] = 0;         // begining of the input, no offset
     ctx->input_offset[1] = 0;         // begining of the input, no offset
-    ctx->input_idx       = 0;         // buffer is empty
     ctx->hash_size       = hash_size; // remember the hash size we want
     blake2b_reset_input(ctx);         // clear the input buffer