From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CCE2E454AA; Wed, 19 Jun 2024 16:24:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9882B40289; Wed, 19 Jun 2024 16:24:50 +0200 (CEST) Received: from fhigh6-smtp.messagingengine.com (fhigh6-smtp.messagingengine.com [103.168.172.157]) by mails.dpdk.org (Postfix) with ESMTP id 055D84021D for ; Wed, 19 Jun 2024 16:24:49 +0200 (CEST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 827ED11401E3; Wed, 19 Jun 2024 10:24:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 19 Jun 2024 10:24:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1718807088; x=1718893488; bh=WoZs6/i1pV3hxH3fMY3Qkg8xe29Rb2FhgAo6vBDWC+I=; b= G2O6IOsmwVrW10dQCdLlWOR8Zi2MXkhPhlQgVYLujDkCbkNoy/vfUB+Uny84Szp3 mWs9EOLayjgwoHaroxcxfiLJ6aOvE8OBaC+al/w+w2FpKG0KuCju+kw3C6JJ1cVV jdI6jhwuoMEiAAojV7M7SWIkRnlSh+D5wnJ6HFOZnh93cAXjXZjvcwqhRrEGLJCx XUGSIxvn+pn4YUjpa/mhhQuHwK0s/6fYUzwZo21jAKPranyqD1Stfv3Ob+6wyUUq 9VUM+wXKpTRb5lUh9QITg4eJauupV722tpXJ4AxpkPeRP9IkMVZ4J7TBFTmnzZfo u6XHwH60hXWZCC1kWtMbnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718807088; x= 1718893488; bh=WoZs6/i1pV3hxH3fMY3Qkg8xe29Rb2FhgAo6vBDWC+I=; b=m vnHVSEZKDsIv9QK26sdOv2HKD4D1bikISkPdzKrWPve9Ym9oU+RiIn8aLMuPQBNT EKWGcSKjPilH+FAqHvkVLPoMpcyzovjz4WPtwroE41zcQpnAd5noHLFWVOfphbwQ St4+77xCfI0eiB2WWkDpozTK2peLIPck18IrWQVDqWSv8KSXQz+kUjHgdQ3Xl82W /HV7YVJ6JsWqNip6BBNE1IFu+eJz/8fwvKPm4Oz+c+aI44oXJqp8IG0AEOIh3iYZ 7r3OpXEgHkOqa3oVrXDAJ3ZA1ishGpm2UuPirbJAGdY5gjwyFfN68PJap+JjmymC 7lKCi6n9Q+0fFo+9FR9Lg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeeftddgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtjeenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeejudevheeiveduuddtveffgfdtgeekueevjeffjeegtdeggeek gfdvuefgfeekjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jun 2024 10:24:46 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: dev@dpdk.org, Yipeng Wang , Sameh Gobriel , Bruce Richardson , Vladimir Medvedkin Subject: Re: [PATCH v5] lib/hash: add siphash Date: Wed, 19 Jun 2024 16:24:41 +0200 Message-ID: <2214617.vXnMlVU4IS@thomas> In-Reply-To: <20240617145853.7345-1-stephen@networkplumber.org> References: <20240227174012.343004-1-stephen@networkplumber.org> <20240617145853.7345-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hash lib maintainers are not Cc'ed, adding them for review. 17/06/2024 16:58, Stephen Hemminger: > The existing hash functions in DPDK are not cryptographically > secure and can be subject to carefully crafted packets causing > DoS attack. > > Add SipHash which is a fast and cryptographicly sound hash > created by Jean-Philippe Aumasson and Daniel J. Bernstein. > Siphash is widely used by Linux, FreeBSD, OpenBSD and other > projects because it is fast and resistant to DoS attacks. > This version is designed to be useful as alternative hash > with cuckoo hash in DPDK. > > Implementation is based of the public domain and Creative > Common license reference version as well as some optimizations > from the GPL-2 or BSD-3 licensed version in Linux. > > Signed-off-by: Stephen Hemminger