Message ID | 1504638007-2671-4-git-send-email-odpbot@yandex.ru |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3236096qge; Tue, 5 Sep 2017 12:03:27 -0700 (PDT) X-Google-Smtp-Source: ADKCNb7nla/1yJ2nxjD+EK6F4Nv+nvJ8ZPpa9UddfD7EC4eCW4lBEuDFJASENBdY5NIWOcPhXCQM X-Received: by 10.200.15.132 with SMTP id b4mr115621qtk.127.1504638207592; Tue, 05 Sep 2017 12:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504638207; cv=none; d=google.com; s=arc-20160816; b=PnkhXpwSdqDTL32l8dmdhK/yYH9A/MD5fj0sUwHXs/eREOpHf8RfRgOtLbpryy183F DIMwMlpAFcXhGt3SJrLsVgluiAp25q5kD6LAcpEyovkc5oT/goBDHWrcIasEAc9PzVLT 6WbL1qdBSSJF811hcq4Emaa1Ne0l9cSzUWhhwadVAtWxYNEMh2sjRe6ZTWYBBUt391wb 5vLrB9iBtKgsurkivgUk3wFjmR/L5DgU3/U9Gx3jwgizWIbwGWBJcDhE584XAjnzO/lM QbyvbF+wL3mtLNIVVGjJLK7FRkduuZBV2cqbgtmGt3RV1yQkxr+YObicnNiQtSFPX1gn HK0g== 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=sRaYVCS2Y4Ak4gZBTvWT/26UtNu6mZbzb1pzN3aBzhg=; b=Ja7u5eGJ9kLENLn7eLe1kcYBnnj5jxXIfg2waUhWge1r/g58nl91UEbSgYpumThFUF Pj8nww9KMYMFnJNHfnYLyWlWh+JtU6emPwTlPKCR0OyNU3j4/qeGp1wRpyJYxBRee6/r v1pTqW4cfHkr0plTTM14ylcztbtHSY7QTuhMMMqSBEul/ZUmGhE+7UguhoCxK0twJNp4 q7kzSksPm+66ju5f1T2CinZpK+0MSgcqkDuk5HRTSuighOaYwxmmH08tEzfRE0x1jV0T 1jZP83dQpICsagb7C0dZv10F7PhQMxcg48EAZ6FsIVxY/UKKRX+qnulrnCON9GrEk6M2 r3Ww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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: <lng-odp-bounces@lists.linaro.org> Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id v20si974690qth.117.2017.09.05.12.03.26; Tue, 05 Sep 2017 12:03:27 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 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 D635463574; Tue, 5 Sep 2017 19:03:26 +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 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 8F4EF60F42; Tue, 5 Sep 2017 19:00:43 +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 385E161BBA; Tue, 5 Sep 2017 19:00:28 +0000 (UTC) Received: from forward101o.mail.yandex.net (forward101o.mail.yandex.net [37.140.190.181]) by lists.linaro.org (Postfix) with ESMTPS id 6936060D9E for <lng-odp@lists.linaro.org>; Tue, 5 Sep 2017 19:00:19 +0000 (UTC) Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward101o.mail.yandex.net (Yandex) with ESMTP id 6E20D1341197 for <lng-odp@lists.linaro.org>; Tue, 5 Sep 2017 22:00:16 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback13j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 2JIOE0tYK1-0GG04twV; Tue, 05 Sep 2017 22:00:16 +0300 Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id k2pMwToQDC-0FEm1KCg; Tue, 05 Sep 2017 22:00:15 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot <odpbot@yandex.ru> To: lng-odp@lists.linaro.org Date: Tue, 5 Sep 2017 21:59:59 +0300 Message-Id: <1504638007-2671-4-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1504638007-2671-1-git-send-email-odpbot@yandex.ru> References: <1504638007-2671-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 165 Subject: [lng-odp] [PATCH v1 3/11] linux-gen: crypto: stop using RAND_pseudo_bytes() X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" <lng-odp.lists.linaro.org> List-Unsubscribe: <https://lists.linaro.org/mailman/options/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/lng-odp/> List-Post: <mailto:lng-odp@lists.linaro.org> List-Help: <mailto:lng-odp-request@lists.linaro.org?subject=help> List-Subscribe: <https://lists.linaro.org/mailman/listinfo/lng-odp>, <mailto:lng-odp-request@lists.linaro.org?subject=subscribe> Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" <lng-odp-bounces@lists.linaro.org> |
Series |
None
|
expand
|
diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 563e919e..c7da548a 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -1048,9 +1048,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*/;