Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2003 08:23:57 +0000 (GMT)
From:      Munechika Sumikawa <sumikawa@ebina.hitachi.co.jp>
To:        nectar@FreeBSD.org
Cc:        sumikawa@ebina.hitachi.co.jp
Subject:   Re: cvs commit: src/lib/libipsec pfkey_dump.c
Message-ID:  <20030417.082357.81502723.sumikawa@ebina.hitachi.co.jp>
In-Reply-To: <20030416124657.GD72501@madman.celabo.org>
References:  <200304161121.h3GBLDhJ040405@repoman.freebsd.org> <20030416124657.GD72501@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
nectar> These sizes seem arbitrary.  Previously, at 10 bytes, they were just a
nectar> bit too small to hold the representation of the largest 32-bit
nectar> unsigned integer.  Now at 20 bytes, they are just a bit too small to
nectar> hold the representation of the largest 64-bit unsigned integer.  This
nectar> seems sloppy.  (As does using a 128 byte buffer to hold the result of
nectar> concatenating two 20 byte buffers.)

You are right.  I've changed to 128 bytes.  It can be used until we
support 512bit CPU :-)

-- Sumikawa



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030417.082357.81502723.sumikawa>