<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/include/hash.h, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2018-05-07T13:34:12Z</updated>
<entry>
<title>SPDX: Convert all of our single license tags to Linux Kernel style</title>
<updated>2018-05-07T13:34:12Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2018-05-06T21:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=83d290c56fab2d38cd1ab4c4cc7099559c1d5046'/>
<id>urn:sha1:83d290c56fab2d38cd1ab4c4cc7099559c1d5046</id>
<content type='text'>
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from.  So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry.  Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.

In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.

This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents.  There's also a few places where I found we did not have a tag
and have introduced one.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>Kconfig: Finish migration of hashing commands</title>
<updated>2017-05-31T23:38:14Z</updated>
<author>
<name>Daniel Thompson</name>
</author>
<published>2017-05-19T16:26:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=221a949eb6cf9077abc1e7ee28331987042b9b08'/>
<id>urn:sha1:221a949eb6cf9077abc1e7ee28331987042b9b08</id>
<content type='text'>
Currently these (board agnostic) commands cannot be selected using
menuconfig and friends. Fix this the obvious way.  As part of this,
don't muddle the meaning of CONFIG_HASH_VERIFY to mean both 'hash -v'
and "we have a hashing command" as this makes the Kconfig logic odd.

Signed-off-by: Daniel Thompson &lt;daniel.thompson@linaro.org&gt;
[trini: Re-apply, add imply for a few cases, run moveconfig.py, also
        migrate CRC32_VERIFY]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>hash.c: Conditionally compile hash_command, static hash_show</title>
<updated>2016-01-14T02:05:08Z</updated>
<author>
<name>Tom Rini</name>
</author>
<published>2016-01-05T13:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=48ad68deb8f3f2046aad4197e7b1bc70533b4bb2'/>
<id>urn:sha1:48ad68deb8f3f2046aad4197e7b1bc70533b4bb2</id>
<content type='text'>
The function hash_show is now only called by hash_command, so mark it as
static (and drop from hash.h).  We only call hash_command when any of
CONFIG_CMD_CRC32, CONFIG_CMD_SHA1SUM or CONFIG_CMD_HASH are set.  Since
hash.c is linked in unconditionally we must take extra care with
functions that bring in read-only strings as these will not be
discarded.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>autoboot.c: Add feature to stop autobooting via SHA256 encrypted password</title>
<updated>2015-06-08T21:32:40Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2015-05-18T12:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=8f0b1e24e2887713bdcbf35b08902e9555ee7b92'/>
<id>urn:sha1:8f0b1e24e2887713bdcbf35b08902e9555ee7b92</id>
<content type='text'>
This patch adds the feature to only stop the autobooting, and therefor
boot into the U-Boot prompt, when the input string / password matches
a values that is encypted via a SHA256 hash and saved in the environment.

This feature is enabled by defined these config options:
     CONFIG_AUTOBOOT_KEYED
     CONFIG_AUTOBOOT_STOP_STR_SHA256

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Use hash.c in mkimage</title>
<updated>2015-01-30T00:09:59Z</updated>
<author>
<name>Ruchika Gupta</name>
</author>
<published>2015-01-23T10:31:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2dd90027196175d0bcea411c933927d73994588d'/>
<id>urn:sha1:2dd90027196175d0bcea411c933927d73994588d</id>
<content type='text'>
Signed-off-by: Ruchika Gupta &lt;ruchika.gupta@freescale.com&gt;
CC: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>hash: Add function to find hash_algo struct with progressive hash</title>
<updated>2015-01-30T00:09:59Z</updated>
<author>
<name>Ruchika Gupta</name>
</author>
<published>2015-01-23T10:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=46fe2c04443f3d777791910da21649bb3ddf878f'/>
<id>urn:sha1:46fe2c04443f3d777791910da21649bb3ddf878f</id>
<content type='text'>
The hash_algo structure has some implementations in which progressive hash
API's are not defined. These are basically the hardware based implementations
of SHA. An API is added to find the algo which has progressive hash API's
defined. This can then be integrated with RSA checksum library which uses
Progressive Hash API's.

Signed-off-by: Ruchika Gupta &lt;ruchika.gupta@freescale.com&gt;
CC: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>hash: Use uint8_t in preference to u8</title>
<updated>2014-06-19T15:18:55Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2014-06-12T13:24:41Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=04819a4ff1c93972ac46aedd3f17becbd5e0b588'/>
<id>urn:sha1:04819a4ff1c93972ac46aedd3f17becbd5e0b588</id>
<content type='text'>
This type is more readily available on the host compiler, so use it instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>hash: Export the function to show a hash</title>
<updated>2014-06-11T20:25:46Z</updated>
<author>
<name>Simon Glass</name>
</author>
<published>2014-06-03T04:04:49Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=31890ae299bca739c58b311dfced0bb199a5f520'/>
<id>urn:sha1:31890ae299bca739c58b311dfced0bb199a5f520</id>
<content type='text'>
This function is useful for displaying a hash value, so export it.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Prevent a buffer overflow in mkimage when signing with SHA256</title>
<updated>2014-06-05T21:01:23Z</updated>
<author>
<name>Michael van der Westhuizen</name>
</author>
<published>2014-05-30T18:59:00Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=1de7bb4f27745336c6d9cd5c2088748fcdaf699d'/>
<id>urn:sha1:1de7bb4f27745336c6d9cd5c2088748fcdaf699d</id>
<content type='text'>
Due to the FIT_MAX_HASH_LEN constant not having been updated
to support SHA256 signatures one will always see a buffer
overflow in fit_image_process_hash when signing images that
use this larger hash.  This is exposed by vboot_test.sh.

Signed-off-by: Michael van der Westhuizen &lt;michael@smart-africa.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
[trini: Rework a bit so move the exportable parts of hash.h outside of
 !USE_HOSTCC and only need that as a new include to image.h]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>gen: Add progressive hash API</title>
<updated>2014-03-21T20:39:36Z</updated>
<author>
<name>Hung-ying Tyan</name>
</author>
<published>2014-03-03T11:19:28Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=bf007ebb6f4b01af675782d23bacbddd17e1a627'/>
<id>urn:sha1:bf007ebb6f4b01af675782d23bacbddd17e1a627</id>
<content type='text'>
Add hash_init(), hash_update() and hash_finish() to the
hash_algo struct. Add hash_lookup_algo() to look up the
struct given an algorithm name.

Signed-off-by: Hung-ying Tyan &lt;tyanh@chromium.org&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
