This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Adding checksum to elf file
- From: Sergei Gavrikov <w3sg at SoftHome dot net>
- To: Christopher Cordahi <christopher dot cordahi at gmail dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 5 Jun 2007 21:29:58 +0300
- Subject: Re: [ECOS] Adding checksum to elf file
- References: <a1a7967e0706051049l1c63f909ieeb7eff6f4773758@mail.gmail.com>
On Tue, Jun 05, 2007 at 01:49:36PM -0400, Christopher Cordahi wrote:
> Hello ecos
>
> I'd like to add some sort of checksum into the .elf files.
> Is there a standard way of doing this?
>
> Googling I see some mention of a .dynamic tag DT_CHECKSUM
> but not how to use it properly
> and a short discussion in
> http://ecos.sourceware.org/ml/binutils/2003-02/msg00242.html
> but it doesn't seem very standard.
>
> Any ideas?
It seems, it's more suitable to verify ELF using a parallel md5sum file
That is 128-bit! There are sources http://www.ietf.org/rfc/rfc1321.txt.
Sergei
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss