diff options
Diffstat (limited to 'crypto/include')
-rw-r--r-- | crypto/include/internal/siphash.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/include/internal/siphash.h b/crypto/include/internal/siphash.h index e086859622..d8bcdcaa4a 100644 --- a/crypto/include/internal/siphash.h +++ b/crypto/include/internal/siphash.h @@ -18,7 +18,8 @@ typedef struct siphash_st SIPHASH; size_t SipHash_ctx_size(void); size_t SipHash_hash_size(SIPHASH *ctx); -int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int hash_size, +int SipHash_set_hash_size(SIPHASH *ctx, size_t hash_size); +int SipHash_Init(SIPHASH *ctx, const unsigned char *k, int crounds, int drounds); void SipHash_Update(SIPHASH *ctx, const unsigned char *in, size_t inlen); int SipHash_Final(SIPHASH *ctx, unsigned char *out, size_t outlen); |