From patchwork Mon Dec 5 01:15:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 86473 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1258171qgi; Sun, 4 Dec 2016 17:16:54 -0800 (PST) X-Received: by 10.55.6.14 with SMTP id 14mr48543876qkg.167.1480900614583; Sun, 04 Dec 2016 17:16:54 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 1si7824965qtr.285.2016.12.04.17.16.54; Sun, 04 Dec 2016 17:16:54 -0800 (PST) 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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 251346360A; Mon, 5 Dec 2016 01:16:54 +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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 C04F163610; Mon, 5 Dec 2016 01:15:50 +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 4EE5063607; Mon, 5 Dec 2016 01:15:29 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by lists.linaro.org (Postfix) with ESMTPS id 7474C63602 for ; Mon, 5 Dec 2016 01:15:26 +0000 (UTC) Received: by mail-oi0-f54.google.com with SMTP id w63so324325880oiw.0 for ; Sun, 04 Dec 2016 17:15:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EAi1ggdNX8qNrfOrewxGuStg4shJdghiHWTs6fEXUko=; b=JD1znstOW3MSLWA93jqLN7rk5GKl6Bhpl9ytiJZRaj3kuyUkF9Yl/UcHToh0KVNFLB 5BEZ7Wx5jvmevhfqrjZcL30ouwqrzRnjFzq6HZxpBqK4+xH5K/oZT6rfnT6t0fR8P6AB yaTQ1yJl/JHZC3FGcW1IYo9hMcaHvIZBvGOeMu3uJ6Tvn+Ci0Ayz8NnVL8DPLKTpEwCo zNBoKhXvXjj2+PAi3C/ptGZsfve823RVQBl7QKSPzmVUZkFVxrJu6nYDaNja6vZ00n9T eXYk/tl2QzGudH38TnbYfy8tdZs8S+GdGvhcFRF5XwHMeEqpVD7BLSseb1Ip6eXr3sD+ c+Jg== X-Gm-Message-State: AKaTC02WfFP5f5GJjy2wzEPDeu0UgkNAoxoCeF1jXTPPUosqyh0glttunBZTfiVVsihv9pf8gl0= X-Received: by 10.157.17.131 with SMTP id v3mr31539413otf.112.1480900525967; Sun, 04 Dec 2016 17:15:25 -0800 (PST) Received: from localhost.localdomain (cpe-70-121-83-241.austin.res.rr.com. [70.121.83.241]) by smtp.gmail.com with ESMTPSA id t43sm5378971otd.27.2016.12.04.17.15.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 04 Dec 2016 17:15:25 -0800 (PST) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Sun, 4 Dec 2016 19:15:16 -0600 Message-Id: <1480900520-21989-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1480900520-21989-1-git-send-email-bill.fischofer@linaro.org> References: <1480900520-21989-1-git-send-email-bill.fischofer@linaro.org> Subject: [lng-odp] [API-NEXT PATCHv5 3/7] api: crypto: add random kind info to odp_crypto_capabilities() api 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" Add the field max_random_kind to the odp_crypto_capability_t struct Signed-off-by: Bill Fischofer --- include/odp/api/spec/crypto.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 0cb8814..10373a3 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -19,6 +19,8 @@ extern "C" { #endif +#include + /** @defgroup odp_crypto ODP CRYPTO * Macros, enums, types and operations to utilise crypto. * @{ @@ -332,6 +334,8 @@ typedef struct odp_crypto_capability_t { /** Authentication algorithms implemented with HW offload */ odp_crypto_auth_algos_t hw_auths; + /** Highest kind of random data available */ + odp_random_kind_t max_random_kind; } odp_crypto_capability_t; /**