1
0
mirror of https://github.com/BLAKE2/libb2 synced 2024-11-22 20:21:59 +01:00

consistency, bump version

This commit is contained in:
Samuel Neves 2017-10-10 13:33:42 +01:00
parent b044244959
commit 0d7015f6a6
2 changed files with 5 additions and 5 deletions

@ -1,11 +1,11 @@
AC_PREREQ([2.61])
AC_INIT([libb2], [0.97], [contact@blake2.net], [libb2], [https://blake2.net])
AC_INIT([libb2], [0.98], [contact@blake2.net], [libb2], [https://blake2.net])
AC_CONFIG_SRCDIR([src/blake2b.c])
AC_CONFIG_HEADERS([src/config.h])
AM_INIT_AUTOMAKE([foreign 1.9])
AC_CONFIG_MACRO_DIR([m4])
B2_LIBRARY_VERSION=1:2:0 # interface, revision, age
B2_LIBRARY_VERSION=1:3:0 # interface, revision, age
AC_SUBST(B2_LIBRARY_VERSION)
AC_LANG_C

@ -32,7 +32,7 @@ static int blake2bp_init_leaf( blake2b_state *S, uint8_t outlen, uint8_t keylen,
P->key_length = keylen;
P->fanout = PARALLELISM_DEGREE;
P->depth = 2;
P->leaf_length = 0;
store32(&P->leaf_length, 0);
store64(&P->node_offset, offset);
P->node_depth = 0;
P->inner_length = BLAKE2B_OUTBYTES;
@ -51,8 +51,8 @@ static int blake2bp_init_root( blake2b_state *S, uint8_t outlen, uint8_t keylen
P->key_length = keylen;
P->fanout = PARALLELISM_DEGREE;
P->depth = 2;
P->leaf_length = 0;
P->node_offset = 0;
store32(&P->leaf_length, 0);
store64(&P->node_offset, 0);
P->node_depth = 1;
P->inner_length = BLAKE2B_OUTBYTES;
memset( P->reserved, 0, sizeof( P->reserved ) );