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 4014B43BCF; Fri, 1 Mar 2024 19:11:22 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2ED22433E8; Fri, 1 Mar 2024 19:11:22 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 0B1E3433E4 for ; Fri, 1 Mar 2024 19:11:20 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1086) id 66E2020B74C0; Fri, 1 Mar 2024 10:11:19 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 66E2020B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1709316679; bh=oMtlPHTM0BBrJ7bnNxvRSCwM3uWQanSZlbOW5JktlME=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=N1DHbo0Xh3ZH5decd60r40wRT/SboYKM4WyYDbJegrXogbKD6Eq5JuEGzfhA2HhIn hGomX0lKii39As08JGSfkb120RH0VGPmqbxVRfdzIiDojK1w+RMN3honv+mjQjKdA4 +fvMJJUbS1264bpNKMczhg7C1tQYkHbbPuns4sJ0= Date: Fri, 1 Mar 2024 10:11:19 -0800 From: Tyler Retzlaff To: Stephen Hemminger Cc: dev@dpdk.org, Cristian Dumitrescu Subject: Re: [PATCH 5/6] pipeline: replace use of rand() Message-ID: <20240301181119.GC983@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20240301175842.159967-1-stephen@networkplumber.org> <20240301175842.159967-6-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240301175842.159967-6-stephen@networkplumber.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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 On Fri, Mar 01, 2024 at 09:57:10AM -0800, Stephen Hemminger wrote: > The rand() function is weak and using it for salt might be a future > security issue. Use rte_rand() which has a bigger period and more > secure. > > Signed-off-by: Stephen Hemminger > --- Reviewed-by: Tyler Retzlaff