aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libhashsum_init_keccak_224_hasher.c4
-rw-r--r--libhashsum_init_keccak_256_hasher.c4
-rw-r--r--libhashsum_init_keccak_384_hasher.c4
-rw-r--r--libhashsum_init_keccak_512_hasher.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/libhashsum_init_keccak_224_hasher.c b/libhashsum_init_keccak_224_hasher.c
index 7a2b516..a05e207 100644
--- a/libhashsum_init_keccak_224_hasher.c
+++ b/libhashsum_init_keccak_224_hasher.c
@@ -5,5 +5,7 @@
int
libhashsum_init_keccak_224_hasher(struct libhashsum_hasher *this)
{
- return libhashsum_init_keccak_hasher(this, KECCAKN(224));
+ int r = libhashsum_init_keccak_hasher(this, KECCAKN(224));
+ this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ return r;
}
diff --git a/libhashsum_init_keccak_256_hasher.c b/libhashsum_init_keccak_256_hasher.c
index 2724e3a..a7d225e 100644
--- a/libhashsum_init_keccak_256_hasher.c
+++ b/libhashsum_init_keccak_256_hasher.c
@@ -5,5 +5,7 @@
int
libhashsum_init_keccak_256_hasher(struct libhashsum_hasher *this)
{
- return libhashsum_init_keccak_hasher(this, KECCAKN(256));
+ int r = libhashsum_init_keccak_hasher(this, KECCAKN(256));
+ this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ return r;
}
diff --git a/libhashsum_init_keccak_384_hasher.c b/libhashsum_init_keccak_384_hasher.c
index 61e4f64..4dd0647 100644
--- a/libhashsum_init_keccak_384_hasher.c
+++ b/libhashsum_init_keccak_384_hasher.c
@@ -5,5 +5,7 @@
int
libhashsum_init_keccak_384_hasher(struct libhashsum_hasher *this)
{
- return libhashsum_init_keccak_hasher(this, KECCAKN(384));
+ int r = libhashsum_init_keccak_hasher(this, KECCAKN(384));
+ this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ return r;
}
diff --git a/libhashsum_init_keccak_512_hasher.c b/libhashsum_init_keccak_512_hasher.c
index 1946aca..093a344 100644
--- a/libhashsum_init_keccak_512_hasher.c
+++ b/libhashsum_init_keccak_512_hasher.c
@@ -5,5 +5,7 @@
int
libhashsum_init_keccak_512_hasher(struct libhashsum_hasher *this)
{
- return libhashsum_init_keccak_hasher(this, KECCAKN(512));
+ int r = libhashsum_init_keccak_hasher(this, KECCAKN(512));
+ this->standard_partial_byte_output_encoding = LIBHASHSUM_UNSUPPORTED;
+ return r;
}