crypto: get sha256 support to build.
authorRonald G. Minnich <rminnich@gmail.com>
Thu, 13 Oct 2016 20:39:04 +0000 (13:39 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Fri, 14 Oct 2016 14:52:45 +0000 (10:52 -0400)
commit0b99538dc8533c2aa7a949a13160e80c44112c06
treed53cf8320cea1f4d60c6c023603a3549bfafd1d6
parent518bfd9c92eebbccbcbde35cb8a30fa0388caf5e
crypto: get sha256 support to build.

For now we'll just go with the sh256.c. That said,
we'll keep the other bits in here. Sooner or later we may
need the other crypto functions. Note these are not compiled
in conditionally.

We should consider removing the conditional compiling
of the unrolled code; we don't have space constraints of firmware.

Change-Id: Ic792cf2b89fa4f01a94c420eb3c620b62c7bf2a9
Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
18 files changed:
kern/include/crypto/2common.h
kern/include/crypto/2crc8.h
kern/include/crypto/2crypto.h
kern/include/crypto/2fw_hash_tags.h
kern/include/crypto/2hmac.h
kern/include/crypto/2id.h
kern/include/crypto/2misc.h
kern/include/crypto/2nvstorage.h
kern/include/crypto/2nvstorage_fields.h
kern/include/crypto/2recovery_reasons.h
kern/include/crypto/2rsa.h
kern/include/crypto/2secdata.h
kern/include/crypto/2sha.h
kern/include/crypto/2struct.h
kern/include/crypto/2sysincludes.h
kern/include/crypto/2tpm_bootmode.h
kern/lib/Kbuild
kern/lib/crypto/2sha256.c