From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by passt.top (Postfix) with ESMTPS id 31DAD5A004F for ; Wed, 19 Jun 2024 04:59:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1718765948; bh=argPebjKnBb2gf1QyU3GhOSsxEm6U5jE8Zpj5zg3lOw=; h=From:To:Cc:Subject:Date:From; b=ifNkC0339lMZPze4rk4yEX14Sf8YCa30wNnjrWC7bc7PU10WnwvgKNudKUBm9vIYi eProLEnFbWnljc7hIWm668nZacaS0k15dqsndSMf83XPI+xUr6z7XUDE4Qes/OAJIN li8xHYM1S6cboTPIDm9oYbiw3epzKXXJWpzC461rQYpImmoZ8G35niGZJuyD8DNCLO q8o5koMWkY51CO6r/xBCMXgd30ExGCNCKkU6fsPdZY+ES+8y4Ehk+n9ExSYgeq5Mvi VjnAXlo3jrZ9P1aeCrBerBKWbo1tJAVanB/8oWOg565R+Op4aVjRCVsLZ32H7jXYSP d+cMhMrT0UhwA== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4W3pHJ3YRbz4wcC; Wed, 19 Jun 2024 12:59:08 +1000 (AEST) From: David Gibson To: Stefano Brivio , passt-dev@passt.top Subject: [PATCH] siphash: Remove stale prototypes Date: Wed, 19 Jun 2024 12:59:06 +1000 Message-ID: <20240619025906.870984-1-david@gibson.dropbear.id.au> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID-Hash: 2Y6KH44TZ2OQ2ENP3A4JSMHQQQPEGPHA X-Message-ID-Hash: 2Y6KH44TZ2OQ2ENP3A4JSMHQQQPEGPHA X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: David Gibson X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: In fc8f0f8c ("siphash: Use incremental rather than all-at-once siphash functions") we removed the older interface to the SipHash implementation, which took fixed sized blocks of data. However, we forgot to remove the prototypes for those functions, so do that now. Fixes: fc8f0f8c ("siphash: Use incremental rather than all-at-once"...) Signed-off-by: David Gibson --- siphash.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/siphash.h b/siphash.h index f966cdb0..a2ca2a99 100644 --- a/siphash.h +++ b/siphash.h @@ -115,10 +115,4 @@ static inline uint64_t siphash_final(struct siphash_state *state, return state->v[0] ^ state->v[1] ^ state->v[2] ^ state->v[3]; } -uint64_t siphash_8b(const uint8_t *in, const uint64_t *k); -uint64_t siphash_12b(const uint8_t *in, const uint64_t *k); -uint64_t siphash_20b(const uint8_t *in, const uint64_t *k); -uint64_t siphash_32b(const uint8_t *in, const uint64_t *k); -uint64_t siphash_36b(const uint8_t *in, const uint64_t *k); - #endif /* SIPHASH_H */ -- 2.45.2