summaryrefslogtreecommitdiffstats
path: root/src/crypto/x509.c
diff options
context:
space:
mode:
authorMichael Brown2015-08-02 17:54:24 +0200
committerMichael Brown2015-08-02 17:54:24 +0200
commitb1caa48e4bb3f15e7eb749e0c3470436ebff3435 (patch)
tree8ce3bbef596e98c102585672186f3e586dd1c27e /src/crypto/x509.c
parent[crypto] Add ASN.1 OIDs for sha{224,384,512}WithRsaEncryption (diff)
downloadipxe-b1caa48e4bb3f15e7eb749e0c3470436ebff3435.tar.gz
ipxe-b1caa48e4bb3f15e7eb749e0c3470436ebff3435.tar.xz
ipxe-b1caa48e4bb3f15e7eb749e0c3470436ebff3435.zip
[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>
Diffstat (limited to 'src/crypto/x509.c')
-rw-r--r--src/crypto/x509.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/crypto/x509.c b/src/crypto/x509.c
index 00eb226e..43a4ca17 100644
--- a/src/crypto/x509.c
+++ b/src/crypto/x509.c
@@ -1771,3 +1771,6 @@ REQUIRING_SYMBOL ( x509_validate );
/* Drag in certificate store */
REQUIRE_OBJECT ( certstore );
+
+/* Drag in crypto configuration */
+REQUIRE_OBJECT ( config_crypto );