summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-27 23:58:06 +0200
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2019-09-27 23:58:06 +0200
commitb5acbf914833a83368e51766de4cf2e2074a9436 (patch)
tree506246afa0804d83d13d4c68d4cf976283b5f10e /crypto/evp
parent0c994d54afbb734ed744330d4b03a653a8477fe3 (diff)
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/9681)
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/bio_md.c2
-rw-r--r--crypto/evp/cmeth_lib.c2
-rw-r--r--crypto/evp/digest.c2
-rw-r--r--crypto/evp/e_aes.c4
-rw-r--r--crypto/evp/e_aes_cbc_hmac_sha1.c4
-rw-r--r--crypto/evp/e_aes_cbc_hmac_sha256.c4
-rw-r--r--crypto/evp/e_aria.c4
-rw-r--r--crypto/evp/e_camellia.c2
-rw-r--r--crypto/evp/e_chacha20_poly1305.c2
-rw-r--r--crypto/evp/e_des3.c2
-rw-r--r--crypto/evp/e_rc5.c2
-rw-r--r--crypto/evp/encode.c2
-rw-r--r--crypto/evp/evp_enc.c2
-rw-r--r--crypto/evp/evp_lib.c2
-rw-r--r--crypto/evp/evp_local.h (renamed from crypto/evp/evp_locl.h)0
-rw-r--r--crypto/evp/evp_pbe.c2
-rw-r--r--crypto/evp/m_sha3.c2
-rw-r--r--crypto/evp/m_sigver.c2
-rw-r--r--crypto/evp/p5_crpt2.c2
19 files changed, 22 insertions, 22 deletions
diff --git a/crypto/evp/bio_md.c b/crypto/evp/bio_md.c
index 6a78c359a1..fed4cf1eb1 100644
--- a/crypto/evp/bio_md.c
+++ b/crypto/evp/bio_md.c
@@ -13,7 +13,7 @@
#include <openssl/buffer.h>
#include <openssl/evp.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
#include "internal/bio.h"
/*
diff --git a/crypto/evp/cmeth_lib.c b/crypto/evp/cmeth_lib.c
index d635dfca4e..272e48249e 100644
--- a/crypto/evp/cmeth_lib.c
+++ b/crypto/evp/cmeth_lib.c
@@ -11,7 +11,7 @@
#include <openssl/evp.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len)
{
diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c
index d1b127a19d..d1bfa274ca 100644
--- a/crypto/evp/digest.c
+++ b/crypto/evp/digest.c
@@ -13,7 +13,7 @@
#include <openssl/evp.h>
#include <openssl/engine.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
/* This call frees resources associated with the context */
int EVP_MD_CTX_reset(EVP_MD_CTX *ctx)
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c
index 046bc2745a..1ca2c312a3 100644
--- a/crypto/evp/e_aes.c
+++ b/crypto/evp/e_aes.c
@@ -15,9 +15,9 @@
#include <assert.h>
#include <openssl/aes.h>
#include "crypto/evp.h"
-#include "modes_lcl.h"
+#include "modes_local.h"
#include <openssl/rand.h>
-#include "evp_locl.h"
+#include "evp_local.h"
typedef struct {
union {
diff --git a/crypto/evp/e_aes_cbc_hmac_sha1.c b/crypto/evp/e_aes_cbc_hmac_sha1.c
index 853c5f9c6f..c9f5969162 100644
--- a/crypto/evp/e_aes_cbc_hmac_sha1.c
+++ b/crypto/evp/e_aes_cbc_hmac_sha1.c
@@ -17,9 +17,9 @@
#include <openssl/aes.h>
#include <openssl/sha.h>
#include <openssl/rand.h>
-#include "modes_lcl.h"
+#include "modes_local.h"
#include "crypto/evp.h"
-#include "internal/constant_time_locl.h"
+#include "internal/constant_time.h"
typedef struct {
AES_KEY ks;
diff --git a/crypto/evp/e_aes_cbc_hmac_sha256.c b/crypto/evp/e_aes_cbc_hmac_sha256.c
index 570ec00bc6..d5178313ae 100644
--- a/crypto/evp/e_aes_cbc_hmac_sha256.c
+++ b/crypto/evp/e_aes_cbc_hmac_sha256.c
@@ -18,8 +18,8 @@
#include <openssl/aes.h>
#include <openssl/sha.h>
#include <openssl/rand.h>
-#include "modes_lcl.h"
-#include "internal/constant_time_locl.h"
+#include "modes_local.h"
+#include "internal/constant_time.h"
#include "crypto/evp.h"
typedef struct {
diff --git a/crypto/evp/e_aria.c b/crypto/evp/e_aria.c
index a6998bad54..0bebbb6fc2 100644
--- a/crypto/evp/e_aria.c
+++ b/crypto/evp/e_aria.c
@@ -16,8 +16,8 @@
# include <openssl/rand_drbg.h>
# include "crypto/aria.h"
# include "crypto/evp.h"
-# include "modes_lcl.h"
-# include "evp_locl.h"
+# include "modes_local.h"
+# include "evp_local.h"
/* ARIA subkey Structure */
typedef struct {
diff --git a/crypto/evp/e_camellia.c b/crypto/evp/e_camellia.c
index d70d3964cf..502d6936cc 100644
--- a/crypto/evp/e_camellia.c
+++ b/crypto/evp/e_camellia.c
@@ -18,7 +18,7 @@ NON_EMPTY_TRANSLATION_UNIT
# include <assert.h>
# include <openssl/camellia.h>
# include "crypto/evp.h"
-# include "modes_lcl.h"
+# include "modes_local.h"
static int camellia_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
const unsigned char *iv, int enc);
diff --git a/crypto/evp/e_chacha20_poly1305.c b/crypto/evp/e_chacha20_poly1305.c
index 5d7dca3ba6..bdc406bb69 100644
--- a/crypto/evp/e_chacha20_poly1305.c
+++ b/crypto/evp/e_chacha20_poly1305.c
@@ -14,7 +14,7 @@
# include <openssl/evp.h>
# include <openssl/objects.h>
-# include "evp_locl.h"
+# include "evp_local.h"
# include "crypto/evp.h"
# include "crypto/chacha.h"
diff --git a/crypto/evp/e_des3.c b/crypto/evp/e_des3.c
index bb426bd9b4..2a5597fee5 100644
--- a/crypto/evp/e_des3.c
+++ b/crypto/evp/e_des3.c
@@ -15,7 +15,7 @@
# include "crypto/evp.h"
# include <openssl/des.h>
# include <openssl/rand.h>
-# include "evp_locl.h"
+# include "evp_local.h"
typedef struct {
union {
diff --git a/crypto/evp/e_rc5.c b/crypto/evp/e_rc5.c
index a105339190..c86e87b65a 100644
--- a/crypto/evp/e_rc5.c
+++ b/crypto/evp/e_rc5.c
@@ -15,7 +15,7 @@
# include <openssl/evp.h>
# include "crypto/evp.h"
# include <openssl/objects.h>
-# include "evp_locl.h"
+# include "evp_local.h"
# include <openssl/rc5.h>
static int r_32_12_16_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
diff --git a/crypto/evp/encode.c b/crypto/evp/encode.c
index e70f80f5c9..9307ff0464 100644
--- a/crypto/evp/encode.c
+++ b/crypto/evp/encode.c
@@ -11,7 +11,7 @@
#include <limits.h>
#include "internal/cryptlib.h"
#include <openssl/evp.h>
-#include "evp_locl.h"
+#include "evp_local.h"
#include "crypto/evp.h"
static unsigned char conv_ascii2bin(unsigned char a,
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
index ddf3045f56..08bd209dd8 100644
--- a/crypto/evp/evp_enc.c
+++ b/crypto/evp/evp_enc.c
@@ -16,7 +16,7 @@
#include <openssl/rand_drbg.h>
#include <openssl/engine.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
int EVP_CIPHER_CTX_reset(EVP_CIPHER_CTX *c)
{
diff --git a/crypto/evp/evp_lib.c b/crypto/evp/evp_lib.c
index 1931e5a3a9..45cde0da8b 100644
--- a/crypto/evp/evp_lib.c
+++ b/crypto/evp/evp_lib.c
@@ -12,7 +12,7 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
int EVP_CIPHER_param_to_asn1(EVP_CIPHER_CTX *c, ASN1_TYPE *type)
{
diff --git a/crypto/evp/evp_locl.h b/crypto/evp/evp_local.h
index f1589d6828..f1589d6828 100644
--- a/crypto/evp/evp_locl.h
+++ b/crypto/evp/evp_local.h
diff --git a/crypto/evp/evp_pbe.c b/crypto/evp/evp_pbe.c
index 5a88817b4a..967203f373 100644
--- a/crypto/evp/evp_pbe.c
+++ b/crypto/evp/evp_pbe.c
@@ -12,7 +12,7 @@
#include <openssl/evp.h>
#include <openssl/pkcs12.h>
#include <openssl/x509.h>
-#include "evp_locl.h"
+#include "evp_local.h"
/* Password based encryption (PBE) functions */
diff --git a/crypto/evp/m_sha3.c b/crypto/evp/m_sha3.c
index e0f8e9e416..54c592a3cc 100644
--- a/crypto/evp/m_sha3.c
+++ b/crypto/evp/m_sha3.c
@@ -13,7 +13,7 @@
#include <openssl/evp.h>
#include <openssl/objects.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
size_t SHA3_absorb(uint64_t A[5][5], const unsigned char *inp, size_t len,
size_t r);
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index e16546f7e0..04643acc88 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -13,7 +13,7 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
#include "crypto/evp.h"
-#include "evp_locl.h"
+#include "evp_local.h"
static int update(EVP_MD_CTX *ctx, const void *data, size_t datalen)
{
diff --git a/crypto/evp/p5_crpt2.c b/crypto/evp/p5_crpt2.c
index e819eb9b47..7f625b3d57 100644
--- a/crypto/evp/p5_crpt2.c
+++ b/crypto/evp/p5_crpt2.c
@@ -13,7 +13,7 @@
# include <openssl/x509.h>
# include <openssl/evp.h>
# include <openssl/hmac.h>
-# include "evp_locl.h"
+# include "evp_local.h"
/* set this to print out info about the keygen algorithm */
/* #define OPENSSL_DEBUG_PKCS5V2 */