From patchwork Fri Nov 11 13:17:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Balakrishna Garapati X-Patchwork-Id: 81827 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp1262578qge; Fri, 11 Nov 2016 05:18:21 -0800 (PST) X-Received: by 10.55.67.81 with SMTP id q78mr791973qka.53.1478870301566; Fri, 11 Nov 2016 05:18:21 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i2si10787qti.35.2016.11.11.05.18.21; Fri, 11 Nov 2016 05:18:21 -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 2B86E60651; Fri, 11 Nov 2016 13:18:21 +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 02ABF60EBE; Fri, 11 Nov 2016 13:17:58 +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 CDC0B60EA0; Fri, 11 Nov 2016 13:17:55 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id B294A60EA0 for ; Fri, 11 Nov 2016 13:17:54 +0000 (UTC) Received: by mail-lf0-f44.google.com with SMTP id b14so12160665lfg.2 for ; Fri, 11 Nov 2016 05:17:54 -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=yFQ1g3YF5BbBL/31p29dzEVjaXqSNqj6/CeIjifcxmY=; b=Z2Vnz3G4RVCzj2okVU7uCMyX/W4tiRob18tKtytnYabBO26yXXWpAINB3z8LjJFKkF KK/ARkZlMRvvtwWkhHUNFXOxLz/Lpbi3UahDlLqeE10corrj19uullTVb/dOYbuNynL1 aQWSX+2ng046vgTjiOgliBqsNmMbufQFSjRU6SOUaBxLVe13H8lIrnrl/A+b2vFKgmf3 NkMUt6ab/wwN5qg2M3jVu2mUFovOltez6TvZ3rd3FOqP9aS9RLgqMyqBKLGbAf/eV+JF Odbrx5zZQBlGZITJrn1wItKFPQU59ZqB1v+uCY4bxbqWI10g3FaET7CrHFZC7ZNgIk5W Tf8A== X-Gm-Message-State: ABUngveGzDTU2Z/BSnLf8q2bLed5CLeJnZqWFAH/ZOhZ+X5EsmckMAqs8u44UIiy16ITi5yjgC0= X-Received: by 10.25.205.72 with SMTP id d69mr1687238lfg.23.1478870273258; Fri, 11 Nov 2016 05:17:53 -0800 (PST) Received: from elxahtkds32.localdomain (host-95-192-162-123.mobileonline.telia.com. [95.192.162.123]) by smtp.gmail.com with ESMTPSA id 67sm2220310ljf.35.2016.11.11.05.17.52 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 11 Nov 2016 05:17:52 -0800 (PST) From: Balakrishna Garapati To: lng-odp@lists.linaro.org Date: Fri, 11 Nov 2016 14:17:49 +0100 Message-Id: <1478870270-2833-2-git-send-email-balakrishna.garapati@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1478870270-2833-1-git-send-email-balakrishna.garapati@linaro.org> References: <1478870270-2833-1-git-send-email-balakrishna.garapati@linaro.org> X-Topics: crypto patch Subject: [lng-odp] [API-NEXT 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 0cb8814..1ce547b 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;