summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2004-08-14 13:38:35 +0000
committermarkm <markm@FreeBSD.org>2004-08-14 13:38:35 +0000
commit1659a5207b9353b648502fc1d7949a8d52db79f4 (patch)
treeb5a7aec3d73271d863f637ed2313b3bcb93b2324 /crypto
parent3d9480a58869d144e4bd14f19403d0e2f2392fa1 (diff)
downloadFreeBSD-src-1659a5207b9353b648502fc1d7949a8d52db79f4.zip
FreeBSD-src-1659a5207b9353b648502fc1d7949a8d52db79f4.tar.gz
Add support for C3 Nehemiah ACE ("Padlock") AES crypto. This comes
from OpenSSL 0.9.5 (yet to be released), and is pretty complete.
Diffstat (limited to 'crypto')
-rw-r--r--crypto/openssl/crypto/engine/eng_all.c3
-rw-r--r--crypto/openssl/crypto/engine/eng_padlock.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/crypto/openssl/crypto/engine/eng_all.c b/crypto/openssl/crypto/engine/eng_all.c
index 0f6992a..938d1ac 100644
--- a/crypto/openssl/crypto/engine/eng_all.c
+++ b/crypto/openssl/crypto/engine/eng_all.c
@@ -86,6 +86,9 @@ void ENGINE_load_builtin_engines(void)
#ifndef OPENSSL_NO_HW_UBSEC
ENGINE_load_ubsec();
#endif
+#ifndef OPENSSL_NO_HW_PADLOCK
+ ENGINE_load_padlock();
+#endif
#ifndef OPENSSL_NO_HW_AEP
ENGINE_load_aep();
#endif
diff --git a/crypto/openssl/crypto/engine/eng_padlock.c b/crypto/openssl/crypto/engine/eng_padlock.c
index db9c52b..4ca4f39 100644
--- a/crypto/openssl/crypto/engine/eng_padlock.c
+++ b/crypto/openssl/crypto/engine/eng_padlock.c
@@ -65,7 +65,7 @@
#include <stdio.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#ifdef _MSC_VER
# define alloca _alloca
# define snprintf _snprintf
OpenPOWER on IntegriCloud