aboutsummaryrefslogtreecommitdiffstats
path: root/libhashsum_init_blake_hasher.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhashsum_init_blake_hasher.c')
-rw-r--r--libhashsum_init_blake_hasher.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhashsum_init_blake_hasher.c b/libhashsum_init_blake_hasher.c
index 7b6d78e..2fc5ae4 100644
--- a/libhashsum_init_blake_hasher.c
+++ b/libhashsum_init_blake_hasher.c
@@ -4,14 +4,14 @@
int
-libhashsum_init_blake_hasher(struct libhashsum_hasher *this, size_t hashbits, const void *salt, size_t salybytes)
+libhashsum_init_blake_hasher(struct libhashsum_hasher *this, size_t hashbits, const void *salt, size_t saltbytes)
{
if (salt) {
if (hashbits == 224U || hashbits == 256U) {
- if (salybytes != 16U)
+ if (saltbytes != 16U)
goto einval;
} else if (hashbits == 384U || hashbits == 512U) {
- if (salybytes != 32U)
+ if (saltbytes != 32U)
goto einval;
}
}
@@ -33,7 +33,7 @@ einval:
#else
int
-libhashsum_init_blake_hasher(struct libhashsum_hasher *this, size_t hashbits, const void *salt, size_t salybytes)
+libhashsum_init_blake_hasher(struct libhashsum_hasher *this, size_t hashbits, const void *salt, size_t saltbytes)
{
(void) this;
(void) hashbits;