diff options
Diffstat (limited to 'src/lib/libcrypto/engine')
| -rw-r--r-- | src/lib/libcrypto/engine/eng_aesni.c | 7 | ||||
| -rw-r--r-- | src/lib/libcrypto/engine/eng_int.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/engine/eng_list.c | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/engine/eng_openssl.c | 16 | ||||
| -rw-r--r-- | src/lib/libcrypto/engine/eng_table.c | 4 |
5 files changed, 16 insertions, 18 deletions
diff --git a/src/lib/libcrypto/engine/eng_aesni.c b/src/lib/libcrypto/engine/eng_aesni.c index 0bb558c1fd..94c4c1fb6a 100644 --- a/src/lib/libcrypto/engine/eng_aesni.c +++ b/src/lib/libcrypto/engine/eng_aesni.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_aesni.c,v 1.6 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: eng_aesni.c,v 1.7 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Support for Intel AES-NI intruction set | 3 | * Support for Intel AES-NI intruction set |
| 4 | * Author: Huang Ying <ying.huang@intel.com> | 4 | * Author: Huang Ying <ying.huang@intel.com> |
| @@ -80,12 +80,11 @@ | |||
| 80 | 80 | ||
| 81 | #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AES_NI) && !defined(OPENSSL_NO_AES) | 81 | #if !defined(OPENSSL_NO_HW) && !defined(OPENSSL_NO_HW_AES_NI) && !defined(OPENSSL_NO_AES) |
| 82 | 82 | ||
| 83 | #include "cryptlib.h" | 83 | #include <openssl/aes.h> |
| 84 | #include <openssl/dso.h> | 84 | #include <openssl/dso.h> |
| 85 | #include <openssl/engine.h> | 85 | #include <openssl/engine.h> |
| 86 | #include <openssl/evp.h> | ||
| 87 | #include <openssl/aes.h> | ||
| 88 | #include <openssl/err.h> | 86 | #include <openssl/err.h> |
| 87 | #include <openssl/evp.h> | ||
| 89 | 88 | ||
| 90 | /* AES-NI is available *ONLY* on some x86 CPUs. Not only that it | 89 | /* AES-NI is available *ONLY* on some x86 CPUs. Not only that it |
| 91 | doesn't exist elsewhere, but it even can't be compiled on other | 90 | doesn't exist elsewhere, but it even can't be compiled on other |
diff --git a/src/lib/libcrypto/engine/eng_int.h b/src/lib/libcrypto/engine/eng_int.h index aa3751f267..f240411981 100644 --- a/src/lib/libcrypto/engine/eng_int.h +++ b/src/lib/libcrypto/engine/eng_int.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_int.h,v 1.7 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: eng_int.h,v 1.8 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -64,8 +64,6 @@ | |||
| 64 | #ifndef HEADER_ENGINE_INT_H | 64 | #ifndef HEADER_ENGINE_INT_H |
| 65 | #define HEADER_ENGINE_INT_H | 65 | #define HEADER_ENGINE_INT_H |
| 66 | 66 | ||
| 67 | #include "cryptlib.h" | ||
| 68 | |||
| 69 | /* Take public definitions from engine.h */ | 67 | /* Take public definitions from engine.h */ |
| 70 | #include <openssl/engine.h> | 68 | #include <openssl/engine.h> |
| 71 | 69 | ||
diff --git a/src/lib/libcrypto/engine/eng_list.c b/src/lib/libcrypto/engine/eng_list.c index 35b45158e9..b84504102f 100644 --- a/src/lib/libcrypto/engine/eng_list.c +++ b/src/lib/libcrypto/engine/eng_list.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_list.c,v 1.14 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: eng_list.c,v 1.15 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -66,6 +66,7 @@ | |||
| 66 | 66 | ||
| 67 | #include <openssl/opensslconf.h> | 67 | #include <openssl/opensslconf.h> |
| 68 | 68 | ||
| 69 | #include "cryptlib.h" | ||
| 69 | #include "eng_int.h" | 70 | #include "eng_int.h" |
| 70 | 71 | ||
| 71 | /* The linked-list of pointers to engine types. engine_list_head | 72 | /* The linked-list of pointers to engine types. engine_list_head |
diff --git a/src/lib/libcrypto/engine/eng_openssl.c b/src/lib/libcrypto/engine/eng_openssl.c index ecc560eb26..f1a58df857 100644 --- a/src/lib/libcrypto/engine/eng_openssl.c +++ b/src/lib/libcrypto/engine/eng_openssl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_openssl.c,v 1.8 2014/07/10 22:45:57 jsing Exp $ */ | 1 | /* $OpenBSD: eng_openssl.c,v 1.9 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL | 2 | /* Written by Geoff Thorpe (geoff@geoffthorpe.net) for the OpenSSL |
| 3 | * project 2000. | 3 | * project 2000. |
| 4 | */ | 4 | */ |
| @@ -67,20 +67,20 @@ | |||
| 67 | #include <openssl/opensslconf.h> | 67 | #include <openssl/opensslconf.h> |
| 68 | 68 | ||
| 69 | #include <openssl/crypto.h> | 69 | #include <openssl/crypto.h> |
| 70 | #include "cryptlib.h" | ||
| 71 | #include <openssl/engine.h> | ||
| 72 | #include <openssl/dso.h> | 70 | #include <openssl/dso.h> |
| 73 | #include <openssl/pem.h> | 71 | #include <openssl/engine.h> |
| 74 | #include <openssl/evp.h> | 72 | #include <openssl/evp.h> |
| 73 | #include <openssl/pem.h> | ||
| 75 | #include <openssl/rand.h> | 74 | #include <openssl/rand.h> |
| 76 | #ifndef OPENSSL_NO_RSA | 75 | |
| 77 | #include <openssl/rsa.h> | 76 | #ifndef OPENSSL_NO_DH |
| 77 | #include <openssl/dh.h> | ||
| 78 | #endif | 78 | #endif |
| 79 | #ifndef OPENSSL_NO_DSA | 79 | #ifndef OPENSSL_NO_DSA |
| 80 | #include <openssl/dsa.h> | 80 | #include <openssl/dsa.h> |
| 81 | #endif | 81 | #endif |
| 82 | #ifndef OPENSSL_NO_DH | 82 | #ifndef OPENSSL_NO_RSA |
| 83 | #include <openssl/dh.h> | 83 | #include <openssl/rsa.h> |
| 84 | #endif | 84 | #endif |
| 85 | 85 | ||
| 86 | /* This testing gunk is implemented (and explained) lower down. It also assumes | 86 | /* This testing gunk is implemented (and explained) lower down. It also assumes |
diff --git a/src/lib/libcrypto/engine/eng_table.c b/src/lib/libcrypto/engine/eng_table.c index 44f3e892b8..9d52075a76 100644 --- a/src/lib/libcrypto/engine/eng_table.c +++ b/src/lib/libcrypto/engine/eng_table.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: eng_table.c,v 1.6 2014/06/22 12:05:09 jsing Exp $ */ | 1 | /* $OpenBSD: eng_table.c,v 1.7 2014/07/11 08:44:48 jsing Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -53,9 +53,9 @@ | |||
| 53 | * | 53 | * |
| 54 | */ | 54 | */ |
| 55 | 55 | ||
| 56 | #include "cryptlib.h" | ||
| 57 | #include <openssl/evp.h> | 56 | #include <openssl/evp.h> |
| 58 | #include <openssl/lhash.h> | 57 | #include <openssl/lhash.h> |
| 58 | |||
| 59 | #include "eng_int.h" | 59 | #include "eng_int.h" |
| 60 | 60 | ||
| 61 | /* The type of the items in the table */ | 61 | /* The type of the items in the table */ |
