[gPXE-devel] [iscsi] base64 support for CHAP revisited

Daniel Verkamp daniel at drv.nu
Fri May 28 16:31:08 EDT 2010


2010/5/28 Michael Brown <mbrown at fensystems.co.uk>:
> On Friday 28 May 2010 14:19:26 Piotr JaroszyƄski wrote:
>> Micheal's implementation of decoding [1] takes 196 bytes, so we could
>> also use that. My patch for adding base64 support to iscsi should
>> mostly work as is, but seeing that Michael didn't apply it (yet?) we
>> might want to wait and see :)
>
> https://git.ipxe.org/ipxe.git/commitdiff/8a16fd05dc6c3c97d071eb331c6a381d17344dec
>
> (Tested against a base16-using iSCSI target; testing against a base64-using
> target welcome.)
>
> Does anyone remember how to get meaningful values from "size" nowadays?  (It
> seems to severely over-report the size of .text; I have a vague memory that we
> tracked this down to the fact that "size" erroneously includes some debugging
> information within its count.)
>

Passing -fno-dwarf2-cfi-asm to gcc avoids creating .eh_frame sections,
which get included in the "text" total (at least according to
Makefile.housekeeping); alternatively, size -A prints sizes for
individual sections separately.

-- Daniel Verkamp

(apologies if you get this twice; forgot about default reply-to-author behavior)


More information about the gPXE-devel mailing list