[crypto] Support SHA-{224,384,512} in X.509 certificates
authorMichael Brown <mcb30@ipxe.org>
Sun, 2 Aug 2015 15:54:24 +0000 (16:54 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 2 Aug 2015 15:54:24 +0000 (16:54 +0100)
commitb1caa48e4bb3f15e7eb749e0c3470436ebff3435
tree8ce3bbef596e98c102585672186f3e586dd1c27e
parent93370488acb9fedc06527bb0baf89cc2ce82a0a8
[crypto] Support SHA-{224,384,512} in X.509 certificates

Add support for SHA-224, SHA-384, and SHA-512 as digest algorithms in
X.509 certificates, and allow the choice of public-key, cipher, and
digest algorithms to be configured at build time via config/crypto.h.

Originally-implemented-by: Tufan Karadere <tufank@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
16 files changed:
src/Makefile
src/config/config_crypto.c [new file with mode: 0644]
src/config/crypto.h
src/crypto/mishmash/rsa_aes_cbc_sha1.c [new file with mode: 0644]
src/crypto/mishmash/rsa_aes_cbc_sha256.c [new file with mode: 0644]
src/crypto/mishmash/rsa_md5.c [new file with mode: 0644]
src/crypto/mishmash/rsa_sha1.c [new file with mode: 0644]
src/crypto/mishmash/rsa_sha224.c [new file with mode: 0644]
src/crypto/mishmash/rsa_sha256.c [new file with mode: 0644]
src/crypto/mishmash/rsa_sha384.c [new file with mode: 0644]
src/crypto/mishmash/rsa_sha512.c [new file with mode: 0644]
src/crypto/rsa.c
src/crypto/x509.c
src/include/ipxe/rsa.h
src/include/ipxe/tls.h
src/net/tls.c