Messages in this thread | | | Date | Mon, 23 Feb 2004 10:36:57 -0500 (EST) | From | James Morris <> | Subject | Re: [PATCH/proposal] dm-crypt: add digest-based iv generation mode |
| |
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@redhat.com>
- 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/
| |