diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 00:45:40 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2019-09-28 20:26:35 +0200 |
commit | 706457b7bda7fdbab426b8dce83b318908339da4 (patch) | |
tree | 0df00f68b06fdeeef553c353a44e25e3d979b2f2 /crypto/rand | |
parent | Reorganize private crypto header files (diff) | |
download | openssl-706457b7bda7fdbab426b8dce83b318908339da4.tar.xz openssl-706457b7bda7fdbab426b8dce83b318908339da4.zip |
Reorganize local header files
Apart from public and internal header files, there is a third type called
local header files, which are located next to source files in the source
directory. Currently, they have different suffixes like
'*_lcl.h', '*_local.h', or '*_int.h'
This commit changes the different suffixes to '*_local.h' uniformly.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9333)
Diffstat (limited to 'crypto/rand')
-rw-r--r-- | crypto/rand/drbg_ctr.c | 2 | ||||
-rw-r--r-- | crypto/rand/drbg_hash.c | 2 | ||||
-rw-r--r-- | crypto/rand/drbg_hmac.c | 2 | ||||
-rw-r--r-- | crypto/rand/drbg_lib.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_crng_test.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_lib.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_local.h (renamed from crypto/rand/rand_lcl.h) | 0 | ||||
-rw-r--r-- | crypto/rand/rand_unix.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_vms.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_vxworks.c | 2 | ||||
-rw-r--r-- | crypto/rand/rand_win.c | 2 |
11 files changed, 10 insertions, 10 deletions
diff --git a/crypto/rand/drbg_ctr.c b/crypto/rand/drbg_ctr.c index 28db4eed7f..30420ae579 100644 --- a/crypto/rand/drbg_ctr.c +++ b/crypto/rand/drbg_ctr.c @@ -13,7 +13,7 @@ #include <openssl/err.h> #include <openssl/rand.h> #include "internal/thread_once.h" -#include "rand_lcl.h" +#include "rand_local.h" /* * Implementation of NIST SP 800-90A CTR DRBG. diff --git a/crypto/rand/drbg_hash.c b/crypto/rand/drbg_hash.c index 6bef917e0f..4a64992af2 100644 --- a/crypto/rand/drbg_hash.c +++ b/crypto/rand/drbg_hash.c @@ -15,7 +15,7 @@ #include <openssl/rand.h> #include "internal/thread_once.h" #include "internal/providercommon.h" -#include "rand_lcl.h" +#include "rand_local.h" /* 440 bits from SP800-90Ar1 10.1 table 2 */ #define HASH_PRNG_SMALL_SEEDLEN (440/8) diff --git a/crypto/rand/drbg_hmac.c b/crypto/rand/drbg_hmac.c index 14c4570b6b..4d7676d21b 100644 --- a/crypto/rand/drbg_hmac.c +++ b/crypto/rand/drbg_hmac.c @@ -14,7 +14,7 @@ #include <openssl/rand.h> #include "internal/thread_once.h" #include "internal/providercommon.h" -#include "rand_lcl.h" +#include "rand_local.h" /* * Called twice by SP800-90Ar1 10.1.2.2 HMAC_DRBG_Update_Process. diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c index 5652526568..90e37786e6 100644 --- a/crypto/rand/drbg_lib.c +++ b/crypto/rand/drbg_lib.c @@ -11,7 +11,7 @@ #include <openssl/crypto.h> #include <openssl/err.h> #include <openssl/rand.h> -#include "rand_lcl.h" +#include "rand_local.h" #include "internal/thread_once.h" #include "crypto/rand.h" #include "crypto/cryptlib.h" diff --git a/crypto/rand/rand_crng_test.c b/crypto/rand/rand_crng_test.c index 29af636f53..950cc629d7 100644 --- a/crypto/rand/rand_crng_test.c +++ b/crypto/rand/rand_crng_test.c @@ -17,7 +17,7 @@ #include "crypto/rand.h" #include "internal/thread_once.h" #include "internal/cryptlib.h" -#include "rand_lcl.h" +#include "rand_local.h" typedef struct crng_test_global_st { unsigned char crngt_prev[EVP_MAX_MD_SIZE]; diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c index 7f4f1b7f90..3508cfb25c 100644 --- a/crypto/rand/rand_lib.c +++ b/crypto/rand/rand_lib.c @@ -14,7 +14,7 @@ #include "crypto/rand.h" #include <openssl/engine.h> #include "internal/thread_once.h" -#include "rand_lcl.h" +#include "rand_local.h" #include "e_os.h" #ifndef FIPS_MODE diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_local.h index 0f8a81f311..0f8a81f311 100644 --- a/crypto/rand/rand_lcl.h +++ b/crypto/rand/rand_local.h diff --git a/crypto/rand/rand_unix.c b/crypto/rand/rand_unix.c index c0f995a166..8ed40236fd 100644 --- a/crypto/rand/rand_unix.c +++ b/crypto/rand/rand_unix.c @@ -15,7 +15,7 @@ #include "internal/cryptlib.h" #include <openssl/rand.h> #include <openssl/crypto.h> -#include "rand_lcl.h" +#include "rand_local.h" #include "crypto/rand.h" #include <stdio.h> #include "internal/dso.h" diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c index 5fb2259158..fa74e7449c 100644 --- a/crypto/rand/rand_vms.c +++ b/crypto/rand/rand_vms.c @@ -15,7 +15,7 @@ # include "internal/cryptlib.h" # include <openssl/rand.h> # include "crypto/rand.h" -# include "rand_lcl.h" +# include "rand_local.h" # include <descrip.h> # include <dvidef.h> # include <jpidef.h> diff --git a/crypto/rand/rand_vxworks.c b/crypto/rand/rand_vxworks.c index a32cf45bb9..d67469898e 100644 --- a/crypto/rand/rand_vxworks.c +++ b/crypto/rand/rand_vxworks.c @@ -13,7 +13,7 @@ NON_EMPTY_TRANSLATION_UNIT #else # include <openssl/rand.h> -# include "rand_lcl.h" +# include "rand_local.h" # include "crypto/rand.h" # include "internal/cryptlib.h" # include <version.h> diff --git a/crypto/rand/rand_win.c b/crypto/rand/rand_win.c index ea0d53b8ad..5f67c87c3c 100644 --- a/crypto/rand/rand_win.c +++ b/crypto/rand/rand_win.c @@ -9,7 +9,7 @@ #include "internal/cryptlib.h" #include <openssl/rand.h> -#include "rand_lcl.h" +#include "rand_local.h" #include "crypto/rand.h" #if defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_WIN32) |