X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Finclude%2Finternal%2Fsiphash.h;h=d8bcdcaa4aef31e91ff10894f141120bf6afa67e;hp=e08685962202a3423fd59e5b14b2d152f3c34349;hb=d74f23d2dbf2de0f374bff004c135242cfb65174;hpb=2725232132207ee30fd16e596885e3b0bd810fc4 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);