From patchwork Fri Jan 26 14:00:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 125986 Delivered-To: patch@linaro.org Received: by 10.46.84.92 with SMTP id y28csp354091ljd; Fri, 26 Jan 2018 06:00:34 -0800 (PST) X-Google-Smtp-Source: AH8x224ERpcSYdpmU0HZaQdDv4cw49kIlZrNiOSJFQKBKDnaXEjk8u6+Nx3HiMv2/e7AMckc+3yB X-Received: by 10.55.214.130 with SMTP id p2mr20545183qkl.248.1516975234136; Fri, 26 Jan 2018 06:00:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516975234; cv=none; d=google.com; s=arc-20160816; b=YYphQTxEmazieWas7PX7ND1Len8heFTfypLKLztSiN/II5VPNZsEy2g1p3uHFkevoA RU1Nu93mKKCpgyVWUmGSuXldwjM6RSv8PLwS6GifCw9Wg5tMpNJUzqHJyqLAsyDg9Rb2 DR2d+GmLOoGLGz2afzAyKm2HSaxHUdOEjinRCCR/u+8H1nKeRH/SLn+py8FYWwa6auhP 77OECTBt+Fug+OH9MszFqLsnD91+ZvqabHm1w39Sv25B8+pMzzBpxmdwmwcAaGxkTXm+ +uUeFR9Tbg6P1Qd5W/I513zPmTXpQWmuMQDnsThVeJBlVGBDaRSgekkYbaPBtG+3XOeE XwDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=XXrygdDm4vnbY8uD4tN7apf7sJC/CeDl1vQ3QMwfel8=; b=MFeHirwUoqgXZppxB3aOLsn0N6nWGTr/bASU62KGoBVQCItGLle07tVDJoqcYyovcA xF7cveX5BlMlYZveSQIs/RZTSY62uhz1dUd4n3R4269M+/iea5Do9/AIpKKd7Qsmfi+v U0RvzzjLO1uXEBNnCFeD72UvbeJqvzILBVj+er6pYfONkbi6gZXOmeMb3C7vrqCS2Xax CID+qm7DPYDsfQ470RrzBKJ3U51Ulx374PZzxg5bcY7Z4vszpRBISmRcpAXBILJOnjMr 0/1IPeR9pXkARgQfKf1zOvbCjqLumpxHP3MX8q/r3/sDcJECP4Vfo946SxSrtyRagYyz K2YA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id d15si63684qkj.82.2018.01.26.06.00.33; Fri, 26 Jan 2018 06:00:34 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 6D69E61777; Fri, 26 Jan 2018 14:00:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 4B0566179D; Fri, 26 Jan 2018 14:00:21 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 39FA861508; Fri, 26 Jan 2018 14:00:14 +0000 (UTC) Received: from forward106p.mail.yandex.net (forward106p.mail.yandex.net [77.88.28.109]) by lists.linaro.org (Postfix) with ESMTPS id ED3A960940 for ; Fri, 26 Jan 2018 14:00:10 +0000 (UTC) Received: from mxback3g.mail.yandex.net (mxback3g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:164]) by forward106p.mail.yandex.net (Yandex) with ESMTP id 32C082D82337 for ; Fri, 26 Jan 2018 17:00:09 +0300 (MSK) Received: from smtp4j.mail.yandex.net (smtp4j.mail.yandex.net [2a02:6b8:0:1619::15:6]) by mxback3g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id nFyT3jK2kW-09D8LDdj; Fri, 26 Jan 2018 17:00:09 +0300 Received: by smtp4j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id sRwkhiOxVB-081W966k; Fri, 26 Jan 2018 17:00:08 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Fri, 26 Jan 2018 17:00:07 +0300 Message-Id: <1516975207-22132-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516975207-22132-1-git-send-email-odpbot@yandex.ru> References: <1516975207-22132-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 432 Subject: [lng-odp] [PATCH CATERPILLAR v1 1/1] odp_crypto (dpdk): RAND_pseudo_bytes is deprecated X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" From: Josep Puigdemont Signed-off-by: Josep Puigdemont --- /** Email created from pull request 432 (joseppc:fix-dpdk-deprecated) ** https://github.com/Linaro/odp/pull/432 ** Patch: https://github.com/Linaro/odp/pull/432.patch ** Base sha: 993e0cf7d033d25eac5113462b66c66a5bb6b737 ** Merge commit sha: 45105f163f2e7ca3c039d756fb3942d98216390c **/ platform/linux-dpdk/odp_crypto.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linux-dpdk/odp_crypto.c b/platform/linux-dpdk/odp_crypto.c index 6bffa1124..354c715cb 100644 --- a/platform/linux-dpdk/odp_crypto.c +++ b/platform/linux-dpdk/odp_crypto.c @@ -1134,9 +1134,6 @@ int32_t odp_random_data(uint8_t *buf, uint32_t len, odp_random_kind_t kind) switch (kind) { case ODP_RANDOM_BASIC: - RAND_pseudo_bytes(buf, len); - return len; - case ODP_RANDOM_CRYPTO: rc = RAND_bytes(buf, len); return (1 == rc) ? (int)len /*success*/: -1 /*failure*/;