Raul Rangel uploaded patch set #2 to this change.
WIP: lib: Add murmur3 algorithm for RAM hash
This is the murmur3 algorithm from
https://github.com/PeterScott/murmur3.
I'm not sure we can even include this since it's public domain. We might
need to use another hash algorithm. I picked it because it's supposed to
be fast.
I didn't cleanup the code at all. This is why -Wno-implicit-fallthrough
was added to the CFLAGS for a temp workaround.
BUG=b:159081993
TEST=Suspend trembyle and see hashes being generated.
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I9dfd371c67966bf7a342fdb5562445e63afce664
---
M Makefile.inc
M src/Kconfig
A src/include/murmur3.h
M src/lib/Makefile.inc
A src/lib/murmur3.c
A src/lib/ram_hash_murmur.c
6 files changed, 361 insertions(+), 4 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/01/43301/2
To view, visit change 43301. To unsubscribe, or for help writing mail filters, visit settings.