From patchwork Thu Nov 3 00:41:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 80568 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp396951qge; Wed, 2 Nov 2016 17:44:00 -0700 (PDT) X-Received: by 10.176.1.180 with SMTP id 49mr5313285ual.55.1478133840135; Wed, 02 Nov 2016 17:44:00 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 65si1869267uam.87.2016.11.02.17.43.59; Wed, 02 Nov 2016 17:44:00 -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=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A79CE60F24; Thu, 3 Nov 2016 00:43:59 +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_H2 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 A16CD60748; Thu, 3 Nov 2016 00:43:17 +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 5A9A960643; Thu, 3 Nov 2016 00:43:10 +0000 (UTC) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com [209.85.218.44]) by lists.linaro.org (Postfix) with ESMTPS id A717060F30 for ; Thu, 3 Nov 2016 00:42:10 +0000 (UTC) Received: by mail-oi0-f44.google.com with SMTP id x4so49731289oix.2 for ; Wed, 02 Nov 2016 17:42:10 -0700 (PDT) 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=i4VNwbUSyHdPA8KxhRn7d7Oice5CmEkEOhoYF0rZ+DZjP6qwb9dkbzXrX6Qhuy/YuU F4oBaBE8y4cpRVWIzNHlUPxn766LaJThAm7ne6iGsxK8oi70/hCnuwl0Ozu0RadZmbr+ gXm4bh4xlUeAfNI85xQomGu68Eo6VSFQkbZqbFCKVAUjG247MMD/EwA31TgJHD5Vb9ij L+DnyUyFbBCAM8M+LcReFWG/TlppPYyH9XCAkIFdTms0nQHGmGDkE/xRVtsOUC0aYQkq cs/uNy0g5FCxjS9JrLKLBR/VeIS/CMQoZCmbKlmEcR5DrQLN/bMfuGQCWQFcqsBQKnQY CkyA== X-Gm-Message-State: ABUngvfaZLh7MwMtjbwR1u3RdzVpIFqapTfAtJHu6QyaNxUoyCVP0ebpeGPmMHluowjwljqfI9o= X-Received: by 10.157.56.110 with SMTP id r43mr4077536otd.66.1478133725191; Wed, 02 Nov 2016 17:42:05 -0700 (PDT) Received: from localhost.localdomain (cpe-70-121-83-241.austin.res.rr.com. [70.121.83.241]) by smtp.gmail.com with ESMTPSA id p82sm1352229oia.25.2016.11.02.17.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Nov 2016 17:42:04 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 2 Nov 2016 19:41:55 -0500 Message-Id: <1478133719-10981-3-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1478133719-10981-1-git-send-email-bill.fischofer@linaro.org> References: <1478133719-10981-1-git-send-email-bill.fischofer@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [API-NEXT PATCHv4 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; /**