Re: [PATCH]

From: James Morris
Date: Thu Aug 05 2004 - 21:49:55 EST


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?


- James
--
James Morris
<jmorris@xxxxxxxxxx>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/