cvs commit: src/lib/libipsec pfkey_dump.c

Munechika Sumikawa sumikawa at ebina.hitachi.co.jp
Thu Apr 17 00:26:04 PDT 2003


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


More information about the cvs-src mailing list