From patchwork Fri Nov 11 08:27:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Garapati X-Patchwork-Id: 81793 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1153161qge; Fri, 11 Nov 2016 00:28:15 -0800 (PST) X-Received: by 10.237.59.230 with SMTP id s35mr1950024qte.151.1478852895312; Fri, 11 Nov 2016 00:28:15 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 2si6056663qkm.281.2016.11.11.00.28.15; Fri, 11 Nov 2016 00:28:15 -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 F0A3160EEF; Fri, 11 Nov 2016 08:28:14 +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 974EB60EFE; Fri, 11 Nov 2016 08:27:52 +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 464FA60EFC; Fri, 11 Nov 2016 08:27:49 +0000 (UTC) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) by lists.linaro.org (Postfix) with ESMTPS id 626FC60EA0 for ; Fri, 11 Nov 2016 08:27:48 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id c13so7136245lfg.0 for ; Fri, 11 Nov 2016 00:27:48 -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:subject:date:message-id:in-reply-to :references; bh=5wQSXHLKIhIAUXGycad28eM7wNVSTQ0MO5qLm3TcE2A=; b=QTzrcRtSoYDuIm05uFVlErhyzDU6MJ1sp6Eu4FlZh7pW6zMufcYS3GUpW1RSBoL1+p nyb0AAfnZfHGg3xNe7sMDfMthwWgb8h2nFc67hPatN6WDRXvbJkfvh5lFADpw16ykJPy vGDG4olA63QQktRoId7f18iX13o6PLsz5m+E45BJT+fhnwe8/Bmq3sVWoCeSKol7MLt2 qzrKLe3BPaT4RsI51qApVtEXhjgDFriN4A4+zWOLI5CtQkD7Mwf3YGW4nHd0ew21S27I CuG0Qo6rHt26X9TjA0joFR6K5Xv5vyfoj9r9+VE1Ayuqyc+QwjIChNPamf3AN40O++qH rjCw== X-Gm-Message-State: ABUngvd+6/Q4pFTGuNPAiLgQ/PsSiOnpcH4o7Kn2WVU/hqxQYebv9srJ4qVUPjQa3mubHmZ17MY= X-Received: by 10.25.28.77 with SMTP id c74mr786169lfc.107.1478852866943; Fri, 11 Nov 2016 00:27:46 -0800 (PST) Received: from elxahtkds32.localdomain ([95.204.63.192]) by smtp.gmail.com with ESMTPSA id a9sm1970017ljb.9.2016.11.11.00.27.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Nov 2016 00:27:46 -0800 (PST) From: Balakrishna Garapati To: lng-odp@lists.linaro.org Date: Fri, 11 Nov 2016 09:27:42 +0100 Message-Id: <1478852863-24743-2-git-send-email-balakrishna.garapati@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478852863-24743-1-git-send-email-balakrishna.garapati@linaro.org> References: <1478852863-24743-1-git-send-email-balakrishna.garapati@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [PATCH 1/2] api: crypto: Adding crypto authentication algorithm 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" Signed-off-by: Balakrishna Garapati --- include/odp/api/spec/crypto.h | 5 +++++ 1 file changed, 5 insertions(+) -- 1.9.1 diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index dea1fe9..bfa71cf 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -83,6 +83,8 @@ typedef enum { ODP_AUTH_ALG_NULL, /** HMAC-MD5 with 96 bit key */ ODP_AUTH_ALG_MD5_96, + /** HMAC-MD5 with 512 bit key */ + ODP_AUTH_ALG_MD5_512, /** SHA256 with 128 bit key */ ODP_AUTH_ALG_SHA256_128, /** AES128 in Galois/Counter Mode */ @@ -130,6 +132,9 @@ typedef union odp_crypto_auth_algos_t { /** ODP_AUTH_ALG_MD5_96 */ uint32_t md5_96 : 1; + /** ODP_AUTH_ALG_MD5_512 */ + uint32_t md5_512 : 1; + /** ODP_AUTH_ALG_SHA256_128 */ uint32_t sha256_128 : 1;