Re: [PATCH/proposal] dm-crypt: add digest-based iv generation mode
From: James Morris
Date: Mon Feb 23 2004 - 10:39:14 EST
On Mon, 23 Feb 2004, Jean-Luc Cooke wrote:
> The analogy of:
>
> for (i=0; i<len; i++)
> omac_encrypt(tfm, dst[i], src[i], nbytes);
>
> Will not work with OMAC since it creates a MAC and not a ciphertext stream
> like the other modes.
>
> for (i=0; i<len; i++)
> omac_encrypt(tfm, dst[0], src[i], nbytes);
> /* ^ see here! */
> memcpy(mac, dest, ...); /* store the mac */
>
> Is more appropriate. James - is this possible?
What exactly are you trying to do?
- 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/