Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 5bb4b15

Browse files
committed
Minor inclusion fixes #1
1 parent b20d291 commit 5bb4b15

File tree

9 files changed

+24
-25
lines changed

9 files changed

+24
-25
lines changed

include/nil/crypto3/mac/accumulators/mac.hpp

+6-8
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
// http://www.boost.org/LICENSE_1_0.txt
88
//---------------------------------------------------------------------------//
99

10-
#ifndef CRYPTO3_ACCUMULATORS_BLOCK_HPP
11-
#define CRYPTO3_ACCUMULATORS_BLOCK_HPP
10+
#ifndef CRYPTO3_ACCUMULATORS_MAC_HPP
11+
#define CRYPTO3_ACCUMULATORS_MAC_HPP
1212

1313
#include <boost/container/static_vector.hpp>
1414

@@ -19,13 +19,11 @@
1919
#include <boost/accumulators/framework/depends_on.hpp>
2020
#include <boost/accumulators/framework/parameters/sample.hpp>
2121

22-
#include <nil/crypto3/block/accumulators/parameters/cipher.hpp>
23-
#include <nil/crypto3/block/accumulators/parameters/bits.hpp>
22+
#include <nil/crypto3/mac/accumulators/parameters/cipher.hpp>
23+
#include <nil/crypto3/mac/accumulators/parameters/bits.hpp>
2424

25-
#include <nil/crypto3/block/detail/make_array.hpp>
26-
#include <nil/crypto3/block/detail/digest.hpp>
27-
28-
#include <nil/crypto3/block/cipher.hpp>
25+
#include <nil/crypto3/detail/make_array.hpp>
26+
#include <nil/crypto3/detail/digest.hpp>
2927

3028
namespace nil {
3129
namespace crypto3 {

include/nil/crypto3/mac/algorithm/compute.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <boost/assert.hpp>
1414
#include <boost/concept_check.hpp>
15+
1516
#include <boost/range/begin.hpp>
1617
#include <boost/range/end.hpp>
1718
#include <boost/range/concepts.hpp>

include/nil/crypto3/mac/algorithm/verify.hpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <boost/assert.hpp>
1414
#include <boost/concept_check.hpp>
15+
1516
#include <boost/range/begin.hpp>
1617
#include <boost/range/end.hpp>
1718
#include <boost/range/concepts.hpp>
@@ -44,7 +45,7 @@ namespace nil {
4445

4546
return std::move(result.begin(), result.end(), out);
4647
};
47-
}
48+
} // namespace detail
4849

4950
/*!
5051
* @brief
@@ -94,8 +95,8 @@ namespace nil {
9495

9596
return range;
9697
};
97-
}
98-
}
99-
}
98+
} // namespace mac
99+
} // namespace crypto3
100+
} // namespace nil
100101

101-
#endif //CRYPTO3_MAC_VERIFY_HPP
102+
#endif // CRYPTO3_MAC_VERIFY_HPP

include/nil/crypto3/mac/detail/cbc_mac/accumulator.hpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
#include <nil/crypto3/block/accumulators/block.hpp>
2323

24-
#include <nil/crypto3/mac/detail/make_array.hpp>
25-
#include <nil/crypto3/mac/detail/static_digest.hpp>
24+
#include <nil/crypto3/detail/make_array.hpp>
25+
#include <nil/crypto3/detail/static_digest.hpp>
2626

2727
namespace nil {
2828
namespace crypto3 {
@@ -75,7 +75,6 @@ namespace nil {
7575

7676
protected:
7777
inline void process(const block_type &block, std::size_t bits) {
78-
7978
}
8079

8180
mac_type mac;

include/nil/crypto3/mac/detail/cmac/accumulator.hpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include <boost/accumulators/framework/depends_on.hpp>
2020
#include <boost/accumulators/framework/parameters/sample.hpp>
2121

22-
#include <nil/crypto3/mac/detail/make_array.hpp>
23-
#include <nil/crypto3/mac/detail/static_digest.hpp>
22+
#include <nil/crypto3/detail/make_array.hpp>
23+
#include <nil/crypto3/detail/static_digest.hpp>
2424

2525
namespace nil {
2626
namespace crypto3 {
@@ -82,7 +82,6 @@ namespace nil {
8282

8383
protected:
8484
inline void process(const block_type &block, std::size_t bits) {
85-
8685
}
8786

8887
block::cipher<cipher_type, mode_type, padding_type> cipher;

include/nil/crypto3/mac/detail/gmac/accumulator.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include <nil/crypto3/block/accumulators/parameters/cipher.hpp>
2323
#include <nil/crypto3/block/accumulators/parameters/bits.hpp>
2424

25-
#include <nil/crypto3/block/detail/make_array.hpp>
26-
#include <nil/crypto3/block/detail/digest.hpp>
25+
#include <nil/crypto3/detail/make_array.hpp>
26+
#include <nil/crypto3/detail/digest.hpp>
2727

2828
#include <nil/crypto3/block/cipher.hpp>
2929

include/nil/crypto3/mac/detail/hmac/accumulator.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#include <nil/crypto3/block/accumulators/parameters/cipher.hpp>
2323
#include <nil/crypto3/block/accumulators/parameters/bits.hpp>
2424

25-
#include <nil/crypto3/block/detail/make_array.hpp>
26-
#include <nil/crypto3/block/detail/digest.hpp>
25+
#include <nil/crypto3/detail/make_array.hpp>
26+
#include <nil/crypto3/detail/digest.hpp>
2727

2828
#include <nil/crypto3/block/cipher.hpp>
2929

include/nil/crypto3/mac/detail/poly1305/poly1305_policy.hpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
#ifndef CRYPTO3_MAC_POLY1305_POLICY_HPP
1111
#define CRYPTO3_MAC_POLY1305_POLICY_HPP
1212

13-
#include <boost/container/static_vector.hpp>
1413
#include <boost/integer.hpp>
1514

15+
#include <boost/container/static_vector.hpp>
16+
1617
#include <nil/crypto3/mac/detail/basic_functions.hpp>
1718

1819
namespace nil {

include/nil/crypto3/mac/detail/siphash/siphash_functions.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
#ifndef CRYPTO3_MAC_SIPHASH_FUNCTIONS_HPP
1111
#define CRYPTO3_MAC_SIPHASH_FUNCTIONS_HPP
1212

13-
#include <boost/container/static_vector.hpp>
1413
#include <boost/integer.hpp>
14+
#include <boost/container/static_vector.hpp>
1515

1616
#include <nil/crypto3/mac/detail/siphash/siphash_policy.hpp>
1717

0 commit comments

Comments
 (0)