Browse Source

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)
Dr. Matthias St. Pierre 2 years ago
parent
commit
706457b7bd
501 changed files with 498 additions and 498 deletions
  1. +1
    -1
      Configurations/10-main.conf
  2. +1
    -1
      crypto/aes/aes_core.c
  3. +1
    -1
      crypto/aes/aes_ecb.c
  4. +1
    -1
      crypto/aes/aes_ige.c
  5. +0
    -0
      crypto/aes/aes_local.h
  6. +1
    -1
      crypto/aes/aes_misc.c
  7. +1
    -1
      crypto/aes/aes_x86core.c
  8. +1
    -1
      crypto/asn1/a_bitstr.c
  9. +1
    -1
      crypto/asn1/a_gentm.c
  10. +1
    -1
      crypto/asn1/a_int.c
  11. +1
    -1
      crypto/asn1/a_object.c
  12. +1
    -1
      crypto/asn1/a_time.c
  13. +1
    -1
      crypto/asn1/a_type.c
  14. +1
    -1
      crypto/asn1/a_utctm.c
  15. +1
    -1
      crypto/asn1/asn1_lib.c
  16. +0
    -0
      crypto/asn1/asn1_local.h
  17. +1
    -1
      crypto/asn1/asn_mime.c
  18. +1
    -1
      crypto/asn1/tasn_dec.c
  19. +1
    -1
      crypto/asn1/tasn_enc.c
  20. +1
    -1
      crypto/asn1/tasn_fre.c
  21. +1
    -1
      crypto/asn1/tasn_new.c
  22. +1
    -1
      crypto/asn1/tasn_prn.c
  23. +1
    -1
      crypto/asn1/tasn_scn.c
  24. +1
    -1
      crypto/asn1/tasn_utl.c
  25. +1
    -1
      crypto/asn1/x_int64.c
  26. +1
    -1
      crypto/async/arch/async_null.c
  27. +1
    -1
      crypto/async/arch/async_posix.c
  28. +1
    -1
      crypto/async/arch/async_win.c
  29. +1
    -1
      crypto/async/async.c
  30. +0
    -0
      crypto/async/async_local.h
  31. +1
    -1
      crypto/async/async_wait.c
  32. +1
    -1
      crypto/bf/bf_cfb64.c
  33. +1
    -1
      crypto/bf/bf_ecb.c
  34. +1
    -1
      crypto/bf/bf_enc.c
  35. +0
    -0
      crypto/bf/bf_local.h
  36. +1
    -1
      crypto/bf/bf_ofb64.c
  37. +1
    -1
      crypto/bf/bf_skey.c
  38. +3
    -3
      crypto/bio/b_addr.c
  39. +1
    -1
      crypto/bio/b_dump.c
  40. +1
    -1
      crypto/bio/b_sock.c
  41. +1
    -1
      crypto/bio/b_sock2.c
  42. +1
    -1
      crypto/bio/bf_buff.c
  43. +1
    -1
      crypto/bio/bf_lbuf.c
  44. +1
    -1
      crypto/bio/bf_nbio.c
  45. +1
    -1
      crypto/bio/bf_null.c
  46. +1
    -1
      crypto/bio/bio_cb.c
  47. +1
    -1
      crypto/bio/bio_lib.c
  48. +2
    -2
      crypto/bio/bio_local.h
  49. +1
    -1
      crypto/bio/bio_meth.c
  50. +1
    -1
      crypto/bio/bss_acpt.c
  51. +1
    -1
      crypto/bio/bss_bio.c
  52. +1
    -1
      crypto/bio/bss_conn.c
  53. +1
    -1
      crypto/bio/bss_dgram.c
  54. +1
    -1
      crypto/bio/bss_fd.c
  55. +1
    -1
      crypto/bio/bss_file.c
  56. +1
    -1
      crypto/bio/bss_log.c
  57. +1
    -1
      crypto/bio/bss_mem.c
  58. +1
    -1
      crypto/bio/bss_null.c
  59. +1
    -1
      crypto/bio/bss_sock.c
  60. +1
    -1
      crypto/bn/README.pod
  61. +1
    -1
      crypto/bn/asm/x86_64-gcc.c
  62. +1
    -1
      crypto/bn/bn_add.c
  63. +1
    -1
      crypto/bn/bn_asm.c
  64. +1
    -1
      crypto/bn/bn_blind.c
  65. +1
    -1
      crypto/bn/bn_conv.c
  66. +1
    -1
      crypto/bn/bn_ctx.c
  67. +1
    -1
      crypto/bn/bn_depr.c
  68. +1
    -1
      crypto/bn/bn_dh.c
  69. +1
    -1
      crypto/bn/bn_div.c
  70. +2
    -2
      crypto/bn/bn_exp.c
  71. +1
    -1
      crypto/bn/bn_exp2.c
  72. +1
    -1
      crypto/bn/bn_gcd.c
  73. +1
    -1
      crypto/bn/bn_gf2m.c
  74. +1
    -1
      crypto/bn/bn_intern.c
  75. +1
    -1
      crypto/bn/bn_kron.c
  76. +2
    -2
      crypto/bn/bn_lib.c
  77. +0
    -0
      crypto/bn/bn_local.h
  78. +1
    -1
      crypto/bn/bn_mod.c
  79. +1
    -1
      crypto/bn/bn_mont.c
  80. +1
    -1
      crypto/bn/bn_mpi.c
  81. +1
    -1
      crypto/bn/bn_mul.c
  82. +1
    -1
      crypto/bn/bn_nist.c
  83. +1
    -1
      crypto/bn/bn_prime.c
  84. +1
    -1
      crypto/bn/bn_print.c
  85. +1
    -1
      crypto/bn/bn_rand.c
  86. +1
    -1
      crypto/bn/bn_recp.c
  87. +1
    -1
      crypto/bn/bn_rsa_fips186_4.c
  88. +1
    -1
      crypto/bn/bn_shift.c
  89. +1
    -1
      crypto/bn/bn_sqr.c
  90. +1
    -1
      crypto/bn/bn_sqrt.c
  91. +1
    -1
      crypto/bn/bn_srp.c
  92. +1
    -1
      crypto/bn/bn_word.c
  93. +1
    -1
      crypto/bn/bn_x931p.c
  94. +1
    -1
      crypto/camellia/camellia.c
  95. +1
    -1
      crypto/camellia/cmll_ecb.c
  96. +0
    -0
      crypto/camellia/cmll_local.h
  97. +1
    -1
      crypto/camellia/cmll_misc.c
  98. +1
    -1
      crypto/cast/c_cfb64.c
  99. +1
    -1
      crypto/cast/c_ecb.c
  100. +1
    -1
      crypto/cast/c_enc.c

