Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/devtools/BGL-tidy/BGL-tidy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "logprintf.h"
#include <logprintf.h>

#include <clang-tidy/ClangTidyModule.h>
#include <clang-tidy/ClangTidyModuleRegistry.h>
Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/BGL-tidy/logprintf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

#include "logprintf.h"
#include <logprintf.h>

#include <clang/AST/ASTContext.h>
#include <clang/ASTMatchers/ASTMatchFinder.h>
Expand Down
2 changes: 1 addition & 1 deletion src/assumptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#include <limits.h>

#include "util.h"
#include <util.h>

/* This library, like most software, relies on a number of compiler implementation defined (but not undefined)
behaviours. Although the behaviours we require are essentially universal we test them specifically here to
Expand Down
2 changes: 1 addition & 1 deletion src/crc32c_arm64_check.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <cstdint>

#ifdef CRC32C_HAVE_CONFIG_H
#include "crc32c/crc32c_config.h"
#include <crc32c/crc32c_config.h>
#endif

#if HAVE_ARM64_CRC32C
Expand Down
10 changes: 5 additions & 5 deletions src/ecmult_compute_table_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
#ifndef SECP256K1_ECMULT_COMPUTE_TABLE_IMPL_H
#define SECP256K1_ECMULT_COMPUTE_TABLE_IMPL_H

#include "ecmult_compute_table.h"
#include "group_impl.h"
#include "field_impl.h"
#include "ecmult.h"
#include "util.h"
#include <ecmult_compute_table.h>
#include <group_impl.h>
#include <field_impl.h>
#include <ecmult.h>
#include <util.h>

static void secp256k1_ecmult_compute_table(secp256k1_ge_storage* table, int window_g, const secp256k1_gej* gen) {
secp256k1_gej gj;
Expand Down
2 changes: 1 addition & 1 deletion src/ecmult_gen_compute_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef SECP256K1_ECMULT_GEN_COMPUTE_TABLE_H
#define SECP256K1_ECMULT_GEN_COMPUTE_TABLE_H

#include "ecmult_gen.h"
#include <ecmult_gen.h>

static void secp256k1_ecmult_gen_compute_table(secp256k1_ge_storage* table, const secp256k1_ge* gen, int blocks, int teeth, int spacing);

Expand Down
12 changes: 6 additions & 6 deletions src/ecmult_gen_compute_table_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
#ifndef SECP256K1_ECMULT_GEN_COMPUTE_TABLE_IMPL_H
#define SECP256K1_ECMULT_GEN_COMPUTE_TABLE_IMPL_H

#include "ecmult_gen_compute_table.h"
#include "group_impl.h"
#include "field_impl.h"
#include "scalar_impl.h"
#include "ecmult_gen.h"
#include "util.h"
#include <ecmult_gen_compute_table.h>
#include <group_impl.h>
#include <field_impl.h>
#include <scalar_impl.h>
#include <ecmult_gen.h>
#include <util.h>

static void secp256k1_ecmult_gen_compute_table(secp256k1_ge_storage* table, const secp256k1_ge* gen, int blocks, int teeth, int spacing) {
size_t points = ((size_t)1) << (teeth - 1);
Expand Down
2 changes: 1 addition & 1 deletion src/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <string>
#include <vector>

#include "logging.h"
#include <logging.h>

extern "C" {
#include <crypto/sha3/sha3.h>
Expand Down
2 changes: 1 addition & 1 deletion src/hsort_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef SECP256K1_HSORT_IMPL_H
#define SECP256K1_HSORT_IMPL_H

#include "hsort.h"
#include <hsort.h>

/* An array is a heap when, for all non-zero indexes i, the element at index i
* compares as less than or equal to the element at index parent(i) = (i-1)/2.
Expand Down
2 changes: 1 addition & 1 deletion src/int128.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef SECP256K1_INT128_H
#define SECP256K1_INT128_H

#include "util.h"
#include <util.h>

#if defined(SECP256K1_WIDEMUL_INT128)
# if defined(SECP256K1_INT128_NATIVE)
Expand Down
4 changes: 2 additions & 2 deletions src/int128_native_impl.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef SECP256K1_INT128_NATIVE_IMPL_H
#define SECP256K1_INT128_NATIVE_IMPL_H

#include "int128.h"
#include "util.h"
#include <int128.h>
#include <util.h>

static SECP256K1_INLINE void secp256k1_u128_load(secp256k1_uint128 *r, uint64_t hi, uint64_t lo) {
*r = (((uint128_t)hi) << 64) + lo;
Expand Down
4 changes: 2 additions & 2 deletions src/int128_struct_impl.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#ifndef SECP256K1_INT128_STRUCT_IMPL_H
#define SECP256K1_INT128_STRUCT_IMPL_H

#include "int128.h"
#include "util.h"
#include <int128.h>
#include <util.h>

#if defined(_MSC_VER) && (defined(_M_X64) || defined(_M_ARM64)) /* MSVC */
# include <intrin.h>
Expand Down
4 changes: 2 additions & 2 deletions src/precomputed_ecmult.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
extern "C" {
#endif

#include "ecmult.h"
#include "group.h"
#include <ecmult.h>
#include <group.h>
#if defined(EXHAUSTIVE_TEST_ORDER)
# if EXHAUSTIVE_TEST_ORDER == 7
# define WINDOW_G 3
Expand Down
4 changes: 2 additions & 2 deletions src/precomputed_ecmult_gen.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
extern "C" {
#endif

#include "group.h"
#include "ecmult_gen.h"
#include <group.h>
#include <ecmult_gen.h>
#ifdef EXHAUSTIVE_TEST_ORDER
static secp256k1_ge_storage secp256k1_ecmult_gen_prec_table[COMB_BLOCKS][COMB_POINTS];
#else
Expand Down
2 changes: 1 addition & 1 deletion src/selftest.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef SECP256K1_SELFTEST_H
#define SECP256K1_SELFTEST_H

#include "hash.h"
#include <hash.h>

#include <string.h>

Expand Down
2 changes: 0 additions & 2 deletions src/span.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#include <cstddef>
#include <span>
#include <type_traits>
#include <cstddef>
#include <algorithm>
#include <assert.h>

#ifdef DEBUG
Expand Down
8 changes: 4 additions & 4 deletions src/testutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#ifndef SECP256K1_TESTUTIL_H
#define SECP256K1_TESTUTIL_H

#include "field.h"
#include "group.h"
#include "testrand.h"
#include "util.h"
#include <field.h>
#include <group.h>
#include <testrand.h>
#include <util.h>

static void testutil_random_fe(secp256k1_fe *x) {
unsigned char bin[32];
Expand Down
1 change: 0 additions & 1 deletion test/lint/lint-includes.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"boost/multi_index/tag.hpp",
"boost/multi_index_container.hpp",
"boost/operators.hpp",
"boost/process.hpp",
"boost/signals2/connection.hpp",
"boost/signals2/optional_last_value.hpp",
"boost/signals2/signal.hpp",
Expand Down