-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multiprecision: update and fix copyrights
- Loading branch information
Showing
39 changed files
with
242 additions
and
26 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/big_mod.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include "nil/crypto3/multiprecision/detail/big_mod/big_mod_impl.hpp" // IWYU pragma: export | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/big_uint.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include "nil/crypto3/multiprecision/detail/big_uint/big_uint_impl.hpp" // IWYU pragma: export | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_int.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <climits> | ||
|
2 changes: 1 addition & 1 deletion
2
...to3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_mod/ops/inverse.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2019-2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
|
2 changes: 1 addition & 1 deletion
2
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_mod/ops/pow.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2019-2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
|
2 changes: 1 addition & 1 deletion
2
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_mod/ops/ressol.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2019-2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
|
8 changes: 8 additions & 0 deletions
8
...o3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_mod/test_support.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include "nil/crypto3/multiprecision/detail/big_mod/type_traits.hpp" | ||
|
8 changes: 8 additions & 0 deletions
8
...to3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_mod/type_traits.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <cstddef> | ||
|
11 changes: 11 additions & 0 deletions
11
...to3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/arithmetic.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2012 John Maddock | ||
// Copyright (c) 2020 Madhur Chauhan | ||
// Copyright (c) 2020 John Maddock | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <algorithm> | ||
|
11 changes: 11 additions & 0 deletions
11
.../libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/big_uint_impl.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2012-2022 John Maddock | ||
// Copyright (c) 2022 Christopher Kormanyos | ||
// Copyright (c) 2024 Martun Karapetyan <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
// IWYU pragma: private; include "nil/crypto3/multiprecision/big_uint.hpp" | ||
|
13 changes: 9 additions & 4 deletions
13
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/limits.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
/////////////////////////////////////////////////////////////// | ||
// Copyright 2012 John Maddock. Distributed under the Boost | ||
// Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2012 John Maddock | ||
// Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
|
1 change: 1 addition & 0 deletions
1
...ibs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/ops/gcd_inverse.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
1 change: 1 addition & 0 deletions
1
...to3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/ops/jacobi.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
2 changes: 1 addition & 1 deletion
2
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/ops/powm.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2019-2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
// Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2018-2020 Pavel Kharitonov <[email protected]> | ||
// Copyright (c) 2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
1 change: 1 addition & 0 deletions
1
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/ops/wnaf.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/parsing.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <bit> | ||
|
13 changes: 13 additions & 0 deletions
13
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/storage.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2012-2021 John Maddock | ||
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2021 Aleksei Moskvin <[email protected]> | ||
// Copyright (c) 2021 Matt Borland | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <climits> | ||
|
9 changes: 9 additions & 0 deletions
9
...o3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/big_uint/type_traits.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <algorithm> | ||
|
9 changes: 9 additions & 0 deletions
9
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/config.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2021 Matt Borland | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#if !defined(NIL_CO3_MP_FORCEINLINE) | ||
|
9 changes: 9 additions & 0 deletions
9
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/endian.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2021 Matt Borland | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <bits/endian.h> | ||
|
10 changes: 10 additions & 0 deletions
10
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/int128.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2010-2021 Douglas Gregor | ||
// Copyright (c) 2021 Matt Borland | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#if defined(__SIZEOF_INT128__) | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/integer_ops_base.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <cstddef> | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/integer_ops_powm.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <limits> | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/integer_utils.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include <stdexcept> | ||
|
10 changes: 10 additions & 0 deletions
10
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/detail/intel_intrinsics.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,13 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2020 Madhur Chauhan | ||
// Copyright (c) 2020 John Maddock | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include "nil/crypto3/multiprecision/detail/big_uint/storage.hpp" | ||
|
8 changes: 8 additions & 0 deletions
8
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/integer.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
#include "nil/crypto3/multiprecision/detail/integer_ops_base.hpp" // IWYU pragma: export | ||
|
12 changes: 8 additions & 4 deletions
12
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/literals.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
/////////////////////////////////////////////////////////////// | ||
// Copyright 2013 John Maddock. Distributed under the Boost | ||
// Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2013 John Maddock | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
|
12 changes: 8 additions & 4 deletions
12
crypto3/libs/multiprecision/include/nil/crypto3/multiprecision/miller_rabin.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
/////////////////////////////////////////////////////////////// | ||
// Copyright 2012 John Maddock. Distributed under the Boost | ||
// Software License, Version 1.0. (See accompanying file | ||
// LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2012 John Maddock | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#pragma once | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#---------------------------------------------------------------------------# | ||
# Copyright (c) 2018-2020 Mikhail Komarov <[email protected]> | ||
# Copyright (c) 2018-2021 Aleksei Moskvin <[email protected]> | ||
# Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
# | ||
# Distributed under the Boost Software License, Version 1.0 | ||
# See accompanying file LICENSE_1_0.txt or copy at | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#define BOOST_TEST_MODULE big_int_modular_test | ||
|
||
#include <cstdint> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
// Copyright (c) 2020 Mikhail Komarov <[email protected]> | ||
// Copyright (c) 2020 Ilias Khairullin <[email protected]> | ||
// Copyright (c) 2024 Martun Karapetyan <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
// http://www.boost.org/LICENSE_1_0.txt | ||
//---------------------------------------------------------------------------// | ||
|
||
#define BOOST_TEST_MODULE big_int_test | ||
|
||
#include <cstdint> | ||
|
1 change: 1 addition & 0 deletions
1
crypto3/libs/multiprecision/test/big_uint_comparison_randomized.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
//---------------------------------------------------------------------------// | ||
// Copyright (c) 2024 Martun Karapetyan <[email protected]> | ||
// Copyright (c) 2024 Andrey Nefedov <[email protected]> | ||
// | ||
// Distributed under the Boost Software License, Version 1.0 | ||
// See accompanying file LICENSE_1_0.txt or copy at | ||
|
Oops, something went wrong.