lkml.org 
[lkml]   [2004]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH]
    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[unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.021 / U:0.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site