This repository was archived by the owner on Feb 17, 2025. It is now read-only.
File tree 9 files changed +24
-25
lines changed
9 files changed +24
-25
lines changed Original file line number Diff line number Diff line change 7
7
// http://www.boost.org/LICENSE_1_0.txt
8
8
// ---------------------------------------------------------------------------//
9
9
10
- #ifndef CRYPTO3_ACCUMULATORS_BLOCK_HPP
11
- #define CRYPTO3_ACCUMULATORS_BLOCK_HPP
10
+ #ifndef CRYPTO3_ACCUMULATORS_MAC_HPP
11
+ #define CRYPTO3_ACCUMULATORS_MAC_HPP
12
12
13
13
#include < boost/container/static_vector.hpp>
14
14
19
19
#include < boost/accumulators/framework/depends_on.hpp>
20
20
#include < boost/accumulators/framework/parameters/sample.hpp>
21
21
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>
24
24
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>
29
27
30
28
namespace nil {
31
29
namespace crypto3 {
Original file line number Diff line number Diff line change 12
12
13
13
#include < boost/assert.hpp>
14
14
#include < boost/concept_check.hpp>
15
+
15
16
#include < boost/range/begin.hpp>
16
17
#include < boost/range/end.hpp>
17
18
#include < boost/range/concepts.hpp>
Original file line number Diff line number Diff line change 12
12
13
13
#include < boost/assert.hpp>
14
14
#include < boost/concept_check.hpp>
15
+
15
16
#include < boost/range/begin.hpp>
16
17
#include < boost/range/end.hpp>
17
18
#include < boost/range/concepts.hpp>
@@ -44,7 +45,7 @@ namespace nil {
44
45
45
46
return std::move (result.begin (), result.end (), out);
46
47
};
47
- }
48
+ } // namespace detail
48
49
49
50
/* !
50
51
* @brief
@@ -94,8 +95,8 @@ namespace nil {
94
95
95
96
return range;
96
97
};
97
- }
98
- }
99
- }
98
+ } // namespace mac
99
+ } // namespace crypto3
100
+ } // namespace nil
100
101
101
- #endif // CRYPTO3_MAC_VERIFY_HPP
102
+ #endif // CRYPTO3_MAC_VERIFY_HPP
Original file line number Diff line number Diff line change 21
21
22
22
#include < nil/crypto3/block/accumulators/block.hpp>
23
23
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>
26
26
27
27
namespace nil {
28
28
namespace crypto3 {
@@ -75,7 +75,6 @@ namespace nil {
75
75
76
76
protected:
77
77
inline void process (const block_type &block, std::size_t bits) {
78
-
79
78
}
80
79
81
80
mac_type mac;
Original file line number Diff line number Diff line change 19
19
#include < boost/accumulators/framework/depends_on.hpp>
20
20
#include < boost/accumulators/framework/parameters/sample.hpp>
21
21
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>
24
24
25
25
namespace nil {
26
26
namespace crypto3 {
@@ -82,7 +82,6 @@ namespace nil {
82
82
83
83
protected:
84
84
inline void process (const block_type &block, std::size_t bits) {
85
-
86
85
}
87
86
88
87
block::cipher<cipher_type, mode_type, padding_type> cipher;
Original file line number Diff line number Diff line change 22
22
#include < nil/crypto3/block/accumulators/parameters/cipher.hpp>
23
23
#include < nil/crypto3/block/accumulators/parameters/bits.hpp>
24
24
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>
27
27
28
28
#include < nil/crypto3/block/cipher.hpp>
29
29
Original file line number Diff line number Diff line change 22
22
#include < nil/crypto3/block/accumulators/parameters/cipher.hpp>
23
23
#include < nil/crypto3/block/accumulators/parameters/bits.hpp>
24
24
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>
27
27
28
28
#include < nil/crypto3/block/cipher.hpp>
29
29
Original file line number Diff line number Diff line change 10
10
#ifndef CRYPTO3_MAC_POLY1305_POLICY_HPP
11
11
#define CRYPTO3_MAC_POLY1305_POLICY_HPP
12
12
13
- #include < boost/container/static_vector.hpp>
14
13
#include < boost/integer.hpp>
15
14
15
+ #include < boost/container/static_vector.hpp>
16
+
16
17
#include < nil/crypto3/mac/detail/basic_functions.hpp>
17
18
18
19
namespace nil {
Original file line number Diff line number Diff line change 10
10
#ifndef CRYPTO3_MAC_SIPHASH_FUNCTIONS_HPP
11
11
#define CRYPTO3_MAC_SIPHASH_FUNCTIONS_HPP
12
12
13
- #include < boost/container/static_vector.hpp>
14
13
#include < boost/integer.hpp>
14
+ #include < boost/container/static_vector.hpp>
15
15
16
16
#include < nil/crypto3/mac/detail/siphash/siphash_policy.hpp>
17
17
You can’t perform that action at this time.
0 commit comments