From: "Bhaskara Peela" Subject: RE: How to use Linux Crypto API when we already registered with Hardware Crypto API Date: Tue, 5 Jan 2010 11:34:14 -0800 Message-ID: <197D517E3C8D504283188E2A751290E86F05B54D15@IRVEXCHCCR02.corp.ad.broadcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT To: "linux-crypto@vger.kernel.org" Return-path: Received: from mms3.broadcom.com ([216.31.210.19]:1237 "EHLO MMS3.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755316Ab0AETeY convert rfc822-to-8bit (ORCPT ); Tue, 5 Jan 2010 14:34:24 -0500 Content-Language: en-US Sender: linux-crypto-owner@vger.kernel.org List-ID: Hi, My apologies for resposting this issue. Can any one suggest some mechanism to do this? thanks -----Original Message----- From: Bhaskara Peela Sent: Wednesday, December 30, 2009 12:24 PM To: 'linux-crypto@vger.kernel.org' Subject: How to use Linux Crypto API when we already registered with Hardware Crypto API Hi, I am using 2.6.30 kernel. I have registered some IPSec crypto/auth algorithms(ex: 3DES/MD5) supported by hardware with linux. I want to verify the hardware crypto/authentication output with that of linux Crypto API. To do this, I want to send same kind of IPSec packet to hardware crypto engine and linux Crypto API and compare the output. I know, I can do this, by building two images one with hardware acceleration and one without it. But, I want to do this run time so that it can be fast and i can use single image. Can you suggest a way to do this in esp4.c ? thanks bhaskara