Re: [PATCH]

From: Michael Halcrow
Date: Thu Aug 05 2004 - 22:14:28 EST


On Thu, Aug 05, 2004 at 10:47:12PM -0400, James Morris wrote:
> On Thu, 5 Aug 2004, Jean-Luc Cooke wrote:
>
> > Would you be against a patch to cryptoapi to have access to a
> > non-scatter-list set of calls?
> >
> > I know a few people would like to see that , and I would also like to use
> > some low-level:
> >
> > crypto_digest_update_byte(struct digest_alg *digest,
> > unsigned char *buf,
> > unsigned int nbytes);
> > crypto_cipher_encrypt_byte(struct cipher_alg *cipher,
> > unsigned char *dst,
> > unsigned char *src,
> > unsigned int nbytes);
> >
> > I'm in the middle of preparing for a paper and would like to get code running
> > without scatterlists.
>
> The idea of the scatterlist API is to encourage encryption at the
> page level. Can you demonstrate a compelling need for raw access to
> the algorithms via the API?

I often have a virtual address to work with in the first place, and
the data that I hash usually occupies less than one page (passphrases,
keys, etc.).

Mike
.___________________________________________________________________.
Michael A. Halcrow
Security Software Engineer, IBM Linux Technology Center
GnuPG Fingerprint: 05B5 08A8 713A 64C1 D35D 2371 2D3C FDDA 3EB6 601D

Attachment: pgp00000.pgp
Description: PGP signature