aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_keccak_384_hasher.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-05 18:50:36 +0200
committerMattias Andrée <maandree@kth.se>2024-09-05 18:50:36 +0200
commit36eaf29a8154bc948c0969a29021b293cf38695b (patch)
tree0c16e92ceef40984dc95b3875afb322865ae73a8 /libhashsum_init_keccak_384_hasher.c
parentSet standard_partial_byte_output_encoding to LIBHASHSUM_UNSUPPORTED for SHA-3 (diff)
downloadlibhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.gz
libhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.bz2
libhashsum-36eaf29a8154bc948c0969a29021b293cf38695b.tar.xz
Set standard_partial_byte_output_encoding to LIBHASHSUM_UNSUPPORTED for Keccal-{224,256,384,512}
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libhashsum_init_keccak_384_hasher.c')
-rw-r--r--libhashsum_init_keccak_384_hasher.c4
1 files changed, 3 insertions, 1 deletions
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;
}