On Wed, Jul 16, 2008 at 09:44:56PM +0800, Herbert Xu wrote:
> On Thu, Jul 03, 2008 at 04:21:02PM -0400, Neil Horman wrote:
> >> + /*
> > + * Now update our DT value
> > + */
> > + for (i=DEFAULT_BLK_SZ-1;i>0;i--) {
> > + ctx->DT[i] = ctx->DT[i-1];
> > + }
> > + ctx->DT[0] += 1;
>
> Is there any reason behind using this algorithm as opposed to
> a simple counter?
>
No, this was rather a stream of conscious thing, shifting incrementing numbers
through the buffer, I can certainly make it a simple counter.
Neil
> Cheers,
> --
> Visit Openswan at http://www.openswan.org/
> Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
/****************************************************
* Neil Horman <[EMAIL PROTECTED]>
* Software Engineer, Red Hat
****************************************************/
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html