* 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
* Loc Ho | 2008-01-17 13:25:38 [-0800]:
Questions:
2. What is the difference between digest and hash type besides one
operation on transformation structure (tfm) and the other on descriptor
(desc)?
They are used for different things.
Digest is something like sha1 or md5. You just feed your
On Wed, Jan 16, 2008 at 10:19:04AM -0800, Loc Ho wrote:
Hi,
For hashing, there are HMAC key if HMAC and digest size. As digest size
is part of the algorithm, there is only HMAC key. Are you referring to
moving the HMAC key from transformation into the request structure? As I
am modeled
into the request
just like ablkcipher.
-Loc
-Original Message-
From: Herbert Xu [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 3:23 AM
To: Loc Ho
Cc: linux-crypto@vger.kernel.org
Subject: Re: New Crypto Hardware
On Wed, Jan 16, 2008 at 10:19:04AM -0800, Loc Ho wrote:
Hi,
For hashing
* Loc Ho | 2008-01-17 10:37:20 [-0800]:
struct hash_alg {
int (*init)(struct hash_desc *desc);
int (*update)(struct hash_desc *desc, struct scatterlist *sg,
unsigned int nbytes);
int (*final)(struct hash_desc *desc, u8 *out);
int (*digest)(struct
On Fri, Dec 21, 2007 at 09:41:11AM -0800, Loc Ho wrote:
Hi Herbert,
Begin of next year, I will be start adding asynchronous hashing support.
I would like to check with you before I start. Besides modeled after
crypto async block cipher, do you have any suggestion?
Thanks for looking into
Hi,
I am about to start developing a new device driver for new crypto hardware.
I am thinking of starting with Linux CryptoAPI interface. But I have the
following requirement:
1. Asynchronous encrypt/decrypt
2. Asynchronous hashing
3. Asynchronous combined mode (GCM, CCM, and GMAC) 4
Loc Ho [EMAIL PROTECTED] wrote:
What is the current state of asynchronous hashing? Will AEAD be changed to
It's on my todo list but it's not the highest priority.
make use of asynchronous hashing? Is anyone working on #1 and changing AEAD
You mean authenc? AEAD is just an interface which