linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Loc Ho" <locnho@sbcglobal.net>
To: "'Sebastian Siewior'" <linux-crypto@ml.breakpoint.cc>
Cc: "Herbert Xu" <herbert@gondor.apana.org.au>,
	<linux-crypto@vger.kernel.org>
Subject: RE: New Crypto Hardware
Date: Tue, 22 Jan 2008 18:17:14 -0800	[thread overview]
Message-ID: <002d01c85d66$11e1d7c0$5c05420a@amcc.com> (raw)
In-Reply-To: <20080122231818.GB6920@Chamillionaire.breakpoint.cc>

Hi,

I had an working version of async hashing (for HMAC mode). Have not tested
with software wrapper yet like async blkciper implementation but with an
async hash sample driver wrapped directly over hmac(md5). 

Currently, async block ciper calls crypto_alloc_ablkciper for various mode.
I would like to do the same. If we do need two version, I would still like
to keep the interface called by tcrypt.c to be identical, except calling
'setkey' would be either no operation or return error.

Until this is confirmed, will start testing the async software wrapper over
synchronous interface.

-Loc
 

-----Original Message-----
From: linux-crypto-owner@vger.kernel.org
[mailto:linux-crypto-owner@vger.kernel.org] On Behalf Of Sebastian Siewior
Sent: Tuesday, January 22, 2008 3:18 PM
To: Loc Ho
Cc: 'Sebastian Siewior'; Herbert Xu; linux-crypto@vger.kernel.org
Subject: Re: New Crypto Hardware

* Loc Ho | 2008-01-21 17:29:13 [-0800]:

>If that is the case, then in order to fully support async hashing, I 
>would need an async version of HASH interface and an async version of 
>digest. Am I correct?
Yes. In case you support hmac+sha1 in HW and you don't do sha1 (as
digest) at all you could skip that part.

>Do you think it will be inconsistent if it is assumed that if the 
>functional setkey is not called, then it is digest. If it is called, 
>then it is hash.
I would prefer to seperate them. However, this is one of those things where
Herbert has the last word :)

>-Loc

Sebastian

  reply	other threads:[~2008-01-23  2:17 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0CA0A16855646F4FA96D25A158E299D603B5A5EB@SDCEXCHANGE01.ad.amcc.com>
2007-11-12 18:19 ` New Crypto Hardware Loc Ho
2007-11-13  1:41   ` Herbert Xu
     [not found]     ` <0CA0A16855646F4FA96D25A158E299D603EB866F@SDCEXCHANGE01.ad.amcc.com>
2007-12-25  7:32       ` Herbert Xu
     [not found]         ` <0CA0A16855646F4FA96D25A158E299D603FCC15D@SDCEXCHANGE01.ad.amcc.com>
2008-01-17 11:23           ` Herbert Xu
2008-01-17 18:37             ` Loc Ho
2008-01-17 20:27               ` Sebastian Siewior
     [not found]                 ` <0CA0A16855646F4FA96D25A158E299D603FCC4D7@SDCEXCHANGE01.ad.amcc.com>
2008-01-18 23:07                   ` Sebastian Siewior
2008-01-22  1:29                     ` Loc Ho
2008-01-22 23:18                       ` Sebastian Siewior
2008-01-23  2:17                         ` Loc Ho [this message]
2008-01-24 21:07                           ` RFC: Async Hash Support Loc Ho
2008-01-24 23:09                             ` Sebastian Siewior
2008-01-25  2:45                             ` [PATCH 1/1] CryptoAPI: Add " Loc Ho
2008-03-13 11:42                               ` Herbert Xu
2008-03-13 17:39                                 ` Loc Ho
2008-04-10  2:03                                 ` Loc Ho
2008-04-10  2:29                                   ` Herbert Xu
2008-04-22 11:16                                   ` Herbert Xu
2008-04-22 17:23                                     ` Loc Ho
2008-05-07 13:00                                       ` Herbert Xu
2008-05-07 13:09                                         ` Patrick McHardy
2008-05-07 13:15                                           ` Herbert Xu
2008-05-13 20:27                                         ` [PATCH 1/3] [CRYPTO] hash: " Loc Ho
2008-05-14 12:40                                           ` Herbert Xu
2008-05-14 12:44                                             ` Herbert Xu
2008-05-14 13:26                                           ` Herbert Xu
2008-05-13 20:29                                         ` [PATCH 2/3] [CRYPTO] cryptd: " Loc Ho
2008-05-13 20:30                                         ` [PATCH 3/3] [CRYPTO] tcrypt: " Loc Ho

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002d01c85d66$11e1d7c0$5c05420a@amcc.com' \
    --to=locnho@sbcglobal.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@ml.breakpoint.cc \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).