From: Wolfgang Denk Date: Thu, 21 Feb 2013 13:04:36 +0100 Subject: [U-Boot] [PATCH v2 16/21] hash: Add a flag to support saving hashes in the environment In-Reply-To: <1361379515-23802-17-git-send-email-sjg@chromium.org> References: <1361379515-23802-17-git-send-email-sjg@chromium.org> Message-ID: <20130221120436.B3808200609@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Glass, In message <1361379515-23802-17-git-send-email-sjg@chromium.org> you wrote: > Some hashing commands permit saving the hash in an environment variable, > and verifying a hash from there. But the crc32 command does not support > this. In order to permit crc32 to use the generic hashing infrastructure, > add a flag to select which behaviour to use. ... > + /* > + * If environment variables are allowed, then we assume that 'dest' > + * is an environment variable, unless it starts with *, in which > + * case we assume it is an address. If not allowed, it ia always an s/it ia/it is/ What's the impact of these changes on the memory footprint? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Let us not look back in anger or forward in fear, but around in awareness. - James Thurber