From patchwork Tue Feb 21 22:41:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Eremin-Solenikov X-Patchwork-Id: 94288 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp657053qgi; Tue, 21 Feb 2017 14:42:50 -0800 (PST) X-Received: by 10.36.88.207 with SMTP id f198mr30149125itb.44.1487716970709; Tue, 21 Feb 2017 14:42:50 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w127si3683042itd.32.2017.02.21.14.42.50; Tue, 21 Feb 2017 14:42:50 -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 sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 093D660C05; Tue, 21 Feb 2017 22:42:50 +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, URIBL_BLOCKED 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 0A18F60DC9; Tue, 21 Feb 2017 22:41:41 +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 A683F60C60; Tue, 21 Feb 2017 22:41:34 +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 EB53B60BDE for ; Tue, 21 Feb 2017 22:41:32 +0000 (UTC) Received: by mail-lf0-f53.google.com with SMTP id l12so34107920lfe.0 for ; Tue, 21 Feb 2017 14:41:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=2LW6iqZepxg8ssRwjYcHv7gPW4I8u+YzmKy/JPBqCv0=; b=aStWFr056fXOqHKrdP7yDa0SQ2Th4xjGPDtrwksH8B5jSYWzTERdnu60awZ7tNF1xk X7+/fSwoZinp9+9h4niFD0yhz+/G1vD8Ep1IcvCOs4pXwhHA9bX16lBWZU1GvJ/qNvap 1CzeqNAN64/Jwd7bDp5tkBWM4F+JyuATKn5Jrp9mlOlqO+0V4+eWBbDGGqtzYzwVQPvr 8owexnLTFDLXFosSl/6KcuEjKKgfW/n5Gew7ad/9m4YZX5GcphbSQla3AHKMDSree0su jIkrps8kyFdGXSw0n7jUntWH9EKawa4BS6qE4aW7CWHkuWHbwfVFtUvV728Uw8176gyf LxzQ== X-Gm-Message-State: AMke39kzbaiEQnVl7FEUHuasta/1XpnAk1BD+mds2+cOfLcMhrjCFxlp0dapHzdzQwpwZgl8n5o= X-Received: by 10.25.26.2 with SMTP id a2mr2847165lfa.154.1487716891577; Tue, 21 Feb 2017 14:41:31 -0800 (PST) Received: from forlindon.lumag.auriga.ru ([188.162.65.19]) by smtp.gmail.com with ESMTPSA id s20sm6537043lfe.41.2017.02.21.14.41.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Feb 2017 14:41:31 -0800 (PST) From: Dmitry Eremin-Solenikov To: lng-odp@lists.linaro.org Date: Wed, 22 Feb 2017 01:41:27 +0300 Message-Id: <20170221224127.31314-4-dmitry.ereminsolenikov@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170221224127.31314-1-dmitry.ereminsolenikov@linaro.org> References: <20170221182325.14424-1-nikhil.agarwal@linaro.org> <20170221224127.31314-1-dmitry.ereminsolenikov@linaro.org> Subject: [lng-odp] [PATCH 4/4] api: crypto: add definitions for SHA-1 HMAC authentication 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: Dmitry Eremin-Solenikov --- include/odp/api/spec/crypto.h | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.11.0 diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 9855bf98..cdff8e94 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -102,6 +102,12 @@ typedef enum { */ ODP_AUTH_ALG_MD5_HMAC, + /** HMAC-SHA-1 + * + * SHA-1 algorithm in HMAC mode + */ + ODP_AUTH_ALG_SHA1_HMAC, + /** HMAC-SHA-256 * * SHA-256 algorithm in HMAC mode @@ -117,6 +123,9 @@ typedef enum { /** @deprecated Use ODP_AUTH_ALG_MD5_HMAC instead */ ODP_AUTH_ALG_MD5_96, + /** @deprecated Use ODP_AUTH_ALG_SHA1_HMAC instead */ + ODP_AUTH_ALG_SHA1_96, + /** @deprecated Use ODP_AUTH_ALG_SHA256_HMAC instead */ ODP_AUTH_ALG_SHA256_128,