From patchwork Wed Nov 12 08:06:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandru Badicioiu X-Patchwork-Id: 40642 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E46D8206A5 for ; Wed, 12 Nov 2014 08:09:46 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id r20sf1610178wiv.6 for ; Wed, 12 Nov 2014 00:09:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=RPUypoKcWiYcy2pgSbFj2eME6N8P967xTBz7XtbMOnc=; b=Xxma77kkEsaYpTihhH3b9cBspbRq5BL+BIZkgZTumVRcVVvVb/dtPLSJ2i3cyfS7CL 4bgWijzsiLVgHrSppPMck2tzE+kciMGwflCzghFqxAnoap8i9T/NBQ6XBR05xJrnGGrS mys5qTf7AXh6tmpxI3IHGCdHg/xbuCrUhi6UfimYdkuiEQIsdLrafeN2m0drx92COzQu xd8AZx2xF3KAZD0foJFI0Lboj2JNLl6ht53tI6HEWt7g9HzZAzgNS5vAn871/1X3kIgo hoL7ouAACn0gZMooYsIRsU8cm/OtnJNFg6iJQODUU5Tr+b/ZUX+ZGCmr4phrYCpK5cNX f46Q== X-Gm-Message-State: ALoCoQnoF8dys8rypDlRYaBc1IE0UydK8i4Iws801P/V2J229AgaC+gymEqEgXjV+u0P0g8WwkyI X-Received: by 10.180.221.7 with SMTP id qa7mr6310002wic.6.1415779786230; Wed, 12 Nov 2014 00:09:46 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.7.66 with SMTP id h2ls518869laa.58.gmail; Wed, 12 Nov 2014 00:09:45 -0800 (PST) X-Received: by 10.112.73.103 with SMTP id k7mr40822781lbv.41.1415779785771; Wed, 12 Nov 2014 00:09:45 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id rs4si34138984lbb.12.2014.11.12.00.09.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 12 Nov 2014 00:09:45 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id ge10so11047842lab.30 for ; Wed, 12 Nov 2014 00:09:45 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr40111738laz.27.1415779785451; Wed, 12 Nov 2014 00:09:45 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp385873lbc; Wed, 12 Nov 2014 00:09:44 -0800 (PST) X-Received: by 10.140.102.169 with SMTP id w38mr56668877qge.95.1415779784203; Wed, 12 Nov 2014 00:09:44 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id j8si40539039qan.83.2014.11.12.00.09.42 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 12 Nov 2014 00:09:44 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XoSzl-00009V-5i; Wed, 12 Nov 2014 08:09:41 +0000 Received: from mail-by2on0078.outbound.protection.outlook.com ([207.46.100.78] helo=na01-by2-obe.outbound.protection.outlook.com) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XoSze-00009Q-BR for lng-odp@lists.linaro.org; Wed, 12 Nov 2014 08:09:34 +0000 Received: from BY2PR03MB1016.namprd03.prod.outlook.com (10.242.238.26) by BY2PR03MB394.namprd03.prod.outlook.com (10.141.141.13) with Microsoft SMTP Server (TLS) id 15.1.11.14; Wed, 12 Nov 2014 08:09:27 +0000 Received: from BY2PR03CA043.namprd03.prod.outlook.com (10.141.249.16) by BY2PR03MB1016.namprd03.prod.outlook.com (10.242.238.26) with Microsoft SMTP Server (TLS) id 15.1.16.15; Wed, 12 Nov 2014 08:09:21 +0000 Received: from BY2FFO11FD048.protection.gbl (2a01:111:f400:7c0c::183) by BY2PR03CA043.outlook.office365.com (2a01:111:e400:2c5d::16) with Microsoft SMTP Server (TLS) id 15.1.16.15 via Frontend Transport; Wed, 12 Nov 2014 08:09:21 +0000 Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD048.mail.protection.outlook.com (10.1.15.176) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Wed, 12 Nov 2014 08:09:21 +0000 Received: from fsr-fed1364-15.ea.freescale.net (fsr-fed1364-15.ea.freescale.net [10.171.81.144]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id sAC89IEG010021; Wed, 12 Nov 2014 01:09:19 -0700 From: To: Date: Wed, 12 Nov 2014 10:06:38 +0200 Message-ID: <1415779598-19631-1-git-send-email-alexandru.badicioiu@linaro.org> X-Mailer: git-send-email 1.7.3.4 X-EOPAttributedMessage: 0 X-Matching-Connectors: 130602533614256861; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(448002)(199003)(189002)(86152002)(92726001)(92566001)(102836001)(4396001)(50226001)(87936001)(46102003)(50986999)(93916002)(86362001)(2351001)(107046002)(120916001)(89996001)(229853001)(36756003)(88136002)(87286001)(97736003)(104166001)(95666004)(84676001)(99396003)(106466001)(85326001)(20776003)(47776003)(64706001)(31966008)(33646002)(6806004)(44976005)(19580395003)(19580405001)(110136001)(77156002)(62966003)(68736004)(104016003)(21056001)(50466002)(48376002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB1016; H:tx30smr01.am.freescale.net; FPR:; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB1016; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB1016; X-Forefront-PRVS: 03932714EB Received-SPF: PermError (protection.outlook.com: domain of linaro.org used an invalid SPF mechanism) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(402001)(401002)(400003); SRVR:BY2PR03MB1016; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB394; X-Topics: crypto patch Subject: [lng-odp] [PATCH v4] crypto : add stubs for missing functions X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: alexandru.badicioiu@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 From: Alexandru Badicioiu Required by crypto unit testing. Signed-off-by: Alexandru Badicioiu Reviewed-by: Mike Holmes --- platform/linux-generic/odp_crypto.c | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 1475437..596c717 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -467,3 +468,24 @@ odp_crypto_get_ses_create_compl_session(odp_buffer_t completion_event, result = odp_buffer_addr(completion_event); *session = result->session; } + +void +odp_crypto_set_operation_compl_ctx(odp_buffer_t completion_event ODP_UNUSED, + void *ctx ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); +} + +void +*odp_crypto_get_operation_compl_ctx(odp_buffer_t completion_event ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); + return NULL; +} + +odp_packet_t +odp_crypto_get_operation_compl_packet(odp_buffer_t completion_event ODP_UNUSED) +{ + ODP_UNIMPLEMENTED(); + return ODP_PACKET_INVALID; +}