lkml.org 
[lkml]   [2003]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] loop: fixing cryptoloop troubles.
    James Morris writes:
    > See RFC 2410, section 2 :-)

    This says NULL is the identity function, which is not the same as:

    static void null_encrypt(void *ctx, u8 *dst, const u8 *src)
    { }

    In practice this code never gets called because cbc_process() has
    a special case for iv==NULL. But I'd rather see a semantically
    correct reference implementation. Or just leave .cia_encrypt=NULL.

    Am I missing something here ?

    -- Pascal

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

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:0.021 / U:31.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site