[crypto] Add SHA-384 algorithm
authorMichael Brown <mcb30@ipxe.org>
Sun, 12 Apr 2015 14:53:39 +0000 (15:53 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 12 Apr 2015 16:01:10 +0000 (17:01 +0100)
commit02879299c96e02e0ad6093d86b04468ab89d3cfe
tree91e9cbd2496a6304d9d5ea92e5bcf72e45aa6c22
parent6f713c2d959ab3280afc83e722d6589da2029108
[crypto] Add SHA-384 algorithm

SHA-384 is almost identical to SHA-512, with differing initial hash
values and a truncated output length.

This implementation has been verified using the NIST SHA-384 test
vectors.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/crypto/sha384.c [new file with mode: 0644]
src/include/ipxe/asn1.h
src/include/ipxe/sha512.h
src/tests/sha512_test.c