+ 1
- 1
Configurations/10-main.conf View File

@ -450,7 +450,7 @@ my %targets = (
# 32-bit message digests. (For the moment of this writing) HP C
# doesn't seem to "digest" too many local variables (they make "him"
# chew forever:-). For more details look-up MD32_XARRAY comment in
# crypto/sha/sha_lcl.h.
# crypto/sha/sha_local.h.
# - originally there were 32-bit hpux-parisc2-* targets. They were
# scrapped, because a) they were not interchangeable with other 32-bit
# targets; b) performance-critical 32-bit assembly modules implement


+ 1
- 1
crypto/aes/aes_core.c View File

@ -41,7 +41,7 @@
#include <stdlib.h>
#include <openssl/crypto.h>
#include <openssl/aes.h>
#include "aes_locl.h"
#include "aes_local.h"
#ifndef AES_ASM
/*-


+ 1
- 1
crypto/aes/aes_ecb.c View File

@ -10,7 +10,7 @@
#include <assert.h>
#include <openssl/aes.h>
#include "aes_locl.h"
#include "aes_local.h"
void AES_ecb_encrypt(const unsigned char *in, unsigned char *out,
const AES_KEY *key, const int enc)


+ 1
- 1
crypto/aes/aes_ige.c View File

@ -14,7 +14,7 @@ NON_EMPTY_TRANSLATION_UNIT
#else
#include <openssl/aes.h>
#include "aes_locl.h"
#include "aes_local.h"
#define N_WORDS (AES_BLOCK_SIZE / sizeof(unsigned long))
typedef struct {


crypto/aes/aes_locl.h → crypto/aes/aes_local.h View File


+ 1
- 1
crypto/aes/aes_misc.c View File

@ -9,7 +9,7 @@
#include <openssl/opensslv.h>
#include <openssl/aes.h>
#include "aes_locl.h"
#include "aes_local.h"
const char *AES_options(void)
{


+ 1
- 1
crypto/aes/aes_x86core.c View File

@ -46,7 +46,7 @@
#include <stdlib.h>
#include <openssl/aes.h>
#include "aes_locl.h"
#include "aes_local.h"
/*
* These two parameters control which table, 256-byte or 2KB, is


+ 1
- 1
crypto/asn1/a_bitstr.c View File

@ -11,7 +11,7 @@
#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include "asn1_locl.h"
#include "asn1_local.h"
int ASN1_BIT_STRING_set(ASN1_BIT_STRING *x, unsigned char *d, int len)
{


+ 1
- 1
crypto/asn1/a_gentm.c View File

@ -15,7 +15,7 @@
#include <time.h>
#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/* This is the primary function used to parse ASN1_GENERALIZEDTIME */
int asn1_generalizedtime_to_tm(struct tm *tm, const ASN1_GENERALIZEDTIME *d)


+ 1
- 1
crypto/asn1/a_int.c View File

@ -13,7 +13,7 @@
#include <limits.h>
#include <openssl/asn1.h>
#include <openssl/bn.h>
#include "asn1_locl.h"
#include "asn1_local.h"
ASN1_INTEGER *ASN1_INTEGER_dup(const ASN1_INTEGER *x)
{


+ 1
- 1
crypto/asn1/a_object.c View File

@ -16,7 +16,7 @@
#include <openssl/objects.h>
#include <openssl/bn.h>
#include "crypto/asn1.h"
#include "asn1_locl.h"
#include "asn1_local.h"
int i2d_ASN1_OBJECT(const ASN1_OBJECT *a, unsigned char **pp)
{


+ 1
- 1
crypto/asn1/a_time.c View File

@ -19,7 +19,7 @@
#include "crypto/ctype.h"
#include "internal/cryptlib.h"
#include <openssl/asn1t.h>
#include "asn1_locl.h"
#include "asn1_local.h"
IMPLEMENT_ASN1_MSTRING(ASN1_TIME, B_ASN1_TIME)


+ 1
- 1
crypto/asn1/a_type.c View File

@ -11,7 +11,7 @@
#include "internal/cryptlib.h"
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include "asn1_locl.h"
#include "asn1_local.h"
int ASN1_TYPE_get(const ASN1_TYPE *a)
{


+ 1
- 1
crypto/asn1/a_utctm.c View File

@ -11,7 +11,7 @@
#include <time.h>
#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/* This is the primary function used to parse ASN1_UTCTIME */
int asn1_utctime_to_tm(struct tm *tm, const ASN1_UTCTIME *d)


+ 1
- 1
crypto/asn1/asn1_lib.c View File

@ -11,7 +11,7 @@
#include <limits.h>
#include "internal/cryptlib.h"
#include <openssl/asn1.h>
#include "asn1_locl.h"
#include "asn1_local.h"
static int asn1_get_length(const unsigned char **pp, int *inf, long *rl,
long max);


crypto/asn1/asn1_locl.h → crypto/asn1/asn1_local.h View File


+ 1
- 1
crypto/asn1/asn_mime.c View File

@ -16,7 +16,7 @@
#include <openssl/asn1t.h>
#include "crypto/evp.h"
#include "internal/bio.h"
#include "asn1_locl.h"
#include "asn1_local.h"
/*
* Generalised MIME like utilities for streaming ASN1. Although many have a


+ 1
- 1
crypto/asn1/tasn_dec.c View File

@ -15,7 +15,7 @@
#include <openssl/buffer.h>
#include <openssl/err.h>
#include "internal/numbers.h"
#include "asn1_locl.h"
#include "asn1_local.h"
/*


+ 1
- 1
crypto/asn1/tasn_enc.c View File

@ -14,7 +14,7 @@
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include "crypto/asn1.h"
#include "asn1_locl.h"
#include "asn1_local.h"
static int asn1_i2d_ex_primitive(const ASN1_VALUE **pval, unsigned char **out,
const ASN1_ITEM *it, int tag, int aclass);


+ 1
- 1
crypto/asn1/tasn_fre.c View File

@ -11,7 +11,7 @@
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/* Free up an ASN1 structure */


+ 1
- 1
crypto/asn1/tasn_new.c View File

@ -13,7 +13,7 @@
#include <openssl/err.h>
#include <openssl/asn1t.h>
#include <string.h>
#include "asn1_locl.h"
#include "asn1_local.h"
static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
int embed);


+ 1
- 1
crypto/asn1/tasn_prn.c View File

@ -16,7 +16,7 @@
#include <openssl/err.h>
#include <openssl/x509v3.h>
#include "crypto/asn1.h"
#include "asn1_locl.h"
#include "asn1_local.h"
/*
* Print routines.


+ 1
- 1
crypto/asn1/tasn_scn.c View File

@ -15,7 +15,7 @@
#include <openssl/buffer.h>
#include <openssl/err.h>
#include <openssl/x509v3.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/*
* General ASN1 structure recursive scanner: iterate through all fields


+ 1
- 1
crypto/asn1/tasn_utl.c View File

@ -15,7 +15,7 @@
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include <openssl/err.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/* Utility functions for manipulating fields and offsets */


+ 1
- 1
crypto/asn1/x_int64.c View File

@ -12,7 +12,7 @@
#include "internal/numbers.h"
#include <openssl/asn1t.h>
#include <openssl/bn.h>
#include "asn1_locl.h"
#include "asn1_local.h"
/*
* Custom primitive types for handling int32_t, int64_t, uint32_t, uint64_t.


+ 1
- 1
crypto/async/arch/async_null.c View File

@ -8,7 +8,7 @@
*/
/* This must be the first #include file */
#include "../async_locl.h"
#include "../async_local.h"
#ifdef ASYNC_NULL
int ASYNC_is_capable(void)


+ 1
- 1
crypto/async/arch/async_posix.c View File

@ -8,7 +8,7 @@
*/
/* This must be the first #include file */
#include "../async_locl.h"
#include "../async_local.h"
#ifdef ASYNC_POSIX


+ 1
- 1
crypto/async/arch/async_win.c View File

@ -8,7 +8,7 @@
*/
/* This must be the first #include file */
#include "../async_locl.h"
#include "../async_local.h"
#ifdef ASYNC_WIN


+ 1
- 1
crypto/async/async.c View File

@ -16,7 +16,7 @@
#undef _FORTIFY_SOURCE
/* This must be the first #include file */
#include "async_locl.h"
#include "async_local.h"
#include <openssl/err.h>
#include "crypto/cryptlib.h"


crypto/async/async_locl.h → crypto/async/async_local.h View File


+ 1
- 1
crypto/async/async_wait.c View File

@ -8,7 +8,7 @@
*/
/* This must be the first #include file */
#include "async_locl.h"
#include "async_local.h"
#include <openssl/err.h>


+ 1
- 1
crypto/bf/bf_cfb64.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/blowfish.h>
#include "bf_locl.h"
#include "bf_local.h"
/*
* The input and output encrypted as though 64bit cfb mode is being used.


+ 1
- 1
crypto/bf/bf_ecb.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/blowfish.h>
#include "bf_locl.h"
#include "bf_local.h"
#include <openssl/opensslv.h>
/*


+ 1
- 1
crypto/bf/bf_enc.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/blowfish.h>
#include "bf_locl.h"
#include "bf_local.h"
/*
* Blowfish as implemented from 'Blowfish: Springer-Verlag paper' (From


crypto/bf/bf_locl.h → crypto/bf/bf_local.h View File


+ 1
- 1
crypto/bf/bf_ofb64.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/blowfish.h>
#include "bf_locl.h"
#include "bf_local.h"
/*
* The input and output encrypted as though 64bit ofb mode is being used.


+ 1
- 1
crypto/bf/bf_skey.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <string.h>
#include <openssl/blowfish.h>
#include "bf_locl.h"
#include "bf_local.h"
#include "bf_pi.h"
void BF_set_key(BF_KEY *key, int len, const unsigned char *data)


+ 3
- 3
crypto/bio/b_addr.c View File

@ -10,7 +10,7 @@
#include <assert.h>
#include <string.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include <openssl/crypto.h>
#ifndef OPENSSL_NO_SOCK
@ -22,7 +22,7 @@ CRYPTO_RWLOCK *bio_lookup_lock;
static CRYPTO_ONCE bio_lookup_init = CRYPTO_ONCE_STATIC_INIT;
/*
* Throughout this file and bio_lcl.h, the existence of the macro
* Throughout this file and bio_local.h, the existence of the macro
* AI_PASSIVE is used to detect the availability of struct addrinfo,
* getnameinfo() and getaddrinfo(). If that macro doesn't exist,
* we use our own implementation instead, using gethostbyname,
@ -695,7 +695,7 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type,
hints.ai_flags |= AI_PASSIVE;
/* Note that |res| SHOULD be a 'struct addrinfo **' thanks to
* macro magic in bio_lcl.h
* macro magic in bio_local.h
*/
retry:
switch ((gai_ret = getaddrinfo(host, service, &hints, res))) {


+ 1
- 1
crypto/bio/b_dump.c View File

@ -12,7 +12,7 @@
*/
#include <stdio.h>
#include "bio_lcl.h"
#include "bio_local.h"
#define DUMP_WIDTH 16
#define DUMP_WIDTH_LESS_INDENT(i) (DUMP_WIDTH - ((i - (i > 6 ? 6 : i) + 3) / 4))


+ 1
- 1
crypto/bio/b_sock.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#ifndef OPENSSL_NO_SOCK
# define SOCKET_PROTOCOL IPPROTO_TCP
# ifdef SO_MAXCONN


+ 1
- 1
crypto/bio/b_sock2.c View File

@ -11,7 +11,7 @@
#include <stdlib.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include <openssl/err.h>


+ 1
- 1
crypto/bio/bf_buff.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
static int buffer_write(BIO *h, const char *buf, int num);


+ 1
- 1
crypto/bio/bf_lbuf.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
#include <openssl/evp.h>


+ 1
- 1
crypto/bio/bf_nbio.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
#include <openssl/rand.h>


+ 1
- 1
crypto/bio/bf_null.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
/*


+ 1
- 1
crypto/bio/bio_cb.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
#include <openssl/err.h>


+ 1
- 1
crypto/bio/bio_lib.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <errno.h>
#include <openssl/crypto.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"


crypto/bio/bio_lcl.h → crypto/bio/bio_local.h View File


+ 1
- 1
crypto/bio/bio_meth.c View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/thread_once.h"
CRYPTO_RWLOCK *bio_type_lock = NULL;


+ 1
- 1
crypto/bio/bss_acpt.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#ifndef OPENSSL_NO_SOCK


+ 1
- 1
crypto/bio/bss_bio.c View File

@ -21,7 +21,7 @@
#include <stdlib.h>
#include <string.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include <openssl/err.h>
#include <openssl/crypto.h>


+ 1
- 1
crypto/bio/bss_conn.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#ifndef OPENSSL_NO_SOCK


+ 1
- 1
crypto/bio/bss_dgram.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#ifndef OPENSSL_NO_DGRAM
# ifndef OPENSSL_NO_SCTP


+ 1
- 1
crypto/bio/bss_fd.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#if defined(OPENSSL_NO_POSIX_IO)
/*


+ 1
- 1
crypto/bio/bss_file.c View File

@ -27,7 +27,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include <openssl/err.h>
#if !defined(OPENSSL_NO_STDIO)


+ 1
- 1
crypto/bio/bss_log.c View File

@ -19,7 +19,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
#if defined(OPENSSL_SYS_WINCE)


+ 1
- 1
crypto/bio/bss_mem.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
static int mem_write(BIO *h, const char *buf, int num);


+ 1
- 1
crypto/bio/bss_null.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
static int null_write(BIO *h, const char *buf, int num);


+ 1
- 1
crypto/bio/bss_sock.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <errno.h>
#include "bio_lcl.h"
#include "bio_local.h"
#include "internal/cryptlib.h"
#include "internal/ktls.h"


+ 1
- 1
crypto/bn/README.pod View File

@ -188,7 +188,7 @@ B<a> and the 2*B<n> word arrays B<tmp> and B<r>.
The implementations use the following macros which, depending on the
architecture, may use "long long" C operations or inline assembler.
They are defined in C<bn_lcl.h>.
They are defined in C<bn_local.h>.
mul(B<r>, B<a>, B<w>, B<c>) computes B<w>*B<a>+B<c> and places the
low word of the result in B<r> and the high word in B<c>.


+ 1
- 1
crypto/bn/asm/x86_64-gcc.c View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "../bn_lcl.h"
#include "../bn_local.h"
#if !(defined(__GNUC__) && __GNUC__>=2)
# include "../bn_asm.c" /* kind of dirty hack for Sun Studio */
#else


+ 1
- 1
crypto/bn/bn_add.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/* signed add of b to a. */
int BN_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b)


+ 1
- 1
crypto/bn/bn_asm.c View File

@ -10,7 +10,7 @@
#include <assert.h>
#include <openssl/crypto.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#if defined(BN_LLONG) || defined(BN_UMULT_HIGH)


+ 1
- 1
crypto/bn/bn_blind.c View File

@ -9,7 +9,7 @@
#include <openssl/opensslconf.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#define BN_BLINDING_COUNTER 32


+ 1
- 1
crypto/bn/bn_conv.c View File

@ -9,7 +9,7 @@
#include <openssl/err.h>
#include "crypto/ctype.h"
#include "bn_lcl.h"
#include "bn_local.h"
static const char Hex[] = "0123456789ABCDEF";


+ 1
- 1
crypto/bn/bn_ctx.c View File

@ -9,7 +9,7 @@
#include <openssl/trace.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/*-
* TODO list


+ 1
- 1
crypto/bn/bn_depr.c View File

@ -20,7 +20,7 @@ NON_EMPTY_TRANSLATION_UNIT
# include <stdio.h>
# include <time.h>
# include "internal/cryptlib.h"
# include "bn_lcl.h"
# include "bn_local.h"
BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
const BIGNUM *add, const BIGNUM *rem,


+ 1
- 1
crypto/bn/bn_dh.c View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "bn_lcl.h"
#include "bn_local.h"
#include "internal/nelem.h"
#ifndef OPENSSL_NO_DH


+ 1
- 1
crypto/bn/bn_div.c View File

@ -10,7 +10,7 @@
#include <assert.h>
#include <openssl/bn.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/* The old slow way */
#if 0


+ 2
- 2
crypto/bn/bn_exp.c View File

@ -8,8 +8,8 @@
*/
#include "internal/cryptlib.h"
#include "internal/constant_time_locl.h"
#include "bn_lcl.h"
#include "internal/constant_time.h"
#include "bn_local.h"
#include <stdlib.h>
#ifdef _WIN32


+ 1
- 1
crypto/bn/bn_exp2.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#define TABLE_SIZE 32


+ 1
- 1
crypto/bn/bn_gcd.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
static BIGNUM *euclid(BIGNUM *a, BIGNUM *b);


+ 1
- 1
crypto/bn/bn_gf2m.c View File

@ -12,7 +12,7 @@
#include <limits.h>
#include <stdio.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#ifndef OPENSSL_NO_EC2M


+ 1
- 1
crypto/bn/bn_intern.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/*
* Determine the modified width-(w+1) Non-Adjacent Form (wNAF) of 'scalar'.


+ 1
- 1
crypto/bn/bn_kron.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/* least significant word */
#define BN_lsw(n) (((n)->top == 0) ? (BN_ULONG) 0 : (n)->d[0])


+ 2
- 2
crypto/bn/bn_lib.c View File

@ -10,9 +10,9 @@
#include <assert.h>
#include <limits.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#include <openssl/opensslconf.h>
#include "internal/constant_time_locl.h"
#include "internal/constant_time.h"
/* This stuff appears to be completely unused, so is deprecated */
#if !OPENSSL_API_0_9_8


crypto/bn/bn_lcl.h → crypto/bn/bn_local.h View File


+ 1
- 1
crypto/bn/bn_mod.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx)
{


+ 1
- 1
crypto/bn/bn_mont.c View File

@ -15,7 +15,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#define MONT_WORD /* use the faster word-based algorithm */


+ 1
- 1
crypto/bn/bn_mpi.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
int BN_bn2mpi(const BIGNUM *a, unsigned char *d)
{


+ 1
- 1
crypto/bn/bn_mul.c View File

@ -9,7 +9,7 @@
#include <assert.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
#if defined(OPENSSL_NO_ASM) || !defined(OPENSSL_BN_ASM_PART_WORDS)
/*


+ 1
- 1
crypto/bn/bn_nist.c View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "bn_lcl.h"
#include "bn_local.h"
#include "internal/cryptlib.h"
#define BN_NIST_192_TOP (192+BN_BITS2-1)/BN_BITS2


+ 1
- 1
crypto/bn/bn_prime.c View File

@ -10,7 +10,7 @@
#include <stdio.h>
#include <time.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/*
* The quick sieve algorithm approach to weeding out primes is Philip


+ 1
- 1
crypto/bn/bn_print.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <openssl/bio.h>
#include "bn_lcl.h"
#include "bn_local.h"
static const char Hex[] = "0123456789ABCDEF";


+ 1
- 1
crypto/bn/bn_rand.c View File

@ -11,7 +11,7 @@
#include <time.h>
#include "internal/cryptlib.h"
#include "crypto/rand.h"
#include "bn_lcl.h"
#include "bn_local.h"
#include <openssl/rand.h>
#include <openssl/sha.h>
#include <openssl/evp.h>


+ 1
- 1
crypto/bn/bn_recp.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
void BN_RECP_CTX_init(BN_RECP_CTX *recp)
{


+ 1
- 1
crypto/bn/bn_rsa_fips186_4.c View File

@ -29,7 +29,7 @@
*/
#include <stdio.h>
#include <openssl/bn.h>
#include "bn_lcl.h"
#include "bn_local.h"
#include "crypto/bn.h"
/*


+ 1
- 1
crypto/bn/bn_shift.c View File

@ -9,7 +9,7 @@
#include <assert.h>
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
int BN_lshift1(BIGNUM *r, const BIGNUM *a)
{


+ 1
- 1
crypto/bn/bn_sqr.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
/* r must not be a */
/*


+ 1
- 1
crypto/bn/bn_sqrt.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
BIGNUM *BN_mod_sqrt(BIGNUM *in, const BIGNUM *a, const BIGNUM *p, BN_CTX *ctx)
/*


+ 1
- 1
crypto/bn/bn_srp.c View File

@ -7,7 +7,7 @@
* https://www.openssl.org/source/license.html
*/
#include "bn_lcl.h"
#include "bn_local.h"
#include "internal/nelem.h"
#ifndef OPENSSL_NO_SRP


+ 1
- 1
crypto/bn/bn_word.c View File

@ -8,7 +8,7 @@
*/
#include "internal/cryptlib.h"
#include "bn_lcl.h"
#include "bn_local.h"
BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w)
{


+ 1
- 1
crypto/bn/bn_x931p.c View File

@ -9,7 +9,7 @@
#include <stdio.h>
#include <openssl/bn.h>
#include "bn_lcl.h"
#include "bn_local.h"
/* X9.31 routines for prime derivation */


+ 1
- 1
crypto/camellia/camellia.c View File

@ -40,7 +40,7 @@
*/
#include <openssl/camellia.h>
#include "cmll_locl.h"
#include "cmll_local.h"
#include <string.h>
#include <stdlib.h>


+ 1
- 1
crypto/camellia/cmll_ecb.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/camellia.h>
#include "cmll_locl.h"
#include "cmll_local.h"
void Camellia_ecb_encrypt(const unsigned char *in, unsigned char *out,
const CAMELLIA_KEY *key, const int enc)


crypto/camellia/cmll_locl.h → crypto/camellia/cmll_local.h View File


+ 1
- 1
crypto/camellia/cmll_misc.c View File

@ -9,7 +9,7 @@
#include <openssl/opensslv.h>
#include <openssl/camellia.h>
#include "cmll_locl.h"
#include "cmll_local.h"
int Camellia_set_key(const unsigned char *userKey, const int bits,
CAMELLIA_KEY *key)


+ 1
- 1
crypto/cast/c_cfb64.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/cast.h>
#include "cast_lcl.h"
#include "cast_local.h"
/*
* The input and output encrypted as though 64bit cfb mode is being used.


+ 1
- 1
crypto/cast/c_ecb.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/cast.h>
#include "cast_lcl.h"
#include "cast_local.h"
#include <openssl/opensslv.h>
void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,


+ 1
- 1
crypto/cast/c_enc.c View File

@ -8,7 +8,7 @@
*/
#include <openssl/cast.h>
#include "cast_lcl.h"
#include "cast_local.h"
void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key)
{


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save