From patchwork Wed Oct 26 16:39:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 79456 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp159505qge; Wed, 26 Oct 2016 09:39:41 -0700 (PDT) X-Received: by 10.36.83.80 with SMTP id n77mr6991802itb.63.1477499981257; Wed, 26 Oct 2016 09:39:41 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 6si3243442itk.113.2016.10.26.09.39.39; Wed, 26 Oct 2016 09:39:41 -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 E058161892; Wed, 26 Oct 2016 16:39:38 +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 CB9BA60CAD; Wed, 26 Oct 2016 16:39:33 +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 EB26D60CE2; Wed, 26 Oct 2016 16:39:30 +0000 (UTC) Received: from mail-oi0-f42.google.com (mail-oi0-f42.google.com [209.85.218.42]) by lists.linaro.org (Postfix) with ESMTPS id 4A46B60CAD for ; Wed, 26 Oct 2016 16:39:30 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id y2so154442690oie.0 for ; Wed, 26 Oct 2016 09:39:30 -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=e5/0iODuYO1LWOljtF+BoOUvQtNG1b/c2DHDeLKIBUT8s8q9CFN2lPEk9PQYwGiJ8G fH7Rjs8x7Ox5c1UOb0rLvlTWKbKnUshiDRDggLk10EYA44C0wAmZ7BNE6refIEB55uie QemULhDYWFLD9NOPdsaUPntsZhJ6rLz51nGOi0WEd6e5i9oHCRq8JBPDbaCK1Y3seEP0 vkv56uPWgvNq9MbnVcjrrMNLYc9aV39j2t4j2PtawrGwXldpNNgoqKwb5bC9CTj/Agj0 kobenjWTmQxklUAYddYh9rogUjOsAMiJF9WbwwfWjHZO6W6N3k+rnz31/ozDdx6K3yaX 9AjA== X-Gm-Message-State: ABUngvchOvXwZUxqofQ0jIYHK2mcJlKFbodte5u+PbVxz3QogFtSlcfrCzkyS8ilm4NyhbBp72Y= X-Received: by 10.202.243.10 with SMTP id r10mr2034609oih.120.1477499969827; Wed, 26 Oct 2016 09:39:29 -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 f68sm844369otb.36.2016.10.26.09.39.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 09:39:29 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Wed, 26 Oct 2016 11:39:24 -0500 Message-Id: <1477499966-30632-2-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1477499966-30632-1-git-send-email-bill.fischofer@linaro.org> References: <1477499966-30632-1-git-send-email-bill.fischofer@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [API-NEXT PATCHv3 2/4] 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; /**