From cd68474e478c6a2c7a9bff53c3a4ee0ce184ed2d Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 26 Apr 2021 20:28:30 -0400 Subject: [PATCH] More formatting stuff.... --- .clang-format | 8 +- core/AES.cpp | 294 ++-- core/AES_aesni.cpp | 48 +- core/AES_armcrypto.cpp | 45 +- core/Address.hpp | 6 +- core/Buf.hpp | 30 +- core/C25519.cpp | 190 +-- core/C25519.hpp | 19 +- core/CAPI.cpp | 173 +- core/CapabilityCredential.cpp | 12 +- core/CapabilityCredential.hpp | 16 +- core/Certificate.cpp | 70 +- core/Certificate.hpp | 11 +- core/Containers.hpp | 10 +- core/Credential.cpp | 28 +- core/Dictionary.hpp | 3 +- core/ECC384.cpp | 61 +- core/ECC384.hpp | 5 +- core/Endpoint.hpp | 16 +- core/Expect.hpp | 8 +- core/Fingerprint.hpp | 13 +- core/Identity.cpp | 74 +- core/Identity.hpp | 5 +- core/InetAddress.cpp | 43 +- core/InetAddress.hpp | 18 +- core/LZ4.cpp | 77 +- core/Locator.cpp | 25 +- core/Locator.hpp | 8 +- core/MAC.hpp | 21 +- core/MIMC52.cpp | 193 +-- core/Member.cpp | 31 +- core/Member.hpp | 59 +- core/MembershipCredential.cpp | 19 +- core/MembershipCredential.hpp | 6 +- core/Meter.hpp | 4 +- core/MulticastGroup.hpp | 3 +- core/Network.cpp | 148 +- core/Network.hpp | 42 +- core/NetworkConfig.cpp | 26 +- core/NetworkConfig.hpp | 3 +- core/NetworkController.hpp | 21 +- core/Node.cpp | 88 +- core/Node.hpp | 24 +- core/OS.hpp | 18 +- core/OwnershipCredential.cpp | 8 +- core/OwnershipCredential.hpp | 16 +- core/Path.hpp | 12 +- core/Peer.cpp | 75 +- core/Peer.hpp | 40 +- core/Poly1305.cpp | 23 +- core/Poly1305.hpp | 3 +- core/Protocol.hpp | 23 +- core/SHA512.cpp | 49 +- core/SHA512.hpp | 7 +- core/Salsa20.cpp | 25 +- core/SelfAwareness.cpp | 18 +- core/SelfAwareness.hpp | 4 +- core/SharedPtr.hpp | 3 +- core/Store.hpp | 27 +- core/TagCredential.hpp | 7 +- core/Tests.cpp | 2239 ++++++++++--------------- core/TinyMap.hpp | 12 +- core/Topology.cpp | 5 +- core/Trace.cpp | 18 +- core/Trace.hpp | 42 +- core/TrustStore.cpp | 48 +- core/TrustStore.hpp | 7 +- core/Utils.hpp | 12 +- core/VL1.cpp | 104 +- core/VL1.hpp | 54 +- core/VL2.hpp | 65 +- core/zerotier.h | 111 +- rust-zerotier-core/src/address.rs | 2 +- rust-zerotier-core/src/certificate.rs | 14 +- rust-zerotier-core/src/dictionary.rs | 22 +- rust-zerotier-core/src/fingerprint.rs | 8 + rust-zerotier-core/src/identity.rs | 2 +- rust-zerotier-core/src/locator.rs | 33 +- rust-zerotier-core/src/mac.rs | 9 + 79 files changed, 1783 insertions(+), 3386 deletions(-) diff --git a/.clang-format b/.clang-format index f4a05d79e..0c1a3f084 100644 --- a/.clang-format +++ b/.clang-format @@ -62,14 +62,14 @@ UseTab: 'false' --- Language: Cpp Standard: Cpp03 -ColumnLimit: '120' +ColumnLimit: '160' --- Language: ObjC -ColumnLimit: '120' +ColumnLimit: '160' --- Language: Java -ColumnLimit: '120' +ColumnLimit: '160' --- Language: CSharp -ColumnLimit: '120' +ColumnLimit: '160' ... diff --git a/core/AES.cpp b/core/AES.cpp index 07648489f..202da3162 100644 --- a/core/AES.cpp +++ b/core/AES.cpp @@ -32,31 +32,27 @@ namespace ZeroTier { namespace { -#define s_bmul32(N, x, y, rh, rl) \ - uint32_t x0t_##N = (x)&0x11111111U; \ - uint32_t x1t_##N = (x)&0x22222222U; \ - uint32_t x2t_##N = (x)&0x44444444U; \ - uint32_t x3t_##N = (x)&0x88888888U; \ - uint32_t y0t_##N = (y)&0x11111111U; \ - uint32_t y1t_##N = (y)&0x22222222U; \ - uint32_t y2t_##N = (y)&0x44444444U; \ - uint32_t y3t_##N = (y)&0x88888888U; \ - uint64_t z0t_##N = (((uint64_t)x0t_##N * y0t_##N) ^ ((uint64_t)x1t_##N * y3t_##N) ^ ((uint64_t)x2t_##N * y2t_##N) \ - ^ ((uint64_t)x3t_##N * y1t_##N)) \ - & 0x1111111111111111ULL; \ - uint64_t z1t_##N = (((uint64_t)x0t_##N * y1t_##N) ^ ((uint64_t)x1t_##N * y0t_##N) ^ ((uint64_t)x2t_##N * y3t_##N) \ - ^ ((uint64_t)x3t_##N * y2t_##N)) \ - & 0x2222222222222222ULL; \ - uint64_t z2t_##N = (((uint64_t)x0t_##N * y2t_##N) ^ ((uint64_t)x1t_##N * y1t_##N) ^ ((uint64_t)x2t_##N * y0t_##N) \ - ^ ((uint64_t)x3t_##N * y3t_##N)) \ - & 0x4444444444444444ULL; \ - z0t_##N |= z1t_##N; \ - z2t_##N |= z0t_##N; \ - uint64_t zt_##N = z2t_##N \ - | ((((uint64_t)x0t_##N * y3t_##N) ^ ((uint64_t)x1t_##N * y2t_##N) \ - ^ ((uint64_t)x2t_##N * y1t_##N) ^ ((uint64_t)x3t_##N * y0t_##N)) \ - & 0x8888888888888888ULL); \ - (rh) = (uint32_t)(zt_##N >> 32U); \ +#define s_bmul32(N, x, y, rh, rl) \ + uint32_t x0t_##N = (x)&0x11111111U; \ + uint32_t x1t_##N = (x)&0x22222222U; \ + uint32_t x2t_##N = (x)&0x44444444U; \ + uint32_t x3t_##N = (x)&0x88888888U; \ + uint32_t y0t_##N = (y)&0x11111111U; \ + uint32_t y1t_##N = (y)&0x22222222U; \ + uint32_t y2t_##N = (y)&0x44444444U; \ + uint32_t y3t_##N = (y)&0x88888888U; \ + uint64_t z0t_##N = (((uint64_t)x0t_##N * y0t_##N) ^ ((uint64_t)x1t_##N * y3t_##N) ^ ((uint64_t)x2t_##N * y2t_##N) ^ ((uint64_t)x3t_##N * y1t_##N)) \ + & 0x1111111111111111ULL; \ + uint64_t z1t_##N = (((uint64_t)x0t_##N * y1t_##N) ^ ((uint64_t)x1t_##N * y0t_##N) ^ ((uint64_t)x2t_##N * y3t_##N) ^ ((uint64_t)x3t_##N * y2t_##N)) \ + & 0x2222222222222222ULL; \ + uint64_t z2t_##N = (((uint64_t)x0t_##N * y2t_##N) ^ ((uint64_t)x1t_##N * y1t_##N) ^ ((uint64_t)x2t_##N * y0t_##N) ^ ((uint64_t)x3t_##N * y3t_##N)) \ + & 0x4444444444444444ULL; \ + z0t_##N |= z1t_##N; \ + z2t_##N |= z0t_##N; \ + uint64_t zt_##N = z2t_##N \ + | ((((uint64_t)x0t_##N * y3t_##N) ^ ((uint64_t)x1t_##N * y2t_##N) ^ ((uint64_t)x2t_##N * y1t_##N) ^ ((uint64_t)x3t_##N * y0t_##N)) \ + & 0x8888888888888888ULL); \ + (rh) = (uint32_t)(zt_##N >> 32U); \ (rl) = (uint32_t)zt_##N; void s_gfmul(const uint64_t hh, const uint64_t hl, uint64_t& y0, uint64_t& y1) noexcept @@ -340,14 +336,10 @@ void AES::CTR::crypt(const void* const input, unsigned int len) noexcept t1 = Te0[s1 >> 24U] ^ Te1_r((s2 >> 16U) & m8) ^ Te2_r((s3 >> 8U) & m8) ^ Te3_r(s0 & m8) ^ rk[53]; t2 = Te0[s2 >> 24U] ^ Te1_r((s3 >> 16U) & m8) ^ Te2_r((s0 >> 8U) & m8) ^ Te3_r(s1 & m8) ^ rk[54]; t3 = Te0[s3 >> 24U] ^ Te1_r((s0 >> 16U) & m8) ^ Te2_r((s1 >> 8U) & m8) ^ Te3_r(s2 & m8) ^ rk[55]; - s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) - ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; - s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) - ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; - s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) - ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; - s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) - ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; + s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; + s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; + s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; + s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; *reinterpret_cast(out) = in0 ^ Utils::hton(((uint64_t)s0 << 32U) | (uint64_t)s1); *reinterpret_cast(out + 8) = in1 ^ Utils::hton(((uint64_t)s2 << 32U) | (uint64_t)s3); @@ -414,14 +406,10 @@ void AES::CTR::crypt(const void* const input, unsigned int len) noexcept t1 = Te0[s1 >> 24U] ^ Te1_r((s2 >> 16U) & m8) ^ Te2_r((s3 >> 8U) & m8) ^ Te3_r(s0 & m8) ^ rk[53]; t2 = Te0[s2 >> 24U] ^ Te1_r((s3 >> 16U) & m8) ^ Te2_r((s0 >> 8U) & m8) ^ Te3_r(s1 & m8) ^ rk[54]; t3 = Te0[s3 >> 24U] ^ Te1_r((s0 >> 16U) & m8) ^ Te2_r((s1 >> 8U) & m8) ^ Te3_r(s2 & m8) ^ rk[55]; - s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) - ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; - s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) - ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; - s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) - ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; - s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) - ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; + s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; + s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; + s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; + s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; out[0] = in[0] ^ (uint8_t)(s0 >> 24U); out[1] = in[1] ^ (uint8_t)(s0 >> 16U); @@ -469,117 +457,85 @@ void AES::CTR::finish() noexcept // Software AES and AES key expansion --------------------------------------------------------------------------------- const uint32_t AES::Te0[256] = { - 0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d, 0xfff2f20d, 0xd66b6bbd, 0xde6f6fb1, 0x91c5c554, 0x60303050, - 0x02010103, 0xce6767a9, 0x562b2b7d, 0xe7fefe19, 0xb5d7d762, 0x4dababe6, 0xec76769a, 0x8fcaca45, 0x1f82829d, - 0x89c9c940, 0xfa7d7d87, 0xeffafa15, 0xb25959eb, 0x8e4747c9, 0xfbf0f00b, 0x41adadec, 0xb3d4d467, 0x5fa2a2fd, - 0x45afafea, 0x239c9cbf, 0x53a4a4f7, 0xe4727296, 0x9bc0c05b, 0x75b7b7c2, 0xe1fdfd1c, 0x3d9393ae, 0x4c26266a, - 0x6c36365a, 0x7e3f3f41, 0xf5f7f702, 0x83cccc4f, 0x6834345c, 0x51a5a5f4, 0xd1e5e534, 0xf9f1f108, 0xe2717193, - 0xabd8d873, 0x62313153, 0x2a15153f, 0x0804040c, 0x95c7c752, 0x46232365, 0x9dc3c35e, 0x30181828, 0x379696a1, - 0x0a05050f, 0x2f9a9ab5, 0x0e070709, 0x24121236, 0x1b80809b, 0xdfe2e23d, 0xcdebeb26, 0x4e272769, 0x7fb2b2cd, - 0xea75759f, 0x1209091b, 0x1d83839e, 0x582c2c74, 0x341a1a2e, 0x361b1b2d, 0xdc6e6eb2, 0xb45a5aee, 0x5ba0a0fb, - 0xa45252f6, 0x763b3b4d, 0xb7d6d661, 0x7db3b3ce, 0x5229297b, 0xdde3e33e, 0x5e2f2f71, 0x13848497, 0xa65353f5, - 0xb9d1d168, 0x00000000, 0xc1eded2c, 0x40202060, 0xe3fcfc1f, 0x79b1b1c8, 0xb65b5bed, 0xd46a6abe, 0x8dcbcb46, - 0x67bebed9, 0x7239394b, 0x944a4ade, 0x984c4cd4, 0xb05858e8, 0x85cfcf4a, 0xbbd0d06b, 0xc5efef2a, 0x4faaaae5, - 0xedfbfb16, 0x864343c5, 0x9a4d4dd7, 0x66333355, 0x11858594, 0x8a4545cf, 0xe9f9f910, 0x04020206, 0xfe7f7f81, - 0xa05050f0, 0x783c3c44, 0x259f9fba, 0x4ba8a8e3, 0xa25151f3, 0x5da3a3fe, 0x804040c0, 0x058f8f8a, 0x3f9292ad, - 0x219d9dbc, 0x70383848, 0xf1f5f504, 0x63bcbcdf, 0x77b6b6c1, 0xafdada75, 0x42212163, 0x20101030, 0xe5ffff1a, - 0xfdf3f30e, 0xbfd2d26d, 0x81cdcd4c, 0x180c0c14, 0x26131335, 0xc3ecec2f, 0xbe5f5fe1, 0x359797a2, 0x884444cc, - 0x2e171739, 0x93c4c457, 0x55a7a7f2, 0xfc7e7e82, 0x7a3d3d47, 0xc86464ac, 0xba5d5de7, 0x3219192b, 0xe6737395, - 0xc06060a0, 0x19818198, 0x9e4f4fd1, 0xa3dcdc7f, 0x44222266, 0x542a2a7e, 0x3b9090ab, 0x0b888883, 0x8c4646ca, - 0xc7eeee29, 0x6bb8b8d3, 0x2814143c, 0xa7dede79, 0xbc5e5ee2, 0x160b0b1d, 0xaddbdb76, 0xdbe0e03b, 0x64323256, - 0x743a3a4e, 0x140a0a1e, 0x924949db, 0x0c06060a, 0x4824246c, 0xb85c5ce4, 0x9fc2c25d, 0xbdd3d36e, 0x43acacef, - 0xc46262a6, 0x399191a8, 0x319595a4, 0xd3e4e437, 0xf279798b, 0xd5e7e732, 0x8bc8c843, 0x6e373759, 0xda6d6db7, - 0x018d8d8c, 0xb1d5d564, 0x9c4e4ed2, 0x49a9a9e0, 0xd86c6cb4, 0xac5656fa, 0xf3f4f407, 0xcfeaea25, 0xca6565af, - 0xf47a7a8e, 0x47aeaee9, 0x10080818, 0x6fbabad5, 0xf0787888, 0x4a25256f, 0x5c2e2e72, 0x381c1c24, 0x57a6a6f1, - 0x73b4b4c7, 0x97c6c651, 0xcbe8e823, 0xa1dddd7c, 0xe874749c, 0x3e1f1f21, 0x964b4bdd, 0x61bdbddc, 0x0d8b8b86, - 0x0f8a8a85, 0xe0707090, 0x7c3e3e42, 0x71b5b5c4, 0xcc6666aa, 0x904848d8, 0x06030305, 0xf7f6f601, 0x1c0e0e12, - 0xc26161a3, 0x6a35355f, 0xae5757f9, 0x69b9b9d0, 0x17868691, 0x99c1c158, 0x3a1d1d27, 0x279e9eb9, 0xd9e1e138, - 0xebf8f813, 0x2b9898b3, 0x22111133, 0xd26969bb, 0xa9d9d970, 0x078e8e89, 0x339494a7, 0x2d9b9bb6, 0x3c1e1e22, - 0x15878792, 0xc9e9e920, 0x87cece49, 0xaa5555ff, 0x50282878, 0xa5dfdf7a, 0x038c8c8f, 0x59a1a1f8, 0x09898980, - 0x1a0d0d17, 0x65bfbfda, 0xd7e6e631, 0x844242c6, 0xd06868b8, 0x824141c3, 0x299999b0, 0x5a2d2d77, 0x1e0f0f11, - 0x7bb0b0cb, 0xa85454fc, 0x6dbbbbd6, 0x2c16163a + 0xc66363a5, 0xf87c7c84, 0xee777799, 0xf67b7b8d, 0xfff2f20d, 0xd66b6bbd, 0xde6f6fb1, 0x91c5c554, 0x60303050, 0x02010103, 0xce6767a9, 0x562b2b7d, 0xe7fefe19, + 0xb5d7d762, 0x4dababe6, 0xec76769a, 0x8fcaca45, 0x1f82829d, 0x89c9c940, 0xfa7d7d87, 0xeffafa15, 0xb25959eb, 0x8e4747c9, 0xfbf0f00b, 0x41adadec, 0xb3d4d467, + 0x5fa2a2fd, 0x45afafea, 0x239c9cbf, 0x53a4a4f7, 0xe4727296, 0x9bc0c05b, 0x75b7b7c2, 0xe1fdfd1c, 0x3d9393ae, 0x4c26266a, 0x6c36365a, 0x7e3f3f41, 0xf5f7f702, + 0x83cccc4f, 0x6834345c, 0x51a5a5f4, 0xd1e5e534, 0xf9f1f108, 0xe2717193, 0xabd8d873, 0x62313153, 0x2a15153f, 0x0804040c, 0x95c7c752, 0x46232365, 0x9dc3c35e, + 0x30181828, 0x379696a1, 0x0a05050f, 0x2f9a9ab5, 0x0e070709, 0x24121236, 0x1b80809b, 0xdfe2e23d, 0xcdebeb26, 0x4e272769, 0x7fb2b2cd, 0xea75759f, 0x1209091b, + 0x1d83839e, 0x582c2c74, 0x341a1a2e, 0x361b1b2d, 0xdc6e6eb2, 0xb45a5aee, 0x5ba0a0fb, 0xa45252f6, 0x763b3b4d, 0xb7d6d661, 0x7db3b3ce, 0x5229297b, 0xdde3e33e, + 0x5e2f2f71, 0x13848497, 0xa65353f5, 0xb9d1d168, 0x00000000, 0xc1eded2c, 0x40202060, 0xe3fcfc1f, 0x79b1b1c8, 0xb65b5bed, 0xd46a6abe, 0x8dcbcb46, 0x67bebed9, + 0x7239394b, 0x944a4ade, 0x984c4cd4, 0xb05858e8, 0x85cfcf4a, 0xbbd0d06b, 0xc5efef2a, 0x4faaaae5, 0xedfbfb16, 0x864343c5, 0x9a4d4dd7, 0x66333355, 0x11858594, + 0x8a4545cf, 0xe9f9f910, 0x04020206, 0xfe7f7f81, 0xa05050f0, 0x783c3c44, 0x259f9fba, 0x4ba8a8e3, 0xa25151f3, 0x5da3a3fe, 0x804040c0, 0x058f8f8a, 0x3f9292ad, + 0x219d9dbc, 0x70383848, 0xf1f5f504, 0x63bcbcdf, 0x77b6b6c1, 0xafdada75, 0x42212163, 0x20101030, 0xe5ffff1a, 0xfdf3f30e, 0xbfd2d26d, 0x81cdcd4c, 0x180c0c14, + 0x26131335, 0xc3ecec2f, 0xbe5f5fe1, 0x359797a2, 0x884444cc, 0x2e171739, 0x93c4c457, 0x55a7a7f2, 0xfc7e7e82, 0x7a3d3d47, 0xc86464ac, 0xba5d5de7, 0x3219192b, + 0xe6737395, 0xc06060a0, 0x19818198, 0x9e4f4fd1, 0xa3dcdc7f, 0x44222266, 0x542a2a7e, 0x3b9090ab, 0x0b888883, 0x8c4646ca, 0xc7eeee29, 0x6bb8b8d3, 0x2814143c, + 0xa7dede79, 0xbc5e5ee2, 0x160b0b1d, 0xaddbdb76, 0xdbe0e03b, 0x64323256, 0x743a3a4e, 0x140a0a1e, 0x924949db, 0x0c06060a, 0x4824246c, 0xb85c5ce4, 0x9fc2c25d, + 0xbdd3d36e, 0x43acacef, 0xc46262a6, 0x399191a8, 0x319595a4, 0xd3e4e437, 0xf279798b, 0xd5e7e732, 0x8bc8c843, 0x6e373759, 0xda6d6db7, 0x018d8d8c, 0xb1d5d564, + 0x9c4e4ed2, 0x49a9a9e0, 0xd86c6cb4, 0xac5656fa, 0xf3f4f407, 0xcfeaea25, 0xca6565af, 0xf47a7a8e, 0x47aeaee9, 0x10080818, 0x6fbabad5, 0xf0787888, 0x4a25256f, + 0x5c2e2e72, 0x381c1c24, 0x57a6a6f1, 0x73b4b4c7, 0x97c6c651, 0xcbe8e823, 0xa1dddd7c, 0xe874749c, 0x3e1f1f21, 0x964b4bdd, 0x61bdbddc, 0x0d8b8b86, 0x0f8a8a85, + 0xe0707090, 0x7c3e3e42, 0x71b5b5c4, 0xcc6666aa, 0x904848d8, 0x06030305, 0xf7f6f601, 0x1c0e0e12, 0xc26161a3, 0x6a35355f, 0xae5757f9, 0x69b9b9d0, 0x17868691, + 0x99c1c158, 0x3a1d1d27, 0x279e9eb9, 0xd9e1e138, 0xebf8f813, 0x2b9898b3, 0x22111133, 0xd26969bb, 0xa9d9d970, 0x078e8e89, 0x339494a7, 0x2d9b9bb6, 0x3c1e1e22, + 0x15878792, 0xc9e9e920, 0x87cece49, 0xaa5555ff, 0x50282878, 0xa5dfdf7a, 0x038c8c8f, 0x59a1a1f8, 0x09898980, 0x1a0d0d17, 0x65bfbfda, 0xd7e6e631, 0x844242c6, + 0xd06868b8, 0x824141c3, 0x299999b0, 0x5a2d2d77, 0x1e0f0f11, 0x7bb0b0cb, 0xa85454fc, 0x6dbbbbd6, 0x2c16163a }; const uint32_t AES::Te4[256] = { - 0x63636363, 0x7c7c7c7c, 0x77777777, 0x7b7b7b7b, 0xf2f2f2f2, 0x6b6b6b6b, 0x6f6f6f6f, 0xc5c5c5c5, 0x30303030, - 0x01010101, 0x67676767, 0x2b2b2b2b, 0xfefefefe, 0xd7d7d7d7, 0xabababab, 0x76767676, 0xcacacaca, 0x82828282, - 0xc9c9c9c9, 0x7d7d7d7d, 0xfafafafa, 0x59595959, 0x47474747, 0xf0f0f0f0, 0xadadadad, 0xd4d4d4d4, 0xa2a2a2a2, - 0xafafafaf, 0x9c9c9c9c, 0xa4a4a4a4, 0x72727272, 0xc0c0c0c0, 0xb7b7b7b7, 0xfdfdfdfd, 0x93939393, 0x26262626, - 0x36363636, 0x3f3f3f3f, 0xf7f7f7f7, 0xcccccccc, 0x34343434, 0xa5a5a5a5, 0xe5e5e5e5, 0xf1f1f1f1, 0x71717171, - 0xd8d8d8d8, 0x31313131, 0x15151515, 0x04040404, 0xc7c7c7c7, 0x23232323, 0xc3c3c3c3, 0x18181818, 0x96969696, - 0x05050505, 0x9a9a9a9a, 0x07070707, 0x12121212, 0x80808080, 0xe2e2e2e2, 0xebebebeb, 0x27272727, 0xb2b2b2b2, - 0x75757575, 0x09090909, 0x83838383, 0x2c2c2c2c, 0x1a1a1a1a, 0x1b1b1b1b, 0x6e6e6e6e, 0x5a5a5a5a, 0xa0a0a0a0, - 0x52525252, 0x3b3b3b3b, 0xd6d6d6d6, 0xb3b3b3b3, 0x29292929, 0xe3e3e3e3, 0x2f2f2f2f, 0x84848484, 0x53535353, - 0xd1d1d1d1, 0x00000000, 0xedededed, 0x20202020, 0xfcfcfcfc, 0xb1b1b1b1, 0x5b5b5b5b, 0x6a6a6a6a, 0xcbcbcbcb, - 0xbebebebe, 0x39393939, 0x4a4a4a4a, 0x4c4c4c4c, 0x58585858, 0xcfcfcfcf, 0xd0d0d0d0, 0xefefefef, 0xaaaaaaaa, - 0xfbfbfbfb, 0x43434343, 0x4d4d4d4d, 0x33333333, 0x85858585, 0x45454545, 0xf9f9f9f9, 0x02020202, 0x7f7f7f7f, - 0x50505050, 0x3c3c3c3c, 0x9f9f9f9f, 0xa8a8a8a8, 0x51515151, 0xa3a3a3a3, 0x40404040, 0x8f8f8f8f, 0x92929292, - 0x9d9d9d9d, 0x38383838, 0xf5f5f5f5, 0xbcbcbcbc, 0xb6b6b6b6, 0xdadadada, 0x21212121, 0x10101010, 0xffffffff, - 0xf3f3f3f3, 0xd2d2d2d2, 0xcdcdcdcd, 0x0c0c0c0c, 0x13131313, 0xecececec, 0x5f5f5f5f, 0x97979797, 0x44444444, - 0x17171717, 0xc4c4c4c4, 0xa7a7a7a7, 0x7e7e7e7e, 0x3d3d3d3d, 0x64646464, 0x5d5d5d5d, 0x19191919, 0x73737373, - 0x60606060, 0x81818181, 0x4f4f4f4f, 0xdcdcdcdc, 0x22222222, 0x2a2a2a2a, 0x90909090, 0x88888888, 0x46464646, - 0xeeeeeeee, 0xb8b8b8b8, 0x14141414, 0xdededede, 0x5e5e5e5e, 0x0b0b0b0b, 0xdbdbdbdb, 0xe0e0e0e0, 0x32323232, - 0x3a3a3a3a, 0x0a0a0a0a, 0x49494949, 0x06060606, 0x24242424, 0x5c5c5c5c, 0xc2c2c2c2, 0xd3d3d3d3, 0xacacacac, - 0x62626262, 0x91919191, 0x95959595, 0xe4e4e4e4, 0x79797979, 0xe7e7e7e7, 0xc8c8c8c8, 0x37373737, 0x6d6d6d6d, - 0x8d8d8d8d, 0xd5d5d5d5, 0x4e4e4e4e, 0xa9a9a9a9, 0x6c6c6c6c, 0x56565656, 0xf4f4f4f4, 0xeaeaeaea, 0x65656565, - 0x7a7a7a7a, 0xaeaeaeae, 0x08080808, 0xbabababa, 0x78787878, 0x25252525, 0x2e2e2e2e, 0x1c1c1c1c, 0xa6a6a6a6, - 0xb4b4b4b4, 0xc6c6c6c6, 0xe8e8e8e8, 0xdddddddd, 0x74747474, 0x1f1f1f1f, 0x4b4b4b4b, 0xbdbdbdbd, 0x8b8b8b8b, - 0x8a8a8a8a, 0x70707070, 0x3e3e3e3e, 0xb5b5b5b5, 0x66666666, 0x48484848, 0x03030303, 0xf6f6f6f6, 0x0e0e0e0e, - 0x61616161, 0x35353535, 0x57575757, 0xb9b9b9b9, 0x86868686, 0xc1c1c1c1, 0x1d1d1d1d, 0x9e9e9e9e, 0xe1e1e1e1, - 0xf8f8f8f8, 0x98989898, 0x11111111, 0x69696969, 0xd9d9d9d9, 0x8e8e8e8e, 0x94949494, 0x9b9b9b9b, 0x1e1e1e1e, - 0x87878787, 0xe9e9e9e9, 0xcececece, 0x55555555, 0x28282828, 0xdfdfdfdf, 0x8c8c8c8c, 0xa1a1a1a1, 0x89898989, - 0x0d0d0d0d, 0xbfbfbfbf, 0xe6e6e6e6, 0x42424242, 0x68686868, 0x41414141, 0x99999999, 0x2d2d2d2d, 0x0f0f0f0f, - 0xb0b0b0b0, 0x54545454, 0xbbbbbbbb, 0x16161616 + 0x63636363, 0x7c7c7c7c, 0x77777777, 0x7b7b7b7b, 0xf2f2f2f2, 0x6b6b6b6b, 0x6f6f6f6f, 0xc5c5c5c5, 0x30303030, 0x01010101, 0x67676767, 0x2b2b2b2b, 0xfefefefe, + 0xd7d7d7d7, 0xabababab, 0x76767676, 0xcacacaca, 0x82828282, 0xc9c9c9c9, 0x7d7d7d7d, 0xfafafafa, 0x59595959, 0x47474747, 0xf0f0f0f0, 0xadadadad, 0xd4d4d4d4, + 0xa2a2a2a2, 0xafafafaf, 0x9c9c9c9c, 0xa4a4a4a4, 0x72727272, 0xc0c0c0c0, 0xb7b7b7b7, 0xfdfdfdfd, 0x93939393, 0x26262626, 0x36363636, 0x3f3f3f3f, 0xf7f7f7f7, + 0xcccccccc, 0x34343434, 0xa5a5a5a5, 0xe5e5e5e5, 0xf1f1f1f1, 0x71717171, 0xd8d8d8d8, 0x31313131, 0x15151515, 0x04040404, 0xc7c7c7c7, 0x23232323, 0xc3c3c3c3, + 0x18181818, 0x96969696, 0x05050505, 0x9a9a9a9a, 0x07070707, 0x12121212, 0x80808080, 0xe2e2e2e2, 0xebebebeb, 0x27272727, 0xb2b2b2b2, 0x75757575, 0x09090909, + 0x83838383, 0x2c2c2c2c, 0x1a1a1a1a, 0x1b1b1b1b, 0x6e6e6e6e, 0x5a5a5a5a, 0xa0a0a0a0, 0x52525252, 0x3b3b3b3b, 0xd6d6d6d6, 0xb3b3b3b3, 0x29292929, 0xe3e3e3e3, + 0x2f2f2f2f, 0x84848484, 0x53535353, 0xd1d1d1d1, 0x00000000, 0xedededed, 0x20202020, 0xfcfcfcfc, 0xb1b1b1b1, 0x5b5b5b5b, 0x6a6a6a6a, 0xcbcbcbcb, 0xbebebebe, + 0x39393939, 0x4a4a4a4a, 0x4c4c4c4c, 0x58585858, 0xcfcfcfcf, 0xd0d0d0d0, 0xefefefef, 0xaaaaaaaa, 0xfbfbfbfb, 0x43434343, 0x4d4d4d4d, 0x33333333, 0x85858585, + 0x45454545, 0xf9f9f9f9, 0x02020202, 0x7f7f7f7f, 0x50505050, 0x3c3c3c3c, 0x9f9f9f9f, 0xa8a8a8a8, 0x51515151, 0xa3a3a3a3, 0x40404040, 0x8f8f8f8f, 0x92929292, + 0x9d9d9d9d, 0x38383838, 0xf5f5f5f5, 0xbcbcbcbc, 0xb6b6b6b6, 0xdadadada, 0x21212121, 0x10101010, 0xffffffff, 0xf3f3f3f3, 0xd2d2d2d2, 0xcdcdcdcd, 0x0c0c0c0c, + 0x13131313, 0xecececec, 0x5f5f5f5f, 0x97979797, 0x44444444, 0x17171717, 0xc4c4c4c4, 0xa7a7a7a7, 0x7e7e7e7e, 0x3d3d3d3d, 0x64646464, 0x5d5d5d5d, 0x19191919, + 0x73737373, 0x60606060, 0x81818181, 0x4f4f4f4f, 0xdcdcdcdc, 0x22222222, 0x2a2a2a2a, 0x90909090, 0x88888888, 0x46464646, 0xeeeeeeee, 0xb8b8b8b8, 0x14141414, + 0xdededede, 0x5e5e5e5e, 0x0b0b0b0b, 0xdbdbdbdb, 0xe0e0e0e0, 0x32323232, 0x3a3a3a3a, 0x0a0a0a0a, 0x49494949, 0x06060606, 0x24242424, 0x5c5c5c5c, 0xc2c2c2c2, + 0xd3d3d3d3, 0xacacacac, 0x62626262, 0x91919191, 0x95959595, 0xe4e4e4e4, 0x79797979, 0xe7e7e7e7, 0xc8c8c8c8, 0x37373737, 0x6d6d6d6d, 0x8d8d8d8d, 0xd5d5d5d5, + 0x4e4e4e4e, 0xa9a9a9a9, 0x6c6c6c6c, 0x56565656, 0xf4f4f4f4, 0xeaeaeaea, 0x65656565, 0x7a7a7a7a, 0xaeaeaeae, 0x08080808, 0xbabababa, 0x78787878, 0x25252525, + 0x2e2e2e2e, 0x1c1c1c1c, 0xa6a6a6a6, 0xb4b4b4b4, 0xc6c6c6c6, 0xe8e8e8e8, 0xdddddddd, 0x74747474, 0x1f1f1f1f, 0x4b4b4b4b, 0xbdbdbdbd, 0x8b8b8b8b, 0x8a8a8a8a, + 0x70707070, 0x3e3e3e3e, 0xb5b5b5b5, 0x66666666, 0x48484848, 0x03030303, 0xf6f6f6f6, 0x0e0e0e0e, 0x61616161, 0x35353535, 0x57575757, 0xb9b9b9b9, 0x86868686, + 0xc1c1c1c1, 0x1d1d1d1d, 0x9e9e9e9e, 0xe1e1e1e1, 0xf8f8f8f8, 0x98989898, 0x11111111, 0x69696969, 0xd9d9d9d9, 0x8e8e8e8e, 0x94949494, 0x9b9b9b9b, 0x1e1e1e1e, + 0x87878787, 0xe9e9e9e9, 0xcececece, 0x55555555, 0x28282828, 0xdfdfdfdf, 0x8c8c8c8c, 0xa1a1a1a1, 0x89898989, 0x0d0d0d0d, 0xbfbfbfbf, 0xe6e6e6e6, 0x42424242, + 0x68686868, 0x41414141, 0x99999999, 0x2d2d2d2d, 0x0f0f0f0f, 0xb0b0b0b0, 0x54545454, 0xbbbbbbbb, 0x16161616 }; const uint32_t AES::Td0[256] = { - 0x51f4a750, 0x7e416553, 0x1a17a4c3, 0x3a275e96, 0x3bab6bcb, 0x1f9d45f1, 0xacfa58ab, 0x4be30393, 0x2030fa55, - 0xad766df6, 0x88cc7691, 0xf5024c25, 0x4fe5d7fc, 0xc52acbd7, 0x26354480, 0xb562a38f, 0xdeb15a49, 0x25ba1b67, - 0x45ea0e98, 0x5dfec0e1, 0xc32f7502, 0x814cf012, 0x8d4697a3, 0x6bd3f9c6, 0x038f5fe7, 0x15929c95, 0xbf6d7aeb, - 0x955259da, 0xd4be832d, 0x587421d3, 0x49e06929, 0x8ec9c844, 0x75c2896a, 0xf48e7978, 0x99583e6b, 0x27b971dd, - 0xbee14fb6, 0xf088ad17, 0xc920ac66, 0x7dce3ab4, 0x63df4a18, 0xe51a3182, 0x97513360, 0x62537f45, 0xb16477e0, - 0xbb6bae84, 0xfe81a01c, 0xf9082b94, 0x70486858, 0x8f45fd19, 0x94de6c87, 0x527bf8b7, 0xab73d323, 0x724b02e2, - 0xe31f8f57, 0x6655ab2a, 0xb2eb2807, 0x2fb5c203, 0x86c57b9a, 0xd33708a5, 0x302887f2, 0x23bfa5b2, 0x02036aba, - 0xed16825c, 0x8acf1c2b, 0xa779b492, 0xf307f2f0, 0x4e69e2a1, 0x65daf4cd, 0x0605bed5, 0xd134621f, 0xc4a6fe8a, - 0x342e539d, 0xa2f355a0, 0x058ae132, 0xa4f6eb75, 0x0b83ec39, 0x4060efaa, 0x5e719f06, 0xbd6e1051, 0x3e218af9, - 0x96dd063d, 0xdd3e05ae, 0x4de6bd46, 0x91548db5, 0x71c45d05, 0x0406d46f, 0x605015ff, 0x1998fb24, 0xd6bde997, - 0x894043cc, 0x67d99e77, 0xb0e842bd, 0x07898b88, 0xe7195b38, 0x79c8eedb, 0xa17c0a47, 0x7c420fe9, 0xf8841ec9, - 0x00000000, 0x09808683, 0x322bed48, 0x1e1170ac, 0x6c5a724e, 0xfd0efffb, 0x0f853856, 0x3daed51e, 0x362d3927, - 0x0a0fd964, 0x685ca621, 0x9b5b54d1, 0x24362e3a, 0x0c0a67b1, 0x9357e70f, 0xb4ee96d2, 0x1b9b919e, 0x80c0c54f, - 0x61dc20a2, 0x5a774b69, 0x1c121a16, 0xe293ba0a, 0xc0a02ae5, 0x3c22e043, 0x121b171d, 0x0e090d0b, 0xf28bc7ad, - 0x2db6a8b9, 0x141ea9c8, 0x57f11985, 0xaf75074c, 0xee99ddbb, 0xa37f60fd, 0xf701269f, 0x5c72f5bc, 0x44663bc5, - 0x5bfb7e34, 0x8b432976, 0xcb23c6dc, 0xb6edfc68, 0xb8e4f163, 0xd731dcca, 0x42638510, 0x13972240, 0x84c61120, - 0x854a247d, 0xd2bb3df8, 0xaef93211, 0xc729a16d, 0x1d9e2f4b, 0xdcb230f3, 0x0d8652ec, 0x77c1e3d0, 0x2bb3166c, - 0xa970b999, 0x119448fa, 0x47e96422, 0xa8fc8cc4, 0xa0f03f1a, 0x567d2cd8, 0x223390ef, 0x87494ec7, 0xd938d1c1, - 0x8ccaa2fe, 0x98d40b36, 0xa6f581cf, 0xa57ade28, 0xdab78e26, 0x3fadbfa4, 0x2c3a9de4, 0x5078920d, 0x6a5fcc9b, - 0x547e4662, 0xf68d13c2, 0x90d8b8e8, 0x2e39f75e, 0x82c3aff5, 0x9f5d80be, 0x69d0937c, 0x6fd52da9, 0xcf2512b3, - 0xc8ac993b, 0x10187da7, 0xe89c636e, 0xdb3bbb7b, 0xcd267809, 0x6e5918f4, 0xec9ab701, 0x834f9aa8, 0xe6956e65, - 0xaaffe67e, 0x21bccf08, 0xef15e8e6, 0xbae79bd9, 0x4a6f36ce, 0xea9f09d4, 0x29b07cd6, 0x31a4b2af, 0x2a3f2331, - 0xc6a59430, 0x35a266c0, 0x744ebc37, 0xfc82caa6, 0xe090d0b0, 0x33a7d815, 0xf104984a, 0x41ecdaf7, 0x7fcd500e, - 0x1791f62f, 0x764dd68d, 0x43efb04d, 0xccaa4d54, 0xe49604df, 0x9ed1b5e3, 0x4c6a881b, 0xc12c1fb8, 0x4665517f, - 0x9d5eea04, 0x018c355d, 0xfa877473, 0xfb0b412e, 0xb3671d5a, 0x92dbd252, 0xe9105633, 0x6dd64713, 0x9ad7618c, - 0x37a10c7a, 0x59f8148e, 0xeb133c89, 0xcea927ee, 0xb761c935, 0xe11ce5ed, 0x7a47b13c, 0x9cd2df59, 0x55f2733f, - 0x1814ce79, 0x73c737bf, 0x53f7cdea, 0x5ffdaa5b, 0xdf3d6f14, 0x7844db86, 0xcaaff381, 0xb968c43e, 0x3824342c, - 0xc2a3405f, 0x161dc372, 0xbce2250c, 0x283c498b, 0xff0d9541, 0x39a80171, 0x080cb3de, 0xd8b4e49c, 0x6456c190, - 0x7bcb8461, 0xd532b670, 0x486c5c74, 0xd0b85742 + 0x51f4a750, 0x7e416553, 0x1a17a4c3, 0x3a275e96, 0x3bab6bcb, 0x1f9d45f1, 0xacfa58ab, 0x4be30393, 0x2030fa55, 0xad766df6, 0x88cc7691, 0xf5024c25, 0x4fe5d7fc, + 0xc52acbd7, 0x26354480, 0xb562a38f, 0xdeb15a49, 0x25ba1b67, 0x45ea0e98, 0x5dfec0e1, 0xc32f7502, 0x814cf012, 0x8d4697a3, 0x6bd3f9c6, 0x038f5fe7, 0x15929c95, + 0xbf6d7aeb, 0x955259da, 0xd4be832d, 0x587421d3, 0x49e06929, 0x8ec9c844, 0x75c2896a, 0xf48e7978, 0x99583e6b, 0x27b971dd, 0xbee14fb6, 0xf088ad17, 0xc920ac66, + 0x7dce3ab4, 0x63df4a18, 0xe51a3182, 0x97513360, 0x62537f45, 0xb16477e0, 0xbb6bae84, 0xfe81a01c, 0xf9082b94, 0x70486858, 0x8f45fd19, 0x94de6c87, 0x527bf8b7, + 0xab73d323, 0x724b02e2, 0xe31f8f57, 0x6655ab2a, 0xb2eb2807, 0x2fb5c203, 0x86c57b9a, 0xd33708a5, 0x302887f2, 0x23bfa5b2, 0x02036aba, 0xed16825c, 0x8acf1c2b, + 0xa779b492, 0xf307f2f0, 0x4e69e2a1, 0x65daf4cd, 0x0605bed5, 0xd134621f, 0xc4a6fe8a, 0x342e539d, 0xa2f355a0, 0x058ae132, 0xa4f6eb75, 0x0b83ec39, 0x4060efaa, + 0x5e719f06, 0xbd6e1051, 0x3e218af9, 0x96dd063d, 0xdd3e05ae, 0x4de6bd46, 0x91548db5, 0x71c45d05, 0x0406d46f, 0x605015ff, 0x1998fb24, 0xd6bde997, 0x894043cc, + 0x67d99e77, 0xb0e842bd, 0x07898b88, 0xe7195b38, 0x79c8eedb, 0xa17c0a47, 0x7c420fe9, 0xf8841ec9, 0x00000000, 0x09808683, 0x322bed48, 0x1e1170ac, 0x6c5a724e, + 0xfd0efffb, 0x0f853856, 0x3daed51e, 0x362d3927, 0x0a0fd964, 0x685ca621, 0x9b5b54d1, 0x24362e3a, 0x0c0a67b1, 0x9357e70f, 0xb4ee96d2, 0x1b9b919e, 0x80c0c54f, + 0x61dc20a2, 0x5a774b69, 0x1c121a16, 0xe293ba0a, 0xc0a02ae5, 0x3c22e043, 0x121b171d, 0x0e090d0b, 0xf28bc7ad, 0x2db6a8b9, 0x141ea9c8, 0x57f11985, 0xaf75074c, + 0xee99ddbb, 0xa37f60fd, 0xf701269f, 0x5c72f5bc, 0x44663bc5, 0x5bfb7e34, 0x8b432976, 0xcb23c6dc, 0xb6edfc68, 0xb8e4f163, 0xd731dcca, 0x42638510, 0x13972240, + 0x84c61120, 0x854a247d, 0xd2bb3df8, 0xaef93211, 0xc729a16d, 0x1d9e2f4b, 0xdcb230f3, 0x0d8652ec, 0x77c1e3d0, 0x2bb3166c, 0xa970b999, 0x119448fa, 0x47e96422, + 0xa8fc8cc4, 0xa0f03f1a, 0x567d2cd8, 0x223390ef, 0x87494ec7, 0xd938d1c1, 0x8ccaa2fe, 0x98d40b36, 0xa6f581cf, 0xa57ade28, 0xdab78e26, 0x3fadbfa4, 0x2c3a9de4, + 0x5078920d, 0x6a5fcc9b, 0x547e4662, 0xf68d13c2, 0x90d8b8e8, 0x2e39f75e, 0x82c3aff5, 0x9f5d80be, 0x69d0937c, 0x6fd52da9, 0xcf2512b3, 0xc8ac993b, 0x10187da7, + 0xe89c636e, 0xdb3bbb7b, 0xcd267809, 0x6e5918f4, 0xec9ab701, 0x834f9aa8, 0xe6956e65, 0xaaffe67e, 0x21bccf08, 0xef15e8e6, 0xbae79bd9, 0x4a6f36ce, 0xea9f09d4, + 0x29b07cd6, 0x31a4b2af, 0x2a3f2331, 0xc6a59430, 0x35a266c0, 0x744ebc37, 0xfc82caa6, 0xe090d0b0, 0x33a7d815, 0xf104984a, 0x41ecdaf7, 0x7fcd500e, 0x1791f62f, + 0x764dd68d, 0x43efb04d, 0xccaa4d54, 0xe49604df, 0x9ed1b5e3, 0x4c6a881b, 0xc12c1fb8, 0x4665517f, 0x9d5eea04, 0x018c355d, 0xfa877473, 0xfb0b412e, 0xb3671d5a, + 0x92dbd252, 0xe9105633, 0x6dd64713, 0x9ad7618c, 0x37a10c7a, 0x59f8148e, 0xeb133c89, 0xcea927ee, 0xb761c935, 0xe11ce5ed, 0x7a47b13c, 0x9cd2df59, 0x55f2733f, + 0x1814ce79, 0x73c737bf, 0x53f7cdea, 0x5ffdaa5b, 0xdf3d6f14, 0x7844db86, 0xcaaff381, 0xb968c43e, 0x3824342c, 0xc2a3405f, 0x161dc372, 0xbce2250c, 0x283c498b, + 0xff0d9541, 0x39a80171, 0x080cb3de, 0xd8b4e49c, 0x6456c190, 0x7bcb8461, 0xd532b670, 0x486c5c74, 0xd0b85742 }; const uint8_t AES::Td4[256] = { - 0x52, 0x09, 0x6a, 0xd5, 0x30, 0x36, 0xa5, 0x38, 0xbf, 0x40, 0xa3, 0x9e, 0x81, 0xf3, 0xd7, 0xfb, 0x7c, 0xe3, 0x39, - 0x82, 0x9b, 0x2f, 0xff, 0x87, 0x34, 0x8e, 0x43, 0x44, 0xc4, 0xde, 0xe9, 0xcb, 0x54, 0x7b, 0x94, 0x32, 0xa6, 0xc2, - 0x23, 0x3d, 0xee, 0x4c, 0x95, 0x0b, 0x42, 0xfa, 0xc3, 0x4e, 0x08, 0x2e, 0xa1, 0x66, 0x28, 0xd9, 0x24, 0xb2, 0x76, - 0x5b, 0xa2, 0x49, 0x6d, 0x8b, 0xd1, 0x25, 0x72, 0xf8, 0xf6, 0x64, 0x86, 0x68, 0x98, 0x16, 0xd4, 0x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0x20, 0x9a, 0xdb, 0xc0, 0xfe, 0x78, 0xcd, 0x5a, 0xf4, 0x1f, 0xdd, 0xa8, 0x33, 0x88, 0x07, 0xc7, 0x31, 0xb1, 0x12, 0x10, 0x59, 0x27, 0x80, 0xec, 0x5f, + 0x60, 0x51, 0x7f, 0xa9, 0x19, 0xb5, 0x4a, 0x0d, 0x2d, 0xe5, 0x7a, 0x9f, 0x93, 0xc9, 0x9c, 0xef, 0xa0, 0xe0, 0x3b, 0x4d, 0xae, 0x2a, 0xf5, 0xb0, 0xc8, 0xeb, + 0xbb, 0x3c, 0x83, 0x53, 0x99, 0x61, 0x17, 0x2b, 0x04, 0x7e, 0xba, 0x77, 0xd6, 0x26, 0xe1, 0x69, 0x14, 0x63, 0x55, 0x21, 0x0c, 0x7d }; -const uint32_t AES::rcon[15] = { 0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000, - 0x20000000, 0x40000000, 0x80000000, 0x1B000000, 0x36000000, - 0x6c000000, 0xd8000000, 0xab000000, 0x4d000000, 0x9a000000 }; +const uint32_t AES::rcon[15] = { 0x01000000, 0x02000000, 0x04000000, 0x08000000, 0x10000000, 0x20000000, 0x40000000, 0x80000000, + 0x1B000000, 0x36000000, 0x6c000000, 0xd8000000, 0xab000000, 0x4d000000, 0x9a000000 }; void AES::p_initSW(const uint8_t* key) noexcept { @@ -595,16 +551,16 @@ void AES::p_initSW(const uint8_t* key) noexcept rk[7] = Utils::loadBigEndian(key + 28); for (int i = 0;;) { uint32_t temp = rk[7]; - rk[8] = rk[0] ^ (Te2_r((temp >> 16U) & 0xffU) & 0xff000000U) ^ (Te3_r((temp >> 8U) & 0xffU) & 0x00ff0000U) - ^ (Te0[(temp)&0xffU] & 0x0000ff00U) ^ (Te1_r(temp >> 24U) & 0x000000ffU) ^ rcon[i]; + rk[8] = rk[0] ^ (Te2_r((temp >> 16U) & 0xffU) & 0xff000000U) ^ (Te3_r((temp >> 8U) & 0xffU) & 0x00ff0000U) ^ (Te0[(temp)&0xffU] & 0x0000ff00U) + ^ (Te1_r(temp >> 24U) & 0x000000ffU) ^ rcon[i]; rk[9] = rk[1] ^ rk[8]; rk[10] = rk[2] ^ rk[9]; rk[11] = rk[3] ^ rk[10]; if (++i == 7) break; temp = rk[11]; - rk[12] = rk[4] ^ (Te2_r(temp >> 24U) & 0xff000000U) ^ (Te3_r((temp >> 16U) & 0xffU) & 0x00ff0000U) - ^ (Te0[(temp >> 8U) & 0xffU] & 0x0000ff00U) ^ (Te1_r((temp)&0xffU) & 0x000000ffU); + rk[12] = rk[4] ^ (Te2_r(temp >> 24U) & 0xff000000U) ^ (Te3_r((temp >> 16U) & 0xffU) & 0x00ff0000U) ^ (Te0[(temp >> 8U) & 0xffU] & 0x0000ff00U) + ^ (Te1_r((temp)&0xffU) & 0x000000ffU); rk[13] = rk[5] ^ rk[12]; rk[14] = rk[6] ^ rk[13]; rk[15] = rk[7] ^ rk[14]; @@ -635,14 +591,14 @@ void AES::p_initSW(const uint8_t* key) noexcept } for (int i = 1; i < 14; ++i) { rk += 4; - rk[0] = Td0[Te4[(rk[0] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[0] >> 16U) & 0xffU] & 0xffU) - ^ Td2_r(Te4[(rk[0] >> 8U) & 0xffU] & 0xffU) ^ Td3_r(Te4[(rk[0]) & 0xffU] & 0xffU); - rk[1] = Td0[Te4[(rk[1] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[1] >> 16U) & 0xffU] & 0xffU) - ^ Td2_r(Te4[(rk[1] >> 8U) & 0xffU] & 0xffU) ^ Td3_r(Te4[(rk[1]) & 0xffU] & 0xffU); - rk[2] = Td0[Te4[(rk[2] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[2] >> 16U) & 0xffU] & 0xffU) - ^ Td2_r(Te4[(rk[2] >> 8U) & 0xffU] & 0xffU) ^ Td3_r(Te4[(rk[2]) & 0xffU] & 0xffU); - rk[3] = Td0[Te4[(rk[3] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[3] >> 16U) & 0xffU] & 0xffU) - ^ Td2_r(Te4[(rk[3] >> 8U) & 0xffU] & 0xffU) ^ Td3_r(Te4[(rk[3]) & 0xffU] & 0xffU); + rk[0] = Td0[Te4[(rk[0] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[0] >> 16U) & 0xffU] & 0xffU) ^ Td2_r(Te4[(rk[0] >> 8U) & 0xffU] & 0xffU) + ^ Td3_r(Te4[(rk[0]) & 0xffU] & 0xffU); + rk[1] = Td0[Te4[(rk[1] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[1] >> 16U) & 0xffU] & 0xffU) ^ Td2_r(Te4[(rk[1] >> 8U) & 0xffU] & 0xffU) + ^ Td3_r(Te4[(rk[1]) & 0xffU] & 0xffU); + rk[2] = Td0[Te4[(rk[2] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[2] >> 16U) & 0xffU] & 0xffU) ^ Td2_r(Te4[(rk[2] >> 8U) & 0xffU] & 0xffU) + ^ Td3_r(Te4[(rk[2]) & 0xffU] & 0xffU); + rk[3] = Td0[Te4[(rk[3] >> 24U)] & 0xffU] ^ Td1_r(Te4[(rk[3] >> 16U) & 0xffU] & 0xffU) ^ Td2_r(Te4[(rk[3] >> 8U) & 0xffU] & 0xffU) + ^ Td3_r(Te4[(rk[3]) & 0xffU] & 0xffU); } } @@ -711,14 +667,10 @@ void AES::p_encryptSW(const uint8_t* in, uint8_t* out) const noexcept t1 = Te0[s1 >> 24U] ^ Te1_r((s2 >> 16U) & m8) ^ Te2_r((s3 >> 8U) & m8) ^ Te3_r(s0 & m8) ^ rk[53]; t2 = Te0[s2 >> 24U] ^ Te1_r((s3 >> 16U) & m8) ^ Te2_r((s0 >> 8U) & m8) ^ Te3_r(s1 & m8) ^ rk[54]; t3 = Te0[s3 >> 24U] ^ Te1_r((s0 >> 16U) & m8) ^ Te2_r((s1 >> 8U) & m8) ^ Te3_r(s2 & m8) ^ rk[55]; - s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) - ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; - s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) - ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; - s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) - ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; - s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) - ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; + s0 = (Te2_r(t0 >> 24U) & m8_24) ^ (Te3_r((t1 >> 16U) & m8) & m8_16) ^ (Te0[(t2 >> 8U) & m8] & m8_8) ^ (Te1_r(t3 & m8) & m8) ^ rk[56]; + s1 = (Te2_r(t1 >> 24U) & m8_24) ^ (Te3_r((t2 >> 16U) & m8) & m8_16) ^ (Te0[(t3 >> 8U) & m8] & m8_8) ^ (Te1_r(t0 & m8) & m8) ^ rk[57]; + s2 = (Te2_r(t2 >> 24U) & m8_24) ^ (Te3_r((t3 >> 16U) & m8) & m8_16) ^ (Te0[(t0 >> 8U) & m8] & m8_8) ^ (Te1_r(t1 & m8) & m8) ^ rk[58]; + s3 = (Te2_r(t3 >> 24U) & m8_24) ^ (Te3_r((t0 >> 16U) & m8) & m8_16) ^ (Te0[(t1 >> 8U) & m8] & m8_8) ^ (Te1_r(t2 & m8) & m8) ^ rk[59]; Utils::storeBigEndian(out, s0); Utils::storeBigEndian(out + 4, s1); @@ -788,14 +740,10 @@ void AES::p_decryptSW(const uint8_t* in, uint8_t* out) const noexcept t1 = Td0[s1 >> 24U] ^ Td1_r((s0 >> 16U) & m8) ^ Td2_r((s3 >> 8U) & m8) ^ Td3_r(s2 & m8) ^ rk[53]; t2 = Td0[s2 >> 24U] ^ Td1_r((s1 >> 16U) & m8) ^ Td2_r((s0 >> 8U) & m8) ^ Td3_r(s3 & m8) ^ rk[54]; t3 = Td0[s3 >> 24U] ^ Td1_r((s2 >> 16U) & m8) ^ Td2_r((s1 >> 8U) & m8) ^ Td3_r(s0 & m8) ^ rk[55]; - s0 = (Td4[t0 >> 24U] << 24U) ^ (Td4[(t3 >> 16U) & m8] << 16U) ^ (Td4[(t2 >> 8U) & m8] << 8U) ^ (Td4[(t1)&m8]) - ^ rk[56]; - s1 = (Td4[t1 >> 24U] << 24U) ^ (Td4[(t0 >> 16U) & m8] << 16U) ^ (Td4[(t3 >> 8U) & m8] << 8U) ^ (Td4[(t2)&m8]) - ^ rk[57]; - s2 = (Td4[t2 >> 24U] << 24U) ^ (Td4[(t1 >> 16U) & m8] << 16U) ^ (Td4[(t0 >> 8U) & m8] << 8U) ^ (Td4[(t3)&m8]) - ^ rk[58]; - s3 = (Td4[t3 >> 24U] << 24U) ^ (Td4[(t2 >> 16U) & m8] << 16U) ^ (Td4[(t1 >> 8U) & m8] << 8U) ^ (Td4[(t0)&m8]) - ^ rk[59]; + s0 = (Td4[t0 >> 24U] << 24U) ^ (Td4[(t3 >> 16U) & m8] << 16U) ^ (Td4[(t2 >> 8U) & m8] << 8U) ^ (Td4[(t1)&m8]) ^ rk[56]; + s1 = (Td4[t1 >> 24U] << 24U) ^ (Td4[(t0 >> 16U) & m8] << 16U) ^ (Td4[(t3 >> 8U) & m8] << 8U) ^ (Td4[(t2)&m8]) ^ rk[57]; + s2 = (Td4[t2 >> 24U] << 24U) ^ (Td4[(t1 >> 16U) & m8] << 16U) ^ (Td4[(t0 >> 8U) & m8] << 8U) ^ (Td4[(t3)&m8]) ^ rk[58]; + s3 = (Td4[t3 >> 24U] << 24U) ^ (Td4[(t2 >> 16U) & m8] << 16U) ^ (Td4[(t1 >> 8U) & m8] << 8U) ^ (Td4[(t0)&m8]) ^ rk[59]; Utils::storeBigEndian(out, s0); Utils::storeBigEndian(out + 4, s1); diff --git a/core/AES_aesni.cpp b/core/AES_aesni.cpp index 801bfc99e..bc3b85ed4 100644 --- a/core/AES_aesni.cpp +++ b/core/AES_aesni.cpp @@ -47,15 +47,11 @@ p_gmacPCLMUL128(const __m128i h, __m128i y) noexcept t4 = _mm_xor_si128(t4, t2); __m128i t5 = _mm_srli_epi32(t1, 31); t1 = _mm_or_si128(_mm_slli_epi32(t1, 1), _mm_slli_si128(t5, 4)); - t4 = _mm_or_si128( - _mm_or_si128(_mm_slli_epi32(t4, 1), _mm_slli_si128(_mm_srli_epi32(t4, 31), 4)), - _mm_srli_si128(t5, 12)); + t4 = _mm_or_si128(_mm_or_si128(_mm_slli_epi32(t4, 1), _mm_slli_si128(_mm_srli_epi32(t4, 31), 4)), _mm_srli_si128(t5, 12)); t5 = _mm_xor_si128(_mm_xor_si128(_mm_slli_epi32(t1, 31), _mm_slli_epi32(t1, 30)), _mm_slli_epi32(t1, 25)); t1 = _mm_xor_si128(t1, _mm_slli_si128(t5, 12)); t4 = _mm_xor_si128( - _mm_xor_si128( - _mm_xor_si128(_mm_xor_si128(_mm_xor_si128(t4, _mm_srli_si128(t5, 4)), t1), _mm_srli_epi32(t1, 2)), - _mm_srli_epi32(t1, 7)), + _mm_xor_si128(_mm_xor_si128(_mm_xor_si128(_mm_xor_si128(t4, _mm_srli_si128(t5, 4)), t1), _mm_srli_epi32(t1, 2)), _mm_srli_epi32(t1, 7)), _mm_srli_epi32(t1, 1)); return _mm_shuffle_epi8(t4, s_sseSwapBytes); } @@ -148,16 +144,8 @@ void p_aesCtrInnerVAES256(unsigned int &len, const uint64_t c0, uint64_t &c1, co do { __m256i p0 = _mm256_loadu_si256(reinterpret_cast(in)); __m256i p1 = _mm256_loadu_si256(reinterpret_cast(in + 32)); - __m256i d0 = _mm256_set_epi64x( - (long long)Utils::hton(c1 + 1ULL), - (long long)c0, - (long long)Utils::hton(c1), - (long long)c0); - __m256i d1 = _mm256_set_epi64x( - (long long)Utils::hton(c1 + 3ULL), - (long long)c0, - (long long)Utils::hton(c1 + 2ULL), - (long long)c0); + __m256i d0 = _mm256_set_epi64x((long long)Utils::hton(c1 + 1ULL), (long long)c0, (long long)Utils::hton(c1), (long long)c0); + __m256i d1 = _mm256_set_epi64x((long long)Utils::hton(c1 + 3ULL), (long long)c0, (long long)Utils::hton(c1 + 2ULL), (long long)c0); c1 += 4; in += 64; len -= 64; @@ -253,9 +241,7 @@ void AES::GMAC::p_aesNIUpdate(const uint8_t *in, unsigned int len) noexcept --len; _r[_rp++] = *(in++); if (_rp == 16) { - y = p_gmacPCLMUL128( - _aes.p_k.ni.h[0], - _mm_xor_si128(y, _mm_loadu_si128(reinterpret_cast<__m128i*>(_r)))); + y = p_gmacPCLMUL128(_aes.p_k.ni.h[0], _mm_xor_si128(y, _mm_loadu_si128(reinterpret_cast<__m128i*>(_r)))); break; } } @@ -298,18 +284,14 @@ void AES::GMAC::p_aesNIUpdate(const uint8_t *in, unsigned int len) noexcept b = _mm_xor_si128(_mm_srli_si128(c, 8), b); c = _mm_srli_epi32(a, 31); a = _mm_or_si128(_mm_slli_epi32(a, 1), _mm_slli_si128(c, 4)); - b = _mm_or_si128( - _mm_or_si128(_mm_slli_epi32(b, 1), _mm_slli_si128(_mm_srli_epi32(b, 31), 4)), - _mm_srli_si128(c, 12)); + b = _mm_or_si128(_mm_or_si128(_mm_slli_epi32(b, 1), _mm_slli_si128(_mm_srli_epi32(b, 31), 4)), _mm_srli_si128(c, 12)); c = _mm_xor_si128(_mm_slli_epi32(a, 31), _mm_xor_si128(_mm_slli_epi32(a, 30), _mm_slli_epi32(a, 25))); a = _mm_xor_si128(a, _mm_slli_si128(c, 12)); b = _mm_xor_si128( b, _mm_xor_si128( a, - _mm_xor_si128( - _mm_xor_si128(_mm_srli_epi32(a, 1), _mm_srli_si128(c, 4)), - _mm_xor_si128(_mm_srli_epi32(a, 2), _mm_srli_epi32(a, 7))))); + _mm_xor_si128(_mm_xor_si128(_mm_srli_epi32(a, 1), _mm_srli_si128(c, 4)), _mm_xor_si128(_mm_srli_epi32(a, 2), _mm_srli_epi32(a, 7))))); y = _mm_shuffle_epi8(b, sb); } while (likely(in != end64)); } @@ -555,15 +537,9 @@ void AES::CTR::p_aesNICrypt(const uint8_t *in, uint8_t *out, unsigned int len) n d2 = _mm_aesenc_si128(d2, k13); d3 = _mm_aesenc_si128(d3, k13); d0 = _mm_xor_si128(_mm_aesenclast_si128(d0, k14), _mm_loadu_si128(reinterpret_cast(in))); - d1 = _mm_xor_si128( - _mm_aesenclast_si128(d1, k14), - _mm_loadu_si128(reinterpret_cast(in + 16))); - d2 = _mm_xor_si128( - _mm_aesenclast_si128(d2, k14), - _mm_loadu_si128(reinterpret_cast(in + 32))); - d3 = _mm_xor_si128( - _mm_aesenclast_si128(d3, k14), - _mm_loadu_si128(reinterpret_cast(in + 48))); + d1 = _mm_xor_si128(_mm_aesenclast_si128(d1, k14), _mm_loadu_si128(reinterpret_cast(in + 16))); + d2 = _mm_xor_si128(_mm_aesenclast_si128(d2, k14), _mm_loadu_si128(reinterpret_cast(in + 32))); + d3 = _mm_xor_si128(_mm_aesenclast_si128(d3, k14), _mm_loadu_si128(reinterpret_cast(in + 48))); in += 64; _mm_storeu_si128(reinterpret_cast<__m128i*>(out), d0); _mm_storeu_si128(reinterpret_cast<__m128i*>(out + 16), d1); @@ -590,9 +566,7 @@ skip_conventional_aesni_64: d0 = _mm_aesenc_si128(d0, k11); d0 = _mm_aesenc_si128(d0, k12); d0 = _mm_aesenc_si128(d0, k13); - _mm_storeu_si128( - reinterpret_cast<__m128i*>(out), - _mm_xor_si128(_mm_aesenclast_si128(d0, k14), _mm_loadu_si128(reinterpret_cast(in)))); + _mm_storeu_si128(reinterpret_cast<__m128i*>(out), _mm_xor_si128(_mm_aesenclast_si128(d0, k14), _mm_loadu_si128(reinterpret_cast(in)))); in += 16; len -= 16; out += 16; diff --git a/core/AES_armcrypto.cpp b/core/AES_armcrypto.cpp index 3c9d2a770..974db0f0f 100644 --- a/core/AES_armcrypto.cpp +++ b/core/AES_armcrypto.cpp @@ -298,9 +298,9 @@ void AES::CTR::p_armCrypt(const uint8_t* in, uint8_t* out, unsigned int len) noe vst1q_u8(reinterpret_cast(_ctr), vrev32q_u8(dd)); } -#define ZT_INIT_ARMNEON_CRYPTO_SUBWORD(w) \ - ((uint32_t)s_sbox[w & 0xffU] + ((uint32_t)s_sbox[(w >> 8U) & 0xffU] << 8U) \ - + ((uint32_t)s_sbox[(w >> 16U) & 0xffU] << 16U) + ((uint32_t)s_sbox[(w >> 24U) & 0xffU] << 24U)) +#define ZT_INIT_ARMNEON_CRYPTO_SUBWORD(w) \ + ((uint32_t)s_sbox[w & 0xffU] + ((uint32_t)s_sbox[(w >> 8U) & 0xffU] << 8U) + ((uint32_t)s_sbox[(w >> 16U) & 0xffU] << 16U) \ + + ((uint32_t)s_sbox[(w >> 24U) & 0xffU] << 24U)) #define ZT_INIT_ARMNEON_CRYPTO_ROTWORD(w) (((w) << 8U) | ((w) >> 24U)) #define ZT_INIT_ARMNEON_CRYPTO_NK 8 #define ZT_INIT_ARMNEON_CRYPTO_NB 4 @@ -308,40 +308,33 @@ void AES::CTR::p_armCrypt(const uint8_t* in, uint8_t* out, unsigned int len) noe void AES::p_init_armneon_crypto(const uint8_t* key) noexcept { - static const uint8_t s_sbox[256] = { - 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, - 0xc9, 0x7d, 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, 0xb7, 0xfd, 0x93, 0x26, - 0x36, 0x3f, 0xf7, 0xcc, 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15, 0x04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94, 0x9b, 0x1e, - 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf, 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, - 0xb0, 0x54, 0xbb, 0x16 - }; + static const uint8_t s_sbox[256] = { 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, 0xc9, 0x7d, + 0xfa, 0x59, 0x47, 0xf0, 0xad, 0xd4, 0xa2, 0xaf, 0x9c, 0xa4, 0x72, 0xc0, 0xb7, 0xfd, 0x93, 0x26, 0x36, 0x3f, 0xf7, 0xcc, + 0x34, 0xa5, 0xe5, 0xf1, 0x71, 0xd8, 0x31, 0x15, 0x04, 0xc7, 0x23, 0xc3, 0x18, 0x96, 0x05, 0x9a, 0x07, 0x12, 0x80, 0xe2, + 0xeb, 0x27, 0xb2, 0x75, 0x09, 0x83, 0x2c, 0x1a, 0x1b, 0x6e, 0x5a, 0xa0, 0x52, 0x3b, 0xd6, 0xb3, 0x29, 0xe3, 0x2f, 0x84, + 0x53, 0xd1, 0x00, 0xed, 0x20, 0xfc, 0xb1, 0x5b, 0x6a, 0xcb, 0xbe, 0x39, 0x4a, 0x4c, 0x58, 0xcf, 0xd0, 0xef, 0xaa, 0xfb, + 0x43, 0x4d, 0x33, 0x85, 0x45, 0xf9, 0x02, 0x7f, 0x50, 0x3c, 0x9f, 0xa8, 0x51, 0xa3, 0x40, 0x8f, 0x92, 0x9d, 0x38, 0xf5, + 0xbc, 0xb6, 0xda, 0x21, 0x10, 0xff, 0xf3, 0xd2, 0xcd, 0x0c, 0x13, 0xec, 0x5f, 0x97, 0x44, 0x17, 0xc4, 0xa7, 0x7e, 0x3d, + 0x64, 0x5d, 0x19, 0x73, 0x60, 0x81, 0x4f, 0xdc, 0x22, 0x2a, 0x90, 0x88, 0x46, 0xee, 0xb8, 0x14, 0xde, 0x5e, 0x0b, 0xdb, + 0xe0, 0x32, 0x3a, 0x0a, 0x49, 0x06, 0x24, 0x5c, 0xc2, 0xd3, 0xac, 0x62, 0x91, 0x95, 0xe4, 0x79, 0xe7, 0xc8, 0x37, 0x6d, + 0x8d, 0xd5, 0x4e, 0xa9, 0x6c, 0x56, 0xf4, 0xea, 0x65, 0x7a, 0xae, 0x08, 0xba, 0x78, 0x25, 0x2e, 0x1c, 0xa6, 0xb4, 0xc6, + 0xe8, 0xdd, 0x74, 0x1f, 0x4b, 0xbd, 0x8b, 0x8a, 0x70, 0x3e, 0xb5, 0x66, 0x48, 0x03, 0xf6, 0x0e, 0x61, 0x35, 0x57, 0xb9, + 0x86, 0xc1, 0x1d, 0x9e, 0xe1, 0xf8, 0x98, 0x11, 0x69, 0xd9, 0x8e, 0x94, 0x9b, 0x1e, 0x87, 0xe9, 0xce, 0x55, 0x28, 0xdf, + 0x8c, 0xa1, 0x89, 0x0d, 0xbf, 0xe6, 0x42, 0x68, 0x41, 0x99, 0x2d, 0x0f, 0xb0, 0x54, 0xbb, 0x16 }; uint64_t h[2]; uint32_t* const w = reinterpret_cast(p_k.neon.ek); for (unsigned int i = 0; i < ZT_INIT_ARMNEON_CRYPTO_NK; ++i) { const unsigned int j = i * 4; - w[i] = ((uint32_t)key[j] << 24U) | ((uint32_t)key[j + 1] << 16U) | ((uint32_t)key[j + 2] << 8U) - | (uint32_t)key[j + 3]; + w[i] = ((uint32_t)key[j] << 24U) | ((uint32_t)key[j + 1] << 16U) | ((uint32_t)key[j + 2] << 8U) | (uint32_t)key[j + 3]; } - for (unsigned int i = ZT_INIT_ARMNEON_CRYPTO_NK; i < (ZT_INIT_ARMNEON_CRYPTO_NB * (ZT_INIT_ARMNEON_CRYPTO_NR + 1)); - ++i) { + for (unsigned int i = ZT_INIT_ARMNEON_CRYPTO_NK; i < (ZT_INIT_ARMNEON_CRYPTO_NB * (ZT_INIT_ARMNEON_CRYPTO_NR + 1)); ++i) { uint32_t t = w[i - 1]; const unsigned int imod = i & (ZT_INIT_ARMNEON_CRYPTO_NK - 1); if (imod == 0) { - t = ZT_INIT_ARMNEON_CRYPTO_SUBWORD(ZT_INIT_ARMNEON_CRYPTO_ROTWORD(t)) - ^ rcon[(i - 1) / ZT_INIT_ARMNEON_CRYPTO_NK]; + t = ZT_INIT_ARMNEON_CRYPTO_SUBWORD(ZT_INIT_ARMNEON_CRYPTO_ROTWORD(t)) ^ rcon[(i - 1) / ZT_INIT_ARMNEON_CRYPTO_NK]; } else if (imod == 4) { t = ZT_INIT_ARMNEON_CRYPTO_SUBWORD(t); diff --git a/core/Address.hpp b/core/Address.hpp index eaef43dd2..8914b3942 100644 --- a/core/Address.hpp +++ b/core/Address.hpp @@ -39,8 +39,7 @@ class Address : public TriviallyCopyable { } explicit ZT_INLINE Address(const uint8_t b[5]) noexcept - : _a(((uint64_t)b[0] << 32U) | ((uint64_t)b[1] << 24U) | ((uint64_t)b[2] << 16U) | ((uint64_t)b[3] << 8U) - | (uint64_t)b[4]) + : _a(((uint64_t)b[0] << 32U) | ((uint64_t)b[1] << 24U) | ((uint64_t)b[2] << 16U) | ((uint64_t)b[3] << 8U) | (uint64_t)b[4]) { } @@ -56,8 +55,7 @@ class Address : public TriviallyCopyable { */ ZT_INLINE void setTo(const uint8_t b[5]) noexcept { - _a = ((uint64_t)b[0] << 32U) | ((uint64_t)b[1] << 24U) | ((uint64_t)b[2] << 16U) | ((uint64_t)b[3] << 8U) - | (uint64_t)b[4]; + _a = ((uint64_t)b[0] << 32U) | ((uint64_t)b[1] << 24U) | ((uint64_t)b[2] << 16U) | ((uint64_t)b[3] << 8U) | (uint64_t)b[4]; } /** diff --git a/core/Buf.hpp b/core/Buf.hpp index 63778ac03..7e7c1dbb7 100644 --- a/core/Buf.hpp +++ b/core/Buf.hpp @@ -211,8 +211,7 @@ class Buf { * @tparam F Type of copyFunction (typically inferred) * @return Size of data in destination or -1 on error */ - template - ZT_INLINE int mergeMap(Buf& b, const unsigned int simpleCopyBefore, F copyFunction) const noexcept + template ZT_INLINE int mergeMap(Buf& b, const unsigned int simpleCopyBefore, F copyFunction) const noexcept { unsigned int size = 0; for (PacketVector::const_iterator s(begin()); s != end(); ++s) { @@ -349,9 +348,7 @@ class Buf { const unsigned int s = (unsigned int)ii & ZT_BUF_MEM_MASK; ii += 4; #ifdef ZT_NO_UNALIGNED_ACCESS - return ( - ((uint32_t)unsafeData[s] << 24U) | ((uint32_t)unsafeData[s + 1] << 16U) - | ((uint32_t)unsafeData[s + 2] << 8U) | (uint32_t)unsafeData[s + 3]); + return (((uint32_t)unsafeData[s] << 24U) | ((uint32_t)unsafeData[s + 1] << 16U) | ((uint32_t)unsafeData[s + 2] << 8U) | (uint32_t)unsafeData[s + 3]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + s)); #endif @@ -369,9 +366,8 @@ class Buf { ii += 8; #ifdef ZT_NO_UNALIGNED_ACCESS return ( - ((uint64_t)unsafeData[s] << 56U) | ((uint64_t)unsafeData[s + 1] << 48U) - | ((uint64_t)unsafeData[s + 2] << 40U) | ((uint64_t)unsafeData[s + 3] << 32U) - | ((uint64_t)unsafeData[s + 4] << 24U) | ((uint64_t)unsafeData[s + 5] << 16U) + ((uint64_t)unsafeData[s] << 56U) | ((uint64_t)unsafeData[s + 1] << 48U) | ((uint64_t)unsafeData[s + 2] << 40U) + | ((uint64_t)unsafeData[s + 3] << 32U) | ((uint64_t)unsafeData[s + 4] << 24U) | ((uint64_t)unsafeData[s + 5] << 16U) | ((uint64_t)unsafeData[s + 6] << 8U) | (uint64_t)unsafeData[s + 7]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + s)); @@ -531,9 +527,7 @@ class Buf { { static_assert((I + 3) < ZT_BUF_MEM_SIZE, "overflow"); #ifdef ZT_NO_UNALIGNED_ACCESS - return ( - ((uint32_t)unsafeData[I] << 24U) | ((uint32_t)unsafeData[I + 1] << 16U) - | ((uint32_t)unsafeData[I + 2] << 8U) | (uint32_t)unsafeData[I + 3]); + return (((uint32_t)unsafeData[I] << 24U) | ((uint32_t)unsafeData[I + 1] << 16U) | ((uint32_t)unsafeData[I + 2] << 8U) | (uint32_t)unsafeData[I + 3]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + I)); #endif @@ -550,9 +544,8 @@ class Buf { static_assert((I + 7) < ZT_BUF_MEM_SIZE, "overflow"); #ifdef ZT_NO_UNALIGNED_ACCESS return ( - ((uint64_t)unsafeData[I] << 56U) | ((uint64_t)unsafeData[I + 1] << 48U) - | ((uint64_t)unsafeData[I + 2] << 40U) | ((uint64_t)unsafeData[I + 3] << 32U) - | ((uint64_t)unsafeData[I + 4] << 24U) | ((uint64_t)unsafeData[I + 5] << 16U) + ((uint64_t)unsafeData[I] << 56U) | ((uint64_t)unsafeData[I + 1] << 48U) | ((uint64_t)unsafeData[I + 2] << 40U) + | ((uint64_t)unsafeData[I + 3] << 32U) | ((uint64_t)unsafeData[I + 4] << 24U) | ((uint64_t)unsafeData[I + 5] << 16U) | ((uint64_t)unsafeData[I + 6] << 8U) | (uint64_t)unsafeData[I + 7]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + I)); @@ -599,9 +592,7 @@ class Buf { { const unsigned int s = (unsigned int)ii & ZT_BUF_MEM_MASK; #ifdef ZT_NO_UNALIGNED_ACCESS - return ( - ((uint32_t)unsafeData[s] << 24U) | ((uint32_t)unsafeData[s + 1] << 16U) - | ((uint32_t)unsafeData[s + 2] << 8U) | (uint32_t)unsafeData[s + 3]); + return (((uint32_t)unsafeData[s] << 24U) | ((uint32_t)unsafeData[s + 1] << 16U) | ((uint32_t)unsafeData[s + 2] << 8U) | (uint32_t)unsafeData[s + 3]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + s)); #endif @@ -619,9 +610,8 @@ class Buf { const unsigned int s = (unsigned int)ii & ZT_BUF_MEM_MASK; #ifdef ZT_NO_UNALIGNED_ACCESS return ( - ((uint64_t)unsafeData[s] << 56U) | ((uint64_t)unsafeData[s + 1] << 48U) - | ((uint64_t)unsafeData[s + 2] << 40U) | ((uint64_t)unsafeData[s + 3] << 32U) - | ((uint64_t)unsafeData[s + 4] << 24U) | ((uint64_t)unsafeData[s + 5] << 16U) + ((uint64_t)unsafeData[s] << 56U) | ((uint64_t)unsafeData[s + 1] << 48U) | ((uint64_t)unsafeData[s + 2] << 40U) + | ((uint64_t)unsafeData[s + 3] << 32U) | ((uint64_t)unsafeData[s + 4] << 24U) | ((uint64_t)unsafeData[s + 5] << 16U) | ((uint64_t)unsafeData[s + 6] << 8U) | (uint64_t)unsafeData[s + 7]); #else return Utils::ntoh(*reinterpret_cast(unsafeData + s)); diff --git a/core/C25519.cpp b/core/C25519.cpp index 408c95e62..f2c775fff 100644 --- a/core/C25519.cpp +++ b/core/C25519.cpp @@ -62,62 +62,49 @@ void fproduct(limb* output, const limb* in2, const limb* in) { output[0] = ((limb)((s32)in2[0])) * ((s32)in[0]); output[1] = ((limb)((s32)in2[0])) * ((s32)in[1]) + ((limb)((s32)in2[1])) * ((s32)in[0]); - output[2] = 2 * ((limb)((s32)in2[1])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[2]) - + ((limb)((s32)in2[2])) * ((s32)in[0]); - output[3] = ((limb)((s32)in2[1])) * ((s32)in[2]) + ((limb)((s32)in2[2])) * ((s32)in[1]) - + ((limb)((s32)in2[0])) * ((s32)in[3]) + ((limb)((s32)in2[3])) * ((s32)in[0]); - output[4] = ((limb)((s32)in2[2])) * ((s32)in[2]) - + 2 * (((limb)((s32)in2[1])) * ((s32)in[3]) + ((limb)((s32)in2[3])) * ((s32)in[1])) + output[2] = 2 * ((limb)((s32)in2[1])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[2]) + ((limb)((s32)in2[2])) * ((s32)in[0]); + output[3] = ((limb)((s32)in2[1])) * ((s32)in[2]) + ((limb)((s32)in2[2])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[3]) + + ((limb)((s32)in2[3])) * ((s32)in[0]); + output[4] = ((limb)((s32)in2[2])) * ((s32)in[2]) + 2 * (((limb)((s32)in2[1])) * ((s32)in[3]) + ((limb)((s32)in2[3])) * ((s32)in[1])) + ((limb)((s32)in2[0])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[0]); - output[5] = ((limb)((s32)in2[2])) * ((s32)in[3]) + ((limb)((s32)in2[3])) * ((s32)in[2]) - + ((limb)((s32)in2[1])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[1]) - + ((limb)((s32)in2[0])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[0]); - output[6] = 2 - * (((limb)((s32)in2[3])) * ((s32)in[3]) + ((limb)((s32)in2[1])) * ((s32)in[5]) - + ((limb)((s32)in2[5])) * ((s32)in[1])) - + ((limb)((s32)in2[2])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[2]) - + ((limb)((s32)in2[0])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[0]); - output[7] = ((limb)((s32)in2[3])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[3]) - + ((limb)((s32)in2[2])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[2]) - + ((limb)((s32)in2[1])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[1]) + output[5] = ((limb)((s32)in2[2])) * ((s32)in[3]) + ((limb)((s32)in2[3])) * ((s32)in[2]) + ((limb)((s32)in2[1])) * ((s32)in[4]) + + ((limb)((s32)in2[4])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[0]); + output[6] = 2 * (((limb)((s32)in2[3])) * ((s32)in[3]) + ((limb)((s32)in2[1])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[1])) + + ((limb)((s32)in2[2])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[2]) + ((limb)((s32)in2[0])) * ((s32)in[6]) + + ((limb)((s32)in2[6])) * ((s32)in[0]); + output[7] = ((limb)((s32)in2[3])) * ((s32)in[4]) + ((limb)((s32)in2[4])) * ((s32)in[3]) + ((limb)((s32)in2[2])) * ((s32)in[5]) + + ((limb)((s32)in2[5])) * ((s32)in[2]) + ((limb)((s32)in2[1])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[0]); output[8] = ((limb)((s32)in2[4])) * ((s32)in[4]) + 2 - * (((limb)((s32)in2[3])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[3]) - + ((limb)((s32)in2[1])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[1])) - + ((limb)((s32)in2[2])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[2]) - + ((limb)((s32)in2[0])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[0]); - output[9] = ((limb)((s32)in2[4])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[4]) - + ((limb)((s32)in2[3])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[3]) - + ((limb)((s32)in2[2])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[2]) - + ((limb)((s32)in2[1])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[1]) - + ((limb)((s32)in2[0])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[0]); + * (((limb)((s32)in2[3])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[3]) + ((limb)((s32)in2[1])) * ((s32)in[7]) + + ((limb)((s32)in2[7])) * ((s32)in[1])) + + ((limb)((s32)in2[2])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[2]) + ((limb)((s32)in2[0])) * ((s32)in[8]) + + ((limb)((s32)in2[8])) * ((s32)in[0]); + output[9] = ((limb)((s32)in2[4])) * ((s32)in[5]) + ((limb)((s32)in2[5])) * ((s32)in[4]) + ((limb)((s32)in2[3])) * ((s32)in[6]) + + ((limb)((s32)in2[6])) * ((s32)in[3]) + ((limb)((s32)in2[2])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[2]) + + ((limb)((s32)in2[1])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[1]) + ((limb)((s32)in2[0])) * ((s32)in[9]) + + ((limb)((s32)in2[9])) * ((s32)in[0]); output[10] = 2 - * (((limb)((s32)in2[5])) * ((s32)in[5]) + ((limb)((s32)in2[3])) * ((s32)in[7]) - + ((limb)((s32)in2[7])) * ((s32)in[3]) + ((limb)((s32)in2[1])) * ((s32)in[9]) - + ((limb)((s32)in2[9])) * ((s32)in[1])) - + ((limb)((s32)in2[4])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[4]) - + ((limb)((s32)in2[2])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[2]); - output[11] = ((limb)((s32)in2[5])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[5]) - + ((limb)((s32)in2[4])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[4]) - + ((limb)((s32)in2[3])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[3]) + * (((limb)((s32)in2[5])) * ((s32)in[5]) + ((limb)((s32)in2[3])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[3]) + + ((limb)((s32)in2[1])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[1])) + + ((limb)((s32)in2[4])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[4]) + ((limb)((s32)in2[2])) * ((s32)in[8]) + + ((limb)((s32)in2[8])) * ((s32)in[2]); + output[11] = ((limb)((s32)in2[5])) * ((s32)in[6]) + ((limb)((s32)in2[6])) * ((s32)in[5]) + ((limb)((s32)in2[4])) * ((s32)in[7]) + + ((limb)((s32)in2[7])) * ((s32)in[4]) + ((limb)((s32)in2[3])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[3]) + ((limb)((s32)in2[2])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[2]); output[12] = ((limb)((s32)in2[6])) * ((s32)in[6]) + 2 - * (((limb)((s32)in2[5])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[5]) - + ((limb)((s32)in2[3])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[3])) + * (((limb)((s32)in2[5])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[5]) + ((limb)((s32)in2[3])) * ((s32)in[9]) + + ((limb)((s32)in2[9])) * ((s32)in[3])) + ((limb)((s32)in2[4])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[4]); - output[13] = ((limb)((s32)in2[6])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[6]) - + ((limb)((s32)in2[5])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[5]) - + ((limb)((s32)in2[4])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[4]); - output[14] = 2 - * (((limb)((s32)in2[7])) * ((s32)in[7]) + ((limb)((s32)in2[5])) * ((s32)in[9]) - + ((limb)((s32)in2[9])) * ((s32)in[5])) + output[13] = ((limb)((s32)in2[6])) * ((s32)in[7]) + ((limb)((s32)in2[7])) * ((s32)in[6]) + ((limb)((s32)in2[5])) * ((s32)in[8]) + + ((limb)((s32)in2[8])) * ((s32)in[5]) + ((limb)((s32)in2[4])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[4]); + output[14] = 2 * (((limb)((s32)in2[7])) * ((s32)in[7]) + ((limb)((s32)in2[5])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[5])) + ((limb)((s32)in2[6])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[6]); - output[15] = ((limb)((s32)in2[7])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[7]) - + ((limb)((s32)in2[6])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[6]); - output[16] = ((limb)((s32)in2[8])) * ((s32)in[8]) - + 2 * (((limb)((s32)in2[7])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[7])); + output[15] = ((limb)((s32)in2[7])) * ((s32)in[8]) + ((limb)((s32)in2[8])) * ((s32)in[7]) + ((limb)((s32)in2[6])) * ((s32)in[9]) + + ((limb)((s32)in2[9])) * ((s32)in[6]); + output[16] = ((limb)((s32)in2[8])) * ((s32)in[8]) + 2 * (((limb)((s32)in2[7])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[7])); output[17] = ((limb)((s32)in2[8])) * ((s32)in[9]) + ((limb)((s32)in2[9])) * ((s32)in[8]); output[18] = 2 * ((limb)((s32)in2[9])) * ((s32)in[9]); } @@ -242,42 +229,31 @@ void fsquare_inner(limb* output, const limb* in) output[1] = 2 * ((limb)((s32)in[0])) * ((s32)in[1]); output[2] = 2 * (((limb)((s32)in[1])) * ((s32)in[1]) + ((limb)((s32)in[0])) * ((s32)in[2])); output[3] = 2 * (((limb)((s32)in[1])) * ((s32)in[2]) + ((limb)((s32)in[0])) * ((s32)in[3])); - output[4] = ((limb)((s32)in[2])) * ((s32)in[2]) + 4 * ((limb)((s32)in[1])) * ((s32)in[3]) - + 2 * ((limb)((s32)in[0])) * ((s32)in[4]); - output[5] = 2 - * (((limb)((s32)in[2])) * ((s32)in[3]) + ((limb)((s32)in[1])) * ((s32)in[4]) - + ((limb)((s32)in[0])) * ((s32)in[5])); + output[4] = ((limb)((s32)in[2])) * ((s32)in[2]) + 4 * ((limb)((s32)in[1])) * ((s32)in[3]) + 2 * ((limb)((s32)in[0])) * ((s32)in[4]); + output[5] = 2 * (((limb)((s32)in[2])) * ((s32)in[3]) + ((limb)((s32)in[1])) * ((s32)in[4]) + ((limb)((s32)in[0])) * ((s32)in[5])); output[6] = 2 - * (((limb)((s32)in[3])) * ((s32)in[3]) + ((limb)((s32)in[2])) * ((s32)in[4]) - + ((limb)((s32)in[0])) * ((s32)in[6]) + 2 * ((limb)((s32)in[1])) * ((s32)in[5])); + * (((limb)((s32)in[3])) * ((s32)in[3]) + ((limb)((s32)in[2])) * ((s32)in[4]) + ((limb)((s32)in[0])) * ((s32)in[6]) + + 2 * ((limb)((s32)in[1])) * ((s32)in[5])); output[7] = 2 - * (((limb)((s32)in[3])) * ((s32)in[4]) + ((limb)((s32)in[2])) * ((s32)in[5]) - + ((limb)((s32)in[1])) * ((s32)in[6]) + ((limb)((s32)in[0])) * ((s32)in[7])); + * (((limb)((s32)in[3])) * ((s32)in[4]) + ((limb)((s32)in[2])) * ((s32)in[5]) + ((limb)((s32)in[1])) * ((s32)in[6]) + + ((limb)((s32)in[0])) * ((s32)in[7])); output[8] = ((limb)((s32)in[4])) * ((s32)in[4]) + 2 * (((limb)((s32)in[2])) * ((s32)in[6]) + ((limb)((s32)in[0])) * ((s32)in[8]) + 2 * (((limb)((s32)in[1])) * ((s32)in[7]) + ((limb)((s32)in[3])) * ((s32)in[5]))); output[9] = 2 - * (((limb)((s32)in[4])) * ((s32)in[5]) + ((limb)((s32)in[3])) * ((s32)in[6]) - + ((limb)((s32)in[2])) * ((s32)in[7]) + ((limb)((s32)in[1])) * ((s32)in[8]) - + ((limb)((s32)in[0])) * ((s32)in[9])); + * (((limb)((s32)in[4])) * ((s32)in[5]) + ((limb)((s32)in[3])) * ((s32)in[6]) + ((limb)((s32)in[2])) * ((s32)in[7]) + + ((limb)((s32)in[1])) * ((s32)in[8]) + ((limb)((s32)in[0])) * ((s32)in[9])); output[10] = 2 - * (((limb)((s32)in[5])) * ((s32)in[5]) + ((limb)((s32)in[4])) * ((s32)in[6]) - + ((limb)((s32)in[2])) * ((s32)in[8]) + * (((limb)((s32)in[5])) * ((s32)in[5]) + ((limb)((s32)in[4])) * ((s32)in[6]) + ((limb)((s32)in[2])) * ((s32)in[8]) + 2 * (((limb)((s32)in[3])) * ((s32)in[7]) + ((limb)((s32)in[1])) * ((s32)in[9]))); output[11] = 2 - * (((limb)((s32)in[5])) * ((s32)in[6]) + ((limb)((s32)in[4])) * ((s32)in[7]) - + ((limb)((s32)in[3])) * ((s32)in[8]) + ((limb)((s32)in[2])) * ((s32)in[9])); + * (((limb)((s32)in[5])) * ((s32)in[6]) + ((limb)((s32)in[4])) * ((s32)in[7]) + ((limb)((s32)in[3])) * ((s32)in[8]) + + ((limb)((s32)in[2])) * ((s32)in[9])); output[12] = ((limb)((s32)in[6])) * ((s32)in[6]) - + 2 - * (((limb)((s32)in[4])) * ((s32)in[8]) - + 2 * (((limb)((s32)in[5])) * ((s32)in[7]) + ((limb)((s32)in[3])) * ((s32)in[9]))); - output[13] = 2 - * (((limb)((s32)in[6])) * ((s32)in[7]) + ((limb)((s32)in[5])) * ((s32)in[8]) - + ((limb)((s32)in[4])) * ((s32)in[9])); - output[14] = 2 - * (((limb)((s32)in[7])) * ((s32)in[7]) + ((limb)((s32)in[6])) * ((s32)in[8]) - + 2 * ((limb)((s32)in[5])) * ((s32)in[9])); + + 2 * (((limb)((s32)in[4])) * ((s32)in[8]) + 2 * (((limb)((s32)in[5])) * ((s32)in[7]) + ((limb)((s32)in[3])) * ((s32)in[9]))); + output[13] = 2 * (((limb)((s32)in[6])) * ((s32)in[7]) + ((limb)((s32)in[5])) * ((s32)in[8]) + ((limb)((s32)in[4])) * ((s32)in[9])); + output[14] = 2 * (((limb)((s32)in[7])) * ((s32)in[7]) + ((limb)((s32)in[6])) * ((s32)in[8]) + 2 * ((limb)((s32)in[5])) * ((s32)in[9])); output[15] = 2 * (((limb)((s32)in[7])) * ((s32)in[8]) + ((limb)((s32)in[6])) * ((s32)in[9])); output[16] = ((limb)((s32)in[8])) * ((s32)in[8]) + 4 * ((limb)((s32)in[7])) * ((s32)in[9]); output[17] = 2 * ((limb)((s32)in[8])) * ((s32)in[9]); @@ -299,11 +275,8 @@ ZT_INLINE void fsquare(limb* output, const limb* in) ZT_INLINE void fexpand(limb* output, const u8* input) { -#define F(n, start, shift, mask) \ - output[n] = ((((limb)input[start + 0]) | ((limb)input[start + 1]) << 8 | ((limb)input[start + 2]) << 16 \ - | ((limb)input[start + 3]) << 24) \ - >> shift) \ - & mask; +#define F(n, start, shift, mask) \ + output[n] = ((((limb)input[start + 0]) | ((limb)input[start + 1]) << 8 | ((limb)input[start + 2]) << 16 | ((limb)input[start + 3]) << 24) >> shift) & mask; F(0, 0, 0, 0x3ffffff); F(1, 3, 2, 0x1ffffff); F(2, 6, 3, 0x3ffffff); @@ -423,10 +396,10 @@ void fcontract(u8* output, limb* input_limbs) input[7] <<= 3; input[8] <<= 4; input[9] <<= 6; -#define F(i, s) \ - output[s + 0] |= input[i] & 0xff; \ - output[s + 1] = (input[i] >> 8) & 0xff; \ - output[s + 2] = (input[i] >> 16) & 0xff; \ +#define F(i, s) \ + output[s + 0] |= input[i] & 0xff; \ + output[s + 1] = (input[i] >> 8) & 0xff; \ + output[s + 2] = (input[i] >> 16) & 0xff; \ output[s + 3] = (input[i] >> 24) & 0xff; output[0] = 0; output[16] = 0; @@ -1075,12 +1048,10 @@ ZT_INLINE void fe25519_pow2523(fe25519* r, const fe25519* x) /* 2^252 - 3 */ fe25519_mul(r, &t, x); } -const crypto_uint32 m[32] = { 0xED, 0xD3, 0xF5, 0x5C, 0x1A, 0x63, 0x12, 0x58, 0xD6, 0x9C, 0xF7, - 0xA2, 0xDE, 0xF9, 0xDE, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10 }; -const crypto_uint32 mu[33] = { 0x1B, 0x13, 0x2C, 0x0A, 0xA3, 0xE5, 0x9C, 0xED, 0xA7, 0x29, 0x63, - 0x08, 0x5D, 0x21, 0x06, 0x21, 0xEB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, - 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F }; +const crypto_uint32 m[32] = { 0xED, 0xD3, 0xF5, 0x5C, 0x1A, 0x63, 0x12, 0x58, 0xD6, 0x9C, 0xF7, 0xA2, 0xDE, 0xF9, 0xDE, 0x14, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10 }; +const crypto_uint32 mu[33] = { 0x1B, 0x13, 0x2C, 0x0A, 0xA3, 0xE5, 0x9C, 0xED, 0xA7, 0x29, 0x63, 0x08, 0x5D, 0x21, 0x06, 0x21, 0xEB, + 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x0F }; ZT_INLINE crypto_uint32 lt(crypto_uint32 a, crypto_uint32 b) /* 16-bit inputs */ { @@ -1262,29 +1233,24 @@ ZT_INLINE void sc25519_2interleave2(unsigned char r[127], const sc25519* s1, con } /* d */ -static const fe25519 ge25519_ecd = { { 0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x41, - 0x41, 0x4D, 0x0A, 0x70, 0x00, 0x98, 0xE8, 0x79, 0x77, 0x79, 0x40, - 0xC7, 0x8C, 0x73, 0xFE, 0x6F, 0x2B, 0xEE, 0x6C, 0x03, 0x52 } }; +static const fe25519 ge25519_ecd = { { 0xA3, 0x78, 0x59, 0x13, 0xCA, 0x4D, 0xEB, 0x75, 0xAB, 0xD8, 0x41, 0x41, 0x4D, 0x0A, 0x70, 0x00, + 0x98, 0xE8, 0x79, 0x77, 0x79, 0x40, 0xC7, 0x8C, 0x73, 0xFE, 0x6F, 0x2B, 0xEE, 0x6C, 0x03, 0x52 } }; /* 2*d */ -static const fe25519 ge25519_ec2d = { { 0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0x83, - 0x82, 0x9A, 0x14, 0xE0, 0x00, 0x30, 0xD1, 0xF3, 0xEE, 0xF2, 0x80, - 0x8E, 0x19, 0xE7, 0xFC, 0xDF, 0x56, 0xDC, 0xD9, 0x06, 0x24 } }; +static const fe25519 ge25519_ec2d = { { 0x59, 0xF1, 0xB2, 0x26, 0x94, 0x9B, 0xD6, 0xEB, 0x56, 0xB1, 0x83, 0x82, 0x9A, 0x14, 0xE0, 0x00, + 0x30, 0xD1, 0xF3, 0xEE, 0xF2, 0x80, 0x8E, 0x19, 0xE7, 0xFC, 0xDF, 0x56, 0xDC, 0xD9, 0x06, 0x24 } }; /* sqrt(-1) */ -static const fe25519 ge25519_sqrtm1 = { { 0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4, 0x2F, - 0xAD, 0x06, 0x18, 0x43, 0x2F, 0xA7, 0xD7, 0xFB, 0x3D, 0x99, 0x00, - 0x4D, 0x2B, 0x0B, 0xDF, 0xC1, 0x4F, 0x80, 0x24, 0x83, 0x2B } }; +static const fe25519 ge25519_sqrtm1 = { { 0xB0, 0xA0, 0x0E, 0x4A, 0x27, 0x1B, 0xEE, 0xC4, 0x78, 0xE4, 0x2F, 0xAD, 0x06, 0x18, 0x43, 0x2F, + 0xA7, 0xD7, 0xFB, 0x3D, 0x99, 0x00, 0x4D, 0x2B, 0x0B, 0xDF, 0xC1, 0x4F, 0x80, 0x24, 0x83, 0x2B } }; /* Packed coordinates of the base point */ -static const ge25519 ge25519_base = { - { { 0x1A, 0xD5, 0x25, 0x8F, 0x60, 0x2D, 0x56, 0xC9, 0xB2, 0xA7, 0x25, 0x95, 0x60, 0xC7, 0x2C, 0x69, - 0x5C, 0xDC, 0xD6, 0xFD, 0x31, 0xE2, 0xA4, 0xC0, 0xFE, 0x53, 0x6E, 0xCD, 0xD3, 0x36, 0x69, 0x21 } }, - { { 0x58, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, - 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66 } }, - { { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, - { { 0xA3, 0xDD, 0xB7, 0xA5, 0xB3, 0x8A, 0xDE, 0x6D, 0xF5, 0x52, 0x51, 0x77, 0x80, 0x9F, 0xF0, 0x20, - 0x7D, 0xE3, 0xAB, 0x64, 0x8E, 0x4E, 0xEA, 0x66, 0x65, 0x76, 0x8B, 0xD7, 0x0F, 0x5F, 0x87, 0x67 } } -}; +static const ge25519 ge25519_base = { { { 0x1A, 0xD5, 0x25, 0x8F, 0x60, 0x2D, 0x56, 0xC9, 0xB2, 0xA7, 0x25, 0x95, 0x60, 0xC7, 0x2C, 0x69, + 0x5C, 0xDC, 0xD6, 0xFD, 0x31, 0xE2, 0xA4, 0xC0, 0xFE, 0x53, 0x6E, 0xCD, 0xD3, 0x36, 0x69, 0x21 } }, + { { 0x58, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, + 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66, 0x66 } }, + { { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, + { { 0xA3, 0xDD, 0xB7, 0xA5, 0xB3, 0x8A, 0xDE, 0x6D, 0xF5, 0x52, 0x51, 0x77, 0x80, 0x9F, 0xF0, 0x20, + 0x7D, 0xE3, 0xAB, 0x64, 0x8E, 0x4E, 0xEA, 0x66, 0x65, 0x76, 0x8B, 0xD7, 0x0F, 0x5F, 0x87, 0x67 } } }; /* Multiples of the base point in affine representation */ static const ge25519_aff ge25519_base_multiples_affine[425] = { @@ -3177,12 +3143,7 @@ void ge25519_pack(unsigned char r[32], const ge25519_p3* p) } /* computes [s1]p1 + [s2]p2 */ -ZT_INLINE void ge25519_double_scalarmult_vartime( - ge25519_p3* r, - const ge25519_p3* p1, - const sc25519* s1, - const ge25519_p3* p2, - const sc25519* s2) +ZT_INLINE void ge25519_double_scalarmult_vartime(ge25519_p3* r, const ge25519_p3* p1, const sc25519* s1, const ge25519_p3* p2, const sc25519* s2) { ge25519_p1p1 tp1p1; ge25519_p3 pre[16]; @@ -3256,12 +3217,7 @@ void ge25519_scalarmult_base(ge25519_p3* r, const sc25519* s) } } -ZT_INLINE void get_hram( - unsigned char* hram, - const unsigned char* sm, - const unsigned char* pk, - unsigned char* playground, - unsigned long long smlen) +ZT_INLINE void get_hram(unsigned char* hram, const unsigned char* sm, const unsigned char* pk, unsigned char* playground, unsigned long long smlen) { unsigned long long i; diff --git a/core/C25519.hpp b/core/C25519.hpp index f9411c2ad..077f33874 100644 --- a/core/C25519.hpp +++ b/core/C25519.hpp @@ -40,15 +40,12 @@ class C25519 { /** * Generate a set of two 25519 keys: a C25519 ECDH key pair and an Ed25519 EDDSA key pair. */ - static void generateCombined( - uint8_t pub[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], - uint8_t priv[ZT_C25519_COMBINED_PRIVATE_KEY_SIZE]); + static void generateCombined(uint8_t pub[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], uint8_t priv[ZT_C25519_COMBINED_PRIVATE_KEY_SIZE]); /** * Generate a C25519 ECDH key pair only. */ - static void - generateC25519(uint8_t pub[ZT_C25519_ECDH_PUBLIC_KEY_SIZE], uint8_t priv[ZT_C25519_ECDH_PRIVATE_KEY_SIZE]); + static void generateC25519(uint8_t pub[ZT_C25519_ECDH_PUBLIC_KEY_SIZE], uint8_t priv[ZT_C25519_ECDH_PRIVATE_KEY_SIZE]); /** * Generate a key pair satisfying a condition @@ -64,10 +61,7 @@ class C25519 { * @tparam F Type of 'cond' */ template - static ZT_INLINE void generateSatisfying( - F cond, - uint8_t pub[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], - uint8_t priv[ZT_C25519_COMBINED_PRIVATE_KEY_SIZE]) + static ZT_INLINE void generateSatisfying(F cond, uint8_t pub[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], uint8_t priv[ZT_C25519_COMBINED_PRIVATE_KEY_SIZE]) { Utils::getSecureRandom(priv, ZT_C25519_COMBINED_PRIVATE_KEY_SIZE); s_calcPubED(pub, priv); // do Ed25519 key -- bytes 32-63 of pub and priv @@ -127,12 +121,7 @@ class C25519 { * @param siglen Length of signature in bytes * @return True if signature is valid and the message is authentic and unmodified */ - static bool verify( - const uint8_t their[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], - const void* msg, - unsigned int len, - const void* signature, - unsigned int siglen); + static bool verify(const uint8_t their[ZT_C25519_COMBINED_PUBLIC_KEY_SIZE], const void* msg, unsigned int len, const void* signature, unsigned int siglen); private: // derive first 32 bytes of kp.pub from first 32 bytes of kp.priv diff --git a/core/CAPI.cpp b/core/CAPI.cpp index a23ba75b7..f31dfa079 100644 --- a/core/CAPI.cpp +++ b/core/CAPI.cpp @@ -77,13 +77,7 @@ ZT_MAYBE_UNUSED void ZT_version(int* major, int* minor, int* revision, int* buil /********************************************************************************************************************/ -ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_new( - ZT_Node** node, - int64_t clock, - int64_t ticks, - void* tptr, - void* uptr, - const struct ZT_Node_Callbacks* callbacks) +ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_new(ZT_Node** node, int64_t clock, int64_t ticks, void* tptr, void* uptr, const struct ZT_Node_Callbacks* callbacks) { *node = nullptr; try { @@ -127,11 +121,8 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_processWirePacket( { try { ZeroTier::CallContext cc(clock, ticks, tptr); - ZeroTier::SharedPtr buf( - (isZtBuffer) ? ZT_PTRTOBUF(packetData) : new ZeroTier::Buf(packetData, packetLength & ZT_BUF_MEM_MASK)); - reinterpret_cast(node) - ->context() - .vl1->onRemotePacket(cc, localSocket, *ZeroTier::asInetAddress(remoteAddress), buf, packetLength); + ZeroTier::SharedPtr buf((isZtBuffer) ? ZT_PTRTOBUF(packetData) : new ZeroTier::Buf(packetData, packetLength & ZT_BUF_MEM_MASK)); + reinterpret_cast(node)->context().vl1->onRemotePacket(cc, localSocket, *ZeroTier::asInetAddress(remoteAddress), buf, packetLength); } catch (std::bad_alloc& exc) { return ZT_RESULT_FATAL_ERROR_OUT_OF_MEMORY; @@ -163,17 +154,8 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_processVirtualNetworkFrame( const ZeroTier::Context& ctx = reinterpret_cast(node)->context(); ZeroTier::SharedPtr network(ctx.networks->get(nwid)); if (likely(network)) { - ZeroTier::SharedPtr buf( - (isZtBuffer) ? ZT_PTRTOBUF(frameData) : new ZeroTier::Buf(frameData, frameLength & ZT_BUF_MEM_MASK)); - ctx.vl2->onLocalEthernet( - cc, - network, - ZeroTier::MAC(sourceMac), - ZeroTier::MAC(destMac), - etherType, - vlanId, - buf, - frameLength); + ZeroTier::SharedPtr buf((isZtBuffer) ? ZT_PTRTOBUF(frameData) : new ZeroTier::Buf(frameData, frameLength & ZT_BUF_MEM_MASK)); + ctx.vl2->onLocalEthernet(cc, network, ZeroTier::MAC(sourceMac), ZeroTier::MAC(destMac), etherType, vlanId, buf, frameLength); return ZT_RESULT_OK; } else { @@ -188,12 +170,8 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_processVirtualNetworkFrame( } } -ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_processBackgroundTasks( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - volatile int64_t* nextBackgroundTaskDeadline) +ZT_MAYBE_UNUSED enum ZT_ResultCode +ZT_Node_processBackgroundTasks(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, volatile int64_t* nextBackgroundTaskDeadline) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -207,14 +185,8 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_processBackgroundTasks( } } -ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_join( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - void* uptr, - uint64_t nwid, - const ZT_Fingerprint* controllerFingerprint) +ZT_MAYBE_UNUSED enum ZT_ResultCode +ZT_Node_join(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void* uptr, uint64_t nwid, const ZT_Fingerprint* controllerFingerprint) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -228,8 +200,7 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_join( } } -ZT_MAYBE_UNUSED enum ZT_ResultCode -ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** uptr, uint64_t nwid) +ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** uptr, uint64_t nwid) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -243,14 +214,8 @@ ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** up } } -ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_multicastSubscribe( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t nwid, - uint64_t multicastGroup, - unsigned long multicastAdi) +ZT_MAYBE_UNUSED enum ZT_ResultCode +ZT_Node_multicastSubscribe(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -264,14 +229,8 @@ ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_multicastSubscribe( } } -ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_multicastUnsubscribe( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t nwid, - uint64_t multicastGroup, - unsigned long multicastAdi) +ZT_MAYBE_UNUSED enum ZT_ResultCode +ZT_Node_multicastUnsubscribe(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -344,13 +303,7 @@ ZT_MAYBE_UNUSED void ZT_Node_setNetworkUserPtr(ZT_Node* node, uint64_t nwid, voi } } -ZT_MAYBE_UNUSED void ZT_Node_setInterfaceAddresses( - ZT_Node* node, - int64_t, - int64_t, - void*, - const ZT_InterfaceAddress* addrs, - unsigned int addrCount) +ZT_MAYBE_UNUSED void ZT_Node_setInterfaceAddresses(ZT_Node* node, int64_t, int64_t, void*, const ZT_InterfaceAddress* addrs, unsigned int addrCount) { try { reinterpret_cast(node)->setInterfaceAddresses(addrs, addrCount); @@ -378,8 +331,7 @@ ZT_MAYBE_UNUSED enum ZT_CertificateError ZT_Node_addCertificate( } } -ZT_MAYBE_UNUSED enum ZT_ResultCode -ZT_Node_deleteCertificate(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, const void* serialNo) +ZT_MAYBE_UNUSED enum ZT_ResultCode ZT_Node_deleteCertificate(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, const void* serialNo) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -400,15 +352,8 @@ ZT_MAYBE_UNUSED ZT_CertificateList* ZT_Node_listCertificates(ZT_Node* node, int6 } } -ZT_MAYBE_UNUSED int ZT_Node_sendUserMessage( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t dest, - uint64_t typeId, - const void* data, - unsigned int len) +ZT_MAYBE_UNUSED int +ZT_Node_sendUserMessage(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t dest, uint64_t typeId, const void* data, unsigned int len) { try { ZeroTier::CallContext cc(clock, ticks, tptr); @@ -430,21 +375,15 @@ ZT_MAYBE_UNUSED void ZT_Node_setController(ZT_Node* node, void* networkControlle /********************************************************************************************************************/ -ZT_MAYBE_UNUSED ZT_Locator* ZT_Locator_create( - int64_t rev, - const ZT_Endpoint* endpoints, - const ZT_EndpointAttributes*, - unsigned int endpointCount, - const ZT_Identity* signer) +ZT_MAYBE_UNUSED ZT_Locator* +ZT_Locator_create(int64_t rev, const ZT_Endpoint* endpoints, const ZT_EndpointAttributes*, unsigned int endpointCount, const ZT_Identity* signer) { try { if ((! endpoints) || (endpointCount == 0) || (! signer)) return nullptr; ZeroTier::Locator* loc = new ZeroTier::Locator(); for (unsigned int i = 0; i < endpointCount; ++i) - loc->add( - reinterpret_cast(endpoints)[i], - ZeroTier::Locator::EndpointAttributes::DEFAULT); + loc->add(reinterpret_cast(endpoints)[i], ZeroTier::Locator::EndpointAttributes::DEFAULT); if (! loc->sign(rev, *reinterpret_cast(signer))) { delete loc; return nullptr; @@ -550,9 +489,7 @@ ZT_MAYBE_UNUSED int ZT_Locator_verify(const ZT_Locator* loc, const ZT_Identity* { if ((! loc) || (! signer)) return 0; - return reinterpret_cast(loc)->verify(*reinterpret_cast(signer)) - ? 1 - : 0; + return reinterpret_cast(loc)->verify(*reinterpret_cast(signer)) ? 1 : 0; } ZT_MAYBE_UNUSED void ZT_Locator_delete(const ZT_Locator* loc) @@ -581,8 +518,7 @@ ZT_MAYBE_UNUSED ZT_Identity* ZT_Identity_clone(const ZT_Identity* id) { if (id) { try { - return reinterpret_cast( - new ZeroTier::Identity(*reinterpret_cast(id))); + return reinterpret_cast(new ZeroTier::Identity(*reinterpret_cast(id))); } catch (...) { return nullptr; @@ -615,12 +551,7 @@ ZT_MAYBE_UNUSED int ZT_Identity_validate(const ZT_Identity* id) return reinterpret_cast(id)->locallyValidate() ? 1 : 0; } -ZT_MAYBE_UNUSED unsigned int ZT_Identity_sign( - const ZT_Identity* id, - const void* data, - unsigned int len, - void* signature, - unsigned int signatureBufferLength) +ZT_MAYBE_UNUSED unsigned int ZT_Identity_sign(const ZT_Identity* id, const void* data, unsigned int len, void* signature, unsigned int signatureBufferLength) { if (! id) return 0; @@ -629,12 +560,7 @@ ZT_MAYBE_UNUSED unsigned int ZT_Identity_sign( return reinterpret_cast(id)->sign(data, len, signature, signatureBufferLength); } -ZT_MAYBE_UNUSED int ZT_Identity_verify( - const ZT_Identity* id, - const void* data, - unsigned int len, - const void* signature, - unsigned int sigLen) +ZT_MAYBE_UNUSED int ZT_Identity_verify(const ZT_Identity* id, const void* data, unsigned int len, const void* signature, unsigned int sigLen) { if ((! id) || (! signature) || (! sigLen)) return 0; @@ -684,8 +610,7 @@ ZT_MAYBE_UNUSED int ZT_Identity_compare(const ZT_Identity* a, const ZT_Identity* if (*reinterpret_cast(a) < *reinterpret_cast(b)) { return -1; } - else if ( - *reinterpret_cast(b) < *reinterpret_cast(a)) { + else if (*reinterpret_cast(b) < *reinterpret_cast(a)) { return 1; } else { @@ -720,9 +645,7 @@ ZT_MAYBE_UNUSED int ZT_Certificate_newKeyPair( int* const privateKeySize) { try { - return ZeroTier::Certificate::newKeyPair(type, publicKey, publicKeySize, privateKey, privateKeySize) - ? ZT_RESULT_OK - : ZT_RESULT_ERROR_BAD_PARAMETER; + return ZeroTier::Certificate::newKeyPair(type, publicKey, publicKeySize, privateKey, privateKeySize) ? ZT_RESULT_OK : ZT_RESULT_ERROR_BAD_PARAMETER; } catch (...) { return ZT_RESULT_FATAL_ERROR_INTERNAL; @@ -739,8 +662,7 @@ ZT_MAYBE_UNUSED int ZT_Certificate_newCSR( int* const csrSize) { try { - if ((! subject) || (! certificatePublicKey) || (certificatePublicKeySize <= 0) - || (certificatePublicKeySize > ZT_CERTIFICATE_MAX_PUBLIC_KEY_SIZE)) + if ((! subject) || (! certificatePublicKey) || (certificatePublicKeySize <= 0) || (certificatePublicKeySize > ZT_CERTIFICATE_MAX_PUBLIC_KEY_SIZE)) return ZT_RESULT_ERROR_BAD_PARAMETER; const ZeroTier::Vector csrV(ZeroTier::Certificate::createCSR( *subject, @@ -759,11 +681,8 @@ ZT_MAYBE_UNUSED int ZT_Certificate_newCSR( } } -ZT_MAYBE_UNUSED ZT_Certificate* ZT_Certificate_sign( - const ZT_Certificate* cert, - const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], - const void* issuerPrivateKey, - int issuerPrivateKeySize) +ZT_MAYBE_UNUSED ZT_Certificate* +ZT_Certificate_sign(const ZT_Certificate* cert, const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], const void* issuerPrivateKey, int issuerPrivateKeySize) { try { ZeroTier::Certificate* const c = new ZeroTier::Certificate(*cert); @@ -779,8 +698,7 @@ ZT_MAYBE_UNUSED ZT_Certificate* ZT_Certificate_sign( return nullptr; } -ZT_MAYBE_UNUSED enum ZT_CertificateError -ZT_Certificate_decode(const ZT_Certificate** decodedCert, const void* cert, int certSize, int verify) +ZT_MAYBE_UNUSED enum ZT_CertificateError ZT_Certificate_decode(const ZT_Certificate** decodedCert, const void* cert, int certSize, int verify) { try { if ((! decodedCert) || (! cert) || (certSize <= 0)) @@ -878,9 +796,7 @@ ZT_MAYBE_UNUSED int ZT_Endpoint_fromBytes(ZT_Endpoint* ep, const void* bytes, un { if ((! ep) || (! bytes) || (! len)) return ZT_RESULT_ERROR_BAD_PARAMETER; - return (reinterpret_cast(ep)->unmarshal(reinterpret_cast(bytes), (int)len) > 0) - ? 0 - : ZT_RESULT_ERROR_BAD_PARAMETER; + return (reinterpret_cast(ep)->unmarshal(reinterpret_cast(bytes), (int)len) > 0) ? 0 : ZT_RESULT_ERROR_BAD_PARAMETER; } /********************************************************************************************************************/ @@ -939,8 +855,7 @@ ZT_MAYBE_UNUSED void ZT_InetAddress_set(ZT_InetAddress* ia, const void* saddr) (*reinterpret_cast(ia)) = reinterpret_cast(saddr); } -ZT_MAYBE_UNUSED void -ZT_InetAddress_setIpBytes(ZT_InetAddress* ia, const void* ipBytes, unsigned int ipLen, unsigned int port) +ZT_MAYBE_UNUSED void ZT_InetAddress_setIpBytes(ZT_InetAddress* ia, const void* ipBytes, unsigned int ipLen, unsigned int port) { if (likely(ia != nullptr)) reinterpret_cast(ia)->set(ipBytes, ipLen, port); @@ -985,14 +900,10 @@ ZT_MAYBE_UNUSED unsigned int ZT_InetAddress_ipBytes(const ZT_InetAddress* ia, vo if (ia) { switch (reinterpret_cast(ia)->as.sa.sa_family) { case AF_INET: - ZeroTier::Utils::copy<4>( - buf, - &(reinterpret_cast(ia)->as.sa_in.sin_addr.s_addr)); + ZeroTier::Utils::copy<4>(buf, &(reinterpret_cast(ia)->as.sa_in.sin_addr.s_addr)); return 4; case AF_INET6: - ZeroTier::Utils::copy<16>( - buf, - reinterpret_cast(ia)->as.sa_in6.sin6_addr.s6_addr); + ZeroTier::Utils::copy<16>(buf, reinterpret_cast(ia)->as.sa_in6.sin6_addr.s6_addr); return 16; } } @@ -1010,13 +921,10 @@ ZT_MAYBE_UNUSED int ZT_InetAddress_compare(const ZT_InetAddress* a, const ZT_Ine { if (a) { if (b) { - if (*reinterpret_cast(a) - < *reinterpret_cast(b)) { + if (*reinterpret_cast(a) < *reinterpret_cast(b)) { return -1; } - else if ( - *reinterpret_cast(b) - < *reinterpret_cast(a)) { + else if (*reinterpret_cast(b) < *reinterpret_cast(a)) { return 1; } else { @@ -1037,11 +945,8 @@ ZT_MAYBE_UNUSED int ZT_InetAddress_compare(const ZT_InetAddress* a, const ZT_Ine /********************************************************************************************************************/ -ZT_MAYBE_UNUSED int ZT_Dictionary_parse( - const void* const dict, - const unsigned int len, - void* const arg, - void (*f)(void*, const char*, unsigned int, const void*, unsigned int)) +ZT_MAYBE_UNUSED int +ZT_Dictionary_parse(const void* const dict, const unsigned int len, void* const arg, void (*f)(void*, const char*, unsigned int, const void*, unsigned int)) { ZeroTier::Dictionary d; if (d.decode(dict, len)) { diff --git a/core/CapabilityCredential.cpp b/core/CapabilityCredential.cpp index d144107bb..e25d098d4 100644 --- a/core/CapabilityCredential.cpp +++ b/core/CapabilityCredential.cpp @@ -154,10 +154,7 @@ int CapabilityCredential::unmarshal(const uint8_t* data, int len) noexcept return p; } -int CapabilityCredential::marshalVirtualNetworkRules( - uint8_t* data, - const ZT_VirtualNetworkRule* const rules, - const unsigned int ruleCount) noexcept +int CapabilityCredential::marshalVirtualNetworkRules(uint8_t* data, const ZT_VirtualNetworkRule* const rules, const unsigned int ruleCount) noexcept { int p = 0; for (unsigned int i = 0; i < ruleCount; ++i) { @@ -281,9 +278,7 @@ int CapabilityCredential::marshalVirtualNetworkRules( data[p++] = 19; Utils::storeBigEndian(data + p, rules[i].v.intRange.start); p += 8; - Utils::storeBigEndian( - data + p, - rules[i].v.intRange.start + (uint64_t)rules[i].v.intRange.end); + Utils::storeBigEndian(data + p, rules[i].v.intRange.start + (uint64_t)rules[i].v.intRange.end); p += 8; Utils::storeBigEndian(data + p, rules[i].v.intRange.idx); p += 2; @@ -444,8 +439,7 @@ int CapabilityCredential::unmarshalVirtualNetworkRules( return -1; rules[ruleCount].v.intRange.start = Utils::loadBigEndian(data + p); p += 8; - rules[ruleCount].v.intRange.end = - (uint32_t)(Utils::loadBigEndian(data + p) - rules[ruleCount].v.intRange.start); + rules[ruleCount].v.intRange.end = (uint32_t)(Utils::loadBigEndian(data + p) - rules[ruleCount].v.intRange.start); p += 8; rules[ruleCount].v.intRange.idx = Utils::loadBigEndian(data + p); p += 2; diff --git a/core/CapabilityCredential.hpp b/core/CapabilityCredential.hpp index 3709351c1..957fde575 100644 --- a/core/CapabilityCredential.hpp +++ b/core/CapabilityCredential.hpp @@ -22,9 +22,8 @@ #include "Utils.hpp" #define ZT_VIRTUALNETWORKRULE_MARSHAL_SIZE_MAX 21 -#define ZT_CAPABILITY_MARSHAL_SIZE_MAX \ - (8 + 8 + 4 + 1 + 2 + (ZT_VIRTUALNETWORKRULE_MARSHAL_SIZE_MAX * ZT_MAX_CAPABILITY_RULES) + 2 \ - + (5 + 5 + 1 + 2 + ZT_SIGNATURE_BUFFER_SIZE)) +#define ZT_CAPABILITY_MARSHAL_SIZE_MAX \ + (8 + 8 + 4 + 1 + 2 + (ZT_VIRTUALNETWORKRULE_MARSHAL_SIZE_MAX * ZT_MAX_CAPABILITY_RULES) + 2 + (5 + 5 + 1 + 2 + ZT_SIGNATURE_BUFFER_SIZE)) namespace ZeroTier { @@ -174,8 +173,7 @@ class CapabilityCredential : public Credential { * @param ruleCount Number of rules * @return Number of bytes written or -1 on error */ - static int - marshalVirtualNetworkRules(uint8_t* data, const ZT_VirtualNetworkRule* rules, unsigned int ruleCount) noexcept; + static int marshalVirtualNetworkRules(uint8_t* data, const ZT_VirtualNetworkRule* rules, unsigned int ruleCount) noexcept; /** * Unmarshal a set of virtual network rules @@ -187,12 +185,8 @@ class CapabilityCredential : public Credential { * @param maxRuleCount Capacity of rules buffer * @return Number of bytes unmarshaled or -1 on error */ - static int unmarshalVirtualNetworkRules( - const uint8_t* data, - int len, - ZT_VirtualNetworkRule* rules, - unsigned int& ruleCount, - unsigned int maxRuleCount) noexcept; + static int + unmarshalVirtualNetworkRules(const uint8_t* data, int len, ZT_VirtualNetworkRule* rules, unsigned int& ruleCount, unsigned int maxRuleCount) noexcept; // Provides natural sort order by ID ZT_INLINE bool operator<(const CapabilityCredential& c) const noexcept diff --git a/core/Certificate.cpp b/core/Certificate.cpp index 73daf6c73..2317c594a 100644 --- a/core/Certificate.cpp +++ b/core/Certificate.cpp @@ -89,9 +89,7 @@ Certificate& Certificate::operator=(const ZT_Certificate& cert) Utils::copy(&(this->subject.name), &(cert.subject.name)); Utils::copysubject.uniqueId)>(this->subject.uniqueId, cert.subject.uniqueId); - Utils::copysubject.uniqueIdSignature)>( - this->subject.uniqueIdSignature, - cert.subject.uniqueIdSignature); + Utils::copysubject.uniqueIdSignature)>(this->subject.uniqueIdSignature, cert.subject.uniqueIdSignature); this->subject.uniqueIdSize = cert.subject.uniqueIdSize; this->subject.uniqueIdSignatureSize = cert.subject.uniqueIdSignatureSize; @@ -336,10 +334,7 @@ bool Certificate::decode(const void* const data, const unsigned int len) return true; } -bool Certificate::sign( - const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], - const void* const issuerPrivateKey, - const unsigned int issuerPrivateKeySize) +bool Certificate::sign(const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], const void* const issuerPrivateKey, const unsigned int issuerPrivateKeySize) { if ((! issuerPrivateKey) || (issuerPrivateKeySize == 0)) return false; @@ -350,18 +345,14 @@ bool Certificate::sign( case ZT_CERTIFICATE_PUBLIC_KEY_ALGORITHM_ECDSA_NIST_P_384: if (issuerPrivateKeySize == (1 + ZT_ECC384_PUBLIC_KEY_SIZE + ZT_ECC384_PRIVATE_KEY_SIZE)) { Utils::copyissuer)>(this->issuer, issuer); - Utils::copy<1 + ZT_ECC384_PUBLIC_KEY_SIZE>( - this->issuerPublicKey, - issuerPrivateKey); // private is prefixed with public + Utils::copy<1 + ZT_ECC384_PUBLIC_KEY_SIZE>(this->issuerPublicKey, + issuerPrivateKey); // private is prefixed with public this->issuerPublicKeySize = 1 + ZT_ECC384_PUBLIC_KEY_SIZE; const Vector enc(encode(true)); SHA384(this->serialNo, enc.data(), (unsigned int)enc.size()); - ECC384ECDSASign( - reinterpret_cast(issuerPrivateKey) + 1 + ZT_ECC384_PUBLIC_KEY_SIZE, - this->serialNo, - this->signature); + ECC384ECDSASign(reinterpret_cast(issuerPrivateKey) + 1 + ZT_ECC384_PUBLIC_KEY_SIZE, this->serialNo, this->signature); this->signatureSize = ZT_ECC384_SIGNATURE_SIZE; return true; @@ -386,14 +377,12 @@ ZT_CertificateError Certificate::verify(const int64_t clock, const bool checkSig return ZT_CERTIFICATE_ERROR_INVALID_FORMAT; } if (checkSignatures) { - if (! reinterpret_cast(this->subject.identities[i].identity) - ->locallyValidate()) { + if (! reinterpret_cast(this->subject.identities[i].identity)->locallyValidate()) { return ZT_CERTIFICATE_ERROR_INVALID_IDENTITY; } if ((this->subject.identities[i].locator) && (! reinterpret_cast(this->subject.identities[i].locator) - ->verify( - *reinterpret_cast(this->subject.identities[i].identity)))) { + ->verify(*reinterpret_cast(this->subject.identities[i].identity)))) { return ZT_CERTIFICATE_ERROR_INVALID_COMPONENT_SIGNATURE; } } @@ -429,13 +418,11 @@ ZT_CertificateError Certificate::verify(const int64_t clock, const bool checkSig } } - if ((this->subject.uniqueIdSize > sizeof(this->subject.uniqueId)) - || (this->subject.uniqueIdSignatureSize > sizeof(this->subject.uniqueIdSignature))) { + if ((this->subject.uniqueIdSize > sizeof(this->subject.uniqueId)) || (this->subject.uniqueIdSignatureSize > sizeof(this->subject.uniqueIdSignature))) { return ZT_CERTIFICATE_ERROR_INVALID_FORMAT; } - if ((this->issuerPublicKeySize > sizeof(this->issuerPublicKey)) - || (this->publicKeySize > sizeof(this->publicKey))) { + if ((this->issuerPublicKeySize > sizeof(this->issuerPublicKey)) || (this->publicKeySize > sizeof(this->publicKey))) { return ZT_CERTIFICATE_ERROR_INVALID_FORMAT; } @@ -451,12 +438,10 @@ ZT_CertificateError Certificate::verify(const int64_t clock, const bool checkSig // Signature check fails if main signature is not present or invalid. // Note that the serial number / SHA384 hash is computed on decode(), so // this value is not something we blindly trust from input. - if ((this->issuerPublicKeySize > 0) - && (this->issuerPublicKeySize <= (unsigned int)sizeof(this->issuerPublicKey))) { + if ((this->issuerPublicKeySize > 0) && (this->issuerPublicKeySize <= (unsigned int)sizeof(this->issuerPublicKey))) { switch (this->issuerPublicKey[0]) { case ZT_CERTIFICATE_PUBLIC_KEY_ALGORITHM_ECDSA_NIST_P_384: - if ((this->issuerPublicKeySize == (ZT_ECC384_PUBLIC_KEY_SIZE + 1)) - && (this->signatureSize == ZT_ECC384_SIGNATURE_SIZE)) { + if ((this->issuerPublicKeySize == (ZT_ECC384_PUBLIC_KEY_SIZE + 1)) && (this->signatureSize == ZT_ECC384_SIGNATURE_SIZE)) { if (! ECC384ECDSAVerify(this->issuerPublicKey + 1, this->serialNo, this->signature)) { return ZT_CERTIFICATE_ERROR_INVALID_PRIMARY_SIGNATURE; } @@ -491,16 +476,11 @@ ZT_CertificateError Certificate::verify(const int64_t clock, const bool checkSig enc.reserve(1024); d.encode(enc); - static_assert( - ZT_ECC384_SIGNATURE_HASH_SIZE == ZT_SHA384_DIGEST_SIZE, - "ECC384 should take 384-bit hash"); + static_assert(ZT_ECC384_SIGNATURE_HASH_SIZE == ZT_SHA384_DIGEST_SIZE, "ECC384 should take 384-bit hash"); uint8_t h[ZT_SHA384_DIGEST_SIZE]; SHA384(h, enc.data(), (unsigned int)enc.size()); - if (! ECC384ECDSAVerify( - this->subject.uniqueId + 1, - h, - this->subject.uniqueIdSignature)) { + if (! ECC384ECDSAVerify(this->subject.uniqueId + 1, h, this->subject.uniqueIdSignature)) { return ZT_CERTIFICATE_ERROR_INVALID_UNIQUE_ID_PROOF; } } @@ -589,16 +569,11 @@ void Certificate::m_clear() m_extendedAttributes.clear(); } -bool Certificate::m_setSubjectUniqueId( - ZT_Certificate_Subject& s, - const void* uniqueIdPrivate, - unsigned int uniqueIdPrivateSize) +bool Certificate::m_setSubjectUniqueId(ZT_Certificate_Subject& s, const void* uniqueIdPrivate, unsigned int uniqueIdPrivateSize) { if (uniqueIdPrivateSize > 0) { - if ((uniqueIdPrivate != nullptr) - && (uniqueIdPrivateSize == (1 + ZT_ECC384_PUBLIC_KEY_SIZE + ZT_ECC384_PRIVATE_KEY_SIZE)) - && (reinterpret_cast(uniqueIdPrivate)[0] - == (uint8_t)ZT_CERTIFICATE_PUBLIC_KEY_ALGORITHM_ECDSA_NIST_P_384)) { + if ((uniqueIdPrivate != nullptr) && (uniqueIdPrivateSize == (1 + ZT_ECC384_PUBLIC_KEY_SIZE + ZT_ECC384_PRIVATE_KEY_SIZE)) + && (reinterpret_cast(uniqueIdPrivate)[0] == (uint8_t)ZT_CERTIFICATE_PUBLIC_KEY_ALGORITHM_ECDSA_NIST_P_384)) { Utils::copy<1 + ZT_ECC384_PUBLIC_KEY_SIZE>(s.uniqueId, uniqueIdPrivate); s.uniqueIdSize = 1 + ZT_ECC384_PUBLIC_KEY_SIZE; // private is prefixed with public @@ -610,10 +585,7 @@ bool Certificate::m_setSubjectUniqueId( uint8_t h[ZT_SHA384_DIGEST_SIZE]; SHA384(h, enc.data(), (unsigned int)enc.size()); - ECC384ECDSASign( - reinterpret_cast(uniqueIdPrivate) + 1 + ZT_ECC384_PUBLIC_KEY_SIZE, - h, - s.uniqueIdSignature); + ECC384ECDSASign(reinterpret_cast(uniqueIdPrivate) + 1 + ZT_ECC384_PUBLIC_KEY_SIZE, h, s.uniqueIdSignature); s.uniqueIdSignatureSize = ZT_ECC384_SIGNATURE_SIZE; } else { @@ -639,13 +611,9 @@ void Certificate::m_encodeSubject(const ZT_Certificate_Subject& s, Dictionary& d d.add("s.i$", (uint64_t)s.identityCount); for (unsigned int i = 0; i < s.identityCount; ++i) { if (s.identities[i].identity) - d.addO( - Dictionary::arraySubscript(tmp, sizeof(tmp), "s.i$.i", i), - *reinterpret_cast(s.identities[i].identity)); + d.addO(Dictionary::arraySubscript(tmp, sizeof(tmp), "s.i$.i", i), *reinterpret_cast(s.identities[i].identity)); if (s.identities[i].locator) - d.addO( - Dictionary::arraySubscript(tmp, sizeof(tmp), "s.i$.l", i), - *reinterpret_cast(s.identities[i].locator)); + d.addO(Dictionary::arraySubscript(tmp, sizeof(tmp), "s.i$.l", i), *reinterpret_cast(s.identities[i].locator)); } } diff --git a/core/Certificate.hpp b/core/Certificate.hpp index 2269ebcce..d5939b1f9 100644 --- a/core/Certificate.hpp +++ b/core/Certificate.hpp @@ -141,10 +141,7 @@ class Certificate : public ZT_Certificate { * * @return True on success */ - bool sign( - const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], - const void* issuerPrivateKey, - unsigned int issuerPrivateKeySize); + bool sign(const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], const void* issuerPrivateKey, unsigned int issuerPrivateKeySize); /** * Verify self-contained signatures and validity of certificate structure @@ -166,8 +163,7 @@ class Certificate : public ZT_Certificate { */ ZT_INLINE bool verifyTimeWindow(int64_t clock) const noexcept { - return ( - (clock >= this->validity[0]) && (clock <= this->validity[1]) && (this->validity[0] <= this->validity[1])); + return ((clock >= this->validity[0]) && (clock <= this->validity[1]) && (this->validity[0] <= this->validity[1])); } /** @@ -241,8 +237,7 @@ class Certificate : public ZT_Certificate { private: void m_clear(); - static bool - m_setSubjectUniqueId(ZT_Certificate_Subject& s, const void* uniqueIdPrivate, unsigned int uniqueIdPrivateSize); + static bool m_setSubjectUniqueId(ZT_Certificate_Subject& s, const void* uniqueIdPrivate, unsigned int uniqueIdPrivateSize); static void m_encodeSubject(const ZT_Certificate_Subject& s, Dictionary& d, bool omitUniqueIdProofSignature); // These hold any identity or locator objects that are owned by and should diff --git a/core/Containers.hpp b/core/Containers.hpp index e3be3ba77..7b28dd15e 100644 --- a/core/Containers.hpp +++ b/core/Containers.hpp @@ -87,8 +87,7 @@ struct intl_MapHasher { template class Map : public std::unordered_map { }; -template -class MultiMap : public std::unordered_multimap > { +template class MultiMap : public std::unordered_multimap > { }; #else @@ -155,15 +154,14 @@ struct H384 { ZT_INLINE operator bool() const noexcept { - return ( - (data[0] != 0) && (data[1] != 0) && (data[2] != 0) && (data[3] != 0) && (data[4] != 0) && (data[5] != 0)); + return ((data[0] != 0) && (data[1] != 0) && (data[2] != 0) && (data[3] != 0) && (data[4] != 0) && (data[5] != 0)); } ZT_INLINE bool operator==(const H384& b) const noexcept { return ( - (data[0] == b.data[0]) && (data[1] == b.data[1]) && (data[2] == b.data[2]) && (data[3] == b.data[3]) - && (data[4] == b.data[4]) && (data[5] == b.data[5])); + (data[0] == b.data[0]) && (data[1] == b.data[1]) && (data[2] == b.data[2]) && (data[3] == b.data[3]) && (data[4] == b.data[4]) + && (data[5] == b.data[5])); } ZT_INLINE bool operator!=(const H384& b) const noexcept diff --git a/core/Credential.cpp b/core/Credential.cpp index add933f2e..9c86500fb 100644 --- a/core/Credential.cpp +++ b/core/Credential.cpp @@ -43,8 +43,7 @@ namespace ZeroTier { -template -static ZT_INLINE Credential::VerifyResult p_credVerify(const Context& ctx, const CallContext& cc, CRED credential) +template static ZT_INLINE Credential::VerifyResult p_credVerify(const Context& ctx, const CallContext& cc, CRED credential) { uint8_t tmp[ZT_BUF_MEM_SIZE + 16]; @@ -62,9 +61,8 @@ static ZT_INLINE Credential::VerifyResult p_credVerify(const Context& ctx, const if (l <= 0) return Credential::VERIFY_BAD_SIGNATURE; return ( - peer->identity().verify(tmp, (unsigned int)l, credential.signature(), credential.signatureLength()) - ? Credential::VERIFY_OK - : Credential::VERIFY_BAD_SIGNATURE); + peer->identity().verify(tmp, (unsigned int)l, credential.signature(), credential.signatureLength()) ? Credential::VERIFY_OK + : Credential::VERIFY_BAD_SIGNATURE); } catch (...) { } @@ -72,32 +70,27 @@ static ZT_INLINE Credential::VerifyResult p_credVerify(const Context& ctx, const return Credential::VERIFY_BAD_SIGNATURE; } -Credential::VerifyResult -Credential::s_verify(const Context& ctx, const CallContext& cc, const RevocationCredential& credential) +Credential::VerifyResult Credential::s_verify(const Context& ctx, const CallContext& cc, const RevocationCredential& credential) { return p_credVerify(ctx, cc, credential); } -Credential::VerifyResult -Credential::s_verify(const Context& ctx, const CallContext& cc, const TagCredential& credential) +Credential::VerifyResult Credential::s_verify(const Context& ctx, const CallContext& cc, const TagCredential& credential) { return p_credVerify(ctx, cc, credential); } -Credential::VerifyResult -Credential::s_verify(const Context& ctx, const CallContext& cc, const CapabilityCredential& credential) +Credential::VerifyResult Credential::s_verify(const Context& ctx, const CallContext& cc, const CapabilityCredential& credential) { return p_credVerify(ctx, cc, credential); } -Credential::VerifyResult -Credential::s_verify(const Context& ctx, const CallContext& cc, const OwnershipCredential& credential) +Credential::VerifyResult Credential::s_verify(const Context& ctx, const CallContext& cc, const OwnershipCredential& credential) { return p_credVerify(ctx, cc, credential); } -Credential::VerifyResult -Credential::s_verify(const Context& ctx, const CallContext& cc, const MembershipCredential& credential) +Credential::VerifyResult Credential::s_verify(const Context& ctx, const CallContext& cc, const MembershipCredential& credential) { // Sanity check network ID. if ((! credential.m_signedBy) || (credential.m_signedBy != Network::controllerFor(credential.m_networkId))) @@ -111,9 +104,8 @@ Credential::s_verify(const Context& ctx, const CallContext& cc, const Membership // Now verify the controller's signature. uint64_t buf[ZT_MEMBERSHIP_CREDENTIAL_MARSHAL_SIZE_MAX / 8]; const unsigned int bufSize = credential.m_fillSigningBuf(buf); - return peer->identity().verify(buf, bufSize, credential.m_signature, credential.m_signatureLength) - ? Credential::VERIFY_OK - : Credential::VERIFY_BAD_SIGNATURE; + return peer->identity().verify(buf, bufSize, credential.m_signature, credential.m_signatureLength) ? Credential::VERIFY_OK + : Credential::VERIFY_BAD_SIGNATURE; } } // namespace ZeroTier diff --git a/core/Dictionary.hpp b/core/Dictionary.hpp index c55d0a73a..ecfa7a2e3 100644 --- a/core/Dictionary.hpp +++ b/core/Dictionary.hpp @@ -362,8 +362,7 @@ class Dictionary { * @param v Value * @param vlen Value length in bytes */ - template - ZT_INLINE static void append(V& out, const char* const k, const void* const v, const unsigned int vlen) + template ZT_INLINE static void append(V& out, const char* const k, const void* const v, const unsigned int vlen) { s_appendKey(out, k); for (unsigned int i = 0; i < vlen; ++i) diff --git a/core/ECC384.cpp b/core/ECC384.cpp index 8eaff50a8..43dcdb6ee 100644 --- a/core/ECC384.cpp +++ b/core/ECC384.cpp @@ -35,29 +35,24 @@ typedef struct EccPoint { #define CONCAT1(a, b) a##b #define CONCAT(a, b) CONCAT1(a, b) -#define Curve_P_48 \ - { \ - 0x00000000FFFFFFFF, 0xFFFFFFFF00000000, 0xFFFFFFFFFFFFFFFE, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, \ - 0xFFFFFFFFFFFFFFFF \ +#define Curve_P_48 \ + { \ + 0x00000000FFFFFFFF, 0xFFFFFFFF00000000, 0xFFFFFFFFFFFFFFFE, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF \ } -#define Curve_B_48 \ - { \ - 0x2A85C8EDD3EC2AEF, 0xC656398D8A2ED19D, 0x0314088F5013875A, 0x181D9C6EFE814112, 0x988E056BE3F82D19, \ - 0xB3312FA7E23EE7E4 \ +#define Curve_B_48 \ + { \ + 0x2A85C8EDD3EC2AEF, 0xC656398D8A2ED19D, 0x0314088F5013875A, 0x181D9C6EFE814112, 0x988E056BE3F82D19, 0xB3312FA7E23EE7E4 \ } -#define Curve_G_48 \ - { \ - { 0x3A545E3872760AB7, 0x5502F25DBF55296C, 0x59F741E082542A38, \ - 0x6E1D3B628BA79B98, 0x8EB1C71EF320AD74, 0xAA87CA22BE8B0537 }, \ - { \ - 0x7A431D7C90EA0E5F, 0x0A60B1CE1D7E819D, 0xE9DA3113B5F0B8C0, 0xF8F41DBD289A147C, 0x5D9E98BF9292DC29, \ - 0x3617DE4A96262C6F \ - } \ +#define Curve_G_48 \ + { \ + { 0x3A545E3872760AB7, 0x5502F25DBF55296C, 0x59F741E082542A38, 0x6E1D3B628BA79B98, 0x8EB1C71EF320AD74, 0xAA87CA22BE8B0537 }, \ + { \ + 0x7A431D7C90EA0E5F, 0x0A60B1CE1D7E819D, 0xE9DA3113B5F0B8C0, 0xF8F41DBD289A147C, 0x5D9E98BF9292DC29, 0x3617DE4A96262C6F \ + } \ } -#define Curve_N_48 \ - { \ - 0xECEC196ACCC52973, 0x581A0DB248B0A77A, 0xC7634D81F4372DDF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, \ - 0xFFFFFFFFFFFFFFFF \ +#define Curve_N_48 \ + { \ + 0xECEC196ACCC52973, 0x581A0DB248B0A77A, 0xC7634D81F4372DDF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF, 0xFFFFFFFFFFFFFFFF \ } const uint64_t curve_p[NUM_ECC_DIGITS] = CONCAT(Curve_P_, ECC_CURVE); const uint64_t curve_b[NUM_ECC_DIGITS] = CONCAT(Curve_B_, ECC_CURVE); @@ -661,9 +656,8 @@ ZT_INLINE void ecc_bytes2native(uint64_t p_native[NUM_ECC_DIGITS], const uint8_t { for (uint i = 0; i < NUM_ECC_DIGITS; ++i) { const uint8_t* p_digit = p_bytes + 8 * (NUM_ECC_DIGITS - 1 - i); - p_native[i] = ((uint64_t)p_digit[0] << 56) | ((uint64_t)p_digit[1] << 48) | ((uint64_t)p_digit[2] << 40) - | ((uint64_t)p_digit[3] << 32) | ((uint64_t)p_digit[4] << 24) | ((uint64_t)p_digit[5] << 16) - | ((uint64_t)p_digit[6] << 8) | (uint64_t)p_digit[7]; + p_native[i] = ((uint64_t)p_digit[0] << 56) | ((uint64_t)p_digit[1] << 48) | ((uint64_t)p_digit[2] << 40) | ((uint64_t)p_digit[3] << 32) + | ((uint64_t)p_digit[4] << 24) | ((uint64_t)p_digit[5] << 16) | ((uint64_t)p_digit[6] << 8) | (uint64_t)p_digit[7]; } } @@ -741,10 +735,7 @@ ZT_INLINE int ecc_make_key(uint8_t p_publicKey[ECC_BYTES + 1], uint8_t p_private return 1; } -ZT_INLINE int ecdh_shared_secret( - const uint8_t p_publicKey[ECC_BYTES + 1], - const uint8_t p_privateKey[ECC_BYTES], - uint8_t p_secret[ECC_BYTES]) +ZT_INLINE int ecdh_shared_secret(const uint8_t p_publicKey[ECC_BYTES + 1], const uint8_t p_privateKey[ECC_BYTES], uint8_t p_secret[ECC_BYTES]) { EccPoint l_public; uint64_t l_private[NUM_ECC_DIGITS]; @@ -827,8 +818,7 @@ ZT_INLINE uint umax(uint a, uint b) return (a > b ? a : b); } -ZT_INLINE int -ecdsa_sign(const uint8_t p_privateKey[ECC_BYTES], const uint8_t p_hash[ECC_BYTES], uint8_t p_signature[ECC_BYTES * 2]) +ZT_INLINE int ecdsa_sign(const uint8_t p_privateKey[ECC_BYTES], const uint8_t p_hash[ECC_BYTES], uint8_t p_signature[ECC_BYTES * 2]) { uint64_t k[NUM_ECC_DIGITS]; uint64_t l_tmp[NUM_ECC_DIGITS]; @@ -870,10 +860,7 @@ ecdsa_sign(const uint8_t p_privateKey[ECC_BYTES], const uint8_t p_hash[ECC_BYTES return 1; } -ZT_INLINE int ecdsa_verify( - const uint8_t p_publicKey[ECC_BYTES + 1], - const uint8_t p_hash[ECC_BYTES], - const uint8_t p_signature[ECC_BYTES * 2]) +ZT_INLINE int ecdsa_verify(const uint8_t p_publicKey[ECC_BYTES + 1], const uint8_t p_hash[ECC_BYTES], const uint8_t p_signature[ECC_BYTES * 2]) { uint64_t u1[NUM_ECC_DIGITS], u2[NUM_ECC_DIGITS]; uint64_t z[NUM_ECC_DIGITS]; @@ -918,8 +905,7 @@ ZT_INLINE int ecdsa_verify( const EccPoint* l_points[4] = { NULL, &curve_G, &l_public, &l_sum }; uint l_numBits = umax(vli_numBits(u1), vli_numBits(u2)); - const EccPoint* l_point = - l_points[(! ! vli_testBit(u1, l_numBits - 1)) | ((! ! vli_testBit(u2, l_numBits - 1)) << 1)]; + const EccPoint* l_point = l_points[(! ! vli_testBit(u1, l_numBits - 1)) | ((! ! vli_testBit(u2, l_numBits - 1)) << 1)]; vli_set(rx, l_point->x); vli_set(ry, l_point->y); vli_clear(z); @@ -963,10 +949,7 @@ void ECC384GenerateKey(uint8_t pub[ZT_ECC384_PUBLIC_KEY_SIZE], uint8_t priv[ZT_E } } -void ECC384ECDSASign( - const uint8_t priv[ZT_ECC384_PRIVATE_KEY_SIZE], - const uint8_t hash[ZT_ECC384_SIGNATURE_HASH_SIZE], - uint8_t sig[ZT_ECC384_SIGNATURE_SIZE]) +void ECC384ECDSASign(const uint8_t priv[ZT_ECC384_PRIVATE_KEY_SIZE], const uint8_t hash[ZT_ECC384_SIGNATURE_HASH_SIZE], uint8_t sig[ZT_ECC384_SIGNATURE_SIZE]) { if (! ecdsa_sign(priv, hash, sig)) { fprintf(stderr, "FATAL: ecdsa_sign() failed!" ZT_EOL_S); diff --git a/core/ECC384.hpp b/core/ECC384.hpp index c292b647f..66741fe91 100644 --- a/core/ECC384.hpp +++ b/core/ECC384.hpp @@ -77,10 +77,7 @@ void ECC384GenerateKey(uint8_t pub[ZT_ECC384_PUBLIC_KEY_SIZE], uint8_t priv[ZT_E * @param hash 48-byte hash * @param sig Buffer to receive signature */ -void ECC384ECDSASign( - const uint8_t priv[ZT_ECC384_PRIVATE_KEY_SIZE], - const uint8_t hash[ZT_ECC384_SIGNATURE_HASH_SIZE], - uint8_t sig[ZT_ECC384_SIGNATURE_SIZE]); +void ECC384ECDSASign(const uint8_t priv[ZT_ECC384_PRIVATE_KEY_SIZE], const uint8_t hash[ZT_ECC384_SIGNATURE_HASH_SIZE], uint8_t sig[ZT_ECC384_SIGNATURE_SIZE]); /** * Verify a signature diff --git a/core/Endpoint.hpp b/core/Endpoint.hpp index f8dadd879..9fbbbfc52 100644 --- a/core/Endpoint.hpp +++ b/core/Endpoint.hpp @@ -27,19 +27,11 @@ namespace ZeroTier { -static_assert( - (ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > ZT_INETADDRESS_MARSHAL_SIZE_MAX, - "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); -static_assert( - (ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(ZT_Fingerprint), - "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); -static_assert( - (ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(InetAddress), - "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); +static_assert((ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > ZT_INETADDRESS_MARSHAL_SIZE_MAX, "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); +static_assert((ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(ZT_Fingerprint), "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); +static_assert((ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(InetAddress), "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); static_assert((ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(MAC), "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); -static_assert( - (ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(Fingerprint), - "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); +static_assert((ZT_ENDPOINT_MARSHAL_SIZE_MAX - 1) > sizeof(Fingerprint), "ZT_ENDPOINT_MARSHAL_SIZE_MAX not large enough"); /** * Endpoint variant specifying some form of network endpoint. diff --git a/core/Expect.hpp b/core/Expect.hpp index 728c43ad0..97aae532e 100644 --- a/core/Expect.hpp +++ b/core/Expect.hpp @@ -50,8 +50,7 @@ class Expect { */ ZT_INLINE void sending(const uint64_t packetId, const int64_t now) noexcept { - m_packetIdSent[Utils::hash64(packetId ^ Utils::s_mapNonce) % ZT_EXPECT_BUCKETS] = - (uint32_t)(now / ZT_EXPECT_TTL); + m_packetIdSent[Utils::hash64(packetId ^ Utils::s_mapNonce) % ZT_EXPECT_BUCKETS] = (uint32_t)(now / ZT_EXPECT_TTL); } /** @@ -68,10 +67,7 @@ class Expect { ZT_INLINE bool expecting(const uint64_t inRePacketId, const int64_t now) noexcept { return ( - ((now / ZT_EXPECT_TTL) - - (int64_t) - m_packetIdSent[(unsigned long)Utils::hash64(inRePacketId ^ Utils::s_mapNonce) % ZT_EXPECT_BUCKETS] - .exchange(0)) + ((now / ZT_EXPECT_TTL) - (int64_t)m_packetIdSent[(unsigned long)Utils::hash64(inRePacketId ^ Utils::s_mapNonce) % ZT_EXPECT_BUCKETS].exchange(0)) <= 1); } diff --git a/core/Fingerprint.hpp b/core/Fingerprint.hpp index 627dfe43c..86f61d6f1 100644 --- a/core/Fingerprint.hpp +++ b/core/Fingerprint.hpp @@ -62,11 +62,7 @@ class Fingerprint Address(this->address).toString(s); if (haveHash()) { s[ZT_ADDRESS_LENGTH_HEX] = '-'; - Utils::b32e( - this->hash, - ZT_FINGERPRINT_HASH_SIZE, - s + (ZT_ADDRESS_LENGTH_HEX + 1), - ZT_FINGERPRINT_STRING_SIZE_MAX - (ZT_ADDRESS_LENGTH_HEX + 1)); + Utils::b32e(this->hash, ZT_FINGERPRINT_HASH_SIZE, s + (ZT_ADDRESS_LENGTH_HEX + 1), ZT_FINGERPRINT_STRING_SIZE_MAX - (ZT_ADDRESS_LENGTH_HEX + 1)); } return s; } @@ -95,8 +91,7 @@ class Fingerprint a[ZT_ADDRESS_LENGTH_HEX] = 0; this->address = Utils::hexStrToU64(a) & ZT_ADDRESS_MASK; if (l > (ZT_ADDRESS_LENGTH_HEX + 1)) { - if (Utils::b32d(s + (ZT_ADDRESS_LENGTH_HEX + 1), this->hash, ZT_FINGERPRINT_HASH_SIZE) - != ZT_FINGERPRINT_HASH_SIZE) + if (Utils::b32d(s + (ZT_ADDRESS_LENGTH_HEX + 1), this->hash, ZT_FINGERPRINT_HASH_SIZE) != ZT_FINGERPRINT_HASH_SIZE) return false; } else { @@ -153,9 +148,7 @@ class Fingerprint ZT_INLINE bool operator<(const ZT_Fingerprint& h) const noexcept { - return ( - (this->address < h.address) - || ((this->address == h.address) && (memcmp(this->hash, h.hash, ZT_FINGERPRINT_HASH_SIZE) < 0))); + return ((this->address < h.address) || ((this->address == h.address) && (memcmp(this->hash, h.hash, ZT_FINGERPRINT_HASH_SIZE) < 0))); } ZT_INLINE bool operator>(const ZT_Fingerprint& h) const noexcept diff --git a/core/Identity.cpp b/core/Identity.cpp index 666268b68..e0cdc35a1 100644 --- a/core/Identity.cpp +++ b/core/Identity.cpp @@ -30,10 +30,7 @@ namespace { // This is the memory-intensive hash function used to compute v0 identities from v0 public keys. #define ZT_V0_IDENTITY_GEN_MEMORY 2097152 -void identityV0ProofOfWorkFrankenhash( - const void* const restrict c25519CombinedPublicKey, - void* const restrict digest, - void* const restrict genmem) noexcept +void identityV0ProofOfWorkFrankenhash(const void* const restrict c25519CombinedPublicKey, void* const restrict digest, void* const restrict genmem) noexcept { // Digest publicKey[] to obtain initial digest SHA512(digest, c25519CombinedPublicKey, ZT_C25519_COMBINED_PUBLIC_KEY_SIZE); @@ -60,8 +57,7 @@ void identityV0ProofOfWorkFrankenhash( // Render final digest using genmem as a lookup table for (unsigned long i = 0; i < (ZT_V0_IDENTITY_GEN_MEMORY / sizeof(uint64_t));) { unsigned long idx1 = (unsigned long)(Utils::ntoh(((uint64_t*)genmem)[i++]) % (64 / sizeof(uint64_t))); - unsigned long idx2 = - (unsigned long)(Utils::ntoh(((uint64_t*)genmem)[i++]) % (ZT_V0_IDENTITY_GEN_MEMORY / sizeof(uint64_t))); + unsigned long idx2 = (unsigned long)(Utils::ntoh(((uint64_t*)genmem)[i++]) % (ZT_V0_IDENTITY_GEN_MEMORY / sizeof(uint64_t))); uint64_t tmp = ((uint64_t*)genmem)[idx2]; ((uint64_t*)genmem)[idx2] = ((uint64_t*)digest)[idx1]; ((uint64_t*)digest)[idx1] = tmp; @@ -133,14 +129,11 @@ bool Identity::generate(const Type t) case P384: for (;;) { C25519::generateCombined(m_pub + 7, m_priv); - ECC384GenerateKey( - m_pub + 7 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE, - m_priv + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE); + ECC384GenerateKey(m_pub + 7 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE, m_priv + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE); uint64_t challenge[4]; v1ChallengeFromPub(m_pub, challenge); - const uint64_t proof = - MIMC52::delay(reinterpret_cast(challenge), ZT_IDENTITY_TYPE1_MIMC52_ROUNDS); + const uint64_t proof = MIMC52::delay(reinterpret_cast(challenge), ZT_IDENTITY_TYPE1_MIMC52_ROUNDS); m_pub[0] = (uint8_t)(proof >> 48U); m_pub[1] = (uint8_t)(proof >> 40U); m_pub[2] = (uint8_t)(proof >> 32U); @@ -187,9 +180,8 @@ bool Identity::locallyValidate() const noexcept return MIMC52::verify( reinterpret_cast(challenge), ZT_IDENTITY_TYPE1_MIMC52_ROUNDS, - ((uint64_t)m_pub[0] << 48U) | ((uint64_t)m_pub[1] << 40U) | ((uint64_t)m_pub[2] << 32U) - | ((uint64_t)m_pub[3] << 24U) | ((uint64_t)m_pub[4] << 16U) | ((uint64_t)m_pub[5] << 8U) - | (uint64_t)m_pub[6]); + ((uint64_t)m_pub[0] << 48U) | ((uint64_t)m_pub[1] << 40U) | ((uint64_t)m_pub[2] << 32U) | ((uint64_t)m_pub[3] << 24U) + | ((uint64_t)m_pub[4] << 16U) | ((uint64_t)m_pub[5] << 8U) | (uint64_t)m_pub[6]); } return false; } @@ -312,18 +304,13 @@ char* Identity::toString(bool includePrivate, char buf[ZT_IDENTITY_STRING_BUFFER case P384: { *(p++) = '1'; *(p++) = ':'; - int el = - Utils::b32e(m_pub, sizeof(m_pub), p, (int)(ZT_IDENTITY_STRING_BUFFER_LENGTH - (uintptr_t)(p - buf))); + int el = Utils::b32e(m_pub, sizeof(m_pub), p, (int)(ZT_IDENTITY_STRING_BUFFER_LENGTH - (uintptr_t)(p - buf))); if (el <= 0) return nullptr; p += el; if ((m_hasPrivate) && (includePrivate)) { *(p++) = ':'; - el = Utils::b32e( - m_priv, - sizeof(m_priv), - p, - (int)(ZT_IDENTITY_STRING_BUFFER_LENGTH - (uintptr_t)(p - buf))); + el = Utils::b32e(m_priv, sizeof(m_priv), p, (int)(ZT_IDENTITY_STRING_BUFFER_LENGTH - (uintptr_t)(p - buf))); if (el <= 0) return nullptr; p += el; @@ -370,8 +357,7 @@ bool Identity::fromString(const char* str) case 2: switch (m_type) { case C25519: - if (Utils::unhex(f, strlen(f), m_pub, ZT_C25519_COMBINED_PUBLIC_KEY_SIZE) - != ZT_C25519_COMBINED_PUBLIC_KEY_SIZE) + if (Utils::unhex(f, strlen(f), m_pub, ZT_C25519_COMBINED_PUBLIC_KEY_SIZE) != ZT_C25519_COMBINED_PUBLIC_KEY_SIZE) return false; break; @@ -386,8 +372,7 @@ bool Identity::fromString(const char* str) if (strlen(f) > 1) { switch (m_type) { case C25519: - if (Utils::unhex(f, strlen(f), m_priv, ZT_C25519_COMBINED_PRIVATE_KEY_SIZE) - != ZT_C25519_COMBINED_PRIVATE_KEY_SIZE) { + if (Utils::unhex(f, strlen(f), m_priv, ZT_C25519_COMBINED_PRIVATE_KEY_SIZE) != ZT_C25519_COMBINED_PRIVATE_KEY_SIZE) { return false; } else { @@ -425,11 +410,8 @@ int Identity::marshal(uint8_t data[ZT_IDENTITY_MARSHAL_SIZE_MAX], const bool inc Utils::copy(data + ZT_ADDRESS_LENGTH + 1, m_pub); if ((includePrivate) && (m_hasPrivate)) { data[ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE] = ZT_C25519_COMBINED_PRIVATE_KEY_SIZE; - Utils::copy( - data + ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1, - m_priv); - return ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 - + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE; + Utils::copy(data + ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1, m_priv); + return ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE; } data[ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE] = 0; return ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1; @@ -438,13 +420,9 @@ int Identity::marshal(uint8_t data[ZT_IDENTITY_MARSHAL_SIZE_MAX], const bool inc data[ZT_ADDRESS_LENGTH] = (uint8_t)P384; Utils::copy(data + ZT_ADDRESS_LENGTH + 1, m_pub); if ((includePrivate) && (m_hasPrivate)) { - data[ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE] = - ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; - Utils::copy( - data + ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1, - m_priv); - return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 - + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; + data[ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE] = ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; + Utils::copy(data + ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1, m_priv); + return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; } data[ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE] = 0; return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1; @@ -471,16 +449,11 @@ int Identity::unmarshal(const uint8_t* data, const int len) noexcept privlen = data[ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE]; if (privlen == ZT_C25519_COMBINED_PRIVATE_KEY_SIZE) { - if (len - < (ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 - + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE)) + if (len < (ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE)) return -1; m_hasPrivate = true; - Utils::copy( - m_priv, - data + ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1); - return ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 - + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE; + Utils::copy(m_priv, data + ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1); + return ZT_ADDRESS_LENGTH + 1 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + 1 + ZT_C25519_COMBINED_PRIVATE_KEY_SIZE; } else if (privlen == 0) { m_hasPrivate = false; @@ -503,16 +476,11 @@ int Identity::unmarshal(const uint8_t* data, const int len) noexcept return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1; } else if (privlen == ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE) { - if (len - < (ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 - + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE)) + if (len < (ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE)) return -1; m_hasPrivate = true; - Utils::copy( - &m_priv, - data + ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1); - return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 - + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; + Utils::copy(&m_priv, data + ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1); + return ZT_ADDRESS_LENGTH + 1 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + 1 + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE; } break; } diff --git a/core/Identity.hpp b/core/Identity.hpp index 09976f5ff..022c24dd7 100644 --- a/core/Identity.hpp +++ b/core/Identity.hpp @@ -27,9 +27,8 @@ #define ZT_IDENTITY_STRING_BUFFER_LENGTH 1024 #define ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE (7 + ZT_C25519_COMBINED_PUBLIC_KEY_SIZE + ZT_ECC384_PUBLIC_KEY_SIZE) #define ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE (ZT_C25519_COMBINED_PRIVATE_KEY_SIZE + ZT_ECC384_PRIVATE_KEY_SIZE) -#define ZT_IDENTITY_MARSHAL_SIZE_MAX \ - (ZT_ADDRESS_LENGTH + 4 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE) -#define ZT_IDENTITY_TYPE1_MIMC52_ROUNDS 262144 +#define ZT_IDENTITY_MARSHAL_SIZE_MAX (ZT_ADDRESS_LENGTH + 4 + ZT_IDENTITY_P384_COMPOUND_PUBLIC_KEY_SIZE + ZT_IDENTITY_P384_COMPOUND_PRIVATE_KEY_SIZE) +#define ZT_IDENTITY_TYPE1_MIMC52_ROUNDS 262144 namespace ZeroTier { diff --git a/core/InetAddress.cpp b/core/InetAddress.cpp index 18f1f985e..63c953685 100644 --- a/core/InetAddress.cpp +++ b/core/InetAddress.cpp @@ -20,9 +20,7 @@ namespace ZeroTier { -static_assert( - ZT_SOCKADDR_STORAGE_SIZE == sizeof(sockaddr_storage), - "ZT_SOCKADDR_STORAGE_SIZE is incorrect on this platform, must be size of sockaddr_storage"); +static_assert(ZT_SOCKADDR_STORAGE_SIZE == sizeof(sockaddr_storage), "ZT_SOCKADDR_STORAGE_SIZE is incorrect on this platform, must be size of sockaddr_storage"); static_assert( ZT_SOCKADDR_STORAGE_SIZE == sizeof(InetAddress), "ZT_SOCKADDR_STORAGE_SIZE should equal InetAddress, which should equal size of sockaddr_storage"); @@ -31,8 +29,7 @@ static_assert( "ZT_SOCKADDR_STORAGE_SIZE should equal ZT_InetAddress, which should equal size of sockaddr_storage"); const InetAddress InetAddress::LO4((const void*)("\x7f\x00\x00\x01"), 4, 0); -const InetAddress - InetAddress::LO6((const void*)("\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"), 16, 0); +const InetAddress InetAddress::LO6((const void*)("\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01"), 16, 0); const InetAddress InetAddress::NIL; InetAddress::IpScope InetAddress::ipScope() const noexcept @@ -47,18 +44,18 @@ InetAddress::IpScope InetAddress::ipScope() const noexcept return ZT_IP_SCOPE_PSEUDOPRIVATE; // 6.0.0.0/8 (US Army) case 0x0a: return ZT_IP_SCOPE_PRIVATE; // 10.0.0.0/8 - case 0x15: // return IP_SCOPE_PSEUDOPRIVATE; // 21.0.0.0/8 (US DDN-RVN) - case 0x16: // return IP_SCOPE_PSEUDOPRIVATE; // 22.0.0.0/8 (US DISA) - case 0x19: // return IP_SCOPE_PSEUDOPRIVATE; // 25.0.0.0/8 (UK Ministry of - // Defense) - case 0x1a: // return IP_SCOPE_PSEUDOPRIVATE; // 26.0.0.0/8 (US DISA) - case 0x1c: // return IP_SCOPE_PSEUDOPRIVATE; // 28.0.0.0/8 (US DSI-North) - case 0x1d: // return IP_SCOPE_PSEUDOPRIVATE; // 29.0.0.0/8 (US DISA) - case 0x1e: // return IP_SCOPE_PSEUDOPRIVATE; // 30.0.0.0/8 (US DISA) - case 0x33: // return IP_SCOPE_PSEUDOPRIVATE; // 51.0.0.0/8 (UK Department of - // Social Security) - case 0x37: // return IP_SCOPE_PSEUDOPRIVATE; // 55.0.0.0/8 (US DoD) - case 0x38: // 56.0.0.0/8 (US Postal Service) + case 0x15: // return IP_SCOPE_PSEUDOPRIVATE; // 21.0.0.0/8 (US DDN-RVN) + case 0x16: // return IP_SCOPE_PSEUDOPRIVATE; // 22.0.0.0/8 (US DISA) + case 0x19: // return IP_SCOPE_PSEUDOPRIVATE; // 25.0.0.0/8 (UK Ministry of + // Defense) + case 0x1a: // return IP_SCOPE_PSEUDOPRIVATE; // 26.0.0.0/8 (US DISA) + case 0x1c: // return IP_SCOPE_PSEUDOPRIVATE; // 28.0.0.0/8 (US DSI-North) + case 0x1d: // return IP_SCOPE_PSEUDOPRIVATE; // 29.0.0.0/8 (US DISA) + case 0x1e: // return IP_SCOPE_PSEUDOPRIVATE; // 30.0.0.0/8 (US DISA) + case 0x33: // return IP_SCOPE_PSEUDOPRIVATE; // 51.0.0.0/8 (UK Department of + // Social Security) + case 0x37: // return IP_SCOPE_PSEUDOPRIVATE; // 55.0.0.0/8 (US DoD) + case 0x38: // 56.0.0.0/8 (US Postal Service) return ZT_IP_SCOPE_PSEUDOPRIVATE; case 0x64: if ((ip & 0xffc00000) == 0x64400000) @@ -241,8 +238,7 @@ InetAddress InetAddress::netmask() const noexcept uint64_t nm[2]; const unsigned int bits = netmaskBits(); if (bits) { - nm[0] = Utils::hton( - (uint64_t)((bits >= 64) ? 0xffffffffffffffffULL : (0xffffffffffffffffULL << (64 - bits)))); + nm[0] = Utils::hton((uint64_t)((bits >= 64) ? 0xffffffffffffffffULL : (0xffffffffffffffffULL << (64 - bits)))); nm[1] = Utils::hton((uint64_t)((bits <= 64) ? 0ULL : (0xffffffffffffffffULL << (128 - bits)))); } else { @@ -276,8 +272,7 @@ InetAddress InetAddress::network() const noexcept uint64_t nm[2]; const unsigned int bits = netmaskBits(); Utils::copy<16>(nm, reinterpret_cast(&r)->sin6_addr.s6_addr); - nm[0] &= - Utils::hton((uint64_t)((bits >= 64) ? 0xffffffffffffffffULL : (0xffffffffffffffffULL << (64 - bits)))); + nm[0] &= Utils::hton((uint64_t)((bits >= 64) ? 0xffffffffffffffffULL : (0xffffffffffffffffULL << (64 - bits)))); nm[1] &= Utils::hton((uint64_t)((bits <= 64) ? 0ULL : (0xffffffffffffffffULL << (128 - bits)))); Utils::copy<16>(r.as.sa_in6.sin6_addr.s6_addr, nm); } break; @@ -316,8 +311,7 @@ bool InetAddress::containsAddress(const InetAddress& addr) const noexcept if (bits == 0) return true; return ( - (Utils::ntoh((uint32_t)addr.as.sa_in.sin_addr.s_addr) >> (32 - bits)) - == (Utils::ntoh((uint32_t)as.sa_in.sin_addr.s_addr) >> (32 - bits))); + (Utils::ntoh((uint32_t)addr.as.sa_in.sin_addr.s_addr) >> (32 - bits)) == (Utils::ntoh((uint32_t)as.sa_in.sin_addr.s_addr) >> (32 - bits))); } case AF_INET6: { const InetAddress mask(netmask()); @@ -449,8 +443,7 @@ InetAddress InetAddress::makeIpv6rfc4193(uint64_t nwid, uint64_t zeroTierAddress { InetAddress r; r.as.sa_in6.sin6_family = AF_INET6; - r.as.sa_in6.sin6_port = - ZT_CONST_TO_BE_UINT16(88); // /88 includes 0xfd + network ID, discriminating by device ID below that + r.as.sa_in6.sin6_port = ZT_CONST_TO_BE_UINT16(88); // /88 includes 0xfd + network ID, discriminating by device ID below that r.as.sa_in6.sin6_addr.s6_addr[0] = 0xfd; r.as.sa_in6.sin6_addr.s6_addr[1] = (uint8_t)(nwid >> 56U); r.as.sa_in6.sin6_addr.s6_addr[2] = (uint8_t)(nwid >> 48U); diff --git a/core/InetAddress.hpp b/core/InetAddress.hpp index a2a669728..3afc89f78 100644 --- a/core/InetAddress.hpp +++ b/core/InetAddress.hpp @@ -447,13 +447,12 @@ struct InetAddress : public TriviallyCopyable { ZT_INLINE unsigned long hashCode() const noexcept { if (as.ss.ss_family == AF_INET) { - return (unsigned long)Utils::hash32( - ((uint32_t)as.sa_in.sin_addr.s_addr + (uint32_t)as.sa_in.sin_port) ^ (uint32_t)Utils::s_mapNonce); + return (unsigned long)Utils::hash32(((uint32_t)as.sa_in.sin_addr.s_addr + (uint32_t)as.sa_in.sin_port) ^ (uint32_t)Utils::s_mapNonce); } else if (as.ss.ss_family == AF_INET6) { return (unsigned long)Utils::hash64( - (Utils::loadMachineEndian(as.sa_in6.sin6_addr.s6_addr) - + Utils::loadMachineEndian(as.sa_in6.sin6_addr.s6_addr + 8) + (uint64_t)as.sa_in6.sin6_port) + (Utils::loadMachineEndian(as.sa_in6.sin6_addr.s6_addr) + Utils::loadMachineEndian(as.sa_in6.sin6_addr.s6_addr + 8) + + (uint64_t)as.sa_in6.sin6_port) ^ Utils::s_mapNonce); } return Utils::fnv1a32(this, sizeof(InetAddress)); @@ -490,13 +489,9 @@ struct InetAddress : public TriviallyCopyable { { if (as.ss.ss_family == a.as.ss.ss_family) { if (as.ss.ss_family == AF_INET) - return ( - (as.sa_in.sin_port == a.as.sa_in.sin_port) - && (as.sa_in.sin_addr.s_addr == a.as.sa_in.sin_addr.s_addr)); + return ((as.sa_in.sin_port == a.as.sa_in.sin_port) && (as.sa_in.sin_addr.s_addr == a.as.sa_in.sin_addr.s_addr)); if (as.ss.ss_family == AF_INET6) - return ( - (as.sa_in6.sin6_port == a.as.sa_in6.sin6_port) - && (memcmp(as.sa_in6.sin6_addr.s6_addr, a.as.sa_in6.sin6_addr.s6_addr, 16) == 0)); + return ((as.sa_in6.sin6_port == a.as.sa_in6.sin6_port) && (memcmp(as.sa_in6.sin6_addr.s6_addr, a.as.sa_in6.sin6_addr.s6_addr, 16) == 0)); return memcmp(this, &a, sizeof(InetAddress)) == 0; } return false; @@ -509,8 +504,7 @@ struct InetAddress : public TriviallyCopyable { const uint16_t p0 = Utils::ntoh((uint16_t)as.sa_in.sin_port); const uint16_t p1 = Utils::ntoh((uint16_t)a.as.sa_in.sin_port); if (p0 == p1) - return Utils::ntoh((uint32_t)as.sa_in.sin_addr.s_addr) - < Utils::ntoh((uint32_t)a.as.sa_in.sin_addr.s_addr); + return Utils::ntoh((uint32_t)as.sa_in.sin_addr.s_addr) < Utils::ntoh((uint32_t)a.as.sa_in.sin_addr.s_addr); return p0 < p1; } if (as.ss.ss_family == AF_INET6) { diff --git a/core/LZ4.cpp b/core/LZ4.cpp index 90c7b376f..2508bcf87 100644 --- a/core/LZ4.cpp +++ b/core/LZ4.cpp @@ -282,9 +282,8 @@ FORCE_INLINE unsigned LZ4_NbCommonBytes(reg_t val) #elif (defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 3))) && ! defined(LZ4_FORCE_SW_BITCOUNT) return (__builtin_ctzll((U64)val) >> 3); #else - static const int DeBruijnBytePos[64] = { 0, 0, 0, 0, 0, 1, 1, 2, 0, 3, 1, 3, 1, 4, 2, 7, 0, 2, 3, 6, 1, 5, - 3, 5, 1, 3, 4, 4, 2, 5, 6, 7, 7, 0, 1, 2, 3, 3, 4, 6, 2, 6, 5, 5, - 3, 4, 5, 6, 7, 1, 2, 4, 6, 4, 4, 5, 7, 2, 6, 5, 7, 6, 7, 7 }; + static const int DeBruijnBytePos[64] = { 0, 0, 0, 0, 0, 1, 1, 2, 0, 3, 1, 3, 1, 4, 2, 7, 0, 2, 3, 6, 1, 5, 3, 5, 1, 3, 4, 4, 2, 5, 6, 7, + 7, 0, 1, 2, 3, 3, 4, 6, 2, 6, 5, 5, 3, 4, 5, 6, 7, 1, 2, 4, 6, 4, 4, 5, 7, 2, 6, 5, 7, 6, 7, 7 }; return DeBruijnBytePos[((U64)((val & -(long long)val) * 0x0218A392CDABBD3FULL)) >> 58]; #endif } @@ -296,8 +295,7 @@ FORCE_INLINE unsigned LZ4_NbCommonBytes(reg_t val) #elif (defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 3))) && ! defined(LZ4_FORCE_SW_BITCOUNT) return (__builtin_ctz((U32)val) >> 3); #else - static const int DeBruijnBytePos[32] = { 0, 0, 3, 0, 3, 1, 3, 0, 3, 2, 2, 1, 3, 2, 0, 1, - 3, 3, 1, 2, 2, 2, 2, 0, 3, 1, 2, 0, 1, 0, 1, 1 }; + static const int DeBruijnBytePos[32] = { 0, 0, 3, 0, 3, 1, 3, 0, 3, 2, 2, 1, 3, 2, 0, 1, 3, 3, 1, 2, 2, 2, 2, 0, 3, 1, 2, 0, 1, 0, 1, 1 }; return DeBruijnBytePos[((U32)((val & -(S32)val) * 0x077CB531U)) >> 27]; #endif } @@ -426,8 +424,7 @@ FORCE_INLINE U32 LZ4_hashPosition(const void* const p, tableType_t const tableTy return LZ4_hash4(LZ4_read32(p), tableType); } -FORCE_INLINE void -LZ4_putPositionOnHash(const BYTE* p, U32 h, void* tableBase, tableType_t const tableType, const BYTE* srcBase) +FORCE_INLINE void LZ4_putPositionOnHash(const BYTE* p, U32 h, void* tableBase, tableType_t const tableType, const BYTE* srcBase) { switch (tableType) { case byPtr: { @@ -567,8 +564,7 @@ FORCE_INLINE int LZ4_compress_generic( forwardH = LZ4_hashPosition(forwardIp, tableType); LZ4_putPositionOnHash(ip, h, cctx->hashTable, tableType, base); - } while (((dictIssue == dictSmall) ? (match < lowRefLimit) : 0) - || ((tableType == byU16) ? 0 : (match + MAX_DISTANCE < ip)) + } while (((dictIssue == dictSmall) ? (match < lowRefLimit) : 0) || ((tableType == byU16) ? 0 : (match + MAX_DISTANCE < ip)) || (LZ4_read32(match + refDelta) != LZ4_read32(ip))); } @@ -666,8 +662,7 @@ FORCE_INLINE int LZ4_compress_generic( } } LZ4_putPosition(ip, cctx->hashTable, tableType, base); - if (((dictIssue == dictSmall) ? (match >= lowRefLimit) : 1) && (match + MAX_DISTANCE >= ip) - && (LZ4_read32(match + refDelta) == LZ4_read32(ip))) { + if (((dictIssue == dictSmall) ? (match >= lowRefLimit) : 1) && (match + MAX_DISTANCE >= ip) && (LZ4_read32(match + refDelta) == LZ4_read32(ip))) { token = op++; *token = 0; goto _next_match; @@ -702,13 +697,7 @@ _last_literals: return (int)(((char*)op) - dest); } -ZT_INLINE int LZ4_compress_fast_extState( - void* state, - const char* source, - char* dest, - int inputSize, - int maxOutputSize, - int acceleration) +ZT_INLINE int LZ4_compress_fast_extState(void* state, const char* source, char* dest, int inputSize, int maxOutputSize, int acceleration) { LZ4_stream_t_internal* ctx = &((LZ4_stream_t*)state)->internal_donotuse; LZ4_resetStream((LZ4_stream_t*)state); @@ -716,43 +705,13 @@ ZT_INLINE int LZ4_compress_fast_extState( if (maxOutputSize >= LZ4_compressBound(inputSize)) { if (inputSize < LZ4_64Klimit) - return LZ4_compress_generic( - ctx, - source, - dest, - inputSize, - 0, - notLimited, - byU16, - noDict, - noDictIssue, - acceleration); + return LZ4_compress_generic(ctx, source, dest, inputSize, 0, notLimited, byU16, noDict, noDictIssue, acceleration); else - return LZ4_compress_generic( - ctx, - source, - dest, - inputSize, - 0, - notLimited, - (sizeof(void*) == 8) ? byU32 : byPtr, - noDict, - noDictIssue, - acceleration); + return LZ4_compress_generic(ctx, source, dest, inputSize, 0, notLimited, (sizeof(void*) == 8) ? byU32 : byPtr, noDict, noDictIssue, acceleration); } else { if (inputSize < LZ4_64Klimit) - return LZ4_compress_generic( - ctx, - source, - dest, - inputSize, - maxOutputSize, - limitedOutput, - byU16, - noDict, - noDictIssue, - acceleration); + return LZ4_compress_generic(ctx, source, dest, inputSize, maxOutputSize, limitedOutput, byU16, noDict, noDictIssue, acceleration); else return LZ4_compress_generic( ctx, @@ -835,8 +794,7 @@ FORCE_INLINE int LZ4_decompress_generic( /* copy literals */ cpy = op + length; - if (((endOnInput) - && ((cpy > (partialDecoding ? oexit : oend - MFLIMIT)) || (ip + length > iend - (2 + 1 + LASTLITERALS)))) + if (((endOnInput) && ((cpy > (partialDecoding ? oexit : oend - MFLIMIT)) || (ip + length > iend - (2 + 1 + LASTLITERALS)))) || ((! endOnInput) && (cpy > oend - WILDCOPYLENGTH))) { if (partialDecoding) { if (cpy > oend) @@ -982,18 +940,7 @@ int LZ4_compress_fast(const char* source, char* dest, int inputSize, int maxOutp int LZ4_decompress_safe(const char* source, char* dest, int compressedSize, int maxDecompressedSize) noexcept { - return LZ4_decompress_generic( - source, - dest, - compressedSize, - maxDecompressedSize, - endOnInputSize, - full, - 0, - noDict, - (BYTE*)dest, - NULL, - 0); + return LZ4_decompress_generic(source, dest, compressedSize, maxDecompressedSize, endOnInputSize, full, 0, noDict, (BYTE*)dest, NULL, 0); } } // namespace ZeroTier diff --git a/core/Locator.cpp b/core/Locator.cpp index 0f41028b1..4e1184057 100644 --- a/core/Locator.cpp +++ b/core/Locator.cpp @@ -19,8 +19,7 @@ namespace ZeroTier { -const SharedPtr - Locator::EndpointAttributes::DEFAULT(new Locator::EndpointAttributes()); +const SharedPtr Locator::EndpointAttributes::DEFAULT(new Locator::EndpointAttributes()); Locator::Locator(const char* const str) noexcept : __refCount(0) { @@ -34,18 +33,14 @@ Locator::Locator(const char* const str) noexcept : __refCount(0) bool Locator::add(const Endpoint& ep, const SharedPtr& a) { - for (Vector > >::iterator i(m_endpoints.begin()); - i != m_endpoints.end(); - ++i) { + for (Vector > >::iterator i(m_endpoints.begin()); i != m_endpoints.end(); ++i) { if (i->first == ep) { i->second = ((a) && (a->data[0] != 0)) ? a : EndpointAttributes::DEFAULT; return true; } } if (m_endpoints.size() < ZT_LOCATOR_MAX_ENDPOINTS) { - m_endpoints.push_back(std::pair >( - ep, - ((a) && (a->data[0] != 0)) ? a : EndpointAttributes::DEFAULT)); + m_endpoints.push_back(std::pair >(ep, ((a) && (a->data[0] != 0)) ? a : EndpointAttributes::DEFAULT)); return true; } return false; @@ -85,17 +80,11 @@ bool Locator::verify(const Identity& id) const noexcept char* Locator::toString(char s[ZT_LOCATOR_STRING_SIZE_MAX]) const noexcept { - static_assert( - ZT_LOCATOR_STRING_SIZE_MAX > ((((ZT_LOCATOR_MARSHAL_SIZE_MAX / 5) + 1) * 8) + ZT_ADDRESS_LENGTH_HEX + 1), - "overflow"); + static_assert(ZT_LOCATOR_STRING_SIZE_MAX > ((((ZT_LOCATOR_MARSHAL_SIZE_MAX / 5) + 1) * 8) + ZT_ADDRESS_LENGTH_HEX + 1), "overflow"); uint8_t bin[ZT_LOCATOR_MARSHAL_SIZE_MAX]; m_signer.toString(s); s[ZT_ADDRESS_LENGTH_HEX] = '@'; - Utils::b32e( - bin, - marshal(bin, false), - s + (ZT_ADDRESS_LENGTH_HEX + 1), - ZT_LOCATOR_STRING_SIZE_MAX - (ZT_ADDRESS_LENGTH_HEX + 1)); + Utils::b32e(bin, marshal(bin, false), s + (ZT_ADDRESS_LENGTH_HEX + 1), ZT_LOCATOR_STRING_SIZE_MAX - (ZT_ADDRESS_LENGTH_HEX + 1)); return s; } @@ -120,9 +109,7 @@ int Locator::marshal(uint8_t data[ZT_LOCATOR_MARSHAL_SIZE_MAX], const bool exclu Utils::storeBigEndian(data + p, (uint16_t)m_endpoints.size()); p += 2; - for (Vector > >::const_iterator e(m_endpoints.begin()); - e != m_endpoints.end(); - ++e) { + for (Vector > >::const_iterator e(m_endpoints.begin()); e != m_endpoints.end(); ++e) { int l = e->first.marshal(data + p); if (l <= 0) return -1; diff --git a/core/Locator.hpp b/core/Locator.hpp index 6ff33a5ba..98df45ae8 100644 --- a/core/Locator.hpp +++ b/core/Locator.hpp @@ -35,9 +35,8 @@ */ #define ZT_LOCATOR_MAX_ENDPOINTS 16 -#define ZT_LOCATOR_MARSHAL_SIZE_MAX \ - (8 + ZT_ADDRESS_LENGTH + 2 \ - + (ZT_LOCATOR_MAX_ENDPOINTS * (ZT_ENDPOINT_MARSHAL_SIZE_MAX + ZT_LOCATOR_MAX_ENDPOINT_ATTRIBUTES_SIZE)) + 2 + 2 \ +#define ZT_LOCATOR_MARSHAL_SIZE_MAX \ + (8 + ZT_ADDRESS_LENGTH + 2 + (ZT_LOCATOR_MAX_ENDPOINTS * (ZT_ENDPOINT_MARSHAL_SIZE_MAX + ZT_LOCATOR_MAX_ENDPOINT_ATTRIBUTES_SIZE)) + 2 + 2 \ + ZT_SIGNATURE_BUFFER_SIZE) /** @@ -236,8 +235,7 @@ class Locator { ZT_INLINE bool operator==(const Locator& l) const noexcept { const unsigned long es = (unsigned long)m_endpoints.size(); - if ((m_revision == l.m_revision) && (m_signer == l.m_signer) && (es == (unsigned long)l.m_endpoints.size()) - && (m_signature == l.m_signature)) { + if ((m_revision == l.m_revision) && (m_signer == l.m_signer) && (es == (unsigned long)l.m_endpoints.size()) && (m_signature == l.m_signature)) { for (unsigned long i = 0; i < es; ++i) { if (m_endpoints[i].first != l.m_endpoints[i].first) return false; diff --git a/core/MAC.hpp b/core/MAC.hpp index 0c32dfe76..69686ff8b 100644 --- a/core/MAC.hpp +++ b/core/MAC.hpp @@ -31,12 +31,8 @@ class MAC : public TriviallyCopyable { { } - ZT_INLINE - MAC(const uint8_t a, const uint8_t b, const uint8_t c, const uint8_t d, const uint8_t e, const uint8_t f) - noexcept - : m_mac( - (((uint64_t)a) << 40U) | (((uint64_t)b) << 32U) | (((uint64_t)c) << 24U) | (((uint64_t)d) << 16U) - | (((uint64_t)e) << 8U) | ((uint64_t)f)) + ZT_INLINE MAC(const uint8_t a, const uint8_t b, const uint8_t c, const uint8_t d, const uint8_t e, const uint8_t f) noexcept + : m_mac((((uint64_t)a) << 40U) | (((uint64_t)b) << 32U) | (((uint64_t)c) << 24U) | (((uint64_t)d) << 16U) | (((uint64_t)e) << 8U) | ((uint64_t)f)) { } @@ -76,8 +72,7 @@ class MAC : public TriviallyCopyable { */ ZT_INLINE void setTo(const uint8_t b[6]) noexcept { - m_mac = ((uint64_t)b[0] << 40U) | ((uint64_t)b[1] << 32U) | ((uint64_t)b[2] << 24U) | ((uint64_t)b[3] << 16U) - | ((uint64_t)b[4] << 8U) | (uint64_t)b[5]; + m_mac = ((uint64_t)b[0] << 40U) | ((uint64_t)b[1] << 32U) | ((uint64_t)b[2] << 24U) | ((uint64_t)b[3] << 16U) | ((uint64_t)b[4] << 8U) | (uint64_t)b[5]; } /** @@ -138,8 +133,7 @@ class MAC : public TriviallyCopyable { ZT_INLINE Address toAddress(uint64_t nwid) const noexcept { uint64_t a = m_mac & 0xffffffffffULL; // least significant 40 bits of MAC are formed from address - a ^= ((nwid >> 8U) & 0xffU) - << 32U; // ... XORed with bits 8-48 of the nwid in little-endian byte order, so unmask it + a ^= ((nwid >> 8U) & 0xffU) << 32U; // ... XORed with bits 8-48 of the nwid in little-endian byte order, so unmask it a ^= ((nwid >> 16U) & 0xffU) << 24U; a ^= ((nwid >> 24U) & 0xffU) << 16U; a ^= ((nwid >> 32U) & 0xffU) << 8U; @@ -153,10 +147,9 @@ class MAC : public TriviallyCopyable { */ static ZT_INLINE unsigned char firstOctetForNetwork(uint64_t nwid) noexcept { - const uint8_t a = - ((uint8_t)(nwid & 0xfeU) | 0x02U); // locally administered, not multicast, from LSB of network ID - return ((a == 0x52) ? 0x32 : a); // blacklist 0x52 since it's used by KVM, libvirt, and other popular - // virtualization engines... seems de-facto standard on Linux + const uint8_t a = ((uint8_t)(nwid & 0xfeU) | 0x02U); // locally administered, not multicast, from LSB of network ID + return ((a == 0x52) ? 0x32 : a); // blacklist 0x52 since it's used by KVM, libvirt, and other popular + // virtualization engines... seems de-facto standard on Linux } /** diff --git a/core/MIMC52.cpp b/core/MIMC52.cpp index bd5f8bd47..4717197e2 100644 --- a/core/MIMC52.cpp +++ b/core/MIMC52.cpp @@ -21,120 +21,85 @@ namespace { // Largest 1024 primes of form 6k + 5 and less than 2^52. Only the least significant 32 // bits need to be here, as the most significant bits are all 1. const uint32_t ZT_MIMC52_PRIMES[1024] = { - 4294895267, 4294895477, 4294895513, 4294895519, 4294895543, 4294895567, 4294895657, 4294895711, 4294895777, - 4294895861, 4294895909, 4294895921, 4294895969, 4294896011, 4294896149, 4294896227, 4294896401, 4294896473, - 4294896527, 4294896563, 4294896653, 4294896731, 4294896863, 4294896899, 4294896983, 4294897037, 4294897103, - 4294897331, 4294897349, 4294897451, 4294897571, 4294897661, 4294897703, 4294897757, 4294897793, 4294897811, - 4294897817, 4294897829, 4294897877, 4294897919, 4294897991, 4294898027, 4294898129, 4294898153, 4294898231, - 4294898273, 4294898279, 4294898291, 4294898363, 4294898369, 4294898417, 4294898423, 4294898453, 4294898489, - 4294898573, 4294898579, 4294898639, 4294898693, 4294898747, 4294898759, 4294898867, 4294898879, 4294898909, - 4294898921, 4294898933, 4294899011, 4294899041, 4294899047, 4294899203, 4294899221, 4294899227, 4294899287, - 4294899341, 4294899431, 4294899509, 4294899533, 4294899539, 4294899551, 4294899629, 4294899791, 4294899809, - 4294899971, 4294900001, 4294900007, 4294900013, 4294900307, 4294900331, 4294900427, 4294900469, 4294900481, - 4294900541, 4294900583, 4294900781, 4294900853, 4294900931, 4294900991, 4294901033, 4294901087, 4294901159, - 4294901267, 4294901393, 4294901411, 4294901489, 4294901657, 4294902011, 4294902071, 4294902101, 4294902107, - 4294902353, 4294902377, 4294902599, 4294902647, 4294902743, 4294902869, 4294902977, 4294903067, 4294903103, - 4294903259, 4294903289, 4294903397, 4294903421, 4294903493, 4294903577, 4294903631, 4294903637, 4294903733, - 4294903799, 4294903823, 4294904003, 4294904033, 4294904081, 4294904129, 4294904279, 4294904297, 4294904303, - 4294904333, 4294904351, 4294904381, 4294904453, 4294904519, 4294904561, 4294904639, 4294904657, 4294904747, - 4294904807, 4294904843, 4294905089, 4294905149, 4294905293, 4294905299, 4294905311, 4294905443, 4294905479, - 4294905539, 4294905623, 4294905641, 4294905671, 4294905707, 4294905887, 4294905977, 4294906091, 4294906103, - 4294906139, 4294906157, 4294906223, 4294906259, 4294906487, 4294906493, 4294906523, 4294906547, 4294906553, - 4294906571, 4294906577, 4294906589, 4294906703, 4294906733, 4294906763, 4294906841, 4294906859, 4294906937, - 4294907057, 4294907063, 4294907141, 4294907231, 4294907249, 4294907261, 4294907267, 4294907387, 4294907417, - 4294907567, 4294907603, 4294907699, 4294907789, 4294907849, 4294907873, 4294907879, 4294908023, 4294908071, - 4294908119, 4294908209, 4294908227, 4294908329, 4294908491, 4294908503, 4294908569, 4294908653, 4294908713, - 4294908719, 4294908791, 4294908839, 4294908869, 4294908989, 4294909031, 4294909067, 4294909109, 4294909253, - 4294909529, 4294909589, 4294909643, 4294909739, 4294909799, 4294909811, 4294909853, 4294910003, 4294910039, - 4294910189, 4294910201, 4294910219, 4294910273, 4294910333, 4294910369, 4294910393, 4294910471, 4294910549, - 4294910651, 4294910669, 4294910681, 4294910711, 4294910753, 4294910801, 4294910981, 4294911053, 4294911143, - 4294911227, 4294911239, 4294911359, 4294911383, 4294911407, 4294911521, 4294911551, 4294911611, 4294911641, - 4294911689, 4294911719, 4294911869, 4294912109, 4294912133, 4294912151, 4294912187, 4294912223, 4294912331, - 4294912439, 4294912607, 4294912703, 4294912859, 4294912871, 4294912907, 4294912961, 4294913003, 4294913111, - 4294913309, 4294913333, 4294913357, 4294913399, 4294913411, 4294913459, 4294913501, 4294913531, 4294913591, - 4294913609, 4294913663, 4294913783, 4294913819, 4294913903, 4294914137, 4294914413, 4294914473, 4294914497, - 4294914527, 4294914551, 4294914593, 4294914611, 4294914659, 4294914671, 4294914743, 4294914863, 4294914917, - 4294915061, 4294915103, 4294915139, 4294915217, 4294915223, 4294915253, 4294915283, 4294915373, 4294915433, - 4294915607, 4294916069, 4294916213, 4294916267, 4294916303, 4294916393, 4294916441, 4294916477, 4294916507, - 4294916573, 4294916633, 4294916687, 4294916783, 4294916837, 4294916897, 4294916921, 4294917029, 4294917047, - 4294917101, 4294917203, 4294917287, 4294917299, 4294917389, 4294917437, 4294917527, 4294917557, 4294917611, - 4294917617, 4294917689, 4294917821, 4294917857, 4294917917, 4294917941, 4294918169, 4294918187, 4294918307, - 4294918409, 4294918433, 4294918481, 4294918703, 4294918709, 4294918733, 4294918799, 4294918871, 4294919009, - 4294919249, 4294919279, 4294919291, 4294919363, 4294919381, 4294919441, 4294919447, 4294919549, 4294919579, - 4294919633, 4294919657, 4294919669, 4294919693, 4294919711, 4294920029, 4294920059, 4294920089, 4294920197, - 4294920239, 4294920257, 4294920263, 4294920269, 4294920341, 4294920353, 4294920407, 4294920503, 4294920599, - 4294920647, 4294920743, 4294920803, 4294920809, 4294920881, 4294920899, 4294920983, 4294921043, 4294921139, - 4294921151, 4294921181, 4294921229, 4294921289, 4294921331, 4294921343, 4294921391, 4294921469, 4294921709, - 4294921721, 4294921823, 4294921847, 4294921889, 4294922057, 4294922171, 4294922201, 4294922237, 4294922309, - 4294922399, 4294922447, 4294922507, 4294922513, 4294922549, 4294922609, 4294922663, 4294922861, 4294922933, - 4294923101, 4294923191, 4294923209, 4294923221, 4294923251, 4294923263, 4294923359, 4294923371, 4294923377, - 4294923461, 4294923521, 4294923953, 4294924001, 4294924091, 4294924121, 4294924319, 4294924397, 4294924571, - 4294924583, 4294924751, 4294924817, 4294924823, 4294924847, 4294924877, 4294925003, 4294925027, 4294925117, - 4294925237, 4294925243, 4294925297, 4294925369, 4294925627, 4294925639, 4294925729, 4294925747, 4294925873, - 4294925891, 4294925933, 4294926047, 4294926059, 4294926209, 4294926221, 4294926233, 4294926257, 4294926329, - 4294926371, 4294926401, 4294926413, 4294926437, 4294926563, 4294926569, 4294926917, 4294926923, 4294926947, - 4294926971, 4294927067, 4294927073, 4294927151, 4294927349, 4294927367, 4294927403, 4294927481, 4294927523, - 4294927553, 4294927589, 4294927649, 4294927673, 4294927727, 4294927739, 4294927763, 4294927889, 4294928183, - 4294928207, 4294928249, 4294928327, 4294928351, 4294928399, 4294928483, 4294928489, 4294928543, 4294928597, - 4294928951, 4294928963, 4294928981, 4294929017, 4294929059, 4294929161, 4294929197, 4294929233, 4294929269, - 4294929311, 4294929323, 4294929341, 4294929383, 4294929401, 4294929497, 4294929509, 4294929581, 4294929707, - 4294929743, 4294930043, 4294930121, 4294930193, 4294930223, 4294930349, 4294930403, 4294930571, 4294930613, - 4294930721, 4294930751, 4294930877, 4294930931, 4294930961, 4294930967, 4294930973, 4294931021, 4294931051, - 4294931057, 4294931063, 4294931219, 4294931273, 4294931339, 4294931423, 4294931441, 4294931453, 4294931567, - 4294931639, 4294931717, 4294931897, 4294931969, 4294932023, 4294932053, 4294932239, 4294932299, 4294932443, - 4294932671, 4294932677, 4294932731, 4294932743, 4294932767, 4294932773, 4294932779, 4294932881, 4294932899, - 4294932929, 4294933067, 4294933277, 4294933307, 4294933343, 4294933451, 4294933523, 4294933763, 4294933793, - 4294933829, 4294933847, 4294933871, 4294933997, 4294934033, 4294934111, 4294934207, 4294934243, 4294934267, - 4294934279, 4294934291, 4294934327, 4294934363, 4294934423, 4294934489, 4294934561, 4294934867, 4294934921, - 4294934969, 4294935137, 4294935239, 4294935299, 4294935431, 4294935539, 4294935629, 4294935701, 4294935791, - 4294935797, 4294935803, 4294935959, 4294936001, 4294936007, 4294936037, 4294936079, 4294936127, 4294936163, - 4294936247, 4294936307, 4294936331, 4294936409, 4294936451, 4294936601, 4294936607, 4294936619, 4294936667, - 4294936709, 4294936733, 4294936751, 4294936763, 4294936829, 4294936937, 4294936997, 4294937027, 4294937051, - 4294937093, 4294937177, 4294937213, 4294937291, 4294937381, 4294937417, 4294937429, 4294937681, 4294937693, - 4294937753, 4294937771, 4294937813, 4294937837, 4294937891, 4294937969, 4294938071, 4294938101, 4294938323, - 4294938371, 4294938401, 4294938467, 4294938473, 4294938521, 4294938599, 4294938731, 4294938779, 4294938833, - 4294938899, 4294938977, 4294938983, 4294939067, 4294939127, 4294939223, 4294939277, 4294939331, 4294939337, - 4294939391, 4294939457, 4294939559, 4294939673, 4294939691, 4294939901, 4294939991, 4294940087, 4294940093, - 4294940189, 4294940213, 4294940417, 4294940657, 4294940699, 4294940753, 4294940801, 4294940873, 4294940951, - 4294941047, 4294941143, 4294941161, 4294941227, 4294941281, 4294941377, 4294941509, 4294941551, 4294941701, - 4294941731, 4294941767, 4294941911, 4294941923, 4294942043, 4294942139, 4294942313, 4294942343, 4294942373, - 4294942427, 4294942529, 4294942601, 4294942649, 4294942673, 4294942679, 4294942733, 4294942769, 4294942811, - 4294942961, 4294943129, 4294943141, 4294943219, 4294943369, 4294943423, 4294943471, 4294943651, 4294943687, - 4294943717, 4294943729, 4294943747, 4294943759, 4294943813, 4294943819, 4294943891, 4294944077, 4294944191, - 4294944233, 4294944239, 4294944353, 4294944389, 4294944581, 4294944623, 4294944629, 4294944659, 4294944821, - 4294945031, 4294945157, 4294945211, 4294945229, 4294945301, 4294945337, 4294945343, 4294945511, 4294945547, - 4294945667, 4294945709, 4294945757, 4294945841, 4294945991, 4294946033, 4294946099, 4294946153, 4294946477, - 4294946687, 4294946747, 4294946957, 4294946993, 4294947023, 4294947131, 4294947167, 4294947287, 4294947311, - 4294947413, 4294947581, 4294947599, 4294947671, 4294947851, 4294947959, 4294948067, 4294948073, 4294948193, - 4294948259, 4294948421, 4294948451, 4294948613, 4294948673, 4294948883, 4294949027, 4294949057, 4294949069, - 4294949519, 4294949531, 4294949603, 4294949609, 4294949627, 4294949693, 4294949729, 4294949741, 4294949807, - 4294949921, 4294949939, 4294949981, 4294949993, 4294950083, 4294950173, 4294950197, 4294950251, 4294950287, - 4294950317, 4294950323, 4294950329, 4294950581, 4294950593, 4294950617, 4294950629, 4294950713, 4294950929, - 4294951151, 4294951163, 4294951169, 4294951379, 4294951583, 4294951613, 4294951853, 4294951907, 4294951913, - 4294951937, 4294951961, 4294952063, 4294952183, 4294952393, 4294952543, 4294952549, 4294952597, 4294952627, - 4294952687, 4294952723, 4294952729, 4294952789, 4294952819, 4294952873, 4294952891, 4294952903, 4294952969, - 4294952999, 4294953023, 4294953107, 4294953173, 4294953281, 4294953341, 4294953431, 4294953599, 4294953689, - 4294953719, 4294953827, 4294953887, 4294953977, 4294954073, 4294954079, 4294954157, 4294954217, 4294954283, - 4294954607, 4294954667, 4294954859, 4294954901, 4294954973, 4294955081, 4294955237, 4294955273, 4294955327, - 4294955441, 4294955507, 4294955591, 4294955789, 4294955831, 4294955837, 4294955927, 4294955963, 4294955969, - 4294955987, 4294956041, 4294956047, 4294956197, 4294956323, 4294956359, 4294956551, 4294956593, 4294956623, - 4294956629, 4294956641, 4294956719, 4294956761, 4294956767, 4294956797, 4294956821, 4294956833, 4294957037, - 4294957079, 4294957103, 4294957181, 4294957349, 4294957379, 4294957433, 4294957463, 4294957511, 4294957577, - 4294957727, 4294957859, 4294957877, 4294958039, 4294958153, 4294958309, 4294958417, 4294958441, 4294958693, - 4294958717, 4294958753, 4294958903, 4294958909, 4294959017, 4294959071, 4294959107, 4294959161, 4294959257, - 4294959299, 4294959329, 4294959431, 4294959593, 4294959599, 4294959659, 4294959893, 4294959917, 4294959983, - 4294960001, 4294960031, 4294960061, 4294960079, 4294960097, 4294960271, 4294960283, 4294960349, 4294960367, - 4294960421, 4294960529, 4294960541, 4294960583, 4294960613, 4294960673, 4294960691, 4294960697, 4294960787, - 4294960919, 4294961003, 4294961039, 4294961153, 4294961159, 4294961171, 4294961321, 4294961411, 4294961471, - 4294961507, 4294961537, 4294961669, 4294961717, 4294961741, 4294961873, 4294962059, 4294962137, 4294962167, - 4294962263, 4294962281, 4294962311, 4294962341, 4294962413, 4294962521, 4294962563, 4294962761, 4294962893, - 4294963103, 4294963163, 4294963223, 4294963313, 4294963349, 4294963427, 4294963547, 4294963559, 4294963721, - 4294963799, 4294963817, 4294963901, 4294963919, 4294964021, 4294964279, 4294964297, 4294964363, 4294964387, - 4294964411, 4294964567, 4294964603, 4294964687, 4294964777, 4294965041, 4294965071, 4294965119, 4294965221, - 4294965251, 4294965287, 4294965413, 4294965569, 4294965647, 4294965671, 4294965689, 4294965779, 4294965839, - 4294965893, 4294966091, 4294966109, 4294966127, 4294966157, 4294966187, 4294966199, 4294966211, 4294966403, - 4294966457, 4294966499, 4294966541, 4294966637, 4294966661, 4294966739, 4294966823, 4294966883, 4294966901, - 4294966961, 4294967027, 4294967087, 4294967099, 4294967123, 4294967153, 4294967249 + 4294895267, 4294895477, 4294895513, 4294895519, 4294895543, 4294895567, 4294895657, 4294895711, 4294895777, 4294895861, 4294895909, 4294895921, 4294895969, + 4294896011, 4294896149, 4294896227, 4294896401, 4294896473, 4294896527, 4294896563, 4294896653, 4294896731, 4294896863, 4294896899, 4294896983, 4294897037, + 4294897103, 4294897331, 4294897349, 4294897451, 4294897571, 4294897661, 4294897703, 4294897757, 4294897793, 4294897811, 4294897817, 4294897829, 4294897877, + 4294897919, 4294897991, 4294898027, 4294898129, 4294898153, 4294898231, 4294898273, 4294898279, 4294898291, 4294898363, 4294898369, 4294898417, 4294898423, + 4294898453, 4294898489, 4294898573, 4294898579, 4294898639, 4294898693, 4294898747, 4294898759, 4294898867, 4294898879, 4294898909, 4294898921, 4294898933, + 4294899011, 4294899041, 4294899047, 4294899203, 4294899221, 4294899227, 4294899287, 4294899341, 4294899431, 4294899509, 4294899533, 4294899539, 4294899551, + 4294899629, 4294899791, 4294899809, 4294899971, 4294900001, 4294900007, 4294900013, 4294900307, 4294900331, 4294900427, 4294900469, 4294900481, 4294900541, + 4294900583, 4294900781, 4294900853, 4294900931, 4294900991, 4294901033, 4294901087, 4294901159, 4294901267, 4294901393, 4294901411, 4294901489, 4294901657, + 4294902011, 4294902071, 4294902101, 4294902107, 4294902353, 4294902377, 4294902599, 4294902647, 4294902743, 4294902869, 4294902977, 4294903067, 4294903103, + 4294903259, 4294903289, 4294903397, 4294903421, 4294903493, 4294903577, 4294903631, 4294903637, 4294903733, 4294903799, 4294903823, 4294904003, 4294904033, + 4294904081, 4294904129, 4294904279, 4294904297, 4294904303, 4294904333, 4294904351, 4294904381, 4294904453, 4294904519, 4294904561, 4294904639, 4294904657, + 4294904747, 4294904807, 4294904843, 4294905089, 4294905149, 4294905293, 4294905299, 4294905311, 4294905443, 4294905479, 4294905539, 4294905623, 4294905641, + 4294905671, 4294905707, 4294905887, 4294905977, 4294906091, 4294906103, 4294906139, 4294906157, 4294906223, 4294906259, 4294906487, 4294906493, 4294906523, + 4294906547, 4294906553, 4294906571, 4294906577, 4294906589, 4294906703, 4294906733, 4294906763, 4294906841, 4294906859, 4294906937, 4294907057, 4294907063, + 4294907141, 4294907231, 4294907249, 4294907261, 4294907267, 4294907387, 4294907417, 4294907567, 4294907603, 4294907699, 4294907789, 4294907849, 4294907873, + 4294907879, 4294908023, 4294908071, 4294908119, 4294908209, 4294908227, 4294908329, 4294908491, 4294908503, 4294908569, 4294908653, 4294908713, 4294908719, + 4294908791, 4294908839, 4294908869, 4294908989, 4294909031, 4294909067, 4294909109, 4294909253, 4294909529, 4294909589, 4294909643, 4294909739, 4294909799, + 4294909811, 4294909853, 4294910003, 4294910039, 4294910189, 4294910201, 4294910219, 4294910273, 4294910333, 4294910369, 4294910393, 4294910471, 4294910549, + 4294910651, 4294910669, 4294910681, 4294910711, 4294910753, 4294910801, 4294910981, 4294911053, 4294911143, 4294911227, 4294911239, 4294911359, 4294911383, + 4294911407, 4294911521, 4294911551, 4294911611, 4294911641, 4294911689, 4294911719, 4294911869, 4294912109, 4294912133, 4294912151, 4294912187, 4294912223, + 4294912331, 4294912439, 4294912607, 4294912703, 4294912859, 4294912871, 4294912907, 4294912961, 4294913003, 4294913111, 4294913309, 4294913333, 4294913357, + 4294913399, 4294913411, 4294913459, 4294913501, 4294913531, 4294913591, 4294913609, 4294913663, 4294913783, 4294913819, 4294913903, 4294914137, 4294914413, + 4294914473, 4294914497, 4294914527, 4294914551, 4294914593, 4294914611, 4294914659, 4294914671, 4294914743, 4294914863, 4294914917, 4294915061, 4294915103, + 4294915139, 4294915217, 4294915223, 4294915253, 4294915283, 4294915373, 4294915433, 4294915607, 4294916069, 4294916213, 4294916267, 4294916303, 4294916393, + 4294916441, 4294916477, 4294916507, 4294916573, 4294916633, 4294916687, 4294916783, 4294916837, 4294916897, 4294916921, 4294917029, 4294917047, 4294917101, + 4294917203, 4294917287, 4294917299, 4294917389, 4294917437, 4294917527, 4294917557, 4294917611, 4294917617, 4294917689, 4294917821, 4294917857, 4294917917, + 4294917941, 4294918169, 4294918187, 4294918307, 4294918409, 4294918433, 4294918481, 4294918703, 4294918709, 4294918733, 4294918799, 4294918871, 4294919009, + 4294919249, 4294919279, 4294919291, 4294919363, 4294919381, 4294919441, 4294919447, 4294919549, 4294919579, 4294919633, 4294919657, 4294919669, 4294919693, + 4294919711, 4294920029, 4294920059, 4294920089, 4294920197, 4294920239, 4294920257, 4294920263, 4294920269, 4294920341, 4294920353, 4294920407, 4294920503, + 4294920599, 4294920647, 4294920743, 4294920803, 4294920809, 4294920881, 4294920899, 4294920983, 4294921043, 4294921139, 4294921151, 4294921181, 4294921229, + 4294921289, 4294921331, 4294921343, 4294921391, 4294921469, 4294921709, 4294921721, 4294921823, 4294921847, 4294921889, 4294922057, 4294922171, 4294922201, + 4294922237, 4294922309, 4294922399, 4294922447, 4294922507, 4294922513, 4294922549, 4294922609, 4294922663, 4294922861, 4294922933, 4294923101, 4294923191, + 4294923209, 4294923221, 4294923251, 4294923263, 4294923359, 4294923371, 4294923377, 4294923461, 4294923521, 4294923953, 4294924001, 4294924091, 4294924121, + 4294924319, 4294924397, 4294924571, 4294924583, 4294924751, 4294924817, 4294924823, 4294924847, 4294924877, 4294925003, 4294925027, 4294925117, 4294925237, + 4294925243, 4294925297, 4294925369, 4294925627, 4294925639, 4294925729, 4294925747, 4294925873, 4294925891, 4294925933, 4294926047, 4294926059, 4294926209, + 4294926221, 4294926233, 4294926257, 4294926329, 4294926371, 4294926401, 4294926413, 4294926437, 4294926563, 4294926569, 4294926917, 4294926923, 4294926947, + 4294926971, 4294927067, 4294927073, 4294927151, 4294927349, 4294927367, 4294927403, 4294927481, 4294927523, 4294927553, 4294927589, 4294927649, 4294927673, + 4294927727, 4294927739, 4294927763, 4294927889, 4294928183, 4294928207, 4294928249, 4294928327, 4294928351, 4294928399, 4294928483, 4294928489, 4294928543, + 4294928597, 4294928951, 4294928963, 4294928981, 4294929017, 4294929059, 4294929161, 4294929197, 4294929233, 4294929269, 4294929311, 4294929323, 4294929341, + 4294929383, 4294929401, 4294929497, 4294929509, 4294929581, 4294929707, 4294929743, 4294930043, 4294930121, 4294930193, 4294930223, 4294930349, 4294930403, + 4294930571, 4294930613, 4294930721, 4294930751, 4294930877, 4294930931, 4294930961, 4294930967, 4294930973, 4294931021, 4294931051, 4294931057, 4294931063, + 4294931219, 4294931273, 4294931339, 4294931423, 4294931441, 4294931453, 4294931567, 4294931639, 4294931717, 4294931897, 4294931969, 4294932023, 4294932053, + 4294932239, 4294932299, 4294932443, 4294932671, 4294932677, 4294932731, 4294932743, 4294932767, 4294932773, 4294932779, 4294932881, 4294932899, 4294932929, + 4294933067, 4294933277, 4294933307, 4294933343, 4294933451, 4294933523, 4294933763, 4294933793, 4294933829, 4294933847, 4294933871, 4294933997, 4294934033, + 4294934111, 4294934207, 4294934243, 4294934267, 4294934279, 4294934291, 4294934327, 4294934363, 4294934423, 4294934489, 4294934561, 4294934867, 4294934921, + 4294934969, 4294935137, 4294935239, 4294935299, 4294935431, 4294935539, 4294935629, 4294935701, 4294935791, 4294935797, 4294935803, 4294935959, 4294936001, + 4294936007, 4294936037, 4294936079, 4294936127, 4294936163, 4294936247, 4294936307, 4294936331, 4294936409, 4294936451, 4294936601, 4294936607, 4294936619, + 4294936667, 4294936709, 4294936733, 4294936751, 4294936763, 4294936829, 4294936937, 4294936997, 4294937027, 4294937051, 4294937093, 4294937177, 4294937213, + 4294937291, 4294937381, 4294937417, 4294937429, 4294937681, 4294937693, 4294937753, 4294937771, 4294937813, 4294937837, 4294937891, 4294937969, 4294938071, + 4294938101, 4294938323, 4294938371, 4294938401, 4294938467, 4294938473, 4294938521, 4294938599, 4294938731, 4294938779, 4294938833, 4294938899, 4294938977, + 4294938983, 4294939067, 4294939127, 4294939223, 4294939277, 4294939331, 4294939337, 4294939391, 4294939457, 4294939559, 4294939673, 4294939691, 4294939901, + 4294939991, 4294940087, 4294940093, 4294940189, 4294940213, 4294940417, 4294940657, 4294940699, 4294940753, 4294940801, 4294940873, 4294940951, 4294941047, + 4294941143, 4294941161, 4294941227, 4294941281, 4294941377, 4294941509, 4294941551, 4294941701, 4294941731, 4294941767, 4294941911, 4294941923, 4294942043, + 4294942139, 4294942313, 4294942343, 4294942373, 4294942427, 4294942529, 4294942601, 4294942649, 4294942673, 4294942679, 4294942733, 4294942769, 4294942811, + 4294942961, 4294943129, 4294943141, 4294943219, 4294943369, 4294943423, 4294943471, 4294943651, 4294943687, 4294943717, 4294943729, 4294943747, 4294943759, + 4294943813, 4294943819, 4294943891, 4294944077, 4294944191, 4294944233, 4294944239, 4294944353, 4294944389, 4294944581, 4294944623, 4294944629, 4294944659, + 4294944821, 4294945031, 4294945157, 4294945211, 4294945229, 4294945301, 4294945337, 4294945343, 4294945511, 4294945547, 4294945667, 4294945709, 4294945757, + 4294945841, 4294945991, 4294946033, 4294946099, 4294946153, 4294946477, 4294946687, 4294946747, 4294946957, 4294946993, 4294947023, 4294947131, 4294947167, + 4294947287, 4294947311, 4294947413, 4294947581, 4294947599, 4294947671, 4294947851, 4294947959, 4294948067, 4294948073, 4294948193, 4294948259, 4294948421, + 4294948451, 4294948613, 4294948673, 4294948883, 4294949027, 4294949057, 4294949069, 4294949519, 4294949531, 4294949603, 4294949609, 4294949627, 4294949693, + 4294949729, 4294949741, 4294949807, 4294949921, 4294949939, 4294949981, 4294949993, 4294950083, 4294950173, 4294950197, 4294950251, 4294950287, 4294950317, + 4294950323, 4294950329, 4294950581, 4294950593, 4294950617, 4294950629, 4294950713, 4294950929, 4294951151, 4294951163, 4294951169, 4294951379, 4294951583, + 4294951613, 4294951853, 4294951907, 4294951913, 4294951937, 4294951961, 4294952063, 4294952183, 4294952393, 4294952543, 4294952549, 4294952597, 4294952627, + 4294952687, 4294952723, 4294952729, 4294952789, 4294952819, 4294952873, 4294952891, 4294952903, 4294952969, 4294952999, 4294953023, 4294953107, 4294953173, + 4294953281, 4294953341, 4294953431, 4294953599, 4294953689, 4294953719, 4294953827, 4294953887, 4294953977, 4294954073, 4294954079, 4294954157, 4294954217, + 4294954283, 4294954607, 4294954667, 4294954859, 4294954901, 4294954973, 4294955081, 4294955237, 4294955273, 4294955327, 4294955441, 4294955507, 4294955591, + 4294955789, 4294955831, 4294955837, 4294955927, 4294955963, 4294955969, 4294955987, 4294956041, 4294956047, 4294956197, 4294956323, 4294956359, 4294956551, + 4294956593, 4294956623, 4294956629, 4294956641, 4294956719, 4294956761, 4294956767, 4294956797, 4294956821, 4294956833, 4294957037, 4294957079, 4294957103, + 4294957181, 4294957349, 4294957379, 4294957433, 4294957463, 4294957511, 4294957577, 4294957727, 4294957859, 4294957877, 4294958039, 4294958153, 4294958309, + 4294958417, 4294958441, 4294958693, 4294958717, 4294958753, 4294958903, 4294958909, 4294959017, 4294959071, 4294959107, 4294959161, 4294959257, 4294959299, + 4294959329, 4294959431, 4294959593, 4294959599, 4294959659, 4294959893, 4294959917, 4294959983, 4294960001, 4294960031, 4294960061, 4294960079, 4294960097, + 4294960271, 4294960283, 4294960349, 4294960367, 4294960421, 4294960529, 4294960541, 4294960583, 4294960613, 4294960673, 4294960691, 4294960697, 4294960787, + 4294960919, 4294961003, 4294961039, 4294961153, 4294961159, 4294961171, 4294961321, 4294961411, 4294961471, 4294961507, 4294961537, 4294961669, 4294961717, + 4294961741, 4294961873, 4294962059, 4294962137, 4294962167, 4294962263, 4294962281, 4294962311, 4294962341, 4294962413, 4294962521, 4294962563, 4294962761, + 4294962893, 4294963103, 4294963163, 4294963223, 4294963313, 4294963349, 4294963427, 4294963547, 4294963559, 4294963721, 4294963799, 4294963817, 4294963901, + 4294963919, 4294964021, 4294964279, 4294964297, 4294964363, 4294964387, 4294964411, 4294964567, 4294964603, 4294964687, 4294964777, 4294965041, 4294965071, + 4294965119, 4294965221, 4294965251, 4294965287, 4294965413, 4294965569, 4294965647, 4294965671, 4294965689, 4294965779, 4294965839, 4294965893, 4294966091, + 4294966109, 4294966127, 4294966157, 4294966187, 4294966199, 4294966211, 4294966403, 4294966457, 4294966499, 4294966541, 4294966637, 4294966661, 4294966739, + 4294966823, 4294966883, 4294966901, 4294966961, 4294967027, 4294967087, 4294967099, 4294967123, 4294967153, 4294967249 }; #ifdef ZT_NO_IEEE_DOUBLE diff --git a/core/Member.cpp b/core/Member.cpp index 223810ea5..bb0748240 100644 --- a/core/Member.cpp +++ b/core/Member.cpp @@ -21,19 +21,11 @@ namespace ZeroTier { -Member::Member() - : m_comRevocationThreshold(0) - , m_lastPushedCredentials(0) - , m_comAgreementLocalTimestamp(0) - , m_comAgreementRemoteTimestamp(0) +Member::Member() : m_comRevocationThreshold(0), m_lastPushedCredentials(0), m_comAgreementLocalTimestamp(0), m_comAgreementRemoteTimestamp(0) { } -void Member::pushCredentials( - const Context& ctx, - const CallContext& cc, - const SharedPtr& to, - const NetworkConfig& nconf) +void Member::pushCredentials(const Context& ctx, const CallContext& cc, const SharedPtr& to, const NetworkConfig& nconf) { if (! nconf.com) // sanity check return; @@ -224,8 +216,7 @@ static ZT_INLINE Member::AddCredentialResult _addCredImpl( return Member::ADD_ACCEPTED_REDUNDANT; } - typename Map::const_iterator rt( - revocations.find(Member::credentialKey(C::credentialType(), cred.id()))); + typename Map::const_iterator rt(revocations.find(Member::credentialKey(C::credentialType(), cred.id()))); if ((rt != revocations.end()) && (rt->second >= cred.revision())) { ctx.t->credentialRejected( cc, @@ -260,12 +251,8 @@ static ZT_INLINE Member::AddCredentialResult _addCredImpl( } } -Member::AddCredentialResult Member::addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const TagCredential& tag) +Member::AddCredentialResult +Member::addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const TagCredential& tag) { return _addCredImpl(m_remoteTags, m_revocations, ctx, cc, sourcePeerIdentity, nconf, tag); } @@ -280,12 +267,8 @@ Member::AddCredentialResult Member::addCredential( return _addCredImpl(m_remoteCaps, m_revocations, ctx, cc, sourcePeerIdentity, nconf, cap); } -Member::AddCredentialResult Member::addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const OwnershipCredential& coo) +Member::AddCredentialResult +Member::addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const OwnershipCredential& coo) { return _addCredImpl(m_remoteCoos, m_revocations, ctx, cc, sourcePeerIdentity, nconf, coo); } diff --git a/core/Member.hpp b/core/Member.hpp index 5931d0419..dd174ba1c 100644 --- a/core/Member.hpp +++ b/core/Member.hpp @@ -48,8 +48,7 @@ class Member { * @param to Peer identity * @param nconf My network config */ - void - pushCredentials(const Context& ctx, const CallContext& cc, const SharedPtr& to, const NetworkConfig& nconf); + void pushCredentials(const Context& ctx, const CallContext& cc, const SharedPtr& to, const NetworkConfig& nconf); /** * @return Time we last pushed credentials to this member @@ -69,9 +68,7 @@ class Member { ZT_INLINE const TagCredential* getTag(const NetworkConfig& nconf, const uint32_t id) const noexcept { Map::const_iterator t(m_remoteTags.find(id)); - return ( - ((t != m_remoteTags.end()) && (m_isCredentialTimestampValid(nconf, t->second))) ? &(t->second) - : (TagCredential*)0); + return (((t != m_remoteTags.end()) && (m_isCredentialTimestampValid(nconf, t->second))) ? &(t->second) : (TagCredential*)0); } /** @@ -115,8 +112,7 @@ class Member { */ ZT_INLINE bool certificateOfMembershipAgress(const MembershipCredential& localCom, const Identity& remoteIdentity) { - if ((m_comAgreementLocalTimestamp == localCom.timestamp()) - && (m_comAgreementRemoteTimestamp == m_com.timestamp())) + if ((m_comAgreementLocalTimestamp == localCom.timestamp()) && (m_comAgreementRemoteTimestamp == m_com.timestamp())) return true; if (m_com.agreesWith(localCom)) { // SECURITY: newer network controllers embed the full fingerprint into the COM. If we are @@ -146,36 +142,16 @@ class Member { return false; } - AddCredentialResult addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const MembershipCredential& com); - AddCredentialResult addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const TagCredential& tag); - AddCredentialResult addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const CapabilityCredential& cap); - AddCredentialResult addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const OwnershipCredential& coo); - AddCredentialResult addCredential( - const Context& ctx, - const CallContext& cc, - const Identity& sourcePeerIdentity, - const NetworkConfig& nconf, - const RevocationCredential& rev); + AddCredentialResult + addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const MembershipCredential& com); + AddCredentialResult + addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const TagCredential& tag); + AddCredentialResult + addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const CapabilityCredential& cap); + AddCredentialResult + addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const OwnershipCredential& coo); + AddCredentialResult + addCredential(const Context& ctx, const CallContext& cc, const Identity& sourcePeerIdentity, const NetworkConfig& nconf, const RevocationCredential& rev); private: // This returns true if a resource is an IPv6 NDP-emulated address. These embed the ZT @@ -190,14 +166,11 @@ class Member { // This compares the remote credential's timestamp to the timestamp in our network config // plus or minus the permitted maximum timestamp delta. - template - ZT_INLINE bool m_isCredentialTimestampValid(const NetworkConfig& nconf, const C& remoteCredential) const noexcept + template ZT_INLINE bool m_isCredentialTimestampValid(const NetworkConfig& nconf, const C& remoteCredential) const noexcept { const int64_t ts = remoteCredential.revision(); - if (((ts >= nconf.timestamp) ? (ts - nconf.timestamp) : (nconf.timestamp - ts)) - <= nconf.credentialTimeMaxDelta) { - Map::const_iterator threshold( - m_revocations.find(credentialKey(C::credentialType(), remoteCredential.id()))); + if (((ts >= nconf.timestamp) ? (ts - nconf.timestamp) : (nconf.timestamp - ts)) <= nconf.credentialTimeMaxDelta) { + Map::const_iterator threshold(m_revocations.find(credentialKey(C::credentialType(), remoteCredential.id()))); return ((threshold == m_revocations.end()) || (ts > threshold->second)); } return false; diff --git a/core/MembershipCredential.cpp b/core/MembershipCredential.cpp index 8e8099b10..8758877af 100644 --- a/core/MembershipCredential.cpp +++ b/core/MembershipCredential.cpp @@ -44,14 +44,12 @@ bool MembershipCredential::agreesWith(const MembershipCredential& other) const n } // us <> them - for (FCV::const_iterator i( - m_additionalQualifiers.begin()); + for (FCV::const_iterator i(m_additionalQualifiers.begin()); i != m_additionalQualifiers.end(); ++i) { if (i->delta != 0xffffffffffffffffULL) { const uint64_t* v2 = nullptr; - for (FCV::const_iterator j( - other.m_additionalQualifiers.begin()); + for (FCV::const_iterator j(other.m_additionalQualifiers.begin()); j != other.m_additionalQualifiers.end(); ++i) { if (j->id == i->id) { @@ -73,14 +71,12 @@ bool MembershipCredential::agreesWith(const MembershipCredential& other) const n } // them <> us (we need a second pass in case they have qualifiers we don't or vice versa) - for (FCV::const_iterator i( - other.m_additionalQualifiers.begin()); + for (FCV::const_iterator i(other.m_additionalQualifiers.begin()); i != other.m_additionalQualifiers.end(); ++i) { if (i->delta != 0xffffffffffffffffULL) { const uint64_t* v2 = nullptr; - for (FCV::const_iterator j( - m_additionalQualifiers.begin()); + for (FCV::const_iterator j(m_additionalQualifiers.begin()); j != m_additionalQualifiers.end(); ++i) { if (j->id == i->id) { @@ -144,9 +140,7 @@ int MembershipCredential::marshal(uint8_t data[ZT_MEMBERSHIP_CREDENTIAL_MARSHAL_ Utils::storeBigEndian(data + 1, 9); for (int k = 0; k < 6; ++k) { Utils::storeBigEndian(data + p, (uint64_t)k + 3); - Utils::storeMachineEndian( - data + p + 8, - Utils::loadMachineEndian(m_issuedTo.hash + (k * 8))); + Utils::storeMachineEndian(data + p + 8, Utils::loadMachineEndian(m_issuedTo.hash + (k * 8))); Utils::storeMachineEndian(data + p + 16, 0xffffffffffffffffULL); p += 24; } @@ -303,8 +297,7 @@ unsigned int MembershipCredential::m_fillSigningBuf(uint64_t* buf) const noexcep buf[p++] = informational; } - for (FCV::const_iterator i( - m_additionalQualifiers.begin()); + for (FCV::const_iterator i(m_additionalQualifiers.begin()); i != m_additionalQualifiers.end(); ++i) { // NOLINT(modernize-loop-convert) buf[p++] = Utils::hton(i->id); diff --git a/core/MembershipCredential.hpp b/core/MembershipCredential.hpp index 4c8c6dc48..45f293205 100644 --- a/core/MembershipCredential.hpp +++ b/core/MembershipCredential.hpp @@ -30,8 +30,7 @@ #define ZT_MEMBERSHIP_CREDENTIAL_MAX_ADDITIONAL_QUALIFIERS 8 // version + qualifier count + three required qualifiers + additional qualifiers + -#define ZT_MEMBERSHIP_CREDENTIAL_MARSHAL_SIZE_MAX \ - (1 + 2 + (3 * 3 * 8) + (ZT_MEMBERSHIP_CREDENTIAL_MAX_ADDITIONAL_QUALIFIERS * 3 * 8) + 144 + 5 + 2 + 96) +#define ZT_MEMBERSHIP_CREDENTIAL_MARSHAL_SIZE_MAX (1 + 2 + (3 * 3 * 8) + (ZT_MEMBERSHIP_CREDENTIAL_MAX_ADDITIONAL_QUALIFIERS * 3 * 8) + 144 + 5 + 2 + 96) namespace ZeroTier { @@ -122,8 +121,7 @@ class MembershipCredential : public Credential { * @param nwid Network ID * @param issuedTo Certificate recipient */ - MembershipCredential(int64_t timestamp, int64_t timestampMaxDelta, uint64_t nwid, const Identity& issuedTo) - noexcept; + MembershipCredential(int64_t timestamp, int64_t timestampMaxDelta, uint64_t nwid, const Identity& issuedTo) noexcept; /** * @return True if there's something here diff --git a/core/Meter.hpp b/core/Meter.hpp index 1e445ca77..1424f7313 100644 --- a/core/Meter.hpp +++ b/core/Meter.hpp @@ -58,9 +58,7 @@ template class Meter { // to it. const unsigned long bucket = ((unsigned long)(ts / TUNIT)) % LSIZE; if (unlikely(m_bucket.exchange(bucket, std::memory_order_relaxed) != bucket)) { - m_totalExclCounts.fetch_add( - m_counts[bucket].exchange(count, std::memory_order_relaxed), - std::memory_order_relaxed); + m_totalExclCounts.fetch_add(m_counts[bucket].exchange(count, std::memory_order_relaxed), std::memory_order_relaxed); } else { m_counts[bucket].fetch_add(count, std::memory_order_relaxed); diff --git a/core/MulticastGroup.hpp b/core/MulticastGroup.hpp index 912e3861a..fb76e3556 100644 --- a/core/MulticastGroup.hpp +++ b/core/MulticastGroup.hpp @@ -71,8 +71,7 @@ class MulticastGroup : public TriviallyCopyable { // multicast address directly from the IP address, and it gives us // 24 bits of uniqueness. Collisions aren't likely to be common enough // to care about. - const uint8_t* const a = - reinterpret_cast(ip.rawIpData()); // NOLINT(hicpp-use-auto,modernize-use-auto) + const uint8_t* const a = reinterpret_cast(ip.rawIpData()); // NOLINT(hicpp-use-auto,modernize-use-auto) return MulticastGroup(MAC(0x33, 0x33, 0xff, a[13], a[14], a[15]), 0); } return MulticastGroup(); // NOLINT(modernize-return-braced-init-list) diff --git a/core/Network.cpp b/core/Network.cpp index b9f7a2906..617a35106 100644 --- a/core/Network.cpp +++ b/core/Network.cpp @@ -61,13 +61,7 @@ bool _ipv6GetPayload(const uint8_t* frameData, unsigned int frameLen, unsigned i return false; // overflow == invalid } -enum _doZtFilterResult { - DOZTFILTER_NO_MATCH, - DOZTFILTER_DROP, - DOZTFILTER_REDIRECT, - DOZTFILTER_ACCEPT, - DOZTFILTER_SUPER_ACCEPT -}; +enum _doZtFilterResult { DOZTFILTER_NO_MATCH, DOZTFILTER_DROP, DOZTFILTER_REDIRECT, DOZTFILTER_ACCEPT, DOZTFILTER_SUPER_ACCEPT }; ZT_INLINE _doZtFilterResult _doZtFilter( const Context& ctx, @@ -107,9 +101,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( if (thisSetMatches) { switch (rt) { case ZT_NETWORK_RULE_ACTION_PRIORITY: - qosBucket = (rules[rn].v.qosBucket >= 0 && rules[rn].v.qosBucket <= 8) - ? rules[rn].v.qosBucket - : 4; // 4 = default bucket (no priority) + qosBucket = + (rules[rn].v.qosBucket >= 0 && rules[rn].v.qosBucket <= 8) ? rules[rn].v.qosBucket : 4; // 4 = default bucket (no priority) return DOZTFILTER_ACCEPT; case ZT_NETWORK_RULE_ACTION_DROP: @@ -143,9 +136,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( else { cc = fwdAddr; ccLength = (rules[rn].v.fwd.length != 0) - ? ((frameLen < (unsigned int)rules[rn].v.fwd.length) - ? frameLen - : (unsigned int)rules[rn].v.fwd.length) + ? ((frameLen < (unsigned int)rules[rn].v.fwd.length) ? frameLen : (unsigned int)rules[rn].v.fwd.length) : frameLen; ccWatch = (rt == ZT_NETWORK_RULE_ACTION_WATCH); } @@ -192,8 +183,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( // If this was not an ACTION evaluate next MATCH and update thisSetMatches with (AND [result]) uint8_t thisRuleMatches = 0; - uint64_t ownershipVerificationMask = - 1; // this magic value means it hasn't been computed yet -- this is done lazily the first time it's needed + uint64_t ownershipVerificationMask = 1; // this magic value means it hasn't been computed yet -- this is done lazily the first time it's needed switch (rt) { case ZT_NETWORK_RULE_MATCH_SOURCE_ZEROTIER_ADDRESS: thisRuleMatches = (uint8_t)(rules[rn].v.zt == ztSource.toInt()); @@ -220,9 +210,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( break; case ZT_NETWORK_RULE_MATCH_IPV4_SOURCE: if ((etherType == ZT_ETHERTYPE_IPV4) && (frameLen >= 20)) { - thisRuleMatches = - (uint8_t)(InetAddress((const void*)&(rules[rn].v.ipv4.ip), 4, rules[rn].v.ipv4.mask) - .containsAddress(InetAddress((const void*)(frameData + 12), 4, 0))); + thisRuleMatches = (uint8_t)(InetAddress((const void*)&(rules[rn].v.ipv4.ip), 4, rules[rn].v.ipv4.mask) + .containsAddress(InetAddress((const void*)(frameData + 12), 4, 0))); } else { thisRuleMatches = 0; @@ -230,9 +219,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( break; case ZT_NETWORK_RULE_MATCH_IPV4_DEST: if ((etherType == ZT_ETHERTYPE_IPV4) && (frameLen >= 20)) { - thisRuleMatches = - (uint8_t)(InetAddress((const void*)&(rules[rn].v.ipv4.ip), 4, rules[rn].v.ipv4.mask) - .containsAddress(InetAddress((const void*)(frameData + 16), 4, 0))); + thisRuleMatches = (uint8_t)(InetAddress((const void*)&(rules[rn].v.ipv4.ip), 4, rules[rn].v.ipv4.mask) + .containsAddress(InetAddress((const void*)(frameData + 16), 4, 0))); } else { thisRuleMatches = 0; @@ -249,9 +237,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( break; case ZT_NETWORK_RULE_MATCH_IPV6_DEST: if ((etherType == ZT_ETHERTYPE_IPV6) && (frameLen >= 40)) { - thisRuleMatches = - (uint8_t)(InetAddress((const void*)rules[rn].v.ipv6.ip, 16, rules[rn].v.ipv6.mask) - .containsAddress(InetAddress((const void*)(frameData + 24), 16, 0))); + thisRuleMatches = (uint8_t)(InetAddress((const void*)rules[rn].v.ipv6.ip, 16, rules[rn].v.ipv6.mask) + .containsAddress(InetAddress((const void*)(frameData + 24), 16, 0))); } else { thisRuleMatches = 0; @@ -260,14 +247,11 @@ ZT_INLINE _doZtFilterResult _doZtFilter( case ZT_NETWORK_RULE_MATCH_IP_TOS: if ((etherType == ZT_ETHERTYPE_IPV4) && (frameLen >= 20)) { const uint8_t tosMasked = frameData[1] & rules[rn].v.ipTos.mask; - thisRuleMatches = - (uint8_t)((tosMasked >= rules[rn].v.ipTos.value[0]) && (tosMasked <= rules[rn].v.ipTos.value[1])); + thisRuleMatches = (uint8_t)((tosMasked >= rules[rn].v.ipTos.value[0]) && (tosMasked <= rules[rn].v.ipTos.value[1])); } else if ((etherType == ZT_ETHERTYPE_IPV6) && (frameLen >= 40)) { - const uint8_t tosMasked = - (((frameData[0] << 4U) & 0xf0U) | ((frameData[1] >> 4U) & 0x0fU)) & rules[rn].v.ipTos.mask; - thisRuleMatches = - (uint8_t)((tosMasked >= rules[rn].v.ipTos.value[0]) && (tosMasked <= rules[rn].v.ipTos.value[1])); + const uint8_t tosMasked = (((frameData[0] << 4U) & 0xf0U) | ((frameData[1] >> 4U) & 0x0fU)) & rules[rn].v.ipTos.mask; + thisRuleMatches = (uint8_t)((tosMasked >= rules[rn].v.ipTos.value[0]) && (tosMasked <= rules[rn].v.ipTos.value[1])); } else { thisRuleMatches = 0; @@ -358,17 +342,14 @@ ZT_INLINE _doZtFilterResult _doZtFilter( case 0x84: // SCTP case 0x88: // UDPLite if (frameLen > (headerLen + 4)) { - unsigned int pos = - headerLen + ((rt == ZT_NETWORK_RULE_MATCH_IP_DEST_PORT_RANGE) ? 2 : 0); + unsigned int pos = headerLen + ((rt == ZT_NETWORK_RULE_MATCH_IP_DEST_PORT_RANGE) ? 2 : 0); p = (int)(frameData[pos++] << 8U); p |= (int)frameData[pos]; } break; } - thisRuleMatches = - (p >= 0) ? (uint8_t)((p >= (int)rules[rn].v.port[0]) && (p <= (int)rules[rn].v.port[1])) - : (uint8_t)0; + thisRuleMatches = (p >= 0) ? (uint8_t)((p >= (int)rules[rn].v.port[0]) && (p <= (int)rules[rn].v.port[1])) : (uint8_t)0; } else if (etherType == ZT_ETHERTYPE_IPV6) { unsigned int pos = 0, proto = 0; @@ -388,9 +369,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( } break; } - thisRuleMatches = - (p > 0) ? (uint8_t)((p >= (int)rules[rn].v.port[0]) && (p <= (int)rules[rn].v.port[1])) - : (uint8_t)0; + thisRuleMatches = (p > 0) ? (uint8_t)((p >= (int)rules[rn].v.port[0]) && (p <= (int)rules[rn].v.port[1])) : (uint8_t)0; } else { thisRuleMatches = 0; @@ -415,8 +394,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( else if ((etherType == ZT_ETHERTYPE_IPV6) && (frameLen >= 40)) { // IPv6 NDP requires special handling, since the src and dest IPs in the packet are empty or // link-local. - if ((frameLen >= (40 + 8 + 16)) && (frameData[6] == 0x3a) - && ((frameData[40] == 0x87) || (frameData[40] == 0x88))) { + if ((frameLen >= (40 + 8 + 16)) && (frameData[6] == 0x3a) && ((frameData[40] == 0x87) || (frameData[40] == 0x88))) { if (frameData[40] == 0x87) { // Neighbor solicitations contain no reliable source address, so we implement a small // hack by considering them authenticated. Otherwise you would pretty much have to do @@ -474,22 +452,17 @@ ZT_INLINE _doZtFilterResult _doZtFilter( thisRuleMatches = (uint8_t)((frameLen >= (unsigned int)rules[rn].v.frameSize[0]) && (frameLen <= (unsigned int)rules[rn].v.frameSize[1])); break; case ZT_NETWORK_RULE_MATCH_RANDOM: - thisRuleMatches = - (uint8_t)((uint32_t)(Utils::random() & 0xffffffffULL) <= rules[rn].v.randomProbability); + thisRuleMatches = (uint8_t)((uint32_t)(Utils::random() & 0xffffffffULL) <= rules[rn].v.randomProbability); break; case ZT_NETWORK_RULE_MATCH_TAGS_DIFFERENCE: case ZT_NETWORK_RULE_MATCH_TAGS_BITWISE_AND: case ZT_NETWORK_RULE_MATCH_TAGS_BITWISE_OR: case ZT_NETWORK_RULE_MATCH_TAGS_BITWISE_XOR: case ZT_NETWORK_RULE_MATCH_TAGS_EQUAL: { - const TagCredential* const localTag = std::lower_bound( - &(nconf.tags[0]), - &(nconf.tags[nconf.tagCount]), - rules[rn].v.tag.id, - TagCredential::IdComparePredicate()); + const TagCredential* const localTag = + std::lower_bound(&(nconf.tags[0]), &(nconf.tags[nconf.tagCount]), rules[rn].v.tag.id, TagCredential::IdComparePredicate()); if ((localTag != &(nconf.tags[nconf.tagCount])) && (localTag->id() == rules[rn].v.tag.id)) { - const TagCredential* const remoteTag = - ((membership) ? membership->getTag(nconf, rules[rn].v.tag.id) : (const TagCredential*)0); + const TagCredential* const remoteTag = ((membership) ? membership->getTag(nconf, rules[rn].v.tag.id) : (const TagCredential*)0); if (remoteTag) { const uint32_t ltv = localTag->value(); const uint32_t rtv = remoteTag->value(); @@ -507,8 +480,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( thisRuleMatches = (uint8_t)((ltv ^ rtv) == rules[rn].v.tag.value); } else if (rt == ZT_NETWORK_RULE_MATCH_TAGS_EQUAL) { - thisRuleMatches = - (uint8_t)((ltv == rules[rn].v.tag.value) && (rtv == rules[rn].v.tag.value)); + thisRuleMatches = (uint8_t)((ltv == rules[rn].v.tag.value) && (rtv == rules[rn].v.tag.value)); } else { // sanity check, can't really happen thisRuleMatches = 0; @@ -537,11 +509,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( if (superAccept) { thisRuleMatches = 1; } - else if ( - ((rt == ZT_NETWORK_RULE_MATCH_TAG_SENDER) && (inbound)) - || ((rt == ZT_NETWORK_RULE_MATCH_TAG_RECEIVER) && (! inbound))) { - const TagCredential* const remoteTag = - ((membership) ? membership->getTag(nconf, rules[rn].v.tag.id) : (const TagCredential*)0); + else if (((rt == ZT_NETWORK_RULE_MATCH_TAG_SENDER) && (inbound)) || ((rt == ZT_NETWORK_RULE_MATCH_TAG_RECEIVER) && (! inbound))) { + const TagCredential* const remoteTag = ((membership) ? membership->getTag(nconf, rules[rn].v.tag.id) : (const TagCredential*)0); if (remoteTag) { thisRuleMatches = (uint8_t)(remoteTag->value() == rules[rn].v.tag.value); } @@ -557,11 +526,8 @@ ZT_INLINE _doZtFilterResult _doZtFilter( } } else { // sender and outbound or receiver and inbound - const TagCredential* const localTag = std::lower_bound( - &(nconf.tags[0]), - &(nconf.tags[nconf.tagCount]), - rules[rn].v.tag.id, - TagCredential::IdComparePredicate()); + const TagCredential* const localTag = + std::lower_bound(&(nconf.tags[0]), &(nconf.tags[nconf.tagCount]), rules[rn].v.tag.id, TagCredential::IdComparePredicate()); if ((localTag != &(nconf.tags[nconf.tagCount])) && (localTag->id() == rules[rn].v.tag.id)) { thisRuleMatches = (uint8_t)(localTag->value() == rules[rn].v.tag.value); } @@ -598,14 +564,14 @@ ZT_INLINE _doZtFilterResult _doZtFilter( } integer >>= (64 - bits); } - thisRuleMatches = (uint8_t)((integer >= rules[rn].v.intRange.start) && (integer <= (rules[rn].v.intRange.start + (uint64_t)rules[rn].v.intRange.end))); + thisRuleMatches = + (uint8_t)((integer >= rules[rn].v.intRange.start) && (integer <= (rules[rn].v.intRange.start + (uint64_t)rules[rn].v.intRange.end))); } break; // The result of an unsupported MATCH is configurable at the network // level via a flag. default: - thisRuleMatches = - (uint8_t)((nconf.flags & ZT_NETWORKCONFIG_FLAG_RULES_RESULT_OF_UNSUPPORTED_MATCH) != 0); + thisRuleMatches = (uint8_t)((nconf.flags & ZT_NETWORKCONFIG_FLAG_RULES_RESULT_OF_UNSUPPORTED_MATCH) != 0); break; } @@ -624,13 +590,7 @@ ZT_INLINE _doZtFilterResult _doZtFilter( const ZeroTier::MulticastGroup Network::BROADCAST(ZeroTier::MAC(0xffffffffffffULL), 0); -Network::Network( - const Context& ctx, - const CallContext& cc, - uint64_t nwid, - const Fingerprint& controllerFingerprint, - void* uptr, - const NetworkConfig* nconf) +Network::Network(const Context& ctx, const CallContext& cc, uint64_t nwid, const Fingerprint& controllerFingerprint, void* uptr, const NetworkConfig* nconf) : m_ctx(ctx) , m_uPtr(uptr) , m_id(nwid) @@ -1131,13 +1091,7 @@ void Network::multicastUnsubscribe(const MulticastGroup& mg) m_myMulticastGroups.erase(i); } -uint64_t Network::handleConfigChunk( - const CallContext& cc, - uint64_t packetId, - const SharedPtr& source, - const Buf& chunk, - int ptr, - int size) +uint64_t Network::handleConfigChunk(const CallContext& cc, uint64_t packetId, const SharedPtr& source, const Buf& chunk, int ptr, int size) { // If the controller's full fingerprint is known or was explicitly specified on join(), // require that the controller's identity match. Otherwise learn it. @@ -1292,8 +1246,7 @@ int Network::setConfiguration(const CallContext& cc, const NetworkConfig& nconf, if ((nconf.issuedTo != m_ctx.identity.address()) || (nconf.networkId != m_id)) return 0; // invalid config that is not for us or not for this network if ((! Utils::allZero(nconf.issuedToFingerprintHash, ZT_FINGERPRINT_HASH_SIZE)) - && (memcmp(nconf.issuedToFingerprintHash, m_ctx.identity.fingerprint().hash, ZT_FINGERPRINT_HASH_SIZE) - != 0)) + && (memcmp(nconf.issuedToFingerprintHash, m_ctx.identity.fingerprint().hash, ZT_FINGERPRINT_HASH_SIZE) != 0)) return 0; // full identity hash is present and does not match if (m_config == nconf) @@ -1320,8 +1273,7 @@ int Network::setConfiguration(const CallContext& cc, const NetworkConfig& nconf, cc.tPtr, nconf.networkId, &m_uPtr, - (oldPortInitialized) ? ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_CONFIG_UPDATE - : ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_UP, + (oldPortInitialized) ? ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_CONFIG_UPDATE : ZT_VIRTUAL_NETWORK_CONFIG_OPERATION_UP, &ctmp); if (saveToDisk) { @@ -1429,8 +1381,7 @@ void Network::learnBridgeRoute(const MAC& mac, const Address& addr) } } -Member::AddCredentialResult -Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const MembershipCredential& com) +Member::AddCredentialResult Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const MembershipCredential& com) { if (com.networkId() != m_id) return Member::ADD_REJECTED; @@ -1438,8 +1389,7 @@ Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity return m_memberships[com.issuedTo().address].addCredential(m_ctx, cc, sourcePeerIdentity, m_config, com); } -Member::AddCredentialResult -Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const CapabilityCredential& cap) +Member::AddCredentialResult Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const CapabilityCredential& cap) { if (cap.networkId() != m_id) return Member::ADD_REJECTED; @@ -1447,8 +1397,7 @@ Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity return m_memberships[cap.issuedTo()].addCredential(m_ctx, cc, sourcePeerIdentity, m_config, cap); } -Member::AddCredentialResult -Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const TagCredential& tag) +Member::AddCredentialResult Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const TagCredential& tag) { if (tag.networkId() != m_id) return Member::ADD_REJECTED; @@ -1456,8 +1405,7 @@ Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity return m_memberships[tag.issuedTo()].addCredential(m_ctx, cc, sourcePeerIdentity, m_config, tag); } -Member::AddCredentialResult -Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const RevocationCredential& rev) +Member::AddCredentialResult Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const RevocationCredential& rev) { if (rev.networkId() != m_id) return Member::ADD_REJECTED; @@ -1491,8 +1439,7 @@ Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity return result; } -Member::AddCredentialResult -Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const OwnershipCredential& coo) +Member::AddCredentialResult Network::addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const OwnershipCredential& coo) { if (coo.networkId() != m_id) return Member::ADD_REJECTED; @@ -1665,9 +1612,8 @@ void Network::m_requestConfiguration(const CallContext& cc) const Address ctrl(controller()); Dictionary rmd; - rmd.add( - ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_NODE_VENDOR, - (uint64_t)1); // 1 == ZeroTier, no other vendors at the moment + rmd.add(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_NODE_VENDOR, + (uint64_t)1); // 1 == ZeroTier, no other vendors at the moment rmd.add(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_PROTOCOL_VERSION, (uint64_t)ZT_PROTO_VERSION); rmd.add(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_NODE_MAJOR_VERSION, (uint64_t)ZEROTIER_VERSION_MAJOR); rmd.add(ZT_NETWORKCONFIG_REQUEST_METADATA_KEY_NODE_MINOR_VERSION, (uint64_t)ZEROTIER_VERSION_MINOR); @@ -1734,8 +1680,7 @@ void Network::m_externalConfig(ZT_VirtualNetworkConfig* ec) const else ec->name[0] = (char)0; ec->status = m_status(); - ec->type = (m_config) ? (m_config.isPrivate() ? ZT_NETWORK_TYPE_PRIVATE : ZT_NETWORK_TYPE_PUBLIC) - : ZT_NETWORK_TYPE_PRIVATE; + ec->type = (m_config) ? (m_config.isPrivate() ? ZT_NETWORK_TYPE_PRIVATE : ZT_NETWORK_TYPE_PUBLIC) : ZT_NETWORK_TYPE_PRIVATE; ec->mtu = (m_config) ? m_config.mtu : ZT_DEFAULT_MTU; Vector
ab; for (unsigned int i = 0; i < m_config.specialistCount; ++i) { @@ -1788,10 +1733,7 @@ push time if ((!announce)&&(force)) announce = true; if ((announce)&&(m->isAllow */ } -void Network::m_announceMulticastGroupsTo( - void* tPtr, - const Address& peer, - const Vector& allMulticastGroups) +void Network::m_announceMulticastGroupsTo(void* tPtr, const Address& peer, const Vector& allMulticastGroups) { #if 0 // Assumes _myMulticastGroups_l and _memberships_l are locked @@ -1823,9 +1765,7 @@ Vector Network::m_allMulticastGroups() const Vector mgs; mgs.reserve(m_myMulticastGroups.size() + m_multicastGroupsBehindMe.size() + 1); mgs.insert(mgs.end(), m_myMulticastGroups.begin(), m_myMulticastGroups.end()); - for (Map::const_iterator i(m_multicastGroupsBehindMe.begin()); - i != m_multicastGroupsBehindMe.end(); - ++i) + for (Map::const_iterator i(m_multicastGroupsBehindMe.begin()); i != m_multicastGroupsBehindMe.end(); ++i) mgs.push_back(i->first); if ((m_config) && (m_config.enableBroadcast())) mgs.push_back(Network::BROADCAST); diff --git a/core/Network.hpp b/core/Network.hpp index 8d2efbba9..14a4d1c64 100644 --- a/core/Network.hpp +++ b/core/Network.hpp @@ -67,13 +67,7 @@ class Network { * @param uptr Arbitrary pointer used by externally-facing API (for user use) * @param nconf Network config, if known */ - Network( - const Context& ctx, - const CallContext& cc, - uint64_t nwid, - const Fingerprint& controllerFingerprint, - void* uptr, - const NetworkConfig* nconf); + Network(const Context& ctx, const CallContext& cc, uint64_t nwid, const Fingerprint& controllerFingerprint, void* uptr, const NetworkConfig* nconf); ~Network(); @@ -207,13 +201,7 @@ class Network { * @param size Size of data in chunk buffer (total, not relative to ptr) * @return Update ID if update was fully assembled and accepted or 0 otherwise */ - uint64_t handleConfigChunk( - const CallContext& cc, - uint64_t packetId, - const SharedPtr& source, - const Buf& chunk, - int ptr, - int size); + uint64_t handleConfigChunk(const CallContext& cc, uint64_t packetId, const SharedPtr& source, const Buf& chunk, int ptr, int size); /** * Set network configuration @@ -294,32 +282,27 @@ class Network { /** * Validate a credential and learn it if it passes certificate and other checks */ - Member::AddCredentialResult - addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const MembershipCredential& com); + Member::AddCredentialResult addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const MembershipCredential& com); /** * Validate a credential and learn it if it passes certificate and other checks */ - Member::AddCredentialResult - addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const CapabilityCredential& cap); + Member::AddCredentialResult addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const CapabilityCredential& cap); /** * Validate a credential and learn it if it passes certificate and other checks */ - Member::AddCredentialResult - addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const TagCredential& tag); + Member::AddCredentialResult addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const TagCredential& tag); /** * Validate a credential and learn it if it passes certificate and other checks */ - Member::AddCredentialResult - addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const RevocationCredential& rev); + Member::AddCredentialResult addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const RevocationCredential& rev); /** * Validate a credential and learn it if it passes certificate and other checks */ - Member::AddCredentialResult - addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const OwnershipCredential& coo); + Member::AddCredentialResult addCredential(const CallContext& cc, const Identity& sourcePeerIdentity, const OwnershipCredential& coo); /** * Push credentials to a peer if timeouts indicate that we should do so @@ -385,18 +368,13 @@ class Network { Vector m_myMulticastGroups; // multicast groups that we belong to (according to tap) Map m_multicastGroupsBehindMe; // multicast groups that seem to be behind us and when we // last saw them (if we are a bridge) - Map m_remoteBridgeRoutes; // remote addresses where given MACs are reachable (for tracking devices - // behind remote bridges) + Map m_remoteBridgeRoutes; // remote addresses where given MACs are reachable (for tracking devices + // behind remote bridges) NetworkConfig m_config; std::atomic m_lastConfigUpdate; - volatile enum { - NETCONF_FAILURE_NONE, - NETCONF_FAILURE_ACCESS_DENIED, - NETCONF_FAILURE_NOT_FOUND, - NETCONF_FAILURE_INIT_FAILED - } _netconfFailure; + volatile enum { NETCONF_FAILURE_NONE, NETCONF_FAILURE_ACCESS_DENIED, NETCONF_FAILURE_NOT_FOUND, NETCONF_FAILURE_INIT_FAILED } _netconfFailure; Map m_memberships; diff --git a/core/NetworkConfig.cpp b/core/NetworkConfig.cpp index fa32930fb..9cd6d480c 100644 --- a/core/NetworkConfig.cpp +++ b/core/NetworkConfig.cpp @@ -32,10 +32,7 @@ bool NetworkConfig::toDictionary(Dictionary& d) const d.add(ZT_NETWORKCONFIG_DICT_KEY_CREDENTIAL_TIME_MAX_DELTA, this->credentialTimeMaxDelta); d.add(ZT_NETWORKCONFIG_DICT_KEY_REVISION, this->revision); d.add(ZT_NETWORKCONFIG_DICT_KEY_ISSUED_TO, this->issuedTo.toString((char*)tmp)); - d.add( - ZT_NETWORKCONFIG_DICT_KEY_ISSUED_TO_IDENTITY_HASH, - this->issuedToFingerprintHash, - ZT_FINGERPRINT_HASH_SIZE); + d.add(ZT_NETWORKCONFIG_DICT_KEY_ISSUED_TO_IDENTITY_HASH, this->issuedToFingerprintHash, ZT_FINGERPRINT_HASH_SIZE); d.add(ZT_NETWORKCONFIG_DICT_KEY_FLAGS, this->flags); d.add(ZT_NETWORKCONFIG_DICT_KEY_MULTICAST_LIMIT, (uint64_t)this->multicastLimit); d.add(ZT_NETWORKCONFIG_DICT_KEY_TYPE, (uint64_t)this->type); @@ -148,8 +145,7 @@ bool NetworkConfig::fromDictionary(const Dictionary& d) } else { this->flags = d.getUI(ZT_NETWORKCONFIG_DICT_KEY_FLAGS, 0); - this->type = - (ZT_VirtualNetworkType)d.getUI(ZT_NETWORKCONFIG_DICT_KEY_TYPE, (uint64_t)ZT_NETWORK_TYPE_PRIVATE); + this->type = (ZT_VirtualNetworkType)d.getUI(ZT_NETWORKCONFIG_DICT_KEY_TYPE, (uint64_t)ZT_NETWORK_TYPE_PRIVATE); blob = &(d[ZT_NETWORKCONFIG_DICT_KEY_COM]); if (! blob->empty()) { @@ -211,9 +207,7 @@ bool NetworkConfig::fromDictionary(const Dictionary& d) } catch (...) { } - std::sort( - &(this->certificatesOfOwnership[0]), - &(this->certificatesOfOwnership[this->certificateOfOwnershipCount])); + std::sort(&(this->certificatesOfOwnership[0]), &(this->certificatesOfOwnership[this->certificateOfOwnershipCount])); } blob = &(d[ZT_NETWORKCONFIG_DICT_KEY_SPECIALISTS]); @@ -229,15 +223,13 @@ bool NetworkConfig::fromDictionary(const Dictionary& d) if (! blob->empty()) { unsigned int p = 0; while ((p < blob->size()) && (routeCount < ZT_MAX_NETWORK_ROUTES)) { - int l = asInetAddress(this->routes[this->routeCount].target) - .unmarshal(blob->data(), (int)(blob->size() - p)); + int l = asInetAddress(this->routes[this->routeCount].target).unmarshal(blob->data(), (int)(blob->size() - p)); if (l < 0) return false; p += l; if (p >= blob->size()) return false; - l = asInetAddress(this->routes[this->routeCount].via) - .unmarshal(blob->data(), (int)(blob->size() - p)); + l = asInetAddress(this->routes[this->routeCount].via).unmarshal(blob->data(), (int)(blob->size() - p)); if (l < 0) return false; p += l; @@ -266,13 +258,7 @@ bool NetworkConfig::fromDictionary(const Dictionary& d) blob = &(d[ZT_NETWORKCONFIG_DICT_KEY_RULES]); if (! blob->empty()) { this->ruleCount = 0; - if (CapabilityCredential::unmarshalVirtualNetworkRules( - blob->data(), - (int)blob->size(), - this->rules, - this->ruleCount, - ZT_MAX_NETWORK_RULES) - < 0) + if (CapabilityCredential::unmarshalVirtualNetworkRules(blob->data(), (int)blob->size(), this->rules, this->ruleCount, ZT_MAX_NETWORK_RULES) < 0) return false; } } diff --git a/core/NetworkConfig.hpp b/core/NetworkConfig.hpp index b00ed2aba..fdc968af4 100644 --- a/core/NetworkConfig.hpp +++ b/core/NetworkConfig.hpp @@ -205,8 +205,7 @@ struct NetworkConfig : TriviallyCopyable { ZT_INLINE bool permitsBridging(const Address& fromPeer) const noexcept { for (unsigned int i = 0; i < specialistCount; ++i) { - if ((fromPeer.toInt() == (specialists[i] & ZT_ADDRESS_MASK)) - && ((specialists[i] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_ACTIVE_BRIDGE) != 0)) + if ((fromPeer.toInt() == (specialists[i] & ZT_ADDRESS_MASK)) && ((specialists[i] & ZT_NETWORKCONFIG_SPECIALIST_TYPE_ACTIVE_BRIDGE) != 0)) return true; } return false; diff --git a/core/NetworkController.hpp b/core/NetworkController.hpp index 4dbe9533a..4e39c98be 100644 --- a/core/NetworkController.hpp +++ b/core/NetworkController.hpp @@ -30,12 +30,7 @@ struct InetAddress; */ class NetworkController { public: - enum ErrorCode { - NC_ERROR_NONE = 0, - NC_ERROR_OBJECT_NOT_FOUND = 1, - NC_ERROR_ACCESS_DENIED = 2, - NC_ERROR_INTERNAL_SERVER_ERROR = 3 - }; + enum ErrorCode { NC_ERROR_NONE = 0, NC_ERROR_OBJECT_NOT_FOUND = 1, NC_ERROR_ACCESS_DENIED = 2, NC_ERROR_INTERNAL_SERVER_ERROR = 3 }; /** * Interface for sender used to send pushes and replies @@ -68,12 +63,7 @@ class NetworkController { * @param destination Destination node address * @param rev Revocation to send */ - virtual void ncSendRevocation( - void* tPtr, - int64_t clock, - int64_t ticks, - const Address& destination, - const RevocationCredential& rev) = 0; + virtual void ncSendRevocation(void* tPtr, int64_t clock, int64_t ticks, const Address& destination, const RevocationCredential& rev) = 0; /** * Send a network configuration request error @@ -118,12 +108,7 @@ class NetworkController { * @param metaData Meta-data bundled with request (if any) * @return Returns NETCONF_QUERY_OK if result 'nc' is valid, or an error code on error */ - virtual void request( - uint64_t nwid, - const InetAddress& fromAddr, - uint64_t requestPacketId, - const Identity& identity, - const Dictionary& metaData) = 0; + virtual void request(uint64_t nwid, const InetAddress& fromAddr, uint64_t requestPacketId, const Identity& identity, const Dictionary& metaData) = 0; }; } // namespace ZeroTier diff --git a/core/Node.cpp b/core/Node.cpp index 762618cb4..a5a76eee5 100644 --- a/core/Node.cpp +++ b/core/Node.cpp @@ -35,15 +35,7 @@ namespace ZeroTier { namespace { struct _NodeObjects { - ZT_INLINE _NodeObjects(Context& ctx, const CallContext& cc) - : networks() - , t(ctx) - , expect() - , vl2(ctx) - , vl1(ctx) - , topology(ctx, cc) - , sa(ctx) - , ts() + ZT_INLINE _NodeObjects(Context& ctx, const CallContext& cc) : networks(), t(ctx), expect(), vl2(ctx), vl1(ctx), topology(ctx, cc), sa(ctx), ts() { ctx.networks = &networks; ctx.t = &t; @@ -99,32 +91,14 @@ Node::Node(void* uPtr, const struct ZT_Node_Callbacks* callbacks, const CallCont m_ctx.identity.generate(Identity::C25519); m_ctx.identity.toString(false, m_ctx.publicIdentityStr); m_ctx.identity.toString(true, m_ctx.secretIdentityStr); - m_store.put( - cc, - ZT_STATE_OBJECT_IDENTITY_SECRET, - Utils::ZERO256, - 0, - m_ctx.secretIdentityStr, - (unsigned int)strlen(m_ctx.secretIdentityStr)); - m_store.put( - cc, - ZT_STATE_OBJECT_IDENTITY_PUBLIC, - Utils::ZERO256, - 0, - m_ctx.publicIdentityStr, - (unsigned int)strlen(m_ctx.publicIdentityStr)); + m_store.put(cc, ZT_STATE_OBJECT_IDENTITY_SECRET, Utils::ZERO256, 0, m_ctx.secretIdentityStr, (unsigned int)strlen(m_ctx.secretIdentityStr)); + m_store.put(cc, ZT_STATE_OBJECT_IDENTITY_PUBLIC, Utils::ZERO256, 0, m_ctx.publicIdentityStr, (unsigned int)strlen(m_ctx.publicIdentityStr)); ZT_SPEW("no pre-existing identity found, created %s", m_ctx.identity.toString().c_str()); } else { data = m_store.get(cc, ZT_STATE_OBJECT_IDENTITY_PUBLIC, Utils::ZERO256, 0); if ((data.empty()) || (memcmp(data.data(), m_ctx.publicIdentityStr, strlen(m_ctx.publicIdentityStr)) != 0)) - m_store.put( - cc, - ZT_STATE_OBJECT_IDENTITY_PUBLIC, - Utils::ZERO256, - 0, - m_ctx.publicIdentityStr, - (unsigned int)strlen(m_ctx.publicIdentityStr)); + m_store.put(cc, ZT_STATE_OBJECT_IDENTITY_PUBLIC, Utils::ZERO256, 0, m_ctx.publicIdentityStr, (unsigned int)strlen(m_ctx.publicIdentityStr)); } uint8_t localSecretCipherKey[ZT_FINGERPRINT_HASH_SIZE]; @@ -230,9 +204,7 @@ ZT_ResultCode Node::processBackgroundTasks(const CallContext& cc, volatile int64 for (Vector >::iterator p(allPeers.begin()); p != allPeers.end(); ++p) { (*p)->pulse(m_ctx, cc); if (! online) { - online = - ((std::binary_search(rootPeers.begin(), rootPeers.end(), *p) || rootPeers.empty()) - && (*p)->directlyConnected()); + online = ((std::binary_search(rootPeers.begin(), rootPeers.end(), *p) || rootPeers.empty()) && (*p)->directlyConnected()); } } @@ -322,8 +294,7 @@ ZT_ResultCode Node::leave(uint64_t nwid, void** uptr, const CallContext& cc) } } -ZT_ResultCode -Node::multicastSubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) +ZT_ResultCode Node::multicastSubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) { ZT_SPEW("multicast subscribe to %s:%lu", MAC(multicastGroup).toString().c_str(), multicastAdi); const SharedPtr nw(m_ctx.networks->get(nwid)); @@ -336,8 +307,7 @@ Node::multicastSubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicas } } -ZT_ResultCode -Node::multicastUnsubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) +ZT_ResultCode Node::multicastUnsubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi) { ZT_SPEW("multicast unsubscribe from %s:%lu", MAC(multicastGroup).toString().c_str(), multicastAdi); const SharedPtr nw(m_ctx.networks->get(nwid)); @@ -485,8 +455,7 @@ ZT_VirtualNetworkList* Node::networks() const { Mutex::Lock l(m_allNetworks_l); - char* const buf = - (char*)::malloc(sizeof(ZT_VirtualNetworkList) + (sizeof(ZT_VirtualNetworkConfig) * m_allNetworks.size())); + char* const buf = (char*)::malloc(sizeof(ZT_VirtualNetworkList) + (sizeof(ZT_VirtualNetworkConfig) * m_allNetworks.size())); if (! buf) return nullptr; ZT_VirtualNetworkList* nl = (ZT_VirtualNetworkList*)buf; @@ -517,8 +486,7 @@ void Node::setInterfaceAddresses(const ZT_InterfaceAddress* addrs, unsigned int for (unsigned int i = 0; i < addrCount; ++i) { bool dupe = false; for (unsigned int j = 0; j < i; ++j) { - if (*(reinterpret_cast(&addrs[j].address)) - == *(reinterpret_cast(&addrs[i].address))) { + if (*(reinterpret_cast(&addrs[j].address)) == *(reinterpret_cast(&addrs[i].address))) { dupe = true; break; } @@ -528,12 +496,8 @@ void Node::setInterfaceAddresses(const ZT_InterfaceAddress* addrs, unsigned int } } -ZT_CertificateError Node::addCertificate( - const CallContext& cc, - unsigned int localTrust, - const ZT_Certificate* cert, - const void* certData, - unsigned int certSize) +ZT_CertificateError +Node::addCertificate(const CallContext& cc, unsigned int localTrust, const ZT_Certificate* cert, const void* certData, unsigned int certSize) { Certificate c; if (cert) { @@ -548,8 +512,7 @@ ZT_CertificateError Node::addCertificate( m_ctx.ts->add(c, localTrust); m_ctx.ts->update(cc.clock, nullptr); SharedPtr ent(m_ctx.ts->get(c.getSerialNo())); - return (ent) ? ent->error() - : ZT_CERTIFICATE_ERROR_INVALID_FORMAT; // should never be null, but if so it means invalid + return (ent) ? ent->error() : ZT_CERTIFICATE_ERROR_INVALID_FORMAT; // should never be null, but if so it means invalid } ZT_ResultCode Node::deleteCertificate(const CallContext& cc, const void* serialNo) @@ -570,29 +533,24 @@ struct p_certificateListInternal { static void p_freeCertificateList(const void* cl) { if (cl) { - reinterpret_cast( - reinterpret_cast(cl) + sizeof(ZT_CertificateList)) - ->~p_certificateListInternal(); + reinterpret_cast(reinterpret_cast(cl) + sizeof(ZT_CertificateList))->~p_certificateListInternal(); free(const_cast(cl)); } } ZT_CertificateList* Node::listCertificates() { - ZT_CertificateList* const cl = - (ZT_CertificateList*)malloc(sizeof(ZT_CertificateList) + sizeof(p_certificateListInternal)); + ZT_CertificateList* const cl = (ZT_CertificateList*)malloc(sizeof(ZT_CertificateList) + sizeof(p_certificateListInternal)); if (! cl) return nullptr; - p_certificateListInternal* const clint = - reinterpret_cast(reinterpret_cast(cl) + sizeof(ZT_CertificateList)); + p_certificateListInternal* const clint = reinterpret_cast(reinterpret_cast(cl) + sizeof(ZT_CertificateList)); new (clint) p_certificateListInternal; clint->entries = m_ctx.ts->all(false); clint->c.reserve(clint->entries.size()); clint->t.reserve(clint->entries.size()); - for (Vector >::const_iterator i(clint->entries.begin()); i != clint->entries.end(); - ++i) { + for (Vector >::const_iterator i(clint->entries.begin()); i != clint->entries.end(); ++i) { clint->c.push_back(&((*i)->certificate())); clint->t.push_back((*i)->localTrust()); } @@ -605,12 +563,7 @@ ZT_CertificateList* Node::listCertificates() return cl; } -int Node::sendUserMessage( - const CallContext& cc, - uint64_t dest, - uint64_t /*typeId*/, - const void* /*data*/, - unsigned int /*len*/) +int Node::sendUserMessage(const CallContext& cc, uint64_t dest, uint64_t /*typeId*/, const void* /*data*/, unsigned int /*len*/) { try { if (m_ctx.identity.address().toInt() != dest) { @@ -744,12 +697,7 @@ void Node::ncSendConfig( } } -void Node::ncSendRevocation( - void* tPtr, - int64_t clock, - int64_t ticks, - const Address& destination, - const RevocationCredential& rev) +void Node::ncSendRevocation(void* tPtr, int64_t clock, int64_t ticks, const Address& destination, const RevocationCredential& rev) { if (destination == m_ctx.identity.address()) { SharedPtr n(m_ctx.networks->get(rev.networkId())); diff --git a/core/Node.hpp b/core/Node.hpp index 3e796740c..c4596021d 100644 --- a/core/Node.hpp +++ b/core/Node.hpp @@ -61,11 +61,9 @@ class Node : public NetworkController::Sender { ZT_ResultCode leave(uint64_t nwid, void** uptr, const CallContext& cc); - ZT_ResultCode - multicastSubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); + ZT_ResultCode multicastSubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); - ZT_ResultCode - multicastUnsubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); + ZT_ResultCode multicastUnsubscribe(const CallContext& cc, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); void status(ZT_NodeStatus* status) const; @@ -79,12 +77,7 @@ class Node : public NetworkController::Sender { void setInterfaceAddresses(const ZT_InterfaceAddress* addrs, unsigned int addrCount); - ZT_CertificateError addCertificate( - const CallContext& cc, - unsigned int localTrust, - const ZT_Certificate* cert, - const void* certData, - unsigned int certSize); + ZT_CertificateError addCertificate(const CallContext& cc, unsigned int localTrust, const ZT_Certificate* cert, const void* certData, unsigned int certSize); ZT_ResultCode deleteCertificate(const CallContext& cc, const void* serialNo); @@ -102,9 +95,7 @@ class Node : public NetworkController::Sender { * @param md Event data or NULL if none * @param mdSize Size of event data */ - ZT_INLINE void - postEvent(void* const tPtr, const ZT_Event ev, const void* const md = nullptr, const unsigned int mdSize = 0) - noexcept + ZT_INLINE void postEvent(void* const tPtr, const ZT_Event ev, const void* const md = nullptr, const unsigned int mdSize = 0) noexcept { m_ctx.cb.eventCallback(reinterpret_cast(this), m_ctx.uPtr, tPtr, ev, md, mdSize); } @@ -153,12 +144,7 @@ class Node : public NetworkController::Sender { const Address& destination, const NetworkConfig& nc, bool sendLegacyFormatConfig); - virtual void ncSendRevocation( - void* tPtr, - int64_t clock, - int64_t ticks, - const Address& destination, - const RevocationCredential& rev); + virtual void ncSendRevocation(void* tPtr, int64_t clock, int64_t ticks, const Address& destination, const RevocationCredential& rev); virtual void ncSendError( void* tPtr, int64_t clock, diff --git a/core/OS.hpp b/core/OS.hpp index c60d1e11d..9987d293c 100644 --- a/core/OS.hpp +++ b/core/OS.hpp @@ -17,9 +17,9 @@ /* Uncomment this to force a whole lot of debug output. */ #define ZT_DEBUG_SPEW -#if ! defined(__GNUC__) \ - && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1) || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2) \ - || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) || defined(__INTEL_COMPILER) || defined(__clang__)) +#if ! defined(__GNUC__) \ + && (defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1) || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2) || defined(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4) \ + || defined(__INTEL_COMPILER) || defined(__clang__)) #define __GNUC__ 3 #endif @@ -72,17 +72,14 @@ #include #include -#if ( \ - defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__) || defined(__AMD64) \ - || defined(__AMD64__) || defined(_M_X64)) +#if (defined(__amd64) || defined(__amd64__) || defined(__x86_64) || defined(__x86_64__) || defined(__AMD64) || defined(__AMD64__) || defined(_M_X64)) #define ZT_ARCH_X64 1 #include #include #include #endif -#if defined(ZT_ARCH_X64) || defined(i386) || defined(__i386) || defined(__i386__) || defined(__i486__) \ - || defined(__i586__) || defined(__i686__) || defined(_M_IX86) || defined(__X86__) || defined(_X86_) \ - || defined(__I86__) || defined(__INTEL__) || defined(__386) +#if defined(ZT_ARCH_X64) || defined(i386) || defined(__i386) || defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__) \ + || defined(_M_IX86) || defined(__X86__) || defined(_X86_) || defined(__I86__) || defined(__INTEL__) || defined(__386) #define ZT_ARCH_X86 1 #endif @@ -274,8 +271,7 @@ typedef unsigned uint128_t __attribute__((mode(TI))); #define ZT_VA_ARGS(...) , ##__VA_ARGS__ #ifdef ZT_DEBUG_SPEW -#define ZT_SPEW(f, ...) \ - fprintf(stderr, "%s:%d(%s): " f ZT_EOL_S, __FILE__, __LINE__, __FUNCTION__ ZT_VA_ARGS(__VA_ARGS__)) +#define ZT_SPEW(f, ...) fprintf(stderr, "%s:%d(%s): " f ZT_EOL_S, __FILE__, __LINE__, __FUNCTION__ ZT_VA_ARGS(__VA_ARGS__)) #else #define ZT_SPEW(f, ...) #endif diff --git a/core/OwnershipCredential.cpp b/core/OwnershipCredential.cpp index 07aadec32..d0eb0f890 100644 --- a/core/OwnershipCredential.cpp +++ b/core/OwnershipCredential.cpp @@ -21,16 +21,12 @@ void OwnershipCredential::addThing(const InetAddress& ip) return; if (ip.as.sa.sa_family == AF_INET) { m_thingTypes[m_thingCount] = THING_IPV4_ADDRESS; - Utils::copy<4>( - m_thingValues[m_thingCount], - &(reinterpret_cast(&ip)->sin_addr.s_addr)); + Utils::copy<4>(m_thingValues[m_thingCount], &(reinterpret_cast(&ip)->sin_addr.s_addr)); ++m_thingCount; } else if (ip.as.sa.sa_family == AF_INET6) { m_thingTypes[m_thingCount] = THING_IPV6_ADDRESS; - Utils::copy<16>( - m_thingValues[m_thingCount], - reinterpret_cast(&ip)->sin6_addr.s6_addr); + Utils::copy<16>(m_thingValues[m_thingCount], reinterpret_cast(&ip)->sin6_addr.s6_addr); ++m_thingCount; } } diff --git a/core/OwnershipCredential.hpp b/core/OwnershipCredential.hpp index d7d98704d..5ede0f474 100644 --- a/core/OwnershipCredential.hpp +++ b/core/OwnershipCredential.hpp @@ -28,9 +28,9 @@ // Maximum size of a thing's value field in bytes #define ZT_CERTIFICATEOFOWNERSHIP_MAX_THING_VALUE_SIZE 16 -#define ZT_CERTIFICATEOFOWNERSHIP_MARSHAL_SIZE_MAX \ - (8 + 8 + 8 + 4 + 2 + ((1 + ZT_CERTIFICATEOFOWNERSHIP_MAX_THING_VALUE_SIZE) * ZT_CERTIFICATEOFOWNERSHIP_MAX_THINGS) \ - + 5 + 5 + 1 + 2 + ZT_SIGNATURE_BUFFER_SIZE + 2) +#define ZT_CERTIFICATEOFOWNERSHIP_MARSHAL_SIZE_MAX \ + (8 + 8 + 8 + 4 + 2 + ((1 + ZT_CERTIFICATEOFOWNERSHIP_MAX_THING_VALUE_SIZE) * ZT_CERTIFICATEOFOWNERSHIP_MAX_THINGS) + 5 + 5 + 1 + 2 \ + + ZT_SIGNATURE_BUFFER_SIZE + 2) namespace ZeroTier { @@ -126,15 +126,9 @@ class OwnershipCredential : public Credential { ZT_INLINE bool owns(const InetAddress& ip) const noexcept { if (ip.as.sa.sa_family == AF_INET) - return this->_owns( - THING_IPV4_ADDRESS, - &(reinterpret_cast(&ip)->sin_addr.s_addr), - 4); + return this->_owns(THING_IPV4_ADDRESS, &(reinterpret_cast(&ip)->sin_addr.s_addr), 4); else if (ip.as.sa.sa_family == AF_INET6) - return this->_owns( - THING_IPV6_ADDRESS, - reinterpret_cast(&ip)->sin6_addr.s6_addr, - 16); + return this->_owns(THING_IPV6_ADDRESS, reinterpret_cast(&ip)->sin6_addr.s6_addr, 16); else return false; } diff --git a/core/Path.hpp b/core/Path.hpp index 3ad49b690..55352b2c7 100644 --- a/core/Path.hpp +++ b/core/Path.hpp @@ -36,8 +36,7 @@ class Path { friend class SharedPtr; // Allow defragmenter to access fragment-in-flight info stored in Path for performance reasons. - template - friend class Defragmenter; + template friend class Defragmenter; public: /** @@ -54,17 +53,14 @@ class Path { const unsigned int family = ip.as.sa.sa_family; if (family == AF_INET) { const uint16_t p = (uint16_t)ip.as.sa_in.sin_port; - m_hashCode = - Utils::hash64((((uint64_t)ip.as.sa_in.sin_addr.s_addr) << 16U) ^ ((uint64_t)p) ^ Utils::s_mapNonce); + m_hashCode = Utils::hash64((((uint64_t)ip.as.sa_in.sin_addr.s_addr) << 16U) ^ ((uint64_t)p) ^ Utils::s_mapNonce); m_ipv6Net64 = 0; // 0 for IPv4, never 0 for IPv6 m_port = p; } else { if (likely(family == AF_INET6)) { - const uint64_t a = Utils::loadMachineEndian( - reinterpret_cast(ip.as.sa_in6.sin6_addr.s6_addr)); - const uint64_t b = Utils::loadMachineEndian( - reinterpret_cast(ip.as.sa_in6.sin6_addr.s6_addr) + 8); + const uint64_t a = Utils::loadMachineEndian(reinterpret_cast(ip.as.sa_in6.sin6_addr.s6_addr)); + const uint64_t b = Utils::loadMachineEndian(reinterpret_cast(ip.as.sa_in6.sin6_addr.s6_addr) + 8); const uint16_t p = ip.as.sa_in6.sin6_port; m_hashCode = Utils::hash64(a ^ b ^ ((uint64_t)p) ^ Utils::s_mapNonce); m_ipv6Net64 = a; // IPv6 /64 diff --git a/core/Peer.cpp b/core/Peer.cpp index eb93260d5..a4113f1f1 100644 --- a/core/Peer.cpp +++ b/core/Peer.cpp @@ -126,28 +126,14 @@ void Peer::received( m_prioritizePaths(cc); - ctx.t->learnedNewPath( - cc, - 0x582fabdd, - packetId, - m_id, - path->address(), - (old) ? old->address() : InetAddress()); + ctx.t->learnedNewPath(cc, 0x582fabdd, packetId, m_id, path->address(), (old) ? old->address() : InetAddress()); } else { int64_t& lt = m_lastTried[Endpoint(path->address())]; if ((cc.ticks - lt) < ZT_PATH_MIN_TRY_INTERVAL) { lt = cc.ticks; path->sent(cc, m_hello(ctx, cc, path->localSocket(), path->address(), false)); - ctx.t->tryingNewPath( - cc, - 0xb7747ddd, - m_id, - path->address(), - path->address(), - packetId, - (uint8_t)verb, - m_id); + ctx.t->tryingNewPath(cc, 0xb7747ddd, m_id, path->address(), path->address(), packetId, (uint8_t)verb, m_id); } } } @@ -187,8 +173,7 @@ void Peer::pulse(const Context& ctx, const CallContext& cc) // ephemeral key pair is generated. bool needHello = (((m_vProto >= 20) - && (m_keyRenegotiationNeeded || (key == &m_identityKey) - || ((cc.ticks - key->timestamp()) >= (ZT_SYMMETRIC_KEY_TTL / 2)) + && (m_keyRenegotiationNeeded || (key == &m_identityKey) || ((cc.ticks - key->timestamp()) >= (ZT_SYMMETRIC_KEY_TTL / 2)) || (key->odometer() > (ZT_SYMMETRIC_KEY_TTL_MESSAGES / 2)))) || ((cc.ticks - m_lastSentHello) >= ZT_PEER_HELLO_INTERVAL)); @@ -202,8 +187,7 @@ void Peer::pulse(const Context& ctx, const CallContext& cc) // callback (if one was supplied). if (m_locator) { - for (Vector > >::const_iterator ep( - m_locator->endpoints().begin()); + for (Vector > >::const_iterator ep(m_locator->endpoints().begin()); ep != m_locator->endpoints().end(); ++ep) { if (ep->first.type == ZT_ENDPOINT_TYPE_IP_UDP) { @@ -211,15 +195,7 @@ void Peer::pulse(const Context& ctx, const CallContext& cc) int64_t& lt = m_lastTried[ep->first]; if ((cc.ticks - lt) > ZT_PATH_MIN_TRY_INTERVAL) { lt = cc.ticks; - ctx.t->tryingNewPath( - cc, - 0x84b22322, - m_id, - ep->first.ip(), - InetAddress::NIL, - 0, - 0, - Identity::NIL); + ctx.t->tryingNewPath(cc, 0x84b22322, m_id, ep->first.ip(), InetAddress::NIL, 0, 0, Identity::NIL); sent(cc, m_sendProbe(ctx, cc, -1, ep->first.ip(), nullptr, 0)); } } @@ -326,8 +302,7 @@ void Peer::pulse(const Context& ctx, const CallContext& cc) for (unsigned int i = 0; i < m_alivePathCount; ++i) { if (needHello) { needHello = false; - const unsigned int bytes = - m_hello(ctx, cc, m_paths[i]->localSocket(), m_paths[i]->address(), m_keyRenegotiationNeeded); + const unsigned int bytes = m_hello(ctx, cc, m_paths[i]->localSocket(), m_paths[i]->address(), m_keyRenegotiationNeeded); if (bytes) { m_paths[i]->sent(cc, bytes); sent(cc, bytes); @@ -348,8 +323,7 @@ void Peer::pulse(const Context& ctx, const CallContext& cc) if (root) { const SharedPtr via(root->path(cc)); if (via) { - const unsigned int bytes = - m_hello(ctx, cc, via->localSocket(), via->address(), m_keyRenegotiationNeeded); + const unsigned int bytes = m_hello(ctx, cc, via->localSocket(), via->address(), m_keyRenegotiationNeeded); if (bytes) { via->sent(cc, bytes); root->relayed(cc, bytes); @@ -415,20 +389,13 @@ void Peer::contact(const Context& ctx, const CallContext& cc, const Endpoint& ep m_tryQueue.push_back(p_TryQueueItem(ep, -tries)); } -void Peer::resetWithinScope( - const Context& ctx, - const CallContext& cc, - InetAddress::IpScope scope, - int inetAddressFamily) +void Peer::resetWithinScope(const Context& ctx, const CallContext& cc, InetAddress::IpScope scope, int inetAddressFamily) { RWMutex::Lock l(m_lock); unsigned int pc = 0; for (unsigned int i = 0; i < m_alivePathCount; ++i) { - if ((m_paths[i]) - && (((int)m_paths[i]->address().as.sa.sa_family == inetAddressFamily) - && (m_paths[i]->address().ipScope() == scope))) { - const unsigned int bytes = - m_sendProbe(ctx, cc, m_paths[i]->localSocket(), m_paths[i]->address(), nullptr, 0); + if ((m_paths[i]) && (((int)m_paths[i]->address().as.sa.sa_family == inetAddressFamily) && (m_paths[i]->address().ipScope() == scope))) { + const unsigned int bytes = m_sendProbe(ctx, cc, m_paths[i]->localSocket(), m_paths[i]->address(), nullptr, 0); m_paths[i]->sent(cc, bytes); sent(cc, bytes); } @@ -523,9 +490,7 @@ int Peer::unmarshal(const Context& ctx, const int64_t ticks, const uint8_t* rest bool identityKeyRestored = false; if (Address(data + 1) == ctx.identity.address()) { uint8_t k[ZT_SYMMETRIC_KEY_SIZE]; - static_assert( - ZT_SYMMETRIC_KEY_SIZE == 48, - "marshal() and unmarshal() must be revisited if ZT_SYMMETRIC_KEY_SIZE is changed"); + static_assert(ZT_SYMMETRIC_KEY_SIZE == 48, "marshal() and unmarshal() must be revisited if ZT_SYMMETRIC_KEY_SIZE is changed"); ctx.localSecretCipher.decrypt(data + 1 + ZT_ADDRESS_LENGTH, k); ctx.localSecretCipher.decrypt(data + 1 + ZT_ADDRESS_LENGTH + 16, k + 16); ctx.localSecretCipher.decrypt(data + 1 + ZT_ADDRESS_LENGTH + 32, k + 32); @@ -643,9 +608,7 @@ unsigned int Peer::m_sendProbe( // some future attacker compromises it. uint8_t p[ZT_PROTO_MIN_PACKET_LENGTH]; - Utils::storeMachineEndian( - p + ZT_PROTO_PACKET_ID_INDEX, - m_identityKey.nextMessage(ctx.identity.address(), m_id.address())); + Utils::storeMachineEndian(p + ZT_PROTO_PACKET_ID_INDEX, m_identityKey.nextMessage(ctx.identity.address(), m_id.address())); m_id.address().copyTo(p + ZT_PROTO_PACKET_DESTINATION_INDEX); ctx.identity.address().copyTo(p + ZT_PROTO_PACKET_SOURCE_INDEX); p[ZT_PROTO_PACKET_FLAGS_INDEX] = 0; @@ -697,12 +660,7 @@ void Peer::m_deriveSecondaryIdentityKeys() noexcept KBKDFHMACSHA384(m_identityKey.key(), ZT_KBKDF_LABEL_PACKET_HMAC, 0, 0, m_helloMacKey); } -unsigned int Peer::m_hello( - const Context& ctx, - const CallContext& cc, - int64_t localSocket, - const InetAddress& atAddress, - const bool forceNewKey) +unsigned int Peer::m_hello(const Context& ctx, const CallContext& cc, int64_t localSocket, const InetAddress& atAddress, const bool forceNewKey) { // assumes m_lock is at least locked for reading @@ -735,8 +693,7 @@ unsigned int Peer::m_hello( } } - if ((latest != nullptr) && (! forceNewKey) - && ((cc.ticks - latest->creationTime) < (ZT_SYMMETRIC_KEY_TTL / 2))) { + if ((latest != nullptr) && (! forceNewKey) && ((cc.ticks - latest->creationTime) < (ZT_SYMMETRIC_KEY_TTL / 2))) { ephemeral = latest; } else { @@ -804,9 +761,7 @@ unsigned int Peer::m_hello( Protocol::salsa2012DeriveKey(m_identityKey.key(), perPacketKey, outp, ii); Salsa20(perPacketKey, &packetId).crypt12(Utils::ZERO256, polyKey, sizeof(polyKey)); Poly1305 p1305(polyKey); - p1305.update( - outp.unsafeData + ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, - ii - ZT_PROTO_PACKET_ENCRYPTED_SECTION_START); + p1305.update(outp.unsafeData + ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, ii - ZT_PROTO_PACKET_ENCRYPTED_SECTION_START); uint64_t polyMac[2]; p1305.finish(polyMac); Utils::storeMachineEndian(outp.unsafeData + ZT_PROTO_PACKET_MAC_INDEX, polyMac[0]); diff --git a/core/Peer.hpp b/core/Peer.hpp index 1c9d8fd0e..7c58fb2a2 100644 --- a/core/Peer.hpp +++ b/core/Peer.hpp @@ -31,9 +31,7 @@ #include "SymmetricKey.hpp" #include "Utils.hpp" -#define ZT_PEER_MARSHAL_SIZE_MAX \ - (1 + ZT_ADDRESS_LENGTH + ZT_SYMMETRIC_KEY_SIZE + ZT_IDENTITY_MARSHAL_SIZE_MAX + 1 + ZT_LOCATOR_MARSHAL_SIZE_MAX \ - + (2 * 4) + 2) +#define ZT_PEER_MARSHAL_SIZE_MAX (1 + ZT_ADDRESS_LENGTH + ZT_SYMMETRIC_KEY_SIZE + ZT_IDENTITY_MARSHAL_SIZE_MAX + 1 + ZT_LOCATOR_MARSHAL_SIZE_MAX + (2 * 4) + 2) #define ZT_PEER_DEDUP_BUFFER_SIZE 1024 #define ZT_PEER_DEDUP_BUFFER_MASK 1023U @@ -175,9 +173,7 @@ class Peer { * @param len Length in bytes * @param via Path over which to send data (may or may not be an already-learned path for this peer) */ - ZT_INLINE void - send(const Context& ctx, const CallContext& cc, const void* data, unsigned int len, const SharedPtr& via) - noexcept + ZT_INLINE void send(const Context& ctx, const CallContext& cc, const void* data, unsigned int len, const SharedPtr& via) noexcept { via->send(ctx, cc, data, len); sent(cc, len); @@ -310,9 +306,7 @@ class Peer { * @param notYetTried All keys known (long lived or session) other than alreadyTried * @return Number of pointers written to notYetTried[] */ - ZT_INLINE int getOtherKeys( - const SymmetricKey* const alreadyTried, - SymmetricKey* notYetTried[ZT_PEER_EPHEMERAL_KEY_COUNT_MAX]) noexcept + ZT_INLINE int getOtherKeys(const SymmetricKey* const alreadyTried, SymmetricKey* notYetTried[ZT_PEER_EPHEMERAL_KEY_COUNT_MAX]) noexcept { RWMutex::RLock l(m_lock); int cnt = 0; @@ -348,8 +342,7 @@ class Peer { * @param vmin Minor version * @param vrev Revision */ - ZT_INLINE void - setRemoteVersion(unsigned int vproto, unsigned int vmaj, unsigned int vmin, unsigned int vrev) noexcept + ZT_INLINE void setRemoteVersion(unsigned int vproto, unsigned int vmaj, unsigned int vmin, unsigned int vrev) noexcept { RWMutex::Lock l(m_lock); m_vProto = (uint16_t)vproto; @@ -456,10 +449,7 @@ class Peer { */ ZT_INLINE bool deduplicateIncomingPacket(const uint64_t packetId) noexcept { - return m_dedup[Utils::hash32((uint32_t)packetId) & ZT_PEER_DEDUP_BUFFER_MASK].exchange( - packetId, - std::memory_order_relaxed) - == packetId; + return m_dedup[Utils::hash32((uint32_t)packetId) & ZT_PEER_DEDUP_BUFFER_MASK].exchange(packetId, std::memory_order_relaxed) == packetId; } private: @@ -469,9 +459,7 @@ class Peer { uint8_t p384Public[ZT_ECC384_PUBLIC_KEY_SIZE]; }; - static_assert( - sizeof(p_EphemeralPublic) == (1 + ZT_C25519_ECDH_PUBLIC_KEY_SIZE + ZT_ECC384_PUBLIC_KEY_SIZE), - "p_EphemeralPublic has extra padding"); + static_assert(sizeof(p_EphemeralPublic) == (1 + ZT_C25519_ECDH_PUBLIC_KEY_SIZE + ZT_ECC384_PUBLIC_KEY_SIZE), "p_EphemeralPublic has extra padding"); struct p_EphemeralPrivate { ZT_INLINE p_EphemeralPrivate() noexcept : creationTime(-1) @@ -501,20 +489,10 @@ class Peer { }; void m_prioritizePaths(const CallContext& cc); - unsigned int m_sendProbe( - const Context& ctx, - const CallContext& cc, - int64_t localSocket, - const InetAddress& atAddress, - const uint16_t* ports, - unsigned int numPorts); + unsigned int + m_sendProbe(const Context& ctx, const CallContext& cc, int64_t localSocket, const InetAddress& atAddress, const uint16_t* ports, unsigned int numPorts); void m_deriveSecondaryIdentityKeys() noexcept; - unsigned int m_hello( - const Context& ctx, - const CallContext& cc, - int64_t localSocket, - const InetAddress& atAddress, - bool forceNewKey); + unsigned int m_hello(const Context& ctx, const CallContext& cc, int64_t localSocket, const InetAddress& atAddress, bool forceNewKey); // Guards all fields except those otherwise indicated (and atomics of course). RWMutex m_lock; diff --git a/core/Poly1305.cpp b/core/Poly1305.cpp index c913eb6ac..201b1828d 100644 --- a/core/Poly1305.cpp +++ b/core/Poly1305.cpp @@ -6,8 +6,9 @@ Public domain. // Small modifications have been made for ZeroTier, but this code remains in the public domain. -#include "Constants.hpp" #include "Poly1305.hpp" + +#include "Constants.hpp" #include "Utils.hpp" #ifdef __WINDOWS__ @@ -308,20 +309,15 @@ void poly1305_blocks(poly1305_state_internal_t* st, const unsigned char* m, size h4 += (U8TO32(m + 12) >> 8) | hibit; /* h *= r */ - unsigned long long d0 = ((unsigned long long)h0 * r0) + ((unsigned long long)h1 * s4) - + ((unsigned long long)h2 * s3) + ((unsigned long long)h3 * s2) + unsigned long long d0 = ((unsigned long long)h0 * r0) + ((unsigned long long)h1 * s4) + ((unsigned long long)h2 * s3) + ((unsigned long long)h3 * s2) + ((unsigned long long)h4 * s1); - unsigned long long d1 = ((unsigned long long)h0 * r1) + ((unsigned long long)h1 * r0) - + ((unsigned long long)h2 * s4) + ((unsigned long long)h3 * s3) + unsigned long long d1 = ((unsigned long long)h0 * r1) + ((unsigned long long)h1 * r0) + ((unsigned long long)h2 * s4) + ((unsigned long long)h3 * s3) + ((unsigned long long)h4 * s2); - unsigned long long d2 = ((unsigned long long)h0 * r2) + ((unsigned long long)h1 * r1) - + ((unsigned long long)h2 * r0) + ((unsigned long long)h3 * s4) + unsigned long long d2 = ((unsigned long long)h0 * r2) + ((unsigned long long)h1 * r1) + ((unsigned long long)h2 * r0) + ((unsigned long long)h3 * s4) + ((unsigned long long)h4 * s3); - unsigned long long d3 = ((unsigned long long)h0 * r3) + ((unsigned long long)h1 * r2) - + ((unsigned long long)h2 * r1) + ((unsigned long long)h3 * r0) + unsigned long long d3 = ((unsigned long long)h0 * r3) + ((unsigned long long)h1 * r2) + ((unsigned long long)h2 * r1) + ((unsigned long long)h3 * r0) + ((unsigned long long)h4 * s4); - unsigned long long d4 = ((unsigned long long)h0 * r4) + ((unsigned long long)h1 * r3) - + ((unsigned long long)h2 * r2) + ((unsigned long long)h3 * r1) + unsigned long long d4 = ((unsigned long long)h0 * r4) + ((unsigned long long)h1 * r3) + ((unsigned long long)h2 * r2) + ((unsigned long long)h3 * r1) + ((unsigned long long)h4 * r0); /* (partial) h %= p */ @@ -512,10 +508,7 @@ void Poly1305::init(const void* key) noexcept void Poly1305::update(const void* data, unsigned int len) noexcept { - poly1305_update( - reinterpret_cast(&ctx), - reinterpret_cast(data), - (size_t)len); + poly1305_update(reinterpret_cast(&ctx), reinterpret_cast(data), (size_t)len); } void Poly1305::finish(void* auth) noexcept diff --git a/core/Poly1305.hpp b/core/Poly1305.hpp index bd1f130c1..47627d101 100644 --- a/core/Poly1305.hpp +++ b/core/Poly1305.hpp @@ -39,8 +39,7 @@ class Poly1305 { void update(const void* data, unsigned int len) noexcept; void finish(void* auth) noexcept; - static ZT_INLINE void - compute(void* const auth, const void* const data, const unsigned int len, const void* const key) noexcept + static ZT_INLINE void compute(void* const auth, const void* const data, const unsigned int len, const void* const key) noexcept { Poly1305 p(key); p.update(data, len); diff --git a/core/Protocol.hpp b/core/Protocol.hpp index aaf47c157..dcd1deadb 100644 --- a/core/Protocol.hpp +++ b/core/Protocol.hpp @@ -813,9 +813,7 @@ enum NetworkConfigFlag { * @param in Input key (32 bytes) * @param out Output buffer (32 bytes) */ -static ZT_INLINE void -salsa2012DeriveKey(const uint8_t* const in, uint8_t* const out, const Buf& packet, const unsigned int packetSize) - noexcept +static ZT_INLINE void salsa2012DeriveKey(const uint8_t* const in, uint8_t* const out, const Buf& packet, const unsigned int packetSize) noexcept { // IV and source/destination addresses. Using the addresses divides the // key space into two halves-- A->B and B->A (since order will change). @@ -823,12 +821,9 @@ salsa2012DeriveKey(const uint8_t* const in, uint8_t* const out, const Buf& packe for (int i = 0; i < 18; ++i) out[i] = in[i] ^ packet.unsafeData[i]; #else - *reinterpret_cast(out) = - *reinterpret_cast(in) ^ *reinterpret_cast(packet.unsafeData); - *reinterpret_cast(out + 8) = - *reinterpret_cast(in + 8) ^ *reinterpret_cast(packet.unsafeData + 8); - *reinterpret_cast(out + 16) = - *reinterpret_cast(in + 16) ^ *reinterpret_cast(packet.unsafeData + 16); + *reinterpret_cast(out) = *reinterpret_cast(in) ^ *reinterpret_cast(packet.unsafeData); + *reinterpret_cast(out + 8) = *reinterpret_cast(in + 8) ^ *reinterpret_cast(packet.unsafeData + 8); + *reinterpret_cast(out + 16) = *reinterpret_cast(in + 16) ^ *reinterpret_cast(packet.unsafeData + 16); #endif // Flags, but with hop count masked off. Hop count is altered by forwarding @@ -861,9 +856,7 @@ salsa2012DeriveKey(const uint8_t* const in, uint8_t* const out, const Buf& packe * @param verb Protocol verb * @return Index of packet start */ -static ZT_INLINE int -newPacket(uint8_t pkt[28], const uint64_t packetId, const Address destination, const Address source, const Verb verb) - noexcept +static ZT_INLINE int newPacket(uint8_t pkt[28], const uint64_t packetId, const Address destination, const Address source, const Verb verb) noexcept { Utils::storeMachineEndian(pkt + ZT_PROTO_PACKET_ID_INDEX, packetId); destination.copyTo(pkt + ZT_PROTO_PACKET_DESTINATION_INDEX); @@ -874,8 +867,7 @@ newPacket(uint8_t pkt[28], const uint64_t packetId, const Address destination, c return ZT_PROTO_PACKET_VERB_INDEX + 1; } -static ZT_INLINE int -newPacket(Buf& pkt, const uint64_t packetId, const Address destination, const Address source, const Verb verb) noexcept +static ZT_INLINE int newPacket(Buf& pkt, const uint64_t packetId, const Address destination, const Address source, const Verb verb) noexcept { return newPacket(pkt.unsafeData, packetId, destination, source, verb); } @@ -889,8 +881,7 @@ newPacket(Buf& pkt, const uint64_t packetId, const Address destination, const Ad * @param cipherSuite Cipher suite to use for AEAD encryption or just MAC * @return Packet ID of packet (which may change!) */ -static ZT_INLINE uint64_t -armor(uint8_t* const pkt, const int packetSize, const SymmetricKey& key, const uint8_t cipherSuite) noexcept +static ZT_INLINE uint64_t armor(uint8_t* const pkt, const int packetSize, const SymmetricKey& key, const uint8_t cipherSuite) noexcept { // TODO #if 0 diff --git a/core/SHA512.cpp b/core/SHA512.cpp index fb1116117..327d0730d 100644 --- a/core/SHA512.cpp +++ b/core/SHA512.cpp @@ -16,24 +16,22 @@ struct sha512_state { uint8_t buf[128]; }; -static const uint64_t K[80] = { - 0x428a2f98d728ae22ULL, 0x7137449123ef65cdULL, 0xb5c0fbcfec4d3b2fULL, 0xe9b5dba58189dbbcULL, 0x3956c25bf348b538ULL, - 0x59f111f1b605d019ULL, 0x923f82a4af194f9bULL, 0xab1c5ed5da6d8118ULL, 0xd807aa98a3030242ULL, 0x12835b0145706fbeULL, - 0x243185be4ee4b28cULL, 0x550c7dc3d5ffb4e2ULL, 0x72be5d74f27b896fULL, 0x80deb1fe3b1696b1ULL, 0x9bdc06a725c71235ULL, - 0xc19bf174cf692694ULL, 0xe49b69c19ef14ad2ULL, 0xefbe4786384f25e3ULL, 0x0fc19dc68b8cd5b5ULL, 0x240ca1cc77ac9c65ULL, - 0x2de92c6f592b0275ULL, 0x4a7484aa6ea6e483ULL, 0x5cb0a9dcbd41fbd4ULL, 0x76f988da831153b5ULL, 0x983e5152ee66dfabULL, - 0xa831c66d2db43210ULL, 0xb00327c898fb213fULL, 0xbf597fc7beef0ee4ULL, 0xc6e00bf33da88fc2ULL, 0xd5a79147930aa725ULL, - 0x06ca6351e003826fULL, 0x142929670a0e6e70ULL, 0x27b70a8546d22ffcULL, 0x2e1b21385c26c926ULL, 0x4d2c6dfc5ac42aedULL, - 0x53380d139d95b3dfULL, 0x650a73548baf63deULL, 0x766a0abb3c77b2a8ULL, 0x81c2c92e47edaee6ULL, 0x92722c851482353bULL, - 0xa2bfe8a14cf10364ULL, 0xa81a664bbc423001ULL, 0xc24b8b70d0f89791ULL, 0xc76c51a30654be30ULL, 0xd192e819d6ef5218ULL, - 0xd69906245565a910ULL, 0xf40e35855771202aULL, 0x106aa07032bbd1b8ULL, 0x19a4c116b8d2d0c8ULL, 0x1e376c085141ab53ULL, - 0x2748774cdf8eeb99ULL, 0x34b0bcb5e19b48a8ULL, 0x391c0cb3c5c95a63ULL, 0x4ed8aa4ae3418acbULL, 0x5b9cca4f7763e373ULL, - 0x682e6ff3d6b2b8a3ULL, 0x748f82ee5defb2fcULL, 0x78a5636f43172f60ULL, 0x84c87814a1f0ab72ULL, 0x8cc702081a6439ecULL, - 0x90befffa23631e28ULL, 0xa4506cebde82bde9ULL, 0xbef9a3f7b2c67915ULL, 0xc67178f2e372532bULL, 0xca273eceea26619cULL, - 0xd186b8c721c0c207ULL, 0xeada7dd6cde0eb1eULL, 0xf57d4f7fee6ed178ULL, 0x06f067aa72176fbaULL, 0x0a637dc5a2c898a6ULL, - 0x113f9804bef90daeULL, 0x1b710b35131c471bULL, 0x28db77f523047d84ULL, 0x32caab7b40c72493ULL, 0x3c9ebe0a15c9bebcULL, - 0x431d67c49c100d4cULL, 0x4cc5d4becb3e42b6ULL, 0x597f299cfc657e2aULL, 0x5fcb6fab3ad6faecULL, 0x6c44198c4a475817ULL -}; +static const uint64_t K[80] = { 0x428a2f98d728ae22ULL, 0x7137449123ef65cdULL, 0xb5c0fbcfec4d3b2fULL, 0xe9b5dba58189dbbcULL, 0x3956c25bf348b538ULL, + 0x59f111f1b605d019ULL, 0x923f82a4af194f9bULL, 0xab1c5ed5da6d8118ULL, 0xd807aa98a3030242ULL, 0x12835b0145706fbeULL, + 0x243185be4ee4b28cULL, 0x550c7dc3d5ffb4e2ULL, 0x72be5d74f27b896fULL, 0x80deb1fe3b1696b1ULL, 0x9bdc06a725c71235ULL, + 0xc19bf174cf692694ULL, 0xe49b69c19ef14ad2ULL, 0xefbe4786384f25e3ULL, 0x0fc19dc68b8cd5b5ULL, 0x240ca1cc77ac9c65ULL, + 0x2de92c6f592b0275ULL, 0x4a7484aa6ea6e483ULL, 0x5cb0a9dcbd41fbd4ULL, 0x76f988da831153b5ULL, 0x983e5152ee66dfabULL, + 0xa831c66d2db43210ULL, 0xb00327c898fb213fULL, 0xbf597fc7beef0ee4ULL, 0xc6e00bf33da88fc2ULL, 0xd5a79147930aa725ULL, + 0x06ca6351e003826fULL, 0x142929670a0e6e70ULL, 0x27b70a8546d22ffcULL, 0x2e1b21385c26c926ULL, 0x4d2c6dfc5ac42aedULL, + 0x53380d139d95b3dfULL, 0x650a73548baf63deULL, 0x766a0abb3c77b2a8ULL, 0x81c2c92e47edaee6ULL, 0x92722c851482353bULL, + 0xa2bfe8a14cf10364ULL, 0xa81a664bbc423001ULL, 0xc24b8b70d0f89791ULL, 0xc76c51a30654be30ULL, 0xd192e819d6ef5218ULL, + 0xd69906245565a910ULL, 0xf40e35855771202aULL, 0x106aa07032bbd1b8ULL, 0x19a4c116b8d2d0c8ULL, 0x1e376c085141ab53ULL, + 0x2748774cdf8eeb99ULL, 0x34b0bcb5e19b48a8ULL, 0x391c0cb3c5c95a63ULL, 0x4ed8aa4ae3418acbULL, 0x5b9cca4f7763e373ULL, + 0x682e6ff3d6b2b8a3ULL, 0x748f82ee5defb2fcULL, 0x78a5636f43172f60ULL, 0x84c87814a1f0ab72ULL, 0x8cc702081a6439ecULL, + 0x90befffa23631e28ULL, 0xa4506cebde82bde9ULL, 0xbef9a3f7b2c67915ULL, 0xc67178f2e372532bULL, 0xca273eceea26619cULL, + 0xd186b8c721c0c207ULL, 0xeada7dd6cde0eb1eULL, 0xf57d4f7fee6ed178ULL, 0x06f067aa72176fbaULL, 0x0a637dc5a2c898a6ULL, + 0x113f9804bef90daeULL, 0x1b710b35131c471bULL, 0x28db77f523047d84ULL, 0x32caab7b40c72493ULL, 0x3c9ebe0a15c9bebcULL, + 0x431d67c49c100d4cULL, 0x4cc5d4becb3e42b6ULL, 0x597f299cfc657e2aULL, 0x5fcb6fab3ad6faecULL, 0x6c44198c4a475817ULL }; #define STORE64H(x, y) Utils::storeBigEndian(y, x) #define LOAD64H(x, y) x = Utils::loadBigEndian(y) @@ -60,10 +58,10 @@ static ZT_INLINE void sha512_compress(sha512_state* const md, uint8_t* const buf for (i = 16; i < 80; i++) W[i] = Gamma1(W[i - 2]) + W[i - 7] + Gamma0(W[i - 15]) + W[i - 16]; -#define RND(a, b, c, d, e, f, g, h, i) \ - t0 = h + Sigma1(e) + Ch(e, f, g) + K[i] + W[i]; \ - t1 = Sigma0(a) + Maj(a, b, c); \ - d += t0; \ +#define RND(a, b, c, d, e, f, g, h, i) \ + t0 = h + Sigma1(e) + Ch(e, f, g) + K[i] + W[i]; \ + t1 = Sigma0(a) + Maj(a, b, c); \ + d += t0; \ h = t0 + t1; for (i = 0; i < 80; i += 8) { @@ -246,12 +244,7 @@ void HMACSHA384(const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], const void* msg, const SHA384(mac, outer, 176); } -void KBKDFHMACSHA384( - const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], - const char label, - const char context, - const uint32_t iter, - uint8_t out[ZT_SYMMETRIC_KEY_SIZE]) +void KBKDFHMACSHA384(const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], const char label, const char context, const uint32_t iter, uint8_t out[ZT_SYMMETRIC_KEY_SIZE]) { uint8_t kbkdfMsg[13]; diff --git a/core/SHA512.hpp b/core/SHA512.hpp index d6f8bd9ba..f4a30cf12 100644 --- a/core/SHA512.hpp +++ b/core/SHA512.hpp @@ -81,12 +81,7 @@ void HMACSHA384(const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], const void* msg, unsig * @param iter Key iteration for generation of multiple keys for the same label/context * @param out Output to receive derived key */ -void KBKDFHMACSHA384( - const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], - char label, - char context, - uint32_t iter, - uint8_t out[ZT_SYMMETRIC_KEY_SIZE]); +void KBKDFHMACSHA384(const uint8_t key[ZT_SYMMETRIC_KEY_SIZE], char label, char context, uint32_t iter, uint8_t out[ZT_SYMMETRIC_KEY_SIZE]); } // namespace ZeroTier diff --git a/core/Salsa20.cpp b/core/Salsa20.cpp index c2df00bd4..a1e473c99 100644 --- a/core/Salsa20.cpp +++ b/core/Salsa20.cpp @@ -19,8 +19,7 @@ #if __BYTE_ORDER == __LITTLE_ENDIAN #ifdef ZT_NO_UNALIGNED_ACCESS // Slower version that does not use type punning -#define U8TO32_LITTLE(p) \ - (((uint32_t)(p)[0]) | ((uint32_t)(p)[1] << 8) | ((uint32_t)(p)[2] << 16) | ((uint32_t)(p)[3] << 24)) +#define U8TO32_LITTLE(p) (((uint32_t)(p)[0]) | ((uint32_t)(p)[1] << 8) | ((uint32_t)(p)[2] << 16) | ((uint32_t)(p)[3] << 24)) static ZT_INLINE void U32TO8_LITTLE(uint8_t* const c, const uint32_t v) { c[0] = (uint8_t)v; @@ -40,8 +39,7 @@ static ZT_INLINE void U32TO8_LITTLE(uint8_t* const c, const uint32_t v) #define U32TO8_LITTLE(c, v) *((uint32_t*)((void*)(c))) = __builtin_bswap32((v)) #else // no __GNUC__ // Otherwise do it the slow, manual way on BE machines -#define U8TO32_LITTLE(p) \ - (((uint32_t)(p)[0]) | ((uint32_t)(p)[1] << 8) | ((uint32_t)(p)[2] << 16) | ((uint32_t)(p)[3] << 24)) +#define U8TO32_LITTLE(p) (((uint32_t)(p)[0]) | ((uint32_t)(p)[1] << 8) | ((uint32_t)(p)[2] << 16) | ((uint32_t)(p)[3] << 24)) static ZT_INLINE void U32TO8_LITTLE(uint8_t* const c, const uint32_t v) { c[0] = (uint8_t)v; @@ -117,8 +115,7 @@ union p_SalsaState { uint32_t i[16]; }; -template -static ZT_INLINE void p_salsaCrypt(p_SalsaState* const state, const uint8_t* m, uint8_t* c, unsigned int bytes) noexcept +template static ZT_INLINE void p_salsaCrypt(p_SalsaState* const state, const uint8_t* m, uint8_t* c, unsigned int bytes) noexcept { if (unlikely(bytes == 0)) return; @@ -208,9 +205,7 @@ static ZT_INLINE void p_salsaCrypt(p_SalsaState* const state, const uint8_t* m, k02 = _mm_shuffle_epi32(k02, _MM_SHUFFLE(0, 1, 2, 3)); k13 = _mm_shuffle_epi32(k13, _MM_SHUFFLE(0, 1, 2, 3)); - _mm_storeu_si128( - reinterpret_cast<__m128i*>(c), - _mm_xor_si128(_mm_unpackhi_epi64(k02, k20), _mm_loadu_si128(reinterpret_cast(m)))); + _mm_storeu_si128(reinterpret_cast<__m128i*>(c), _mm_xor_si128(_mm_unpackhi_epi64(k02, k20), _mm_loadu_si128(reinterpret_cast(m)))); _mm_storeu_si128( reinterpret_cast<__m128i*>(c) + 1, _mm_xor_si128(_mm_unpackhi_epi64(k13, k31), _mm_loadu_si128(reinterpret_cast(m) + 1))); @@ -340,20 +335,12 @@ static ZT_INLINE void p_salsaCrypt(p_SalsaState* const state, const uint8_t* m, void Salsa20::crypt12(const void* in, void* out, unsigned int bytes) noexcept { - p_salsaCrypt<12>( - reinterpret_cast(&_state), - reinterpret_cast(in), - reinterpret_cast(out), - bytes); + p_salsaCrypt<12>(reinterpret_cast(&_state), reinterpret_cast(in), reinterpret_cast(out), bytes); } void Salsa20::crypt20(const void* in, void* out, unsigned int bytes) noexcept { - p_salsaCrypt<20>( - reinterpret_cast(&_state), - reinterpret_cast(in), - reinterpret_cast(out), - bytes); + p_salsaCrypt<20>(reinterpret_cast(&_state), reinterpret_cast(in), reinterpret_cast(out), bytes); } } // namespace ZeroTier diff --git a/core/SelfAwareness.cpp b/core/SelfAwareness.cpp index 3463f30c7..8ccfb5520 100644 --- a/core/SelfAwareness.cpp +++ b/core/SelfAwareness.cpp @@ -39,16 +39,13 @@ void SelfAwareness::iam( { const InetAddress::IpScope scope = myPhysicalAddress.ipScope(); - if ((scope != reporterPhysicalAddress.ipScope()) || (scope == ZT_IP_SCOPE_NONE) || (scope == ZT_IP_SCOPE_LOOPBACK) - || (scope == ZT_IP_SCOPE_MULTICAST)) + if ((scope != reporterPhysicalAddress.ipScope()) || (scope == ZT_IP_SCOPE_NONE) || (scope == ZT_IP_SCOPE_LOOPBACK) || (scope == ZT_IP_SCOPE_MULTICAST)) return; Mutex::Lock l(m_phy_l); - p_PhySurfaceEntry& entry = - m_phy[p_PhySurfaceKey(reporter.address(), receivedOnLocalSocket, reporterPhysicalAddress, scope)]; + p_PhySurfaceEntry& entry = m_phy[p_PhySurfaceKey(reporter.address(), receivedOnLocalSocket, reporterPhysicalAddress, scope)]; - if ((trusted) && ((cc.ticks - entry.timestampTicks) < ZT_SELFAWARENESS_ENTRY_TIMEOUT) - && (! entry.mySurface.ipsEqual(myPhysicalAddress))) { + if ((trusted) && ((cc.ticks - entry.timestampTicks) < ZT_SELFAWARENESS_ENTRY_TIMEOUT) && (! entry.mySurface.ipsEqual(myPhysicalAddress))) { // Changes to external surface reported by trusted peers causes path reset in this scope entry.mySurface = myPhysicalAddress; entry.timestampTicks = cc.ticks; @@ -70,14 +67,7 @@ void SelfAwareness::iam( for (Vector >::const_iterator p(peers.begin()); p != peers.end(); ++p) (*p)->resetWithinScope(m_ctx, cc, (InetAddress::IpScope)scope, myPhysicalAddress.as.sa.sa_family); - m_ctx.t->resettingPathsInScope( - cc, - 0x9afff100, - reporter, - reporterPhysicalAddress, - entry.mySurface, - myPhysicalAddress, - scope); + m_ctx.t->resettingPathsInScope(cc, 0x9afff100, reporter, reporterPhysicalAddress, entry.mySurface, myPhysicalAddress, scope); } else { // Otherwise just update DB to use to determine external surface info diff --git a/core/SelfAwareness.hpp b/core/SelfAwareness.hpp index 0d87d0a37..896d7716e 100644 --- a/core/SelfAwareness.hpp +++ b/core/SelfAwareness.hpp @@ -92,8 +92,8 @@ class SelfAwareness { ZT_INLINE bool operator==(const p_PhySurfaceKey& k) const noexcept { return ( - (reporter == k.reporter) && (receivedOnLocalSocket == k.receivedOnLocalSocket) - && (reporterPhysicalAddress == k.reporterPhysicalAddress) && (scope == k.scope)); + (reporter == k.reporter) && (receivedOnLocalSocket == k.receivedOnLocalSocket) && (reporterPhysicalAddress == k.reporterPhysicalAddress) + && (scope == k.scope)); } ZT_INLINE bool operator!=(const p_PhySurfaceKey& k) const noexcept diff --git a/core/SharedPtr.hpp b/core/SharedPtr.hpp index a95800a37..e53a4c084 100644 --- a/core/SharedPtr.hpp +++ b/core/SharedPtr.hpp @@ -200,8 +200,7 @@ template class SharedPtr : public TriviallyCopyable { ZT_INLINE void m_release() const noexcept { if (likely(m_ptr != nullptr)) { - if (unlikely( - const_cast*>(&(m_ptr->__refCount))->fetch_sub(1, std::memory_order_release) <= 1)) + if (unlikely(const_cast*>(&(m_ptr->__refCount))->fetch_sub(1, std::memory_order_release) <= 1)) delete m_ptr; } } diff --git a/core/Store.hpp b/core/Store.hpp index ddcae8356..e5446af03 100644 --- a/core/Store.hpp +++ b/core/Store.hpp @@ -38,21 +38,12 @@ class Store { * @param idSize Size of object ID in qwords * @return Data or empty vector if not found */ - ZT_INLINE Vector - get(const CallContext& cc, ZT_StateObjectType type, const uint64_t* const id, unsigned int idSize) const + ZT_INLINE Vector get(const CallContext& cc, ZT_StateObjectType type, const uint64_t* const id, unsigned int idSize) const { Vector dv; void* data = nullptr; void (*freeFunc)(void*) = nullptr; - const int r = m_ctx.cb.stateGetFunction( - reinterpret_cast(m_ctx.node), - m_ctx.uPtr, - cc.tPtr, - type, - id, - idSize, - &data, - &freeFunc); + const int r = m_ctx.cb.stateGetFunction(reinterpret_cast(m_ctx.node), m_ctx.uPtr, cc.tPtr, type, id, idSize, &data, &freeFunc); if (r > 0) dv.assign(reinterpret_cast(data), reinterpret_cast(data) + r); if ((data) && (freeFunc)) @@ -70,15 +61,10 @@ class Store { * @param len Length of data */ ZT_INLINE void - put(const CallContext& cc, - ZT_StateObjectType type, - const uint64_t* const id, - const unsigned int idSize, - const void* const data, - const unsigned int len) noexcept + put(const CallContext& cc, ZT_StateObjectType type, const uint64_t* const id, const unsigned int idSize, const void* const data, const unsigned int len) + noexcept { - m_ctx.cb - .statePutFunction(reinterpret_cast(this), m_ctx.uPtr, cc.tPtr, type, id, idSize, data, (int)len); + m_ctx.cb.statePutFunction(reinterpret_cast(this), m_ctx.uPtr, cc.tPtr, type, id, idSize, data, (int)len); } /** @@ -88,8 +74,7 @@ class Store { * @param id Object ID * @param idSize Size of object ID in qwords */ - ZT_INLINE void - erase(const CallContext& cc, ZT_StateObjectType type, const uint64_t* const id, const unsigned int idSize) noexcept + ZT_INLINE void erase(const CallContext& cc, ZT_StateObjectType type, const uint64_t* const id, const unsigned int idSize) noexcept { m_ctx.cb.statePutFunction(reinterpret_cast(this), m_ctx.uPtr, cc.tPtr, type, id, idSize, nullptr, -1); } diff --git a/core/TagCredential.hpp b/core/TagCredential.hpp index 9d6256132..fa4db37c2 100644 --- a/core/TagCredential.hpp +++ b/core/TagCredential.hpp @@ -64,12 +64,7 @@ class TagCredential : public Credential { * @param id Tag ID * @param value Tag value */ - ZT_INLINE TagCredential( - const uint64_t nwid, - const int64_t ts, - const Address& issuedTo, - const uint32_t id, - const uint32_t value) noexcept + ZT_INLINE TagCredential(const uint64_t nwid, const int64_t ts, const Address& issuedTo, const uint32_t id, const uint32_t value) noexcept : m_id(id) , m_value(value) , m_networkId(nwid) diff --git a/core/Tests.cpp b/core/Tests.cpp index e440d75f0..2542482cc 100644 --- a/core/Tests.cpp +++ b/core/Tests.cpp @@ -104,220 +104,152 @@ static int64_t now() // Cryptographic tests vectors ---------------------------------------------------------------------------------------- -static const uint8_t ECC384_TV0_PUBLIC[49] = { 0x02, 0xed, 0xbc, 0xbb, 0x1f, 0x23, 0x9b, 0xbd, 0x9d, 0x3d, - 0x7c, 0xef, 0x6b, 0x37, 0xa3, 0x26, 0x69, 0xe9, 0x4d, 0xf4, - 0x26, 0x64, 0xfb, 0xac, 0x76, 0x40, 0xc2, 0x22, 0x21, 0xa6, - 0xa3, 0xdf, 0x8c, 0x96, 0x81, 0x76, 0x0f, 0x0e, 0x67, 0xab, - 0xd4, 0x51, 0x58, 0xb3, 0x15, 0x63, 0xfb, 0x49, 0x71 }; -static const uint8_t ECC384_TV0_PRIVATE[48] = { - 0x62, 0x93, 0x9b, 0x4a, 0x29, 0x3c, 0xc6, 0x86, 0x98, 0xc3, 0xd0, 0x7f, 0xb7, 0xff, 0x97, 0xa2, - 0xfb, 0xc9, 0x36, 0x8a, 0x1d, 0xa5, 0x40, 0x8e, 0x49, 0x13, 0xd4, 0x15, 0x46, 0xcb, 0xb4, 0x08, - 0xfa, 0x8c, 0xb2, 0x7f, 0xcc, 0x3f, 0x72, 0xf8, 0x0d, 0x16, 0x7b, 0xf0, 0xa4, 0xc3, 0x29, 0xd3 -}; -static const uint8_t ECC384_TV0_DH_SELF_AGREE[48] = { 0xf6, 0x96, 0xbd, 0x1b, 0xda, 0x5e, 0x52, 0x8c, 0x1d, 0x56, - 0xa3, 0x6e, 0xd9, 0xba, 0xd7, 0x84, 0xdd, 0x20, 0x1b, 0x50, - 0xc9, 0xd8, 0x68, 0xb9, 0x52, 0x93, 0x27, 0xab, 0x17, 0xed, - 0xc6, 0xae, 0x89, 0x5e, 0x7f, 0xd9, 0x46, 0x15, 0x87, 0xf4, - 0xc8, 0x47, 0x2e, 0xf7, 0x86, 0xf5, 0x87, 0x0b }; -static const uint8_t ECC384_TV0_SIG[96] = { 0x98, 0x93, 0x5f, 0x0a, 0x05, 0x2c, 0xba, 0x3a, 0xd7, 0xd2, 0x08, 0xde, - 0x64, 0xe7, 0x77, 0x2c, 0xbd, 0xe6, 0xd9, 0x16, 0x11, 0xd2, 0xef, 0x03, - 0xba, 0x12, 0x9f, 0x14, 0x98, 0x49, 0x8c, 0x2d, 0x36, 0x50, 0xd9, 0xcf, - 0xbb, 0x2b, 0xea, 0xcb, 0x28, 0xe7, 0x0b, 0x90, 0x43, 0x9e, 0x01, 0x8b, - 0x52, 0xdb, 0x46, 0xec, 0xc7, 0xf6, 0xa9, 0x56, 0x88, 0x00, 0x3c, 0xdb, - 0x4f, 0xfe, 0x04, 0xa1, 0xc7, 0x4c, 0x3f, 0xfc, 0xb8, 0xc8, 0x70, 0x42, - 0x12, 0xf4, 0x37, 0xfa, 0xcd, 0xb9, 0x17, 0x2f, 0x60, 0x8c, 0xb6, 0x05, - 0xc6, 0xce, 0x37, 0xd6, 0xc9, 0xf0, 0x0b, 0x23, 0x39, 0x10, 0x29, 0x0d }; +static const uint8_t ECC384_TV0_PUBLIC[49] = { 0x02, 0xed, 0xbc, 0xbb, 0x1f, 0x23, 0x9b, 0xbd, 0x9d, 0x3d, 0x7c, 0xef, 0x6b, 0x37, 0xa3, 0x26, 0x69, + 0xe9, 0x4d, 0xf4, 0x26, 0x64, 0xfb, 0xac, 0x76, 0x40, 0xc2, 0x22, 0x21, 0xa6, 0xa3, 0xdf, 0x8c, 0x96, + 0x81, 0x76, 0x0f, 0x0e, 0x67, 0xab, 0xd4, 0x51, 0x58, 0xb3, 0x15, 0x63, 0xfb, 0x49, 0x71 }; +static const uint8_t ECC384_TV0_PRIVATE[48] = { 0x62, 0x93, 0x9b, 0x4a, 0x29, 0x3c, 0xc6, 0x86, 0x98, 0xc3, 0xd0, 0x7f, 0xb7, 0xff, 0x97, 0xa2, + 0xfb, 0xc9, 0x36, 0x8a, 0x1d, 0xa5, 0x40, 0x8e, 0x49, 0x13, 0xd4, 0x15, 0x46, 0xcb, 0xb4, 0x08, + 0xfa, 0x8c, 0xb2, 0x7f, 0xcc, 0x3f, 0x72, 0xf8, 0x0d, 0x16, 0x7b, 0xf0, 0xa4, 0xc3, 0x29, 0xd3 }; +static const uint8_t ECC384_TV0_DH_SELF_AGREE[48] = { 0xf6, 0x96, 0xbd, 0x1b, 0xda, 0x5e, 0x52, 0x8c, 0x1d, 0x56, 0xa3, 0x6e, 0xd9, 0xba, 0xd7, 0x84, + 0xdd, 0x20, 0x1b, 0x50, 0xc9, 0xd8, 0x68, 0xb9, 0x52, 0x93, 0x27, 0xab, 0x17, 0xed, 0xc6, 0xae, + 0x89, 0x5e, 0x7f, 0xd9, 0x46, 0x15, 0x87, 0xf4, 0xc8, 0x47, 0x2e, 0xf7, 0x86, 0xf5, 0x87, 0x0b }; +static const uint8_t ECC384_TV0_SIG[96] = { 0x98, 0x93, 0x5f, 0x0a, 0x05, 0x2c, 0xba, 0x3a, 0xd7, 0xd2, 0x08, 0xde, 0x64, 0xe7, 0x77, 0x2c, + 0xbd, 0xe6, 0xd9, 0x16, 0x11, 0xd2, 0xef, 0x03, 0xba, 0x12, 0x9f, 0x14, 0x98, 0x49, 0x8c, 0x2d, + 0x36, 0x50, 0xd9, 0xcf, 0xbb, 0x2b, 0xea, 0xcb, 0x28, 0xe7, 0x0b, 0x90, 0x43, 0x9e, 0x01, 0x8b, + 0x52, 0xdb, 0x46, 0xec, 0xc7, 0xf6, 0xa9, 0x56, 0x88, 0x00, 0x3c, 0xdb, 0x4f, 0xfe, 0x04, 0xa1, + 0xc7, 0x4c, 0x3f, 0xfc, 0xb8, 0xc8, 0x70, 0x42, 0x12, 0xf4, 0x37, 0xfa, 0xcd, 0xb9, 0x17, 0x2f, + 0x60, 0x8c, 0xb6, 0x05, 0xc6, 0xce, 0x37, 0xd6, 0xc9, 0xf0, 0x0b, 0x23, 0x39, 0x10, 0x29, 0x0d }; -static const uint8_t SALSA20_TV0_KEY[32] = { 0x0f, 0x62, 0xb5, 0x08, 0x5b, 0xae, 0x01, 0x54, 0xa7, 0xfa, 0x4d, - 0xa0, 0xf3, 0x46, 0x99, 0xec, 0x3f, 0x92, 0xe5, 0x38, 0x8b, 0xde, - 0x31, 0x84, 0xd7, 0x2a, 0x7d, 0xd0, 0x23, 0x76, 0xc9, 0x1c }; +static const uint8_t SALSA20_TV0_KEY[32] = { 0x0f, 0x62, 0xb5, 0x08, 0x5b, 0xae, 0x01, 0x54, 0xa7, 0xfa, 0x4d, 0xa0, 0xf3, 0x46, 0x99, 0xec, + 0x3f, 0x92, 0xe5, 0x38, 0x8b, 0xde, 0x31, 0x84, 0xd7, 0x2a, 0x7d, 0xd0, 0x23, 0x76, 0xc9, 0x1c }; static const uint8_t SALSA20_TV0_IV[8] = { 0x28, 0x8f, 0xf6, 0x5d, 0xc4, 0x2b, 0x92, 0xf9 }; -static const uint8_t SALSA20_TV0_KS[64] = { 0x5e, 0x5e, 0x71, 0xf9, 0x01, 0x99, 0x34, 0x03, 0x04, 0xab, 0xb2, - 0x2a, 0x37, 0xb6, 0x62, 0x5b, 0xf8, 0x83, 0xfb, 0x89, 0xce, 0x3b, - 0x21, 0xf5, 0x4a, 0x10, 0xb8, 0x10, 0x66, 0xef, 0x87, 0xda, 0x30, - 0xb7, 0x76, 0x99, 0xaa, 0x73, 0x79, 0xda, 0x59, 0x5c, 0x77, 0xdd, - 0x59, 0x54, 0x2d, 0xa2, 0x08, 0xe5, 0x95, 0x4f, 0x89, 0xe4, 0x0e, - 0xb7, 0xaa, 0x80, 0xa8, 0x4a, 0x61, 0x76, 0x66, 0x3f }; +static const uint8_t SALSA20_TV0_KS[64] = { 0x5e, 0x5e, 0x71, 0xf9, 0x01, 0x99, 0x34, 0x03, 0x04, 0xab, 0xb2, 0x2a, 0x37, 0xb6, 0x62, 0x5b, + 0xf8, 0x83, 0xfb, 0x89, 0xce, 0x3b, 0x21, 0xf5, 0x4a, 0x10, 0xb8, 0x10, 0x66, 0xef, 0x87, 0xda, + 0x30, 0xb7, 0x76, 0x99, 0xaa, 0x73, 0x79, 0xda, 0x59, 0x5c, 0x77, 0xdd, 0x59, 0x54, 0x2d, 0xa2, + 0x08, 0xe5, 0x95, 0x4f, 0x89, 0xe4, 0x0e, 0xb7, 0xaa, 0x80, 0xa8, 0x4a, 0x61, 0x76, 0x66, 0x3f }; -static const uint8_t SALSA12_TV0_KEY[32] = { 0x0f, 0x62, 0xb5, 0x08, 0x5b, 0xae, 0x01, 0x54, 0xa7, 0xfa, 0x4d, - 0xa0, 0xf3, 0x46, 0x99, 0xec, 0x3f, 0x92, 0xe5, 0x38, 0x8b, 0xde, - 0x31, 0x84, 0xd7, 0x2a, 0x7d, 0xd0, 0x23, 0x76, 0xc9, 0x1c }; +static const uint8_t SALSA12_TV0_KEY[32] = { 0x0f, 0x62, 0xb5, 0x08, 0x5b, 0xae, 0x01, 0x54, 0xa7, 0xfa, 0x4d, 0xa0, 0xf3, 0x46, 0x99, 0xec, + 0x3f, 0x92, 0xe5, 0x38, 0x8b, 0xde, 0x31, 0x84, 0xd7, 0x2a, 0x7d, 0xd0, 0x23, 0x76, 0xc9, 0x1c }; static const uint8_t SALSA12_TV0_IV[8] = { 0x28, 0x8f, 0xf6, 0x5d, 0xc4, 0x2b, 0x92, 0xf9 }; -static const uint8_t SALSA12_TV0_KS[64] = { 0x99, 0xDB, 0x33, 0xAD, 0x11, 0xCE, 0x0C, 0xCB, 0x3B, 0xFD, 0xBF, - 0x8D, 0x0C, 0x18, 0x16, 0x04, 0x52, 0xD0, 0x14, 0xCD, 0xE9, 0x89, - 0xB4, 0xC4, 0x11, 0xA5, 0x59, 0xFF, 0x7C, 0x20, 0xA1, 0x69, 0xE6, - 0xDC, 0x99, 0x09, 0xD8, 0x16, 0xBE, 0xCE, 0xDC, 0x40, 0x63, 0xCE, - 0x07, 0xCE, 0xA8, 0x28, 0xF4, 0x4B, 0xF9, 0xB6, 0xC9, 0xA0, 0xA0, - 0xB2, 0x00, 0xE1, 0xB5, 0x2A, 0xF4, 0x18, 0x59, 0xC5 }; +static const uint8_t SALSA12_TV0_KS[64] = { 0x99, 0xDB, 0x33, 0xAD, 0x11, 0xCE, 0x0C, 0xCB, 0x3B, 0xFD, 0xBF, 0x8D, 0x0C, 0x18, 0x16, 0x04, + 0x52, 0xD0, 0x14, 0xCD, 0xE9, 0x89, 0xB4, 0xC4, 0x11, 0xA5, 0x59, 0xFF, 0x7C, 0x20, 0xA1, 0x69, + 0xE6, 0xDC, 0x99, 0x09, 0xD8, 0x16, 0xBE, 0xCE, 0xDC, 0x40, 0x63, 0xCE, 0x07, 0xCE, 0xA8, 0x28, + 0xF4, 0x4B, 0xF9, 0xB6, 0xC9, 0xA0, 0xA0, 0xB2, 0x00, 0xE1, 0xB5, 0x2A, 0xF4, 0x18, 0x59, 0xC5 }; -static const uint8_t POLY1305_TV0_INPUT[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; -static const uint8_t POLY1305_TV0_KEY[32] = { 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x33, 0x32, 0x2d, - 0x62, 0x79, 0x74, 0x65, 0x20, 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, - 0x72, 0x20, 0x50, 0x6f, 0x6c, 0x79, 0x31, 0x33, 0x30, 0x35 }; -static const uint8_t POLY1305_TV0_TAG[16] = { 0x49, 0xec, 0x78, 0x09, 0x0e, 0x48, 0x1e, 0xc6, - 0xc2, 0x6b, 0x33, 0xb9, 0x1c, 0xcc, 0x03, 0x07 }; +static const uint8_t POLY1305_TV0_INPUT[32] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; +static const uint8_t POLY1305_TV0_KEY[32] = { 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x33, 0x32, 0x2d, 0x62, 0x79, 0x74, 0x65, 0x20, + 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x50, 0x6f, 0x6c, 0x79, 0x31, 0x33, 0x30, 0x35 }; +static const uint8_t POLY1305_TV0_TAG[16] = { 0x49, 0xec, 0x78, 0x09, 0x0e, 0x48, 0x1e, 0xc6, 0xc2, 0x6b, 0x33, 0xb9, 0x1c, 0xcc, 0x03, 0x07 }; -static const uint8_t POLY1305_TV1_INPUT[12] = { - 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21 -}; -static const uint8_t POLY1305_TV1_KEY[32] = { 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x33, 0x32, 0x2d, - 0x62, 0x79, 0x74, 0x65, 0x20, 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, - 0x72, 0x20, 0x50, 0x6f, 0x6c, 0x79, 0x31, 0x33, 0x30, 0x35 }; -static const uint8_t POLY1305_TV1_TAG[16] = { 0xa6, 0xf7, 0x45, 0x00, 0x8f, 0x81, 0xc9, 0x16, - 0xa2, 0x0d, 0xcc, 0x74, 0xee, 0xf2, 0xb2, 0xf0 }; +static const uint8_t POLY1305_TV1_INPUT[12] = { 0x48, 0x65, 0x6c, 0x6c, 0x6f, 0x20, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x21 }; +static const uint8_t POLY1305_TV1_KEY[32] = { 0x74, 0x68, 0x69, 0x73, 0x20, 0x69, 0x73, 0x20, 0x33, 0x32, 0x2d, 0x62, 0x79, 0x74, 0x65, 0x20, + 0x6b, 0x65, 0x79, 0x20, 0x66, 0x6f, 0x72, 0x20, 0x50, 0x6f, 0x6c, 0x79, 0x31, 0x33, 0x30, 0x35 }; +static const uint8_t POLY1305_TV1_TAG[16] = { 0xa6, 0xf7, 0x45, 0x00, 0x8f, 0x81, 0xc9, 0x16, 0xa2, 0x0d, 0xcc, 0x74, 0xee, 0xf2, 0xb2, 0xf0 }; static const char* SHA512_TV0_INPUT = "supercalifragilisticexpealidocious"; -static const uint8_t SHA512_TV0_DIGEST[64] = { 0x18, 0x2a, 0x85, 0x59, 0x69, 0xe5, 0xd3, 0xe6, 0xcb, 0xf6, 0x05, - 0x24, 0xad, 0xf2, 0x88, 0xd1, 0xbb, 0xf2, 0x52, 0x92, 0x81, 0x24, - 0x31, 0xf6, 0xd2, 0x52, 0xf1, 0xdb, 0xc1, 0xcb, 0x44, 0xdf, 0x21, - 0x57, 0x3d, 0xe1, 0xb0, 0x6b, 0x68, 0x75, 0x95, 0x9f, 0x3b, 0x6f, - 0x87, 0xb1, 0x13, 0x81, 0xd0, 0xbc, 0x79, 0x2c, 0x43, 0x3a, 0x13, - 0x55, 0x3c, 0xe0, 0x84, 0xc2, 0x92, 0x55, 0x31, 0x1c }; -static const uint8_t SHA512_TV0_SHA384_DIGEST[48] = { 0x71, 0xe7, 0x71, 0x79, 0xae, 0xc3, 0xf3, 0x5f, 0x93, 0xea, - 0xe2, 0x1d, 0xe3, 0x3f, 0x24, 0x6d, 0xed, 0x2a, 0x59, 0xae, - 0x22, 0x45, 0x27, 0x6c, 0x12, 0x57, 0xf3, 0xbe, 0xe6, 0xce, - 0xe2, 0x73, 0xd8, 0xad, 0xaa, 0x9b, 0x99, 0xa4, 0x8a, 0x1b, - 0x7a, 0xb9, 0x5d, 0xfb, 0x9c, 0x1a, 0x1c, 0xf6 }; +static const uint8_t SHA512_TV0_DIGEST[64] = { 0x18, 0x2a, 0x85, 0x59, 0x69, 0xe5, 0xd3, 0xe6, 0xcb, 0xf6, 0x05, 0x24, 0xad, 0xf2, 0x88, 0xd1, + 0xbb, 0xf2, 0x52, 0x92, 0x81, 0x24, 0x31, 0xf6, 0xd2, 0x52, 0xf1, 0xdb, 0xc1, 0xcb, 0x44, 0xdf, + 0x21, 0x57, 0x3d, 0xe1, 0xb0, 0x6b, 0x68, 0x75, 0x95, 0x9f, 0x3b, 0x6f, 0x87, 0xb1, 0x13, 0x81, + 0xd0, 0xbc, 0x79, 0x2c, 0x43, 0x3a, 0x13, 0x55, 0x3c, 0xe0, 0x84, 0xc2, 0x92, 0x55, 0x31, 0x1c }; +static const uint8_t SHA512_TV0_SHA384_DIGEST[48] = { 0x71, 0xe7, 0x71, 0x79, 0xae, 0xc3, 0xf3, 0x5f, 0x93, 0xea, 0xe2, 0x1d, 0xe3, 0x3f, 0x24, 0x6d, + 0xed, 0x2a, 0x59, 0xae, 0x22, 0x45, 0x27, 0x6c, 0x12, 0x57, 0xf3, 0xbe, 0xe6, 0xce, 0xe2, 0x73, + 0xd8, 0xad, 0xaa, 0x9b, 0x99, 0xa4, 0x8a, 0x1b, 0x7a, 0xb9, 0x5d, 0xfb, 0x9c, 0x1a, 0x1c, 0xf6 }; -static const uint8_t AES_TEST_VECTOR_0_KEY[32] = { 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae, - 0xf0, 0x85, 0x7d, 0x77, 0x81, 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61, - 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4 }; -static const uint8_t AES_TEST_VECTOR_0_IN[16] = { 0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, - 0xe9, 0x3d, 0x7e, 0x11, 0x73, 0x93, 0x17, 0x2a }; -static const uint8_t AES_TEST_VECTOR_0_OUT[16] = { 0xf3, 0xee, 0xd1, 0xbd, 0xb5, 0xd2, 0xa0, 0x3c, - 0x06, 0x4b, 0x5a, 0x7e, 0x3d, 0xb1, 0x81, 0xf8 }; +static const uint8_t AES_TEST_VECTOR_0_KEY[32] = { 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae, 0xf0, 0x85, 0x7d, 0x77, 0x81, + 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61, 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4 }; +static const uint8_t AES_TEST_VECTOR_0_IN[16] = { 0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, 0x7e, 0x11, 0x73, 0x93, 0x17, 0x2a }; +static const uint8_t AES_TEST_VECTOR_0_OUT[16] = { 0xf3, 0xee, 0xd1, 0xbd, 0xb5, 0xd2, 0xa0, 0x3c, 0x06, 0x4b, 0x5a, 0x7e, 0x3d, 0xb1, 0x81, 0xf8 }; -static const uint8_t AES_CTR_TEST_VECTOR_0_KEY[32] = { 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae, - 0xf0, 0x85, 0x7d, 0x77, 0x81, 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61, - 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4 }; -static const uint8_t AES_CTR_TEST_VECTOR_0_IV[16] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, - 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff }; -static const uint8_t AES_CTR_TEST_VECTOR_0_IN[64] = { 0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, 0x7e, - 0x11, 0x73, 0x93, 0x17, 0x2a, 0xae, 0x2d, 0x8a, 0x57, 0x1e, 0x03, - 0xac, 0x9c, 0x9e, 0xb7, 0x6f, 0xac, 0x45, 0xaf, 0x8e, 0x51, 0x30, - 0xc8, 0x1c, 0x46, 0xa3, 0x5c, 0xe4, 0x11, 0xe5, 0xfb, 0xc1, 0x19, - 0x1a, 0x0a, 0x52, 0xef, 0xf6, 0x9f, 0x24, 0x45, 0xdf, 0x4f, 0x9b, - 0x17, 0xad, 0x2b, 0x41, 0x7b, 0xe6, 0x6c, 0x37, 0x10 }; -static const uint8_t AES_CTR_TEST_VECTOR_0_OUT[64] = { 0x60, 0x1e, 0xc3, 0x13, 0x77, 0x57, 0x89, 0xa5, 0xb7, 0xa7, 0xf5, - 0x04, 0xbb, 0xf3, 0xd2, 0x28, 0xf4, 0x43, 0xe3, 0xca, 0x4d, 0x62, - 0xb5, 0x9a, 0xca, 0x84, 0xe9, 0x90, 0xca, 0xca, 0xf5, 0xc5, 0x2b, - 0x09, 0x30, 0xda, 0xa2, 0x3d, 0xe9, 0x4c, 0xe8, 0x70, 0x17, 0xba, - 0x2d, 0x84, 0x98, 0x8d, 0xdf, 0xc9, 0xc5, 0x8d, 0xb6, 0x7a, 0xad, - 0xa6, 0x13, 0xc2, 0xdd, 0x08, 0x45, 0x79, 0x41, 0xa6 }; +static const uint8_t AES_CTR_TEST_VECTOR_0_KEY[32] = { 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae, 0xf0, 0x85, 0x7d, 0x77, 0x81, + 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61, 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4 }; +static const uint8_t AES_CTR_TEST_VECTOR_0_IV[16] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff }; +static const uint8_t AES_CTR_TEST_VECTOR_0_IN[64] = { 0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, 0x7e, 0x11, 0x73, 0x93, 0x17, 0x2a, + 0xae, 0x2d, 0x8a, 0x57, 0x1e, 0x03, 0xac, 0x9c, 0x9e, 0xb7, 0x6f, 0xac, 0x45, 0xaf, 0x8e, 0x51, + 0x30, 0xc8, 0x1c, 0x46, 0xa3, 0x5c, 0xe4, 0x11, 0xe5, 0xfb, 0xc1, 0x19, 0x1a, 0x0a, 0x52, 0xef, + 0xf6, 0x9f, 0x24, 0x45, 0xdf, 0x4f, 0x9b, 0x17, 0xad, 0x2b, 0x41, 0x7b, 0xe6, 0x6c, 0x37, 0x10 }; +static const uint8_t AES_CTR_TEST_VECTOR_0_OUT[64] = { 0x60, 0x1e, 0xc3, 0x13, 0x77, 0x57, 0x89, 0xa5, 0xb7, 0xa7, 0xf5, 0x04, 0xbb, 0xf3, 0xd2, 0x28, + 0xf4, 0x43, 0xe3, 0xca, 0x4d, 0x62, 0xb5, 0x9a, 0xca, 0x84, 0xe9, 0x90, 0xca, 0xca, 0xf5, 0xc5, + 0x2b, 0x09, 0x30, 0xda, 0xa2, 0x3d, 0xe9, 0x4c, 0xe8, 0x70, 0x17, 0xba, 0x2d, 0x84, 0x98, 0x8d, + 0xdf, 0xc9, 0xc5, 0x8d, 0xb6, 0x7a, 0xad, 0xa6, 0x13, 0xc2, 0xdd, 0x08, 0x45, 0x79, 0x41, 0xa6 }; // Key and IV are same as test vector 0, input is a buffer filled by iterating 0..777 and setting to these &0xff static const uint8_t AES_CTR_TEST_VECTOR_1_OUT[777] = { - 0x0b, 0xde, 0x7f, 0xf2, 0x5d, 0x12, 0x10, 0x34, 0x56, 0x93, 0x81, 0x1e, 0xc4, 0x6d, 0xcb, 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b, + 0x9c, 0x6a, 0xde, 0x1f, 0x1c, 0x9f, 0x0c, 0x1c, 0x8f, 0x5e, 0xd1, 0x64, 0x7e, 0x33, 0x2f, 0xae, 0xdf, 0x76, 0x87, 0xab, 0x64, 0x04, 0xd2, 0xc3, 0xfe, 0x4f, + 0x95, 0x47, 0xf2, 0x16, 0x11, 0xdb, 0x00, 0x56, 0xb4, 0x96, 0x0f, 0x1e, 0x18, 0xc6, 0xcd, 0xa3, 0x29, 0x8e, 0xd0, 0xf3, 0x0f, 0x85, 0x2f, 0xa0, 0xe7, 0x8c, + 0x12, 0x2c, 0xdc, 0x85, 0x0b, 0xef, 0xb3, 0x7d, 0x59, 0x87, 0xaa, 0x1d, 0xfc, 0xde, 0xd0, 0xbc, 0x4c, 0xe8, 0x49, 0x11, 0x50, 0xf5, 0x7f }; -static const uint8_t AES_GMAC_VECTOR_0_KEY[32] = { 0xbb, 0x10, 0x10, 0x06, 0x4f, 0xb8, 0x35, 0x23, 0xea, 0x9d, 0xf3, - 0x2b, 0xad, 0x9f, 0x1f, 0x2a, 0x4f, 0xce, 0xfc, 0x0f, 0x21, 0x07, - 0xc0, 0xaa, 0xba, 0xd9, 0xb7, 0x56, 0xd8, 0x09, 0x21, 0x9d }; -static const uint8_t AES_GMAC_VECTOR_0_IV[12] = { - 0x2f, 0x9a, 0xd0, 0x12, 0xad, 0xfc, 0x12, 0x73, 0x43, 0xfb, 0xe0, 0x56 -}; -static const uint8_t AES_GMAC_VECTOR_0_IN[16] = { 0xdb, 0x98, 0xd9, 0x0d, 0x1b, 0x69, 0x5c, 0xdb, - 0x74, 0x7a, 0x34, 0x3f, 0xbb, 0xc9, 0xf1, 0x41 }; -static const uint8_t AES_GMAC_VECTOR_0_OUT[16] = { 0xef, 0x06, 0xd5, 0x4d, 0xfd, 0x00, 0x02, 0x1d, - 0x75, 0x27, 0xdf, 0xf2, 0x6f, 0xc9, 0xd4, 0x84 }; +static const uint8_t AES_GMAC_VECTOR_0_KEY[32] = { 0xbb, 0x10, 0x10, 0x06, 0x4f, 0xb8, 0x35, 0x23, 0xea, 0x9d, 0xf3, 0x2b, 0xad, 0x9f, 0x1f, 0x2a, + 0x4f, 0xce, 0xfc, 0x0f, 0x21, 0x07, 0xc0, 0xaa, 0xba, 0xd9, 0xb7, 0x56, 0xd8, 0x09, 0x21, 0x9d }; +static const uint8_t AES_GMAC_VECTOR_0_IV[12] = { 0x2f, 0x9a, 0xd0, 0x12, 0xad, 0xfc, 0x12, 0x73, 0x43, 0xfb, 0xe0, 0x56 }; +static const uint8_t AES_GMAC_VECTOR_0_IN[16] = { 0xdb, 0x98, 0xd9, 0x0d, 0x1b, 0x69, 0x5c, 0xdb, 0x74, 0x7a, 0x34, 0x3f, 0xbb, 0xc9, 0xf1, 0x41 }; +static const uint8_t AES_GMAC_VECTOR_0_OUT[16] = { 0xef, 0x06, 0xd5, 0x4d, 0xfd, 0x00, 0x02, 0x1d, 0x75, 0x27, 0xdf, 0xf2, 0x6f, 0xc9, 0xd4, 0x84 }; -static const uint8_t AES_GMAC_VECTOR_1_KEY[32] = { 0x83, 0xC0, 0x93, 0xB5, 0x8D, 0xE7, 0xFF, 0xE1, 0xC0, 0xDA, 0x92, - 0x6A, 0xC4, 0x3F, 0xB3, 0x60, 0x9A, 0xC1, 0xC8, 0x0F, 0xEE, 0x1B, - 0x62, 0x44, 0x97, 0xEF, 0x94, 0x2E, 0x2F, 0x79, 0xA8, 0x23 }; -static const uint8_t AES_GMAC_VECTOR_1_IV[12] = { - 0x7C, 0xFD, 0xE9, 0xF9, 0xE3, 0x37, 0x24, 0xC6, 0x89, 0x32, 0xD6, 0x12 -}; -static const uint8_t AES_GMAC_VECTOR_1_IN[81] = { - 0x84, 0xC5, 0xD5, 0x13, 0xD2, 0xAA, 0xF6, 0xE5, 0xBB, 0xD2, 0x72, 0x77, 0x88, 0xE5, 0x23, 0x00, 0x89, - 0x32, 0xD6, 0x12, 0x7C, 0xFD, 0xE9, 0xF9, 0xE3, 0x37, 0x24, 0xC6, 0x08, 0x00, 0x0F, 0x10, 0x11, 0x12, - 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, - 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, - 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x00, 0x05 -}; -static const uint8_t AES_GMAC_VECTOR_1_OUT[16] = { 0x6E, 0xE1, 0x60, 0xE8, 0xFA, 0xEC, 0xA4, 0xB3, - 0x6C, 0x86, 0xB2, 0x34, 0x92, 0x0C, 0xA9, 0x75 }; +static const uint8_t AES_GMAC_VECTOR_1_KEY[32] = { 0x83, 0xC0, 0x93, 0xB5, 0x8D, 0xE7, 0xFF, 0xE1, 0xC0, 0xDA, 0x92, 0x6A, 0xC4, 0x3F, 0xB3, 0x60, + 0x9A, 0xC1, 0xC8, 0x0F, 0xEE, 0x1B, 0x62, 0x44, 0x97, 0xEF, 0x94, 0x2E, 0x2F, 0x79, 0xA8, 0x23 }; +static const uint8_t AES_GMAC_VECTOR_1_IV[12] = { 0x7C, 0xFD, 0xE9, 0xF9, 0xE3, 0x37, 0x24, 0xC6, 0x89, 0x32, 0xD6, 0x12 }; +static const uint8_t AES_GMAC_VECTOR_1_IN[81] = { 0x84, 0xC5, 0xD5, 0x13, 0xD2, 0xAA, 0xF6, 0xE5, 0xBB, 0xD2, 0x72, 0x77, 0x88, 0xE5, 0x23, 0x00, 0x89, + 0x32, 0xD6, 0x12, 0x7C, 0xFD, 0xE9, 0xF9, 0xE3, 0x37, 0x24, 0xC6, 0x08, 0x00, 0x0F, 0x10, 0x11, 0x12, + 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20, 0x21, 0x22, 0x23, + 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2A, 0x2B, 0x2C, 0x2D, 0x2E, 0x2F, 0x30, 0x31, 0x32, 0x33, 0x34, + 0x35, 0x36, 0x37, 0x38, 0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x3F, 0x00, 0x05 }; +static const uint8_t AES_GMAC_VECTOR_1_OUT[16] = { 0x6E, 0xE1, 0x60, 0xE8, 0xFA, 0xEC, 0xA4, 0xB3, 0x6C, 0x86, 0xB2, 0x34, 0x92, 0x0C, 0xA9, 0x75 }; -static const uint8_t AES_GMAC_VECTOR_2_KEY[32] = { 0x63, 0x2f, 0xd9, 0x48, 0xcf, 0x70, 0xe2, 0xee, 0x70, 0x63, 0xe8, - 0x7a, 0x4a, 0x2a, 0x39, 0x9b, 0x67, 0x08, 0x64, 0x03, 0x68, 0x9d, - 0xbc, 0x60, 0xea, 0x68, 0x4a, 0x7a, 0x83, 0x37, 0x00, 0xfe }; -static const uint8_t AES_GMAC_VECTOR_2_IV[12] = { - 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b -}; +static const uint8_t AES_GMAC_VECTOR_2_KEY[32] = { 0x63, 0x2f, 0xd9, 0x48, 0xcf, 0x70, 0xe2, 0xee, 0x70, 0x63, 0xe8, 0x7a, 0x4a, 0x2a, 0x39, 0x9b, + 0x67, 0x08, 0x64, 0x03, 0x68, 0x9d, 0xbc, 0x60, 0xea, 0x68, 0x4a, 0x7a, 0x83, 0x37, 0x00, 0xfe }; +static const uint8_t AES_GMAC_VECTOR_2_IV[12] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b }; static const uint8_t AES_GMAC_VECTOR_2_IN[541] = { - 0xc8, 0x36, 0x38, 0xe8, 0x53, 0xc8, 0x86, 0xa3, 0xe3, 0xad, 0x9e, 0x2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xcc, 0xc0, 0x11, 0xc6, + 0x30, 0x8e, 0xa3, 0xd2, 0x4a, 0x1b, 0x2a, 0x4f, 0xec, 0x97, 0x83, 0xa6, 0x4c, 0xee, 0x51, 0xaf, 0x06, 0x0a, 0x1d, 0x80, 0xd9, 0xcf, 0xb7, 0x69, 0x23, 0x15, + 0x3a, 0x26, 0x04, 0x34, 0x33, 0x76, 0x30, 0x9f, 0xfb, 0x56, 0xb4, 0x26, 0xee, 0xfa, 0x54, 0x6c, 0x18, 0xf9, 0xd5, 0x32, 0x5d, 0x03, 0xcb, 0x2c, 0x20, 0x30, + 0x0c, 0xa0, 0xbb, 0xde, 0x01, 0x77, 0x65, 0xb0, 0x18, 0x30, 0xd2, 0x55, 0x9f, 0x9b, 0xcf, 0xb8, 0x9b, 0xb4, 0xbc, 0x0b, 0x49, 0x52, 0x53, 0x30, 0x48, 0xa5, + 0x12, 0xe5, 0x3b, 0x47, 0x84, 0xff, 0xf1, 0x53, 0x5d, 0x5c, 0x04, 0x70, 0x63, 0x91, 0xc3, 0xc0, 0xf0, 0xea, 0xcb, 0x44, 0x4f, 0x8c, 0x85, 0x42, 0x6a, 0xc7, + 0xfa, 0xc7, 0xb5, 0x30, 0x03, 0x12, 0x65, 0xca, 0xba, 0x4f, 0x67, 0xbb, 0xef, 0xb6, 0xc6, 0x3f, 0x19, 0xe2, 0xb5, 0x4b, 0x8c, 0xfc, 0x9e, 0x18, 0xb0, 0x33, + 0x89, 0x6e, 0xde, 0x61, 0x0a, 0xe3, 0x5e, 0xa3, 0x5d, 0x2e, 0x80, 0x3e, 0x53, 0x67, 0xfb, 0x7b, 0x7a, 0xbf, 0xd5, 0xf4, 0x47 }; -static const uint8_t AES_GMAC_VECTOR_2_OUT[16] = { 0x67, 0x39, 0x4f, 0x00, 0x04, 0x28, 0xaf, 0xe9, - 0xb4, 0x2e, 0xb5, 0x3c, 0x42, 0x24, 0x86, 0xa3 }; +static const uint8_t AES_GMAC_VECTOR_2_OUT[16] = { 0x67, 0x39, 0x4f, 0x00, 0x04, 0x28, 0xaf, 0xe9, 0xb4, 0x2e, 0xb5, 0x3c, 0x42, 0x24, 0x86, 0xa3 }; struct C25519TestVector { uint8_t pub1[64]; @@ -331,1043 +263,755 @@ struct C25519TestVector { #define ZT_NUM_C25519_TEST_VECTORS 32 static const C25519TestVector C25519_TEST_VECTORS[ZT_NUM_C25519_TEST_VECTORS] = { - { { 0xa1, 0xfc, 0x7a, 0xb4, 0x6d, 0xdf, 0x7d, 0xcf, 0xe7, 0xec, 0x75, 0xe5, 0xfa, 0xdd, 0x11, 0xcb, - 0xcc, 0x37, 0xf8, 0x84, 0x5d, 0x1c, 0x92, 0x4e, 0x09, 0x89, 0x65, 0xfc, 0xd8, 0xe9, 0x5a, 0x30, - 0xda, 0xe4, 0x86, 0xa3, 0x35, 0xb4, 0x19, 0x0c, 0xbc, 0x7b, 0xcb, 0x3e, 0xb9, 0x4c, 0xbd, 0x16, - 0xe8, 0x3d, 0x13, 0x2b, 0xc9, 0xc3, 0x39, 0xea, 0xf1, 0x42, 0xe7, 0x6f, 0x69, 0x78, 0x9a, 0xb7 }, - { 0xe5, 0xf3, 0x7b, 0xd4, 0x0e, 0xc9, 0xdc, 0x77, 0x50, 0x86, 0xdc, 0xf4, 0x2e, 0xbc, 0xdb, 0x27, - 0xf0, 0x73, 0xd4, 0x58, 0x73, 0xc4, 0x4b, 0x71, 0x8b, 0x3c, 0xc5, 0x4f, 0xa8, 0x7c, 0xa4, 0x84, - 0xd9, 0x96, 0x23, 0x73, 0xb4, 0x03, 0x16, 0xbf, 0x1e, 0xa1, 0x2d, 0xd8, 0xc4, 0x8a, 0xe7, 0x82, - 0x10, 0xda, 0xc9, 0xe5, 0x45, 0x9b, 0x01, 0xdc, 0x73, 0xa6, 0xc9, 0x17, 0xa8, 0x15, 0x31, 0x6d }, - { 0x3e, 0x49, 0xa4, 0x0e, 0x3a, 0xaf, 0xa3, 0x07, 0x3d, 0xf7, 0x2a, 0xec, 0x43, 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xc6, 0x0c, 0x32, 0x27, 0x2f, 0x9c, 0x09, 0x48, 0x59, 0x10 } }, - { { 0xfd, 0x81, 0x14, 0xf1, 0x67, 0x07, 0x44, 0xbb, 0x93, 0x84, 0xa2, 0xdc, 0x36, 0xdc, 0xcc, 0xb3, - 0x9e, 0x82, 0xd4, 0x8b, 0x42, 0x56, 0xfb, 0xf2, 0x6e, 0x83, 0x3b, 0x16, 0x2c, 0x29, 0xfb, 0x39, - 0x29, 0x48, 0x85, 0xe3, 0xe3, 0xf7, 0xe7, 0x80, 0x49, 0xd3, 0x01, 0x30, 0x5a, 0x2c, 0x3f, 0x4c, - 0xea, 0x13, 0xeb, 0xda, 0xf4, 0x56, 0x75, 0x8d, 0x50, 0x1e, 0x19, 0x2d, 0x29, 0x2b, 0xfb, 0xdb }, - { 0x85, 0x34, 0x4d, 0xf7, 0x39, 0xbf, 0x98, 0x79, 0x8c, 0x98, 0xeb, 0x8d, 0x61, 0x27, 0xec, 0x87, - 0x56, 0xcd, 0xd0, 0xa6, 0x55, 0x77, 0xee, 0xf0, 0x20, 0xd0, 0x59, 0x39, 0x95, 0xab, 0x29, 0x82, - 0x8e, 0x61, 0xf8, 0xad, 0xed, 0xb6, 0x27, 0xc3, 0xd8, 0x16, 0xce, 0x67, 0x78, 0xe2, 0x04, 0x4b, - 0x0c, 0x2d, 0x2f, 0xc3, 0x24, 0x72, 0xbc, 0x53, 0xbd, 0xfe, 0x39, 0x23, 0xd4, 0xaf, 0x27, 0x84 }, - { 0x11, 0xbe, 0x5f, 0x5a, 0x73, 0xe7, 0x42, 0xef, 0xff, 0x3c, 0x47, 0x6a, 0x0e, 0x6b, 0x9e, 0x96, - 0x21, 0xa3, 0xdf, 0x49, 0xe9, 0x3f, 0x40, 0xfc, 0xab, 0xb3, 0x66, 0xd3, 0x3d, 0xfa, 0x02, 0x29, - 0xf3, 0x43, 0x45, 0x3c, 0x70, 0xa3, 0x5d, 0x39, 0xf7, 0xc0, 0x6a, 0xcd, 0xf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04, 0xc7, 0xf7, 0x0d, - 0xd2, 0x0c, 0x08, 0x6d, 0x46, 0xdb, 0x43, 0x28, 0x31, 0xd8, 0xcd, 0x87, 0x50, 0xbb, 0xd3, 0x07, - 0xf5, 0x72, 0x0b, 0x15, 0x7c, 0x16, 0xab, 0x03, 0xd9, 0x4b, 0x07, 0x38, 0x97, 0xe8, 0xd6, 0xb5 }, - { 0x93, 0xff, 0x6d, 0xc3, 0x62, 0xf7, 0xcc, 0x20, 0x95, 0xc2, 0x2f, 0x7d, 0x1d, 0x9b, 0xd1, 0x63, - 0xfc, 0x61, 0x47, 0xb3, 0x22, 0x0f, 0xca, 0xb0, 0x16, 0xcf, 0x29, 0x53, 0x46, 0x97, 0xb1, 0x36, - 0x46, 0xac, 0x48, 0x13, 0x92, 0xe4, 0x46, 0x68, 0xcf, 0x09, 0x4e, 0xfa, 0x59, 0x45, 0x24, 0x08, - 0xdb, 0xb4, 0x6f, 0x20, 0x55, 0x12, 0xd9, 0x75, 0x9d, 0x8e, 0x0b, 0xf8, 0x63, 0xe0, 0xf9, 0x01, - 0xd2, 0x0c, 0x08, 0x6d, 0x46, 0xdb, 0x43, 0x28, 0x31, 0xd8, 0xcd, 0x87, 0x50, 0xbb, 0xd3, 0x07, - 0xf5, 0x72, 0x0b, 0x15, 0x7c, 0x16, 0xab, 0x03, 0xd9, 0x4b, 0x07, 0x38, 0x97, 0xe8, 0xd6, 0xb5 } }, - { { 0x14, 0x35, 0xa6, 0x7d, 0xc1, 0xb5, 0x71, 0xca, 0x42, 0x50, 0x90, 0xa7, 0x72, 0x85, 0xbe, 0x78, - 0x7a, 0x5f, 0x83, 0x1e, 0xbe, 0xef, 0x6a, 0xbe, 0x48, 0xc5, 0x68, 0x14, 0x0c, 0xf7, 0x44, 0x5c, - 0x2e, 0xfd, 0x1b, 0xcc, 0xee, 0x09, 0x23, 0x82, 0x31, 0xad, 0xaf, 0x4b, 0x73, 0x9c, 0xf2, 0x88, - 0x3c, 0xf3, 0xb5,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x7d, 0x93, 0x37, 0x67, 0xbb, 0x60, 0xa2, 0x1e, 0x36, 0xce, 0x3d, 0x48, 0x1d, 0x79, 0x99, 0xa5, - 0x19, 0xd8, 0x89, 0x1b, 0xcb, 0x14, 0x87, 0xb7, 0x62, 0xfd, 0xd2, 0xef, 0xbb, 0x13, 0x41, 0x4d, - 0xf1, 0x77, 0x5c, 0x7f, 0x6c, 0x3b, 0x94, 0x7d, 0xb4, 0xba, 0x87, 0x3e, 0xc8, 0xe1, 0x3c, 0x0a }, - { 0xd9, 0x9e, 0x14, 0x89, 0xd6, 0xf8, 0x49, 0xa2, 0xe2, 0x19, 0xfe, 0x94, 0xaa, 0xf7, 0x35, 0xf9, - 0x4a, 0xf8, 0xf3, 0x18, 0x68, 0x96, 0x47, 0xc6, 0x23, 0x7c, 0xb0, 0x53, 0xcb, 0xd8, 0x90, 0x31, - 0xb7, 0x50, 0x0e, 0x06, 0xc3, 0x84, 0x75, 0xf1, 0xac, 0x16, 0x4d, 0xc1, 0xbe, 0xf1, 0x80, 0x33, - 0x47, 0x56, 0x6f, 0x33, 0x94, 0x5c, 0x81, 0x03, 0x4c, 0x2f, 0x6d, 0xac, 0x73, 0xba, 0x91, 0x3c }, - { 0x2f, 0xa9, 0xb6, 0xe8, 0x73, 0xe2, 0xef, 0x6d, 0x6d, 0xd7, 0x2e, 0xa0, 0x51, 0x61, 0x24, 0x81, - 0x8c, 0xa8, 0x47, 0x40, 0xe1, 0xc7, 0x75, 0x79, 0xc8, 0xec, 0xb2, 0x23, 0x41, 0xad, 0x61, 0x3b, - 0xea, 0x8a, 0xdf, 0x63, 0xed, 0xe1, 0x8e, 0x50, 0x70, 0x6e, 0x86, 0xed, 0xb0, 0xba, 0x27, 0x48, - 0x8e, 0xb9, 0x63, 0x39, 0x78, 0x58, 0x4f, 0x1e, 0xbc, 0x45, 0xf3, 0xf2, 0x3a, 0x73, 0x9b, 0x8c }, - { 0xad, 0x42, 0xc5, 0x84, 0xca, 0xe1, 0xe1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eb, 0x78, 0x72, - 0xb5, 0xe5, 0x22, 0x2b, 0x7f, 0x5e, 0xc7, 0x9b, 0x29, 0x55, 0x8e, 0x2a, 0xfc, 0x65, 0x55, 0x4a, - 0x02, 0xad, 0x64, 0x06, 0xd4, 0x25, 0xe1, 0x96, 0x6f, 0xee, 0x96, 0xcd, 0x29, 0xc6, 0x64, 0x00, - 0x16, 0x73, 0x7c, 0xc4, 0x55, 0x3f, 0x25, 0x04, 0x08, 0x75, 0x74, 0x68, 0xbc, 0xe4, 0x3a, 0xae, - 0x4c, 0x0e, 0xd2, 0x85, 0xa1, 0xbc, 0x81, 0xc0, 0xc9, 0xfe, 0x9a, 0x44, 0x7b, 0x83, 0xdf, 0xc7 } }, - { { 0x5e, 0xc5, 0x5b, 0x9c, 0xdb, 0x14, 0x05, 0x18, 0x6b, 0xe2, 0x1d, 0x16, 0x77, 0x22, 0x0e, 0xd2, - 0xe4, 0x57, 0x82, 0x6e, 0x5b, 0xc5, 0x6a, 0xb9, 0x34, 0x20, 0xdb, 0x72, 0xe2, 0xe1, 0xeb, 0x1b, - 0x34, 0x00, 0x04, 0xbf, 0x83, 0xf6, 0x4f, 0x12, 0x45, 0x08, 0xf0, 0x95, 0x2a, 0xdc, 0x3a, 0x14, - 0xb3, 0x29, 0x0b, 0x99, 0xcd, 0x73, 0x31, 0xbd, 0x04, 0xbb, 0x49, 0x1c, 0xde, 0xcf, 0x09, 0x9e }, - { 0x15, 0x80, 0x3e, 0x2a, 0xfb, 0xc0, 0x8d, 0x62, 0x19, 0x27, 0x83, 0x04, 0xcc, 0xf5, 0xd1, 0xbb, - 0x40, 0x41, 0xbe, 0x93, 0x59, 0x6e, 0x27, 0x6d, 0x95, 0x24, 0x0a, 0x07, 0x27, 0x86, 0x10, 0x75, - 0xf7, 0x0a, 0x11, 0xfc, 0x53, 0xd0, 0x4c, 0x15, 0xf8, 0x6e, 0x22, 0x3f, 0xeb, 0x12, 0x97, 0x8a, - 0x3d, 0x69, 0xd8, 0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 0xd5, 0x64, 0x08, 0x65, 0x13, 0x33, 0xc2, 0xab, 0xe0, 0x45 }, - { 0x6f, 0x5a, 0x90, 0x80, 0x25, 0x13, 0xc2, 0xa7, 0xfe, 0x1c, 0xa1, 0x07, 0x81, 0x4b, 0x09, 0xd3, - 0xbd, 0xda, 0x55, 0xa8, 0xaa, 0x62, 0x19, 0x03, 0xe9, 0x9f, 0x77, 0xef, 0xff, 0xd4, 0x5e, 0x53, - 0xbc, 0x9d, 0x71, 0xb8, 0xc4, 0xc2, 0x85, 0xb9, 0xb4, 0x3d, 0x95, 0xb8, 0xfd, 0x44, 0xb7, 0xc8, - 0x6f, 0x93, 0x15, 0x04, 0x16, 0x7e, 0x01, 0xf2, 0x09, 0x23, 0x96, 0x69, 0xe5, 0x65, 0x52, 0x34 }, - { 0xaf, 0xfe, 0x4f, 0x34, 0x4e, 0xfe, 0x51, 0xa5, 0xb2, 0xd8, 0x31, 0x74, 0x7b, 0xae, 0xfb, 0xb9, - 0x33, 0xc1, 0xdc, 0x66, 0xe6, 0x95, 0x9e, 0xce, 0x77, 0x7d, 0x55, 0x3c, 0xa6, 0x6c, 0x09, 0x23, - 0x5a, 0x1a, 0x5e, 0x1a, 0x41, 0xd3, 0xad, 0x5f, 0x86, 0xd0, 0x14, 0xf5, 0xe0, 0xda, 0xf1, 0xce, - 0x19, 0x90, 0x45, 0x0c, 0x4c, 0xb1, 0xd3, 0xc8, 0x4c, 0xdb, 0x7e, 0x49, 0xf5, 0xac, 0xde, 0xff }, - { 0x1b, 0x9b, 0x6b, 0x30, 0xd3, 0x19, 0x37, 0x83, 0xad, 0x05, 0xca, 0xba, 0x22, 0x85, 0x33, 0x7f, - 0x55, 0x60, 0xe3, 0x14, 0x8c, 0x39, 0x87, 0xd1, 0x4c, 0x21, 0x27, 0xa0, 0xae, 0x4a, 0x56, 0x15, - 0x50, 0x6c, 0x99, 0xca, 0xff, 0xde, 0x10, 0xc6, 0x9f, 0x6c, 0x70, 0xd1, 0x66, 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xe0, 0x57, 0xa3, 0x0a, 0xc4, 0x42, 0xb5, 0x07, 0xe1, 0x1b, 0x78, 0x8b, 0x3d, 0x4d, - 0xcb, 0xe4, 0x56, 0x72, 0x0b, 0x85, 0x52, 0xd8, 0x55, 0xe2, 0xcd, 0x38, 0xd2, 0x83, 0xb6, 0x05, - 0xd2, 0x9f, 0x63, 0x9e, 0x7f, 0xca, 0xe5, 0x95, 0x36, 0x61, 0x9b, 0xca, 0x09, 0x27, 0x53, 0x82 }, - { 0x24, 0x67, 0x10, 0xd6, 0x8a, 0x1a, 0x8e, 0xb8, 0x53, 0xef, 0xb7, 0x67, 0x2a, 0xfd, 0xb8, 0xd6, - 0xe3, 0xf7, 0x41, 0x95, 0x8c, 0x50, 0xca, 0x1d, 0x21, 0x21, 0x41, 0xd1, 0xef, 0x2d, 0x9b, 0x53, - 0xa9, 0x42, 0xcd, 0xda, 0x6d, 0x12, 0x1b, 0xbd, 0x0a, 0xe1, 0x4d, 0x95, 0xc6, 0xaa, 0x40, 0xfd, - 0x98, 0xfb, 0x26, 0x21, 0x5e, 0xaf, 0x8e, 0x6b, 0xc9, 0x36, 0x2c, 0x66, 0x31, 0x24, 0x45, 0x87 }, - { 0x5e, 0xf9, 0x1d, 0x10, 0xb5, 0x79, 0x1f, 0x80, 0x85, 0x90, 0xc3, 0x7f, 0x2b, 0x73, 0xbf, 0x83, - 0x0b, 0x5d, 0x46, 0xae, 0x79, 0xef, 0x09, 0x71, 0x29, 0xfb, 0x83, 0xde, 0x1f, 0xe2, 0xdb, 0x1b, - 0xa2, 0x22, 0xee, 0x50, 0x21, 0x9d, 0x9c, 0x35, 0x14, 0x48, 0x13, 0xa5, 0xd1, 0x68, 0xf4, 0x61, - 0x1f, 0xd7, 0xe2, 0xd6, 0x42, 0x1c, 0xdc, 0x58, 0xec, 0x8b, 0x03, 0x6b, 0xdf, 0x64, 0x06, 0x30 }, - { 0xf9, 0xa6, 0x88, 0x74, 0x07, 0x19, 0x15, 0x38, 0xaf, 0xac, 0x07, 0x10, 0xe0, 0xd9, 0x22, 0xf3, - 0x78, 0xb0, 0xbf, 0x60, 0xa3, 0x0f, 0xea, 0x0f, 0xa8, 0x64, 0xa9, 0xa3, 0x82, 0xe1, 0x4c, 0x29, - 0x36, 0x22, 0x6d, 0x43, 0x9c, 0xde, 0x22, 0xbf, 0xc6, 0x85, 0xf7, 0xe9, 0xe0, 0x79, 0x80, 0xfe, - 0x9d, 0xd6, 0x24, 0xbd, 0x29, 0xa4, 0x8c, 0x35, 0x21, 0x87, 0x45, 0x7f, 0x88, 0xd9, 0x9a, 0x9d }, - { 0x49, 0x43, 0x19, 0x14, 0xcc, 0x4a, 0x11, 0x01, 0x05, 0xd1, 0x4e, 0x39, 0x6d, 0xb0, 0x22, 0x65, - 0x32, 0x6e, 0x67, 0x04, 0x50, 0x85, 0x53, 0x42, 0x90, 0x2c, 0xc0, 0x63, 0x2f, 0xbd, 0x15, 0x90, - 0x1b, 0x3f, 0x03, 0x90, 0x16, 0x7f, 0x7b, 0x49, 0x74, 0xd0, 0x3d, 0x81, 0x80, 0x1e, 0x9e, 0x2e, - 0xa9, 0x13, 0x6a, 0x10, 0x14, 0xc1, 0xfd, 0xf9, 0x25, 0x3a, 0x1d, 0x52, 0x93, 0x0a, 0x77, 0x03, - 0xa2, 0xdd, 0xce, 0x9f, 0x2a, 0x35, 0xc9, 0x93, 0x7c, 0xa2, 0x2c, 0xf6, 0x38, 0x73, 0xb3, 0xab, - 0x7f, 0x55, 0xb6, 0x62, 0xa2, 0x8d, 0x6a, 0x3e, 0x88, 0x04, 0x9b, 0xa2, 0x19, 0x64, 0x55, 0x01 }, - { 0x22, 0x03, 0x49, 0x58, 0x76, 0x3c, 0x85, 0x45, 0x5e, 0x73, 0x78, 0x8f, 0x65, 0xc9, 0x50, 0xf8, - 0xd7, 0x16, 0x92, 0xa4, 0xd1, 0x79, 0xce, 0xf3, 0x00, 0x34, 0x38, 0xb8, 0xcc, 0x96, 0x9f, 0xa6, - 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a, 0xc7, 0xee, 0x72, 0x8e, 0x13, 0x64, 0xd1, 0x0a, 0xda, 0xbd, 0x8d, 0xa4, - 0x28, 0x55, 0x3a, 0x2c, 0x78, 0x41, 0xc6, 0xfc, 0x1c, 0x0f, 0xf8, 0xd7, 0x5f, 0xe6, 0xde, 0x0b, - 0xd5, 0xc0, 0xaa, 0x2c, 0x5c, 0xac, 0x46, 0xeb, 0xa4, 0x35, 0x2a, 0xab, 0x00, 0x2e, 0xc0, 0x8b, - 0x42, 0x65, 0x2f, 0x2f, 0x13, 0x84, 0x60, 0x15, 0xa3, 0x69, 0xee, 0xab, 0x0e, 0x50, 0xbf, 0x5f }, - { 0xc1, 0xb0, 0xac, 0x4c, 0xfa, 0x62, 0x52, 0x22, 0xae, 0x8c, 0x94, 0x38, 0xd9, 0x6e, 0x10, 0x94, - 0xe7, 0xaa, 0xc0, 0x92, 0x93, 0x06, 0x55, 0xf9, 0x2e, 0xd9, 0x10, 0x4d, 0xcb, 0x82, 0x19, 0x1f, - 0x27, 0x16, 0x81, 0xdd, 0xea, 0x7a, 0xa8, 0xce, 0x5a, 0xdd, 0x37, 0x77, 0x24, 0x57, 0xfb, 0x40, - 0x3d, 0x1b, 0x48, 0x88, 0xda, 0xce, 0xe8, 0xd2, 0xed, 0xe0, 0x6e, 0x29, 0xeb, 0xdb, 0x95, 0x09, - 0xd5, 0xc0, 0xaa, 0x2c, 0x5c, 0xac, 0x46, 0xeb, 0xa4, 0x35, 0x2a, 0xab, 0x00, 0x2e, 0xc0, 0x8b, - 0x42, 0x65, 0x2f, 0x2f, 0x13, 0x84, 0x60, 0x15, 0xa3, 0x69, 0xee, 0xab, 0x0e, 0x50, 0xbf, 0x5f } }, - { { 0x3a, 0x79, 0x39, 0x60, 0xe9, 0x93, 0xad, 0x78, 0xf9, 0x0b, 0x99, 0x64, 0x71, 0x76, 0xad, 0xdc, - 0x63, 0xa3, 0x38, 0xbf, 0x0a, 0x36, 0x22, 0xcf, 0x4f, 0x84, 0x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0x98, 0xa8, 0x82, 0x38, 0xcc, 0xed, 0xd6, 0x92, - 0x7e, 0x3e, 0xcb, 0xb2, 0x82, 0x92, 0x7a, 0x56, 0x9e, 0xd6, 0x29, 0x45, 0x42, 0x04, 0x76, 0x82, - 0xa5, 0xfc, 0xd9, 0x0c, 0x12, 0x4c, 0x98, 0x04, 0x2a, 0x3a, 0x98, 0x01, 0xb8, 0x62, 0xe8, 0xe6, - 0x7c, 0x51, 0xe3, 0x7d, 0x97, 0xf5, 0x45, 0xb4, 0x13, 0xdf, 0x15, 0x68, 0xc3, 0x00, 0x75, 0x40 }, - { 0x7e, 0x89, 0x3d, 0x7c, 0x78, 0x36, 0x3c, 0x85, 0xda, 0xb6, 0x9b, 0x6d, 0xbc, 0x52, 0x7d, 0xc6, - 0xaa, 0xfd, 0x90, 0x62, 0xe4, 0xc4, 0x1a, 0x5a, 0x2e, 0xa1, 0x57, 0xd7, 0xda, 0x57, 0xf4, 0x58, - 0xc5, 0x23, 0x61, 0x21, 0xe1, 0x93, 0xfa, 0x06, 0x22, 0xed, 0x41, 0x66, 0x24, 0x47, 0xb9, 0xed, - 0xc8, 0x84, 0x25, 0x28, 0x39, 0xec, 0xfb, 0x29, 0xa1, 0xcd, 0xe1, 0x9d, 0x02, 0x48, 0x6f, 0x0a, - 0xe2, 0x9f, 0x98, 0xfd, 0x3d, 0x18, 0xa1, 0x24, 0x9c, 0xc6, 0x75, 0xb8, 0x99, 0x76, 0x2a, 0xa4, - 0x9e, 0xb1, 0x97, 0x2d, 0x1c, 0x99, 0x65, 0x5f, 0x1f, 0xda, 0x14, 0x4f, 0x10, 0x49, 0xf1, 0x7a }, - { 0x2c, 0xec, 0x27, 0x63, 0xd2, 0x77, 0x14, 0x2d, 0x01, 0x18, 0x10, 0xe0, 0x23, 0x1b, 0xa2, 0x25, - 0x61, 0xd4, 0x52, 0xd9, 0x90, 0xde, 0x97, 0x7e, 0xb8, 0xfa, 0x38, 0x25, 0xf2, 0x91, 0x07, 0x3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, 0x2e, 0xe6, 0x97, 0x14, 0x32, - 0x36, 0x57, 0x5c, 0xa4, 0x04, 0x78, 0xb1, 0x92, 0xf4, 0x23, 0x94, 0xe6, 0x2a, 0xef, 0xd4, 0xe7, - 0xc4, 0x02, 0x9f, 0xa9, 0x79, 0x77, 0x61, 0x90, 0xd6, 0xdb, 0x6e, 0x28, 0x7e, 0xc0, 0x1d, 0x70 }, - { 0xc5, 0xd1, 0x5c, 0x34, 0x15, 0xa9, 0x1e, 0x42, 0x2a, 0x1b, 0x0d, 0xf0, 0x56, 0x83, 0x10, 0xc3, - 0xc9, 0x21, 0xfd, 0x05, 0xfa, 0x51, 0x0e, 0x11, 0x28, 0xcc, 0x84, 0xac, 0x35, 0xb5, 0xd8, 0xc8, - 0x5c, 0x80, 0x11, 0x1f, 0x60, 0x1c, 0x72, 0x25, 0x82, 0x45, 0xb5, 0x4f, 0x66, 0x6b, 0x52, 0xb1, - 0xf7, 0x28, 0x0f, 0x80, 0x76, 0x44, 0xdc, 0x15, 0x70, 0x39, 0xe9, 0xaf, 0xc7, 0x0a, 0xa0, 0x43 }, - { 0xff, 0x20, 0x5e, 0x3b, 0x75, 0xe9, 0x38, 0x7c, 0xa3, 0x5c, 0x8b, 0x1a, 0xec, 0x17, 0x8d, 0xf0, - 0xef, 0xb3, 0x53, 0x9b, 0x16, 0xa9, 0x44, 0xf9, 0x34, 0x45, 0x13, 0x66, 0x80, 0x24, 0xdc, 0x22, - 0x0e, 0x51, 0x94, 0xed, 0xe6, 0x83, 0x36, 0x32, 0x63, 0x23, 0x1b, 0xf8, 0x78, 0xb4, 0x04, 0x7f, - 0x5a, 0x50, 0x54, 0x12, 0x19, 0x04, 0x61, 0xdd, 0x25, 0xf0, 0x48, 0x29, 0x04, 0xc1, 0x44, 0xe2 }, - { 0x46, 0x32, 0x2d, 0xc7, 0xbc, 0x05, 0x2a, 0xd3, 0xb5, 0xce, 0x7d, 0x47, 0x5e, 0xfc, 0x90, 0x38, - 0xef, 0xfa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0x8b, 0x7f, 0x87, 0xe3, 0xf9, 0x71, - 0xab, 0xfa, 0xc8, 0x17, 0xed, 0xeb, 0x19, 0xc6, 0x3c, 0xee, 0x78, 0xba, 0x89, 0x97, 0x49, 0x85, - 0x39, 0x68, 0x29, 0x88, 0x0b, 0x1c, 0xd1, 0x42, 0x8b, 0xe8, 0x1a, 0x3b, 0xeb, 0x4d, 0xef, 0x3b }, - { 0xea, 0xfb, 0xec, 0x27, 0xc3, 0x92, 0xc3, 0x68, 0x0d, 0x3c, 0x5b, 0x20, 0x20, 0x9c, 0x96, 0xa7, - 0x39, 0xfa, 0x80, 0x91, 0xef, 0x86, 0x7d, 0xa8, 0x87, 0xf6, 0xef, 0x14, 0x01, 0x46, 0xf0, 0x68, - 0x0a, 0x8b, 0xae, 0x83, 0x91, 0x7e, 0xa0, 0x14, 0x14, 0xde, 0xf9, 0xa8, 0xfd, 0x67, 0x57, 0x17, - 0x20, 0x46, 0x43, 0x49, 0x07, 0xf0, 0x3e, 0xc8, 0xbe, 0x66, 0xaf, 0x58, 0x3a, 0xbd, 0xd8, 0x00 }, - { 0x35, 0xf5, 0xc8, 0x2c, 0x0e, 0x4b, 0x56, 0xe0, 0xef, 0x08, 0x34, 0x38, 0x57, 0xe9, 0xde, 0xdb, - 0x1d, 0xe1, 0x28, 0x05, 0x01, 0xed, 0x62, 0x3d, 0xa9, 0x6e, 0xea, 0x5b, 0x95, 0x09, 0xe0, 0x04, - 0x46, 0xff, 0xdc, 0x34, 0xf6, 0xf7, 0x63, 0xb1, 0x76, 0xb8, 0x3c, 0x03, 0xef, 0x36, 0x0f, 0x82, - 0x1b, 0x5b, 0x6f, 0xe2, 0x86, 0xd9, 0x10, 0x01, 0xe6, 0x73, 0x75, 0x0d, 0x50, 0x30, 0x11, 0x68 }, - { 0x27, 0xb6, 0x3b, 0x78, 0x79, 0xf3, 0x22, 0x78, 0x8f, 0x0c, 0x14, 0x8b, 0x3f, 0x68, 0xc2, 0xab, - 0x9f, 0x9f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0x4b, 0x18, 0xd4, 0xe7, 0x55, 0x40, 0xde, 0x7e }, - { 0xc2, 0xa9, 0x7e, 0x5c, 0x26, 0xf4, 0x7d, 0xce, 0x9e, 0x73, 0xae, 0x50, 0xde, 0xe7, 0xa6, 0xf9, - 0x8b, 0x57, 0xf9, 0x7a, 0x4c, 0x38, 0x82, 0xf6, 0x30, 0x80, 0x12, 0xf7, 0xf6, 0x66, 0x80, 0x46, - 0x4d, 0x41, 0x53, 0x63, 0xd9, 0x65, 0x90, 0xe7, 0xee, 0x24, 0x07, 0xb0, 0x4f, 0xeb, 0x3e, 0x8e, - 0x83, 0x21, 0xa3, 0x40, 0x03, 0xc0, 0x64, 0x52, 0xc6, 0xb2, 0x12, 0x9d, 0x8d, 0x86, 0xdd, 0x19 }, - { 0xe2, 0xd5, 0x49, 0x5e, 0x2a, 0x6e, 0x4e, 0xd9, 0x31, 0x26, 0x53, 0x13, 0x98, 0x5e, 0x2f, 0x23, - 0xea, 0xa0, 0x30, 0xee, 0xef, 0x62, 0x2b, 0xdc, 0x93, 0x65, 0x90, 0xad, 0x9a, 0xf1, 0x74, 0x12, - 0xf5, 0x24, 0x33, 0xcc, 0xc3, 0xda, 0x42, 0x54, 0xa6, 0x6c, 0x86, 0x99, 0xb9, 0xb5, 0xf7, 0x07, - 0x90, 0xd8, 0x85, 0x7f, 0x69, 0xfb, 0x19, 0x2a, 0x2c, 0xc0, 0x11, 0x81, 0x64, 0x37, 0x38, 0x07 }, - { 0xc7, 0xb3, 0xf5, 0xe4, 0x4b, 0x55, 0xcf, 0xd8, 0x2b, 0x72, 0xde, 0x62, 0xfc, 0x66, 0xea, 0x82, - 0xee, 0x2e, 0xe5, 0x4f, 0x66, 0xba, 0x19, 0x63, 0x01, 0x0b, 0x2d, 0x89, 0xb4, 0xaa, 0x76, 0xb3, - 0x7e, 0xc5, 0xbe, 0xdd, 0x57, 0x90, 0x5e, 0xff, 0x5b, 0x9a, 0x71, 0xe1, 0x47, 0xf9, 0xec, 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 0x78, 0x8b, 0x89, 0x11, 0xae, 0x43, 0xe8, - 0x85, 0xb7, 0xf9, 0xc8, 0x48, 0x5a, 0xb2, 0x96, 0xaf, 0x8f, 0xab, 0x71, 0x84, 0x9d, 0x40, 0x09, - 0x30, 0xd4, 0x32, 0x6e, 0xa2, 0x77, 0x97, 0x71, 0x37, 0xce, 0x22, 0x6b, 0xca, 0xc9, 0x79, 0xef, - 0xc0, 0xb2, 0xb4, 0x3d, 0x30, 0xbf, 0x77, 0xe9, 0xc3, 0x8d, 0xec, 0x15, 0x04, 0x08, 0xfa, 0x15 }, - { 0x4b, 0xf3, 0x7f, 0xb2, 0x78, 0x75, 0x45, 0xd4, 0xce, 0x5e, 0x3d, 0xaf, 0x92, 0x63, 0x3d, 0x90, - 0xc0, 0xa7, 0x23, 0x62, 0x7f, 0x37, 0x58, 0x8d, 0x12, 0xe0, 0xb8, 0x6c, 0x46, 0x38, 0xaa, 0xf7, - 0xe1, 0x03, 0x9e, 0x1f, 0x31, 0xf9, 0x5a, 0xa4, 0x59, 0x0d, 0xec, 0xc5, 0x1f, 0x17, 0x88, 0x25, - 0xcc, 0xed, 0x69, 0x2b, 0x91, 0x73, 0x6a, 0x3f, 0xcb, 0xe5, 0x9c, 0x1e, 0x26, 0x3e, 0xec, 0x0b, - 0x30, 0xd4, 0x32, 0x6e, 0xa2, 0x77, 0x97, 0x71, 0x37, 0xce, 0x22, 0x6b, 0xca, 0xc9, 0x79, 0xef, - 0xc0, 0xb2, 0xb4, 0x3d, 0x30, 0xbf, 0x77, 0xe9, 0xc3, 0x8d, 0xec, 0x15, 0x04, 0x08, 0xfa, 0x15 } }, - { { 0xc5, 0x1d, 0xcd, 0x70, 0xb2, 0x9e, 0x53, 0x29, 0x05, 0x78, 0x83, 0x5d, 0x56, 0x30, 0x89, 0xee, - 0x02, 0xd7, 0xac, 0x57, 0x0a, 0xd2, 0xa0, 0x9c, 0x96, 0x0c, 0xbf, 0xf2, 0x30, 0xbf, 0x1a, 0x2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xe6, 0x18, 0x40, 0x5b, 0xce, 0x5b, - 0xc2, 0xee, 0xa5, 0xde, 0xe9, 0xe6, 0xe0, 0xa8, 0x58, 0x58, 0x03, 0x34, 0x26, 0x27, 0x65, 0x2a }, - { 0xfa, 0x43, 0xa6, 0xc4, 0x32, 0xa1, 0x2f, 0xb6, 0x37, 0x05, 0xf4, 0xa4, 0xa7, 0x36, 0xdd, 0x1c, - 0x45, 0x10, 0x95, 0x83, 0x67, 0x89, 0x79, 0x18, 0x34, 0xad, 0xe7, 0x57, 0x7f, 0x0d, 0x48, 0x9b, - 0x14, 0xdf, 0x5f, 0xc8, 0xd7, 0x0f, 0x78, 0x47, 0x88, 0x20, 0xff, 0x7f, 0xb1, 0x21, 0x27, 0x14, - 0x58, 0x32, 0x12, 0xfb, 0x97, 0xe0, 0x81, 0x0e, 0x92, 0xf4, 0x5c, 0x0e, 0x44, 0x48, 0x4e, 0x01, - 0x21, 0xb5, 0x4d, 0xc2, 0x36, 0xea, 0xe6, 0x7b, 0xb3, 0x61, 0xe6, 0x18, 0x40, 0x5b, 0xce, 0x5b, - 0xc2, 0xee, 0xa5, 0xde, 0xe9, 0xe6, 0xe0, 0xa8, 0x58, 0x58, 0x03, 0x34, 0x26, 0x27, 0x65, 0x2a } }, - { { 0x1e, 0x89, 0x12, 0xe8, 0xab, 0xca, 0xeb, 0x96, 0x78, 0x43, 0x89, 0x79, 0x26, 0x61, 0x86, 0x2e, - 0x37, 0xd7, 0x94, 0xb5, 0xb9, 0xf7, 0xc9, 0xe7, 0x04, 0x6c, 0x96, 0x1c, 0x54, 0x0d, 0xb0, 0x6c, - 0xd3, 0x68, 0x9b, 0x53, 0xa7, 0x56, 0x34, 0x1b, 0x65, 0xff, 0xf9, 0xee, 0xf1, 0xc6, 0xfd, 0x7e, - 0xa8, 0x42, 0x59, 0x60, 0x06, 0x5f, 0xc2, 0x89, 0x8b, 0xfc, 0xf8, 0x6c, 0x9a, 0x0d, 0xb1, 0x36 }, - { 0x52, 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, 0x0f, 0xec, 0x04, 0x27, - 0xa0, 0x61, 0xfd, 0x12, 0x2d, 0xab, 0xc9, 0xc5, 0x8e, 0xee, 0x36, 0xc2, 0xef, 0x67, 0xd5, 0x87, - 0x95, 0x6c, 0x12, 0xb7, 0x12, 0x81, 0x55, 0xe0, 0x7b, 0xdb, 0x8f, 0x67, 0xea, 0x04, 0x55, 0x91, - 0x9b, 0x50, 0x65, 0x05, 0xc1, 0xf1, 0x0b, 0x04, 0x91, 0x66, 0x3c, 0x32, 0x53, 0x72, 0x01, 0x04, - 0x9a, 0x59, 0x7e, 0xe8, 0x61, 0x36, 0x56, 0x9a, 0xbf, 0x64, 0xfd, 0xf3, 0xb7, 0xb9, 0x2f, 0x9e, - 0x56, 0x1f, 0x57, 0x45, 0x2e, 0x19, 0x0f, 0x6f, 0x70, 0x01, 0xc2, 0x48, 0x05, 0x23, 0x9b, 0x2f } }, - { { 0xc8, 0x37, 0x10, 0xdc, 0xdb, 0xfc, 0x51, 0x91, 0xae, 0x37, 0xa4, 0xe0, 0xcf, 0xbb, 0xdd, 0x92, - 0x93, 0x5f, 0x6b, 0xd6, 0x81, 0xbf, 0x9b, 0x24, 0x5e, 0x0d, 0xf1, 0xe4, 0x04, 0x89, 0xd1, 0x1b, - 0xb2, 0x68, 0x56, 0x3a, 0xdc, 0x59, 0xd0, 0x8a, 0x93, 0x37, 0x5d, 0xa5, 0x40, 0x5e, 0xfe, 0xc9, - 0x41, 0x0b, 0x8a, 0x50, 0xd2, 0xa0, 0x94, 0x86, 0xf7, 0x46, 0x3b, 0x7e, 0x1d, 0xea, 0x2b, 0xa8 }, - { 0x1b, 0xe2, 0xe6, 0x48, 0x86, 0xa8, 0x65, 0xfd, 0x2b, 0xae, 0xc7, 0x7d, 0x41, 0xee, 0xb2, 0x80, - 0x33, 0x1c, 0x0a, 0xdc, 0x42, 0xea, 0x99, 0xd0, 0x1f, 0x6d, 0xc8, 0x80, 0x51, 0x70, 0xd4, 0x19, - 0xae, 0xf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, 0x51, 0x32, 0x6e, 0x06, 0x5a, 0x27, 0x19, 0x78, 0x2e, 0x3a, - 0x04, 0xf9, 0x34, 0x80, 0x49, 0x39, 0x93, 0xcd, 0x89, 0x67, 0x7b, 0xc0, 0x8d, 0x9d, 0x8d, 0x4c, - 0x83, 0x20, 0x80, 0xfc, 0x00, 0xf2, 0x8a, 0x8f, 0xa4, 0x4d, 0x8e, 0x8f, 0x58, 0x51, 0x5b, 0x71 }, - { 0x71, 0x3f, 0x90, 0x41, 0xb8, 0x74, 0xbc, 0x7a, 0x85, 0xf5, 0xab, 0xca, 0x7e, 0xf2, 0x70, 0x41, - 0xbc, 0x36, 0xb5, 0xc3, 0x4e, 0xf1, 0x2b, 0x17, 0x35, 0x40, 0xdb, 0x3c, 0xdb, 0xd2, 0xec, 0x0b, - 0x99, 0xc1, 0x43, 0x17, 0xad, 0x38, 0x45, 0x2d, 0x07, 0x31, 0xd7, 0xb6, 0x95, 0x1c, 0x89, 0x25, - 0xe4, 0x89, 0x97, 0xd3, 0xcf, 0x11, 0x2f, 0x63, 0x31, 0x51, 0xa2, 0x18, 0xfc, 0x12, 0x04, 0x0a, - 0xb0, 0x33, 0xce, 0x0b, 0x57, 0xc0, 0x8c, 0x58, 0x25, 0xf8, 0x9b, 0x50, 0x22, 0x1c, 0x5c, 0x7b, - 0x02, 0xc7, 0xed, 0xfc, 0x98, 0x8b, 0xbd, 0xd2, 0x4e, 0xfc, 0x78, 0x91, 0x7f, 0x4c, 0x99, 0x24 }, - { 0xfc, 0x46, 0xe4, 0x85, 0x0c, 0x52, 0x14, 0xf8, 0x8a, 0xa4, 0x97, 0x17, 0x10, 0xb2, 0x93, 0xef, - 0xa0, 0x66, 0x3c, 0xfd, 0x61, 0x42, 0x24, 0x30, 0x70, 0x4b, 0xfd, 0x0b, 0x86, 0xc8, 0x97, 0xd7, - 0x04, 0xc2, 0xa6, 0x61, 0x41, 0xaf, 0xcc, 0x1d, 0x52, 0xc9, 0xf3, 0xca, 0xe1, 0x90, 0x7c, 0xbd, - 0xce, 0xaf, 0x30, 0xc4, 0xb4, 0x7d, 0x81, 0x7e, 0xbd, 0xe2, 0x09, 0x70, 0x1e, 0x6b, 0xb9, 0x03, - 0xb0, 0x33, 0xce, 0x0b, 0x57, 0xc0, 0x8c, 0x58, 0x25, 0xf8, 0x9b, 0x50, 0x22, 0x1c, 0x5c, 0x7b, - 0x02, 0xc7, 0xed, 0xfc, 0x98, 0x8b, 0xbd, 0xd2, 0x4e, 0xfc, 0x78, 0x91, 0x7f, 0x4c, 0x99, 0x24 } }, - { { 0x5f, 0x01, 0x6d, 0xec, 0x82, 0x02, 0x96, 0x47, 0x74, 0xd9, 0x73, 0x2e, 0x2e, 0x17, 0x00, 0xb6, - 0xe0, 0xa4, 0x13, 0x17, 0xae, 0x7f, 0x85, 0xcb, 0xff, 0xe7, 0x96, 0x99, 0xdb, 0x9f, 0xad, 0x21, - 0x60, 0xd9, 0x12, 0xdc, 0x41, 0x01, 0x33, 0x66, 0x4c, 0x24, 0x8b, 0x25, 0x17, 0xd7, 0x22, 0x14, - 0x12, 0x4d, 0xad, 0x82, 0x9a, 0x85, 0x69, 0x5e, 0x35, 0x10, 0xe0, 0xd7, 0x1a, 0x82, 0x88, 0x14 }, - { 0xab, 0x5f, 0x2c, 0x7d, 0xa2, 0xe5, 0x67, 0x5f, 0xe4, 0x92, 0x03, 0x93, 0xd7, 0x13, 0xa1, 0xfa, - 0x4a, 0xb7, 0x18, 0x4a, 0x8e, 0x8c, 0x78, 0x9a, 0x0c, 0x60, 0x02, 0xe8, 0x2d, 0x50, 0x05, 0x0f, - 0x92, 0xee, 0x9f, 0x81, 0xde, 0x6b, 0x20, 0xe4, 0x9b, 0x17, 0x2e, 0x99, 0x0f, 0x01, 0x31, 0xa7, - 0xc5, 0xc4, 0x53, 0x70, 0xda, 0x03, 0xc6, 0xf7, 0x22, 0x87, 0x98, 0x87, 0x19, 0x36, 0xa6, 0x49 }, - { 0x93, 0xab, 0x22, 0xc4, 0x39, 0x6c, 0x97, 0x80, 0xd2, 0xe2, 0x36, 0xfa, 0x31, 0x74, 0x67, 0xcc, - 0x50, 0x1b, 0x95, 0xbe, 0x77, 0xe0, 0xd1, 0x00, 0x74, 0x04, 0xe1, 0x4d, 0xca, 0x44, 0x35, 0x72, - 0x74, 0x69, 0x82, 0x23, 0x56, 0x9b, 0xcc, 0x34, 0x5a, 0xcb, 0xa2, 0xa3, 0x31, 0x12, 0x4a, 0x84, - 0x4c, 0xe9, 0x37, 0x3a, 0x58, 0xf8, 0x79, 0x65, 0x4a, 0x66, 0x79, 0x82, 0xf4, 0x5d, 0x75, 0xc3 }, - { 0x2d, 0x5d, 0xac, 0x4f, 0xb5, 0x00, 0x68, 0x3b, 0x5f, 0x2e, 0xdd, 0xcb, 0x14, 0x4a, 0x7f, 0xad, - 0x12, 0x45, 0x91, 0xd1, 0x84, 0xd8, 0x14, 0xff, 0xcb, 0x64, 0x43, 0x6d, 0x65, 0xe7, 0x19, 0x68, - 0x2b, 0x5e, 0x53, 0x05, 0x74, 0x66, 0xed, 0xac, 0x2f, 0x5a, 0x8f, 0x70, 0x96, 0xab, 0x29, 0xf3, - 0x9a, 0x59, 0xa2, 0xe2, 0xef, 0xd3, 0xc9, 0xd7, 0x53, 0xf8, 0xf5, 0xa3, 0xd6, 0xf4, 0x34, 0xf8 }, - { 0x1d, 0x14, 0xf3, 0xfd, 0xb0, 0x66, 0x20, 0xff, 0xfc, 0x79, 0x47, 0xc7, 0x4c, 0xe9, 0x45, 0x67, - 0xf5, 0x97, 0x14, 0xea, 0x7c, 0x63, 0xc5, 0x3f, 0x0b, 0x46, 0xe0, 0x88, 0xd6, 0x9b, 0x67, 0x71, - 0xba, 0xa6, 0x15, 0x28, 0x94, 0x54, 0x83, 0x68, 0x00, 0x3a, 0x33, 0xa6, 0x1a, 0x05, 0x6a, 0x68, - 0x72, 0x98, 0x48, 0x71, 0xea, 0x5b, 0x47, 0xf5, 0x80, 0x46, 0xa9, 0x57, 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 0xac, 0x78, 0x73, 0xb3, 0x3e, 0xc8, 0xb2, 0xf1, 0x3f, 0x89, 0xf2, 0x0e, 0x95, 0xdf, 0xed } }, - { { 0x98, 0x29, 0xf7, 0x57, 0xfd, 0xbd, 0x44, 0x3f, 0xd9, 0x90, 0x98, 0x19, 0x97, 0xf2, 0x60, 0x27, - 0xfd, 0x08, 0xfc, 0x8a, 0xc6, 0xaf, 0x87, 0x22, 0x7f, 0x74, 0x4a, 0x80, 0xaf, 0x72, 0x00, 0x01, - 0x70, 0x9b, 0x47, 0x2a, 0xd2, 0x8e, 0x41, 0x0a, 0xea, 0x6a, 0xdf, 0xb7, 0x61, 0x54, 0x89, 0x5e, - 0x01, 0x9f, 0x76, 0x64, 0x29, 0xee, 0x8d, 0x85, 0x20, 0xff, 0x30, 0x58, 0xc2, 0xa3, 0x2a, 0x56 }, - { 0xea, 0x69, 0x8e, 0x6b, 0x8e, 0xdd, 0x55, 0x22, 0x45, 0x61, 0xd4, 0x92, 0x66, 0x8e, 0x96, 0xaf, - 0x7e, 0x40, 0x28, 0x72, 0xc4, 0x46, 0xe7, 0x88, 0xd4, 0x6c, 0x74, 0xb7, 0x48, 0x7f, 0xe8, 0xe1, - 0x5e, 0xa5, 0x85, 0x62, 0x8f, 0xd6, 0xfc, 0x27, 0x0a, 0xb2, 0x4b, 0x38, 0x94, 0x59, 0x52, 0x0d, - 0x6a, 0x4d, 0xe5, 0x61, 0xce, 0x0d, 0x44, 0x03, 0xa6, 0x2a, 0xc2, 0xd4, 0xd4, 0xe2, 0x71, 0xe3 }, - { 0x40, 0xf0, 0x82, 0xf0, 0x8d, 0xaa, 0xad, 0xa9, 0x9f, 0x9b, 0x85, 0x02, 0xcf, 0x57, 0x15, 0x41, - 0x13, 0x59, 0xf2, 0xba, 0xdd, 0xbf, 0x93, 0xe5, 0x40, 0x2e, 0xaf, 0xdd, 0x43, 0x52, 0xc8, 0x7f, - 0x40, 0xad, 0x91, 0x5b, 0x58, 0xd1, 0xa1,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xe3, 0x82, 0xf6, 0xba, 0xa8, 0xdf, 0x92, 0xe2, 0x3c, 0xe5, 0xf0, + 0x16, 0x8a, 0xeb, 0xa4, 0xbb, 0xc7, 0x81, 0xaf, 0x15, 0x19, 0x87, 0x5f, 0xb7, 0xe0, 0x4c, 0x12, 0xff, 0x2c, 0xa9, 0xc8 }, + { 0xaf, 0x85, 0xe0, 0x36, 0x43, 0xdf, 0x41, 0x17, 0xda, 0xde, 0x5e, 0xb6, 0x33, 0xd0, 0xce, 0x62, 0x70, 0x5f, 0x85, 0x24, 0x6c, 0x3e, 0x1b, 0xe1, + 0x52, 0xc1, 0x9b, 0x1c, 0xcd, 0x61, 0x80, 0x9c, 0xa0, 0xe8, 0x18, 0xee, 0x40, 0x91, 0x93, 0x82, 0xdb, 0x33, 0x44, 0xff, 0xd4, 0xf6, 0x6f, 0x5d, + 0xf0, 0x0e, 0x92, 0x92, 0x81, 0x55, 0x46, 0x06, 0xac, 0x58, 0x81, 0x3b, 0x04, 0xc7, 0xf7, 0x0d, 0xd2, 0x0c, 0x08, 0x6d, 0x46, 0xdb, 0x43, 0x28, + 0x31, 0xd8, 0xcd, 0x87, 0x50, 0xbb, 0xd3, 0x07, 0xf5, 0x72, 0x0b, 0x15, 0x7c, 0x16, 0xab, 0x03, 0xd9, 0x4b, 0x07, 0x38, 0x97, 0xe8, 0xd6, 0xb5 }, + { 0x93, 0xff, 0x6d, 0xc3, 0x62, 0xf7, 0xcc, 0x20, 0x95, 0xc2, 0x2f, 0x7d, 0x1d, 0x9b, 0xd1, 0x63, 0xfc, 0x61, 0x47, 0xb3, 0x22, 0x0f, 0xca, 0xb0, + 0x16, 0xcf, 0x29, 0x53, 0x46, 0x97, 0xb1, 0x36, 0x46, 0xac, 0x48, 0x13, 0x92, 0xe4, 0x46, 0x68, 0xcf, 0x09, 0x4e, 0xfa, 0x59, 0x45, 0x24, 0x08, + 0xdb, 0xb4, 0x6f, 0x20, 0x55, 0x12, 0xd9, 0x75, 0x9d, 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 0x80, 0x33, 0x47, 0x56, 0x6f, 0x33, 0x94, 0x5c, 0x81, 0x03, 0x4c, 0x2f, 0x6d, 0xac, 0x73, 0xba, 0x91, 0x3c }, + { 0x2f, 0xa9, 0xb6, 0xe8, 0x73, 0xe2, 0xef, 0x6d, 0x6d, 0xd7, 0x2e, 0xa0, 0x51, 0x61, 0x24, 0x81, 0x8c, 0xa8, 0x47, 0x40, 0xe1, 0xc7, + 0x75, 0x79, 0xc8, 0xec, 0xb2, 0x23, 0x41, 0xad, 0x61, 0x3b, 0xea, 0x8a, 0xdf, 0x63, 0xed, 0xe1, 0x8e, 0x50, 0x70, 0x6e, 0x86, 0xed, + 0xb0, 0xba, 0x27, 0x48, 0x8e, 0xb9, 0x63, 0x39, 0x78, 0x58, 0x4f, 0x1e, 0xbc, 0x45, 0xf3, 0xf2, 0x3a, 0x73, 0x9b, 0x8c }, + { 0xad, 0x42, 0xc5, 0x84, 0xca, 0xe1, 0xe1, 0x23, 0x2a, 0x73, 0x15, 0x3c, 0x9a, 0xfe, 0x85, 0x8d, 0xa3, 0x2c, 0xcf, 0x46, 0x8d, 0x7f, + 0x1c, 0x61, 0xd7, 0x0e, 0xb1, 0xa6, 0xb4, 0xae, 0xab, 0x63, 0xc4, 0x0e, 0xf2, 0xa0, 0x5d, 0xa6, 0xf3, 0x5d, 0x35, 0x41, 0xea, 0x03, + 0x91, 0xb1, 0x3a, 0x07, 0xe6, 0xed, 0x6c, 0x8c, 0xcb, 0x75, 0x27, 0xf1, 0x26, 0x58, 0xf0, 0x62, 0x57, 0xe4, 0x33, 0x00 }, + { 0x1f, 0xed, 0x53, 0xc6, 0xef, 0x38, 0x26, 0xa4, 0x18, 0x88, 0x8f, 0x5c, 0x49, 0x1c, 0x15, 0x7d, 0x77, 0x90, 0x06, 0x39, 0xe0, 0x7c, 0x25, 0xed, + 0x79, 0x05, 0x66, 0xe0, 0x5e, 0x94, 0xe3, 0x46, 0x6f, 0x96, 0xd8, 0xc1, 0x11, 0xa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fb, 0xed, 0xe9, + 0x08, 0x0d, 0x21, 0x49, 0xc9, 0x79, 0xdf, 0x6f, 0x77, 0x89, 0xd7, 0x74, 0x09, 0x57, 0x1a, 0xd2, 0xa7, 0x43, 0xbf, 0x08, 0x8e, 0x98, 0xbc, 0x2f } }, + { { 0xff, 0xe3, 0x69, 0x7b, 0x62, 0x45, 0x40, 0x5f, 0x1c, 0x49, 0x65, 0xd6, 0xae, 0x24, 0x16, 0x84, 0xfa, 0x69, 0x6c, 0x1f, 0x6c, 0x65, + 0xee, 0x52, 0xe9, 0x6c, 0x54, 0xc7, 0x31, 0x9b, 0xc2, 0x74, 0x4f, 0xc0, 0x16, 0xb8, 0xf8, 0x75, 0x5f, 0x45, 0xb5, 0xf3, 0xa0, 0xd9, + 0xbe, 0x25, 0x82, 0xbd, 0x3c, 0x03, 0xe0, 0x14, 0x15, 0x6a, 0xd5, 0x64, 0x08, 0x65, 0x13, 0x33, 0xc2, 0xab, 0xe0, 0x45 }, + { 0x6f, 0x5a, 0x90, 0x80, 0x25, 0x13, 0xc2, 0xa7, 0xfe, 0x1c, 0xa1, 0x07, 0x81, 0x4b, 0x09, 0xd3, 0xbd, 0xda, 0x55, 0xa8, 0xaa, 0x62, + 0x19, 0x03, 0xe9, 0x9f, 0x77, 0xef, 0xff, 0xd4, 0x5e, 0x53, 0xbc, 0x9d, 0x71, 0xb8, 0xc4, 0xc2, 0x85, 0xb9, 0xb4, 0x3d, 0x95, 0xb8, + 0xfd, 0x44, 0xb7, 0xc8, 0x6f, 0x93, 0x15, 0x04, 0x16, 0x7e, 0x01, 0xf2, 0x09, 0x23, 0x96, 0x69, 0xe5, 0x65, 0x52, 0x34 }, + { 0xaf, 0xfe, 0x4f, 0x34, 0x4e, 0xfe, 0x51, 0xa5, 0xb2, 0xd8, 0x31, 0x74, 0x7b, 0xae, 0xfb, 0xb9, 0x33, 0xc1, 0xdc, 0x66, 0xe6, 0x95, + 0x9e, 0xce, 0x77, 0x7d, 0x55, 0x3c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36, 0x2c, 0x66, 0x31, 0x24, 0x45, 0x87 }, + { 0x5e, 0xf9, 0x1d, 0x10, 0xb5, 0x79, 0x1f, 0x80, 0x85, 0x90, 0xc3, 0x7f, 0x2b, 0x73, 0xbf, 0x83, 0x0b, 0x5d, 0x46, 0xae, 0x79, 0xef, + 0x09, 0x71, 0x29, 0xfb, 0x83, 0xde, 0x1f, 0xe2, 0xdb, 0x1b, 0xa2, 0x22, 0xee, 0x50, 0x21, 0x9d, 0x9c, 0x35, 0x14, 0x48, 0x13, 0xa5, + 0xd1, 0x68, 0xf4, 0x61, 0x1f, 0xd7, 0xe2, 0xd6, 0x42, 0x1c, 0xdc, 0x58, 0xec, 0x8b, 0x03, 0x6b, 0xdf, 0x64, 0x06, 0x30 }, + { 0xf9, 0xa6, 0x88, 0x74, 0x07, 0x19, 0x15, 0x38, 0xaf, 0xac, 0x07, 0x10, 0xe0, 0xd9, 0x22, 0xf3, 0x78, 0xb0, 0xbf, 0x60, 0xa3, 0x0f, + 0xea, 0x0f, 0xa8, 0x64, 0xa9, 0xa3, 0x82, 0xe1, 0x4c, 0x29, 0x36, 0x22, 0x6d, 0x43, 0x9c, 0xde, 0x22, 0xbf, 0xc6, 0x85, 0xf7, 0xe9, + 0xe0, 0x79, 0x80, 0xfe, 0x9d, 0xd6, 0x24, 0xbd, 0x29, 0xa4, 0x8c, 0x35, 0x21, 0x87, 0x45, 0x7f, 0x88, 0xd9, 0x9a, 0x9d }, + { 0x49, 0x43, 0x19, 0x14, 0xcc, 0x4a, 0x11, 0x01, 0x05, 0xd1, 0x4e, 0x39, 0x6d, 0xb0, 0x22, 0x65, 0x32, 0x6e, 0x67, 0x04, 0x50, 0x85, 0x53, 0x42, + 0x90, 0x2c, 0xc0, 0x63, 0x2f, 0xbd, 0x15, 0x90, 0x1b, 0x3f, 0x03, 0x90, 0x16, 0x7f, 0x7b, 0x49, 0x74, 0xd0, 0x3d, 0x81, 0x80, 0x1e, 0x9e, 0x2e, + 0xa9, 0x13, 0x6a, 0x10, 0x14, 0xc1, 0xfd, 0xf9, 0x25, 0x3a, 0x1d, 0x52, 0x93, 0x0a, 0x77, 0x03, 0xa2, 0xdd, 0xce, 0x9f, 0x2a, 0x35, 0xc9, 0x93, + 0x7c, 0xa2, 0x2c, 0xf6, 0x38, 0x73, 0xb3, 0xab, 0x7f, 0x55, 0xb6, 0x62, 0xa2, 0x8d, 0x6a, 0x3e, 0x88, 0x04, 0x9b, 0xa2, 0x19, 0x64, 0x55, 0x01 }, + { 0x22, 0x03, 0x49, 0x58, 0x76, 0x3c, 0x85, 0x45, 0x5e, 0x73, 0x78, 0x8f, 0x65, 0xc9, 0x50, 0xf8, 0xd7, 0x16, 0x92, 0xa4, 0xd1, 0x79, 0xce, 0xf3, + 0x00, 0x34, 0x38, 0xb8, 0xcc, 0x96, 0x9f, 0xa6, 0x87, 0x28, 0xcb, 0x19, 0x28, 0xad, 0x83, 0xb5, 0x09, 0x96, 0x54, 0xe8, 0x2a, 0xb9, 0x9b, 0xff, + 0x60, 0x85, 0x31, 0x28, 0x62, 0x36, 0xd2, 0x0e, 0xad, 0x2a, 0xe1, 0x84, 0x80, 0xeb, 0x6f, 0x00, 0xa2, 0xdd, 0xce, 0x9f, 0x2a, 0x35, 0xc9, 0x93, + 0x7c, 0xa2, 0x2c, 0xf6, 0x38, 0x73, 0xb3, 0xab, 0x7f, 0x55, 0xb6, 0x62, 0xa2, 0x8d, 0x6a, 0x3e, 0x88, 0x04, 0x9b, 0xa2, 0x19, 0x64, 0x55, 0x01 } }, + { { 0xeb, 0x18, 0x95, 0x94, 0x5f, 0x15, 0x8c, 0xb8, 0x4d, 0x6e, 0x7d, 0xc0, 0x96, 0x6c, 0x52, 0xa2, 0x5f, 0x43, 0x67, 0xc2, 0x3a, 0x10, + 0x5b, 0xf1, 0x8f, 0x21, 0x89, 0x06, 0x77, 0xe9, 0xab, 0x2e, 0xcd, 0x17, 0x9c, 0x9a, 0xd7, 0x89, 0x7e, 0x53, 0x58, 0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 0x9d, 0x02, 0x48, 0x6f, 0x0a, 0xe2, 0x9f, 0x98, 0xfd, 0x3d, 0x18, 0xa1, 0x24, + 0x9c, 0xc6, 0x75, 0xb8, 0x99, 0x76, 0x2a, 0xa4, 0x9e, 0xb1, 0x97, 0x2d, 0x1c, 0x99, 0x65, 0x5f, 0x1f, 0xda, 0x14, 0x4f, 0x10, 0x49, 0xf1, 0x7a }, + { 0x2c, 0xec, 0x27, 0x63, 0xd2, 0x77, 0x14, 0x2d, 0x01, 0x18, 0x10, 0xe0, 0x23, 0x1b, 0xa2, 0x25, 0x61, 0xd4, 0x52, 0xd9, 0x90, 0xde, 0x97, 0x7e, + 0xb8, 0xfa, 0x38, 0x25, 0xf2, 0x91, 0x07, 0x3e, 0xc4, 0xa9, 0x3e, 0xb5, 0x67, 0x02, 0x28, 0x94, 0x5c, 0x34, 0xa1, 0x0a, 0x5c, 0x54, 0x53, 0xd9, + 0xb4, 0xc4, 0x5a, 0x8e, 0x57, 0x18, 0xc3, 0x35, 0xea, 0x47, 0x75, 0xe0, 0x44, 0x01, 0x71, 0x09, 0xe2, 0x9f, 0x98, 0xfd, 0x3d, 0x18, 0xa1, 0x24, + 0x9c, 0xc6, 0x75, 0xb8, 0x99, 0x76, 0x2a, 0xa4, 0x9e, 0xb1, 0x97, 0x2d, 0x1c, 0x99, 0x65, 0x5f, 0x1f, 0xda, 0x14, 0x4f, 0x10, 0x49, 0xf1, 0x7a } }, + { { 0x41, 0x10, 0xd9, 0x7f, 0xb8, 0x83, 0x9e, 0x42, 0x43, 0x7a, 0xb0, 0x6d, 0xa6, 0xcf, 0xa5, 0x7a, 0x50, 0x93, 0x2d, 0x13, 0x94, 0x37, + 0xa8, 0x92, 0x26, 0x1f, 0xad, 0xe0, 0x25, 0x19, 0x91, 0x62, 0x28, 0xfb, 0x18, 0xbf, 0x89, 0xb0, 0x42, 0x80, 0x14, 0xcd, 0xd2, 0x72, + 0x84, 0x1c, 0xfd, 0xe5, 0xc3, 0x71, 0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 0x53, 0x9b, 0x16, 0xa9, + 0x44, 0xf9, 0x34, 0x45, 0x13, 0x66, 0x80, 0x24, 0xdc, 0x22, 0x0e, 0x51, 0x94, 0xed, 0xe6, 0x83, 0x36, 0x32, 0x63, 0x23, 0x1b, 0xf8, + 0x78, 0xb4, 0x04, 0x7f, 0x5a, 0x50, 0x54, 0x12, 0x19, 0x04, 0x61, 0xdd, 0x25, 0xf0, 0x48, 0x29, 0x04, 0xc1, 0x44, 0xe2 }, + { 0x46, 0x32, 0x2d, 0xc7, 0xbc, 0x05, 0x2a, 0xd3, 0xb5, 0xce, 0x7d, 0x47, 0x5e, 0xfc, 0x90, 0x38, 0xef, 0xfa, 0x6f, 0x42, 0xf0, 0x66, + 0x05, 0x89, 0x7c, 0x9a, 0xc1, 0xfd, 0xa2, 0xe8, 0xa7, 0x38, 0x18, 0x6d, 0x7f, 0x9e, 0xfb, 0xbd, 0x06, 0x0c, 0x70, 0xd7, 0x29, 0x10, + 0x88, 0x04, 0x9f, 0x24, 0x28, 0x9d, 0xc7, 0x84, 0xdf, 0xb6, 0xec, 0xb2, 0xc7, 0x1b, 0xd1, 0xc1, 0x9d, 0x56, 0xb0, 0x83 }, + { 0xda, 0xd7, 0x34, 0xee, 0x62, 0x13, 0x8f, 0x47, 0xad, 0xb4, 0x9c, 0x98, 0xe4, 0xc5, 0xb3, 0x29, 0x31, 0x11, 0x64, 0xad, 0xf5, 0x0b, + 0x60, 0xe1, 0x0e, 0x18, 0x28, 0x30, 0x3c, 0xa2, 0xe3, 0x29, 0x89, 0x0a, 0x7e, 0x18, 0xba, 0x30, 0x9e, 0x7d, 0x53, 0xf1, 0x82, 0xd5, + 0x27, 0xe5, 0xf3, 0xab, 0x15, 0xcd, 0x62, 0x7e, 0xdf, 0xf0, 0x0e, 0x42, 0xfa, 0x6b, 0x7b, 0x54, 0xd2, 0x74, 0x19, 0x8f }, + { 0x29, 0x4d, 0x28, 0x80, 0x62, 0xb5, 0x77, 0xbb, 0x69, 0x70, 0xb0, 0xb7, 0x10, 0x2e, 0xed, 0xfc, 0x13, 0x34, 0x93, 0x7f, 0xd8, 0xfc, 0xb5, 0x7b, + 0xfe, 0x34, 0x0a, 0xa3, 0x95, 0x5b, 0xb1, 0xa7, 0xc6, 0xab, 0x82, 0x79, 0x25, 0x23, 0x94, 0x12, 0xa4, 0x34, 0xec, 0x23, 0xca, 0xcb, 0xd0, 0xa3, + 0xf9, 0x31, 0x32, 0xce, 0x50, 0x31, 0x73, 0x23, 0x98, 0x94, 0xe3, 0x08, 0xd9, 0x1e, 0xc3, 0x0b, 0x39, 0xe3, 0x3b, 0xf2, 0xe8, 0xb7, 0x26, 0x28, + 0x9d, 0xb3, 0x12, 0x8d, 0x16, 0xca, 0x89, 0x26, 0xa9, 0x1c, 0xa3, 0x1f, 0x36, 0x10, 0x60, 0x6a, 0x29, 0x85, 0xe7, 0x2c, 0xee, 0xc1, 0xb6, 0xae }, + { 0x68, 0xed, 0x3c, 0x64, 0xe6, 0x87, 0xf0, 0x14, 0x64, 0xfc, 0x38, 0x3a, 0x0f, 0xd9, 0x7a, 0x5b, 0x52, 0x32, 0x10, 0xca, 0xc6, 0x83, 0x0b, 0xae, + 0x17, 0x0e, 0xfe, 0x77, 0xe0, 0xe7, 0x83, 0xa1, 0x2c, 0x78, 0x62, 0x9c, 0x79, 0x08, 0x2b, 0xd4, 0x85, 0x72, 0x27, 0x8d, 0x97, 0x78, 0x62, 0x33, + 0x34, 0xeb, 0x5c, 0xde, 0x5d, 0xaa, 0x4d, 0xfa, 0xd1, 0x67, 0xa4, 0xea, 0x45, 0xad, 0xf9, 0x06, 0x39, 0xe3, 0x3b, 0xf2, 0xe8, 0xb7, 0x26, 0x28, + 0x9d, 0xb3, 0x12, 0x8d, 0x16, 0xca, 0x89, 0x26, 0xa9, 0x1c, 0xa3, 0x1f, 0x36, 0x10, 0x60, 0x6a, 0x29, 0x85, 0xe7, 0x2c, 0xee, 0xc1, 0xb6, 0xae } }, + { { 0xd9, 0x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38, 0x36, 0xd6, 0xf2, 0x03, 0xb6, 0x97, 0x1f, 0xcb, 0x40, 0x5d, 0x3c, 0x25, + 0xfc, 0xe7, 0xff, 0xc6, 0xbe, 0x61, 0xe1, 0x98, 0x31, 0x13, 0xa9, 0xbe, 0x05, 0x86, 0xfe, 0x5c, 0xf6, 0xcc, 0xaa, 0xf5 }, + { 0xd2, 0x57, 0x19, 0x98, 0xf8, 0x74, 0x90, 0xb7, 0x69, 0x6e, 0xdd, 0x44, 0xf1, 0x8b, 0xb1, 0x9c, 0xfd, 0x5b, 0x6b, 0xc0, 0x45, 0xf2, + 0x49, 0xa5, 0x4b, 0xff, 0x8b, 0x7f, 0x87, 0xe3, 0xf9, 0x71, 0xab, 0xfa, 0xc8, 0x17, 0xed, 0xeb, 0x19, 0xc6, 0x3c, 0xee, 0x78, 0xba, + 0x89, 0x97, 0x49, 0x85, 0x39, 0x68, 0x29, 0x88, 0x0b, 0x1c, 0xd1, 0x42, 0x8b, 0xe8, 0x1a, 0x3b, 0xeb, 0x4d, 0xef, 0x3b }, + { 0xea, 0xfb, 0xec, 0x27, 0xc3, 0x92, 0xc3, 0x68, 0x0d, 0x3c, 0x5b, 0x20, 0x20, 0x9c, 0x96, 0xa7, 0x39, 0xfa, 0x80, 0x91, 0xef, 0x86, + 0x7d, 0xa8, 0x87, 0xf6, 0xef, 0x14, 0x01, 0x46, 0xf0, 0x68, 0x0a, 0x8b, 0xae, 0x83, 0x91, 0x7e, 0xa0, 0x14, 0x14, 0xde, 0xf9, 0xa8, + 0xfd, 0x67, 0x57, 0x17, 0x20, 0x46, 0x43, 0x49, 0x07, 0xf0, 0x3e, 0xc8, 0xbe, 0x66, 0xaf, 0x58, 0x3a, 0xbd, 0xd8, 0x00 }, + { 0x35, 0xf5, 0xc8, 0x2c, 0x0e, 0x4b, 0x56, 0xe0, 0xef, 0x08, 0x34, 0x38, 0x57, 0xe9, 0xde, 0xdb, 0x1d, 0xe1, 0x28, 0x05, 0x01, 0xed, + 0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xf8, 0xb7, 0x42, + 0x29, 0xe2, 0x83, 0xde, 0x20, 0x22, 0x41, 0xcf, 0x5f, 0x6f, 0x80, 0x60, 0xf3, 0x44, 0x04, 0x21, 0xd5, 0x03, 0x68, 0x42, 0xde, 0x81, 0xea, 0xe8, + 0x7e, 0x5b, 0x80, 0x0f, 0x1b, 0x2d, 0x06, 0xc7, 0xce, 0xe9, 0x46, 0xc7, 0xf7, 0xb3, 0xa2, 0x02, 0x21, 0xb5, 0x4d, 0xc2, 0x36, 0xea, 0xe6, 0x7b, + 0xb3, 0x61, 0xe6, 0x18, 0x40, 0x5b, 0xce, 0x5b, 0xc2, 0xee, 0xa5, 0xde, 0xe9, 0xe6, 0xe0, 0xa8, 0x58, 0x58, 0x03, 0x34, 0x26, 0x27, 0x65, 0x2a }, + { 0xfa, 0x43, 0xa6, 0xc4, 0x32, 0xa1, 0x2f, 0xb6, 0x37, 0x05, 0xf4, 0xa4, 0xa7, 0x36, 0xdd, 0x1c, 0x45, 0x10, 0x95, 0x83, 0x67, 0x89, 0x79, 0x18, + 0x34, 0xad, 0xe7, 0x57, 0x7f, 0x0d, 0x48, 0x9b, 0x14, 0xdf, 0x5f, 0xc8, 0xd7, 0x0f, 0x78, 0x47, 0x88, 0x20, 0xff, 0x7f, 0xb1, 0x21, 0x27, 0x14, + 0x58, 0x32, 0x12, 0xfb, 0x97, 0xe0, 0x81, 0x0e, 0x92, 0xf4, 0x5c, 0x0e, 0x44, 0x48, 0x4e, 0x01, 0x21, 0xb5, 0x4d, 0xc2, 0x36, 0xea, 0xe6, 0x7b, + 0xb3, 0x61, 0xe6, 0x18, 0x40, 0x5b, 0xce, 0x5b, 0xc2, 0xee, 0xa5, 0xde, 0xe9, 0xe6, 0xe0, 0xa8, 0x58, 0x58, 0x03, 0x34, 0x26, 0x27, 0x65, 0x2a } }, + { { 0x1e, 0x89, 0x12, 0xe8, 0xab, 0xca, 0xeb, 0x96, 0x78, 0x43, 0x89, 0x79, 0x26, 0x61, 0x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 0x7f, 0x4c, 0x99, 0x24 }, + { 0xfc, 0x46, 0xe4, 0x85, 0x0c, 0x52, 0x14, 0xf8, 0x8a, 0xa4, 0x97, 0x17, 0x10, 0xb2, 0x93, 0xef, 0xa0, 0x66, 0x3c, 0xfd, 0x61, 0x42, 0x24, 0x30, + 0x70, 0x4b, 0xfd, 0x0b, 0x86, 0xc8, 0x97, 0xd7, 0x04, 0xc2, 0xa6, 0x61, 0x41, 0xaf, 0xcc, 0x1d, 0x52, 0xc9, 0xf3, 0xca, 0xe1, 0x90, 0x7c, 0xbd, + 0xce, 0xaf, 0x30, 0xc4, 0xb4, 0x7d, 0x81, 0x7e, 0xbd, 0xe2, 0x09, 0x70, 0x1e, 0x6b, 0xb9, 0x03, 0xb0, 0x33, 0xce, 0x0b, 0x57, 0xc0, 0x8c, 0x58, + 0x25, 0xf8, 0x9b, 0x50, 0x22, 0x1c, 0x5c, 0x7b, 0x02, 0xc7, 0xed, 0xfc, 0x98, 0x8b, 0xbd, 0xd2, 0x4e, 0xfc, 0x78, 0x91, 0x7f, 0x4c, 0x99, 0x24 } }, + { { 0x5f, 0x01, 0x6d, 0xec, 0x82, 0x02, 0x96, 0x47, 0x74, 0xd9, 0x73, 0x2e, 0x2e, 0x17, 0x00, 0xb6, 0xe0, 0xa4, 0x13, 0x17, 0xae, 0x7f, + 0x85, 0xcb, 0xff, 0xe7, 0x96, 0x99, 0xdb, 0x9f, 0xad, 0x21, 0x60, 0xd9, 0x12, 0xdc, 0x41, 0x01, 0x33, 0x66, 0x4c, 0x24, 0x8b, 0x25, + 0x17, 0xd7, 0x22, 0x14, 0x12, 0x4d, 0xad, 0x82, 0x9a, 0x85, 0x69, 0x5e, 0x35, 0x10, 0xe0, 0xd7, 0x1a, 0x82, 0x88, 0x14 }, + { 0xab, 0x5f, 0x2c, 0x7d, 0xa2, 0xe5, 0x67, 0x5f, 0xe4, 0x92, 0x03, 0x93, 0xd7, 0x13, 0xa1, 0xfa, 0x4a, 0xb7, 0x18, 0x4a, 0x8e, 0x8c, + 0x78, 0x9a, 0x0c, 0x60, 0x02, 0xe8, 0x2d, 0x50, 0x05, 0x0f, 0x92, 0xee, 0x9f, 0x81, 0xde, 0x6b, 0x20, 0xe4, 0x9b, 0x17, 0x2e, 0x99, + 0x0f, 0x01, 0x31, 0xa7, 0xc5, 0xc4, 0x53, 0x70, 0xda, 0x03, 0xc6, 0xf7, 0x22, 0x87, 0x98, 0x87, 0x19, 0x36, 0xa6, 0x49 }, + { 0x93, 0xab, 0x22, 0xc4, 0x39, 0x6c, 0x97, 0x80, 0xd2, 0xe2, 0x36, 0xfa, 0x31, 0x74, 0x67, 0xcc, 0x50, 0x1b, 0x95, 0xbe, 0x77, 0xe0, + 0xd1, 0x00, 0x74, 0x04, 0xe1, 0x4d, 0xca, 0x44, 0x35, 0x72, 0x74, 0x69, 0x82, 0x23, 0x56, 0x9b, 0xcc, 0x34, 0x5a, 0xcb, 0xa2, 0xa3, + 0x31, 0x12, 0x4a, 0x84, 0x4c, 0xe9, 0x37, 0x3a, 0x58, 0xf8, 0x79, 0x65, 0x4a, 0x66, 0x79, 0x82, 0xf4, 0x5d, 0x75, 0xc3 }, + { 0x2d, 0x5d, 0xac, 0x4f, 0xb5, 0x00, 0x68, 0x3b, 0x5f, 0x2e, 0xdd, 0xcb, 0x14, 0x4a, 0x7f, 0xad, 0x12, 0x45, 0x91, 0xd1, 0x84, 0xd8, + 0x14, 0xff, 0xcb, 0x64, 0x43, 0x6d, 0x65, 0xe7, 0x19, 0x68, 0x2b, 0x5e, 0x53, 0x05, 0x74, 0x66, 0xed, 0xac, 0x2f, 0x5a, 0x8f, 0x70, + 0x96, 0xab, 0x29, 0xf3, 0x9a, 0x59, 0xa2, 0xe2, 0xef, 0xd3, 0xc9, 0xd7, 0x53, 0xf8, 0xf5, 0xa3, 0xd6, 0xf4, 0x34, 0xf8 }, + { 0x1d, 0x14, 0xf3, 0xfd, 0xb0, 0x66, 0x20, 0xff, 0xfc, 0x79, 0x47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, 0x30, 0x7e, 0x5b, 0xcf, 0x37, 0x0f, 0xc1, 0xd7, 0xe5, 0xab, 0xb1, 0x31, 0xe0, 0x97, + 0xc7, 0x53, 0xb7, 0xfd, 0xd7, 0xdf, 0x00, 0x43, 0x0e, 0x41, 0x62, 0x80, 0x0b, 0xe3, 0xe0, 0x06, 0x48, 0x7c, 0x19, 0x5c, 0xa9, 0xc8, 0x44, 0xe5, + 0xf6, 0x4f, 0x51, 0xd8, 0x72, 0x63, 0x41, 0xda, 0x62, 0xac, 0x78, 0x73, 0xb3, 0x3e, 0xc8, 0xb2, 0xf1, 0x3f, 0x89, 0xf2, 0x0e, 0x95, 0xdf, 0xed } }, + { { 0x98, 0x29, 0xf7, 0x57, 0xfd, 0xbd, 0x44, 0x3f, 0xd9, 0x90, 0x98, 0x19, 0x97, 0xf2, 0x60, 0x27, 0xfd, 0x08, 0xfc, 0x8a, 0xc6, 0xaf, + 0x87, 0x22, 0x7f, 0x74, 0x4a, 0x80, 0xaf, 0x72, 0x00, 0x01, 0x70, 0x9b, 0x47, 0x2a, 0xd2, 0x8e, 0x41, 0x0a, 0xea, 0x6a, 0xdf, 0xb7, + 0x61, 0x54, 0x89, 0x5e, 0x01, 0x9f, 0x76, 0x64, 0x29, 0xee, 0x8d, 0x85, 0x20, 0xff, 0x30, 0x58, 0xc2, 0xa3, 0x2a, 0x56 }, + { 0xea, 0x69, 0x8e, 0x6b, 0x8e, 0xdd, 0x55, 0x22, 0x45, 0x61, 0xd4, 0x92, 0x66, 0x8e, 0x96, 0xaf, 0x7e, 0x40, 0x28, 0x72, 0xc4, 0x46, + 0xe7, 0x88, 0xd4, 0x6c, 0x74, 0xb7, 0x48, 0x7f, 0xe8, 0xe1, 0x5e, 0xa5, 0x85, 0x62, 0x8f, 0xd6, 0xfc, 0x27, 0x0a, 0xb2, 0x4b, 0x38, + 0x94, 0x59, 0x52, 0x0d, 0x6a, 0x4d, 0xe5, 0x61, 0xce, 0x0d, 0x44, 0x03, 0xa6,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, 0x12, 0xaa, 0xc1, 0x09, 0x83, 0x0f, 0xca, 0xcb, 0x95, 0x10, 0xde, 0x85, 0xe3, 0x75, 0x62, 0x4a, 0xc2, 0x4c }, + { 0x68, 0x78, 0x6c, 0xce, 0x2f, 0x72, 0x80, 0xfe, 0x83, 0x88, 0x63, 0x37, 0xa7, 0xa1, 0x5a, 0x0b, 0x84, 0x8a, 0xda, 0x28, 0x84, 0xf1, 0x6a, 0x63, + 0x24, 0x1c, 0x72, 0xda, 0x84, 0xee, 0x1d, 0xe0, 0x77, 0xf0, 0xf6, 0xce, 0x7e, 0x79, 0x0a, 0x55, 0x03, 0x01, 0x13, 0x0f, 0xf7, 0x6b, 0x45, 0xe7, + 0xcb, 0xfd, 0xb0, 0x37, 0x93, 0x4b, 0x40, 0x69, 0xe0, 0x77, 0x67, 0x72, 0x65, 0xee, 0x35, 0x08, 0x00, 0xc0, 0x07, 0x10, 0xd8, 0x6e, 0x55, 0x83, + 0x5a, 0xbc, 0xfa, 0x67, 0x80, 0x8f, 0xfa, 0x21, 0x3e, 0x56, 0x53, 0x5b, 0xbc, 0x9d, 0xff, 0x16, 0xd9, 0x57, 0xcf, 0x2b, 0x78, 0x06, 0x5a, 0x89 }, + { 0xdf, 0x32, 0x1a, 0x01, 0x84, 0xe5, 0xb8, 0x2c, 0x70, 0x6c, 0xeb, 0xd1, 0xf0, 0xb4, 0x9b, 0x32, 0xc8, 0xd0, 0x81, 0xc4, 0xea, 0xb2, 0x7c, 0x32, + 0x1a, 0x02, 0x61, 0xf2, 0xd9, 0x4d, 0xe5, 0x85, 0xad, 0xfc, 0xc6, 0x70, 0xee, 0x85, 0x77, 0x07, 0x9b, 0x5d, 0x5f, 0x88, 0xef, 0xb6, 0xd8, 0xdf, + 0x2b, 0xa2, 0x4d, 0x90, 0x11, 0x2d, 0x38, 0x3f, 0xa8, 0x84, 0xf0, 0x76, 0xdd, 0x31, 0xd0, 0x09, 0x00, 0xc0, 0x07, 0x10, 0xd8, 0x6e,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df28b72:0:" \ - "ac3d46abe0c21f3cfe7a6c8d6a85cfcffcb82fbd55af6a4d6350657c68200843fa2e16f9418bbd9702cae365f2af5fb4c420908b803a681d" \ - "4daef6114d78a2d7:" \ - "bd8dd6e4ce7022d2f812797a80c6ee8ad180dc4ebf301dec8b06d1be08832bddd63a2f1cfa7b2c504474c75bdc8898ba476ef92e8e2d0509" \ +#define IDENTITY_V0_KNOWN_GOOD_0 \ + "8e4df28b72:0:" \ + "ac3d46abe0c21f3cfe7a6c8d6a85cfcffcb82fbd55af6a4d6350657c68200843fa2e16f9418bbd9702cae365f2af5fb4c420908b803a681d" \ + "4daef6114d78a2d7:" \ + "bd8dd6e4ce7022d2f812797a80c6ee8ad180dc4ebf301dec8b06d1be08832bddd63a2f1cfa7b2c504474c75bdc8898ba476ef92e8e2d0509" \ "f8441985171ff16e" -#define IDENTITY_V1_KNOWN_GOOD_0 \ - "26e83e3b8c:1:" \ - "bwtgzeejkrkxeiuqyy35srdorynvz3nfrepqwiwedkm55bkhx77vaf6deknmikr2tgvymw3dxnifawo4m5pbfcqbnws6wzxlm7rgrad4xu52fcqg" \ - "7ebwt4rhao6mjmrbn2bhdcevrlard5k7vropjrsuodoysvwbnjqef3q4fkrjgygddl4tatr5ztkjwt7f:" \ - "a5vpcmommfyvjiqudkk7sjekscc4zyc3vqqdytkwlix5ahsxgz73ic3a62secgmyum65dok7b5aochdhdlinn3olyyswzy64ubx3pzbtryqsfmxp" \ +#define IDENTITY_V1_KNOWN_GOOD_0 \ + "26e83e3b8c:1:" \ + "bwtgzeejkrkxeiuqyy35srdorynvz3nfrepqwiwedkm55bkhx77vaf6deknmikr2tgvymw3dxnifawo4m5pbfcqbnws6wzxlm7rgrad4xu52fcqg" \ + "7ebwt4rhao6mjmrbn2bhdcevrlard5k7vropjrsuodoysvwbnjqef3q4fkrjgygddl4tatr5ztkjwt7f:" \ + "a5vpcmommfyvjiqudkk7sjekscc4zyc3vqqdytkwlix5ahsxgz73ic3a62secgmyum65dok7b5aochdhdlinn3olyyswzy64ubx3pzbtryqsfmxp" \ "ntxsvj7aqrd6kkrr3gobstl5yzln6bgqkihmhktbqt4vfwfqynkfjmncd4xqodogyxzq" // -------------------------------------------------------------------------------------------------------------------- @@ -1419,29 +1063,24 @@ class LifeCycleTracker { long* cnt; }; -static bool -ZTT_deepCompareCertificateIdentities(const ZT_Certificate_Identity* const a, const ZT_Certificate_Identity* const b) +static bool ZTT_deepCompareCertificateIdentities(const ZT_Certificate_Identity* const a, const ZT_Certificate_Identity* const b) { if (a == nullptr) return (b == nullptr); if (((a->identity == nullptr) != (b->identity == nullptr)) || ((a->locator == nullptr) != (b->locator == nullptr))) return false; - if ((a->identity) - && (*reinterpret_cast(a->identity) != *reinterpret_cast(b->identity))) + if ((a->identity) && (*reinterpret_cast(a->identity) != *reinterpret_cast(b->identity))) return false; - return ! ( - (a->locator) - && (*reinterpret_cast(a->locator) != *reinterpret_cast(b->locator))); + return ! ((a->locator) && (*reinterpret_cast(a->locator) != *reinterpret_cast(b->locator))); } static bool ZTT_deepCompareCertificateName(const ZT_Certificate_Name& a, const ZT_Certificate_Name& b) { return ! ( - (strcmp(a.serialNo, b.serialNo) != 0) || (strcmp(a.streetAddress, b.streetAddress) != 0) - || (strcmp(a.organization, b.organization) != 0) || (strcmp(a.country, b.country) != 0) - || (strcmp(a.commonName, b.commonName) != 0) || (strcmp(a.email, b.email) != 0) || (strcmp(a.host, b.host) != 0) - || (strcmp(a.locality, b.locality) != 0) || (strcmp(a.postalCode, b.postalCode) != 0) - || (strcmp(a.province, b.province) != 0) || (strcmp(a.unit, b.unit) != 0) || (strcmp(a.url, b.url) != 0)); + (strcmp(a.serialNo, b.serialNo) != 0) || (strcmp(a.streetAddress, b.streetAddress) != 0) || (strcmp(a.organization, b.organization) != 0) + || (strcmp(a.country, b.country) != 0) || (strcmp(a.commonName, b.commonName) != 0) || (strcmp(a.email, b.email) != 0) || (strcmp(a.host, b.host) != 0) + || (strcmp(a.locality, b.locality) != 0) || (strcmp(a.postalCode, b.postalCode) != 0) || (strcmp(a.province, b.province) != 0) + || (strcmp(a.unit, b.unit) != 0) || (strcmp(a.url, b.url) != 0)); } // This performs a detailed deep comparison of two certificates to catch any @@ -1451,12 +1090,11 @@ static bool ZTT_deepCompareCertificateName(const ZT_Certificate_Name& a, const Z // checked by normal == operators. static bool ZTT_deepCompareCertificates(const Certificate& a, const Certificate& b) { - if ((a.usageFlags != b.usageFlags) || (a.timestamp != b.timestamp) || (a.validity[0] != b.validity[0]) - || (a.validity[1] != b.validity[1]) || (a.subject.timestamp != b.subject.timestamp) - || (a.subject.identityCount != b.subject.identityCount) || (a.subject.networkCount != b.subject.networkCount) - || (a.subject.updateURLCount != b.subject.updateURLCount) || (a.subject.uniqueIdSize != b.subject.uniqueIdSize) - || (a.subject.uniqueIdSignatureSize != b.subject.uniqueIdSignatureSize) || (a.maxPathLength != b.maxPathLength) - || (a.signatureSize != b.signatureSize)) + if ((a.usageFlags != b.usageFlags) || (a.timestamp != b.timestamp) || (a.validity[0] != b.validity[0]) || (a.validity[1] != b.validity[1]) + || (a.subject.timestamp != b.subject.timestamp) || (a.subject.identityCount != b.subject.identityCount) + || (a.subject.networkCount != b.subject.networkCount) || (a.subject.updateURLCount != b.subject.updateURLCount) + || (a.subject.uniqueIdSize != b.subject.uniqueIdSize) || (a.subject.uniqueIdSignatureSize != b.subject.uniqueIdSignatureSize) + || (a.maxPathLength != b.maxPathLength) || (a.signatureSize != b.signatureSize)) return false; if ((memcmp(a.subject.uniqueId, b.subject.uniqueId, a.subject.uniqueIdSize) != 0) @@ -1469,8 +1107,7 @@ static bool ZTT_deepCompareCertificates(const Certificate& a, const Certificate& if (memcmp(a.issuer, b.issuer, ZT_CERTIFICATE_HASH_SIZE) != 0) return false; - if ((a.issuerPublicKeySize != b.issuerPublicKeySize) - || (memcmp(a.issuerPublicKey, b.issuerPublicKey, a.issuerPublicKeySize) != 0)) + if ((a.issuerPublicKeySize != b.issuerPublicKeySize) || (memcmp(a.issuerPublicKey, b.issuerPublicKey, a.issuerPublicKeySize) != 0)) return false; if ((a.publicKeySize != b.publicKeySize) || (memcmp(a.publicKey, b.publicKey, a.publicKeySize))) @@ -1486,11 +1123,7 @@ static bool ZTT_deepCompareCertificates(const Certificate& a, const Certificate& return false; if (a.subject.networks[i].controller.address != b.subject.networks[i].controller.address) return false; - if (memcmp( - a.subject.networks[i].controller.hash, - b.subject.networks[i].controller.hash, - ZT_FINGERPRINT_HASH_SIZE) - != 0) + if (memcmp(a.subject.networks[i].controller.hash, b.subject.networks[i].controller.hash, ZT_FINGERPRINT_HASH_SIZE) != 0) return false; } @@ -1520,16 +1153,12 @@ extern "C" const char* ZTT_general() reinterpret_cast(&endian)[7] = 8; #if __BYTE_ORDER == __LITTLE_ENDIAN if (*(&endian) != 0x0807060504030201ULL) { - ZT_T_PRINTF( - "[general] Error: __BYTE_ORDER == __LITTLE_ENDIAN but byte order is actually %.16llx" ZT_EOL_S, - endian); + ZT_T_PRINTF("[general] Error: __BYTE_ORDER == __LITTLE_ENDIAN but byte order is actually %.16llx" ZT_EOL_S, endian); return "__BYTE_ORDER incorrectly defined"; } #else if (endian != 0x0102030405060708ULL) { - ZT_T_PRINTF( - "[general] Error: __BYTE_ORDER == __BIG_ENDIAN but byte order is actually %.16llx" ZT_EOL_S, - endian); + ZT_T_PRINTF("[general] Error: __BYTE_ORDER == __BIG_ENDIAN but byte order is actually %.16llx" ZT_EOL_S, endian); return "__BYTE_ORDER incorrectly defined"; } #endif @@ -1554,8 +1183,7 @@ extern "C" const char* ZTT_general() ZT_T_PRINTF("FAILED (&sa_in != &sa_in6)" ZT_EOL_S); return "&sa_in != &sa_in6"; } - if ((uintptr_t) & (InetAddress::LO4.as.sa_in6.sin6_family) != (uintptr_t) - & (InetAddress::LO4.as.ss.ss_family)) { + if ((uintptr_t) & (InetAddress::LO4.as.sa_in6.sin6_family) != (uintptr_t) & (InetAddress::LO4.as.ss.ss_family)) { ZT_T_PRINTF("FAILED (&sa_in6.sin6_family != &ss.ss_family)" ZT_EOL_S); return "&sa_in6.sin6_family != &ss.ss_family"; } @@ -1642,9 +1270,8 @@ extern "C" const char* ZTT_general() uint32_t b = Utils::hton((uint32_t)0x04030201); uint16_t c = Utils::hton((uint16_t)0x0201); uint8_t t[8]; - if ((reinterpret_cast(&a)[7] != 1) || (reinterpret_cast(&b)[3] != 1) - || (reinterpret_cast(&c)[1] != 1) || (Utils::ntoh(a) != 0x0807060504030201ULL) - || (Utils::ntoh(b) != 0x04030201) || (Utils::ntoh(c) != 0x0201)) { + if ((reinterpret_cast(&a)[7] != 1) || (reinterpret_cast(&b)[3] != 1) || (reinterpret_cast(&c)[1] != 1) + || (Utils::ntoh(a) != 0x0807060504030201ULL) || (Utils::ntoh(b) != 0x04030201) || (Utils::ntoh(c) != 0x0201)) { ZT_T_PRINTF("FAILED (hton/ntoh)" ZT_EOL_S); return "Utils::hton() or ntoh() broken"; } @@ -1857,16 +1484,7 @@ extern "C" const char* ZTT_general() ZT_T_PRINTF("FAILED (message prematurely complete)" ZT_EOL_S); return "Defragmenter test failed: message prematurely complete"; } - switch (defrag.assemble( - messageId, - message, - ref[f].b, - ref[f].s, - ref[f].e - ref[f].s, - f, - frags, - ts++, - nullvia)) { + switch (defrag.assemble(messageId, message, ref[f].b, ref[f].s, ref[f].e - ref[f].s, f, frags, ts++, nullvia)) { case Defragmenter<>::OK: break; case Defragmenter<>::COMPLETE: @@ -1978,10 +1596,7 @@ extern "C" const char* ZTT_general() return "Identity test failed: v0 unmarshal"; } if (id != id2) { - ZT_T_PRINTF( - "FAILED (v0 unmarshal %s != %s)" ZT_EOL_S, - id.toString(true).c_str(), - id2.toString(true).c_str()); + ZT_T_PRINTF("FAILED (v0 unmarshal %s != %s)" ZT_EOL_S, id.toString(true).c_str(), id2.toString(true).c_str()); return "Identity test failed: v0 unmarshal !="; } ms = id.marshal(idm, false); @@ -2251,9 +1866,7 @@ extern "C" const char* ZTT_crypto() { uint8_t out[16]; - ZT_T_PRINTF( - "[crypto] Testing AES (hardware acceleration: %s)... ", - AES::accelerated() ? "enabled" : "disabled"); + ZT_T_PRINTF("[crypto] Testing AES (hardware acceleration: %s)... ", AES::accelerated() ? "enabled" : "disabled"); AES aes(AES_TEST_VECTOR_0_KEY); aes.encrypt(AES_TEST_VECTOR_0_IN, out); if (memcmp(AES_TEST_VECTOR_0_OUT, out, 16) != 0) { @@ -2320,9 +1933,7 @@ extern "C" const char* ZTT_crypto() { uint8_t tag[16]; - ZT_T_PRINTF( - "[crypto] Testing AES-GMAC (hardware acceleration: %s)... ", - AES::GMAC::accelerated() ? "enabled" : "disabled"); + ZT_T_PRINTF("[crypto] Testing AES-GMAC (hardware acceleration: %s)... ", AES::GMAC::accelerated() ? "enabled" : "disabled"); { AES aes(AES_GMAC_VECTOR_0_KEY); AES::GMAC gmac(aes); @@ -2425,8 +2036,7 @@ extern "C" const char* ZTT_crypto() cert->timestamp = cert->subject.timestamp; cert->validity[0] = 0; cert->validity[1] = 9223372036854775807LL; - uint8_t issuerPrivateKey[ZT_CERTIFICATE_MAX_PRIVATE_KEY_SIZE], - certPrivateKey[ZT_CERTIFICATE_MAX_PRIVATE_KEY_SIZE]; + uint8_t issuerPrivateKey[ZT_CERTIFICATE_MAX_PRIVATE_KEY_SIZE], certPrivateKey[ZT_CERTIFICATE_MAX_PRIVATE_KEY_SIZE]; int issuerPrivateKeySize = 0, certPrivateKeySize = 0; Certificate::newKeyPair( ZT_CERTIFICATE_PUBLIC_KEY_ALGORITHM_ECDSA_NIST_P_384, @@ -2505,10 +2115,7 @@ extern "C" const char* ZTT_benchmarkCrypto() int64_t start = now(); uint64_t proof = MIMC52::delay(tmp, ZT_IDENTITY_TYPE1_MIMC52_ROUNDS); int64_t t = now() - start; - ZT_T_PRINTF( - "%llu ms total, %.8f ms/round, verification: ", - t, - (double)t / (double)ZT_IDENTITY_TYPE1_MIMC52_ROUNDS); + ZT_T_PRINTF("%llu ms total, %.8f ms/round, verification: ", t, (double)t / (double)ZT_IDENTITY_TYPE1_MIMC52_ROUNDS); start = now(); if (! MIMC52::verify(tmp, ZT_IDENTITY_TYPE1_MIMC52_ROUNDS, proof)) { ZT_T_PRINTF("FAILED" ZT_EOL_S); @@ -2550,9 +2157,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } } foo = tmp[0]; // prevent optimization - ZT_T_PRINTF( - " %.4f MiB/sec" ZT_EOL_S, - ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); + ZT_T_PRINTF(" %.4f MiB/sec" ZT_EOL_S, ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); ZT_T_PRINTF("[crypto] Benchmarking AES-GMAC..."); AES::GMAC gmac(aes); @@ -2569,9 +2174,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } } foo = tag[0]; // prevent optimization - ZT_T_PRINTF( - " %.4f MiB/sec" ZT_EOL_S, - ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); + ZT_T_PRINTF(" %.4f MiB/sec" ZT_EOL_S, ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); } { @@ -2594,9 +2197,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } } foo = tmp[0]; // prevent optimization - ZT_T_PRINTF( - " %.4f MiB/sec" ZT_EOL_S, - ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); + ZT_T_PRINTF(" %.4f MiB/sec" ZT_EOL_S, ((16384.0 * (double)reps) / 1048576.0) / ((double)(end - start) / 1000.0)); } { @@ -2610,9 +2211,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } { - ZT_T_PRINTF( - "[crypto] Benchmarking Salsa20/12 (using vector acceleration: %s)... ", - Salsa20::accelerated() ? "yes" : "no"); + ZT_T_PRINTF("[crypto] Benchmarking Salsa20/12 (using vector acceleration: %s)... ", Salsa20::accelerated() ? "yes" : "no"); Salsa20 s20(tmp, tag); int64_t start = now(); for (long i = 0; i < 150000; ++i) @@ -2633,9 +2232,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } } int64_t end = now(); - ZT_T_PRINTF( - "%.4f μs/agreement" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(150 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/agreement" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(150 * ZT_NUM_C25519_TEST_VECTORS)); } { @@ -2650,9 +2247,7 @@ extern "C" const char* ZTT_benchmarkCrypto() } } int64_t end = now(); - ZT_T_PRINTF( - "%.4f μs/signature" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(150 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/signature" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(150 * ZT_NUM_C25519_TEST_VECTORS)); } { @@ -2660,35 +2255,25 @@ extern "C" const char* ZTT_benchmarkCrypto() int64_t start = now(); for (int i = 0; i < 15; ++i) { for (int t = 0; t < ZT_NUM_C25519_TEST_VECTORS; ++t) { // NOLINT(modernize-loop-convert) - if (C25519::verify( - C25519_TEST_VECTORS[t].pub1, - C25519_TEST_VECTORS[t].agreementSha512, - 64, - C25519_TEST_VECTORS[t].agreementSignedBy1, - 96)) + if (C25519::verify(C25519_TEST_VECTORS[t].pub1, C25519_TEST_VECTORS[t].agreementSha512, 64, C25519_TEST_VECTORS[t].agreementSignedBy1, 96)) ++foo; } } int64_t end = now(); - ZT_T_PRINTF( - "%.4f μs/verify" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(15 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/verify" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(15 * ZT_NUM_C25519_TEST_VECTORS)); } { uint8_t key[48]; ZT_T_PRINTF("[crypto] Benchmarking ECC384 ECDH... "); - volatile uint8_t* volatile pub = - (volatile uint8_t*)ECC384_TV0_PUBLIC; // NOLINT(hicpp-use-auto,modernize-use-auto) + volatile uint8_t* volatile pub = (volatile uint8_t*)ECC384_TV0_PUBLIC; // NOLINT(hicpp-use-auto,modernize-use-auto) int64_t start = now(); for (int i = 0; i < 500; ++i) { ECC384ECDH((const uint8_t*)pub, ECC384_TV0_PRIVATE, key); foo = key[0]; } int64_t end = now(); - ZT_T_PRINTF( - "%.4f μs/agreement" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/agreement" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); } { @@ -2700,9 +2285,7 @@ extern "C" const char* ZTT_benchmarkCrypto() foo = sig[0]; } int64_t end = now(); - ZT_T_PRINTF( - "%.4f μs/signature" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/signature" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); ZT_T_PRINTF("[crypto] Benchmarking ECC384 signature verification... "); start = now(); for (int i = 0; i < 500; ++i) { @@ -2710,9 +2293,7 @@ extern "C" const char* ZTT_benchmarkCrypto() ++foo; } end = now(); - ZT_T_PRINTF( - "%.4f μs/verify" ZT_EOL_S, - ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); + ZT_T_PRINTF("%.4f μs/verify" ZT_EOL_S, ((double)(end - start) * 1000.0) / (double)(500 * ZT_NUM_C25519_TEST_VECTORS)); } { diff --git a/core/TinyMap.hpp b/core/TinyMap.hpp index 59ec40f05..a4fd5571f 100644 --- a/core/TinyMap.hpp +++ b/core/TinyMap.hpp @@ -76,9 +76,7 @@ template class TinyMap { const uintptr_t vptr = bucket.exchange(ZT_TINYMAP_LOCKED_POINTER, std::memory_order_acquire); if (likely(vptr != ZT_TINYMAP_LOCKED_POINTER)) { if (likely(vptr != 0)) { - for (typename EV::const_iterator n(reinterpret_cast(vptr)->begin()); - n != reinterpret_cast(vptr)->end(); - ++n) { + for (typename EV::const_iterator n(reinterpret_cast(vptr)->begin()); n != reinterpret_cast(vptr)->end(); ++n) { if (likely(n->first == key)) { tmp = n->second; break; @@ -104,9 +102,7 @@ template class TinyMap { vptr = reinterpret_cast(new EV()); } else { - for (typename EV::iterator n(reinterpret_cast(vptr)->begin()); - n != reinterpret_cast(vptr)->end(); - ++n) { + for (typename EV::iterator n(reinterpret_cast(vptr)->begin()); n != reinterpret_cast(vptr)->end(); ++n) { if (n->first == key) { n->second = value; bucket.store(vptr, std::memory_order_release); @@ -131,9 +127,7 @@ template class TinyMap { uintptr_t vptr = bucket.exchange(ZT_TINYMAP_LOCKED_POINTER, std::memory_order_acquire); if (likely(vptr != ZT_TINYMAP_LOCKED_POINTER)) { if (likely(vptr != 0)) { - for (typename EV::iterator n(reinterpret_cast(vptr)->begin()); - n != reinterpret_cast(vptr)->end(); - ++n) { + for (typename EV::iterator n(reinterpret_cast(vptr)->begin()); n != reinterpret_cast(vptr)->end(); ++n) { if (n->first == key) { reinterpret_cast(vptr)->erase(n); break; diff --git a/core/Topology.cpp b/core/Topology.cpp index 27122b4af..c13e07a48 100644 --- a/core/Topology.cpp +++ b/core/Topology.cpp @@ -75,10 +75,7 @@ void Topology::doPeriodicTasks(const CallContext& cc) // TODO: also delete if the peer has not exchanged meaningful communication in a while, such as a // network frame or non-trivial control packet. if (((cc.ticks - i->second->lastReceive()) > ZT_PEER_ALIVE_TIMEOUT) - && (! std::binary_search( - rootLookup.begin(), - rootLookup.end(), - reinterpret_cast(i->second.ptr())))) + && (! std::binary_search(rootLookup.begin(), rootLookup.end(), reinterpret_cast(i->second.ptr())))) toDelete.push_back(i->first); } } diff --git a/core/Trace.cpp b/core/Trace.cpp index a207cbf4f..e029d4ac9 100644 --- a/core/Trace.cpp +++ b/core/Trace.cpp @@ -159,11 +159,7 @@ void Trace::m_outgoingNetworkFrameDropped( Dictionary::append(buf, ZT_TRACE_FIELD_ETHERTYPE, etherType); Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_LENGTH, frameLength); if (frameData) - Dictionary::append( - buf, - ZT_TRACE_FIELD_FRAME_DATA, - frameData, - std::min((unsigned int)64, (unsigned int)frameLength)); + Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_DATA, frameData, std::min((unsigned int)64, (unsigned int)frameLength)); Dictionary::append(buf, ZT_TRACE_FIELD_REASON, reason); buf.push_back(0); m_ctx.node->postEvent(tPtr, ZT_EVENT_TRACE, buf.data()); @@ -199,11 +195,7 @@ void Trace::m_incomingNetworkFrameDropped( Dictionary::append(buf, ZT_TRACE_FIELD_PACKET_VERB, verb); Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_LENGTH, frameLength); if (frameData) - Dictionary::append( - buf, - ZT_TRACE_FIELD_FRAME_DATA, - frameData, - std::min((unsigned int)64, (unsigned int)frameLength)); + Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_DATA, frameData, std::min((unsigned int)64, (unsigned int)frameLength)); Dictionary::append(buf, ZT_TRACE_FIELD_FLAG_CREDENTIAL_REQUEST_SENT, credentialRequestSent); Dictionary::append(buf, ZT_TRACE_FIELD_REASON, reason); buf.push_back(0); @@ -256,11 +248,7 @@ void Trace::m_networkFilter( Dictionary::append(buf, ZT_TRACE_FIELD_DEST_MAC, destMac.toInt()); Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_LENGTH, frameLength); if (frameData) - Dictionary::append( - buf, - ZT_TRACE_FIELD_FRAME_DATA, - frameData, - std::min((unsigned int)64, (unsigned int)frameLength)); + Dictionary::append(buf, ZT_TRACE_FIELD_FRAME_DATA, frameData, std::min((unsigned int)64, (unsigned int)frameLength)); Dictionary::append(buf, ZT_TRACE_FIELD_ETHERTYPE, etherType); Dictionary::append(buf, ZT_TRACE_FIELD_VLAN_ID, vlanId); Dictionary::append(buf, ZT_TRACE_FIELD_RULE_FLAG_NOTEE, noTee); diff --git a/core/Trace.hpp b/core/Trace.hpp index a082a7db4..d8dfe00e3 100644 --- a/core/Trace.hpp +++ b/core/Trace.hpp @@ -105,15 +105,7 @@ class Trace { const Identity& triggeringPeer) { if (unlikely((m_traceFlags & ZT_TRACE_F_VL1) != 0)) - m_tryingNewPath( - cc.tPtr, - codeLocation, - trying, - physicalAddress, - triggerAddress, - triggeringPacketId, - triggeringPacketVerb, - triggeringPeer); + m_tryingNewPath(cc.tPtr, codeLocation, trying, physicalAddress, triggerAddress, triggeringPacketId, triggeringPacketVerb, triggeringPeer); } ZT_INLINE void learnedNewPath( @@ -140,16 +132,7 @@ class Trace { const ZT_TracePacketDropReason reason) { if (unlikely((m_traceFlags & ZT_TRACE_F_VL1) != 0)) - m_incomingPacketDropped( - cc.tPtr, - codeLocation, - packetId, - networkId, - peerIdentity, - physicalAddress, - hops, - verb, - reason); + m_incomingPacketDropped(cc.tPtr, codeLocation, packetId, networkId, peerIdentity, physicalAddress, hops, verb, reason); } ZT_INLINE void outgoingNetworkFrameDropped( @@ -164,16 +147,7 @@ class Trace { ZT_TraceFrameDropReason reason) { if (unlikely((m_traceFlags & ZT_TRACE_F_VL2) != 0)) - m_outgoingNetworkFrameDropped( - cc.tPtr, - codeLocation, - networkId, - sourceMac, - destMac, - etherType, - frameLength, - frameData, - reason); + m_outgoingNetworkFrameDropped(cc.tPtr, codeLocation, networkId, sourceMac, destMac, etherType, frameLength, frameData, reason); } ZT_INLINE void incomingNetworkFrameDropped( @@ -270,15 +244,7 @@ class Trace { ZT_TraceCredentialRejectionReason reason) { if (unlikely((m_traceFlags & ZT_TRACE_F_VL2) != 0)) - m_credentialRejected( - cc.tPtr, - codeLocation, - networkId, - identity, - credentialId, - credentialTimestamp, - credentialType, - reason); + m_credentialRejected(cc.tPtr, codeLocation, networkId, identity, credentialId, credentialTimestamp, credentialType, reason); } private: diff --git a/core/TrustStore.cpp b/core/TrustStore.cpp index 7237be301..260174ca1 100644 --- a/core/TrustStore.cpp +++ b/core/TrustStore.cpp @@ -39,9 +39,7 @@ Map > TrustStore::roots() // Iterate using m_bySubjectIdentity to only scan certificates with subject identities. // This map also does not contian error or deprecated certificates. - for (Map > >::const_iterator cv(m_bySubjectIdentity.begin()); - cv != m_bySubjectIdentity.end(); - ++cv) { + for (Map > >::const_iterator cv(m_bySubjectIdentity.begin()); cv != m_bySubjectIdentity.end(); ++cv) { for (Vector >::const_iterator c(cv->second.begin()); c != cv->second.end(); ++c) { // A root set cert must be marked for this use and authorized to influence this node's config. if ((((*c)->m_certificate.usageFlags & ZT_CERTIFICATE_USAGE_ZEROTIER_ROOT_SET) != 0) @@ -49,12 +47,10 @@ Map > TrustStore::roots() // Add all identities to the root set, and for each entry in the set make sure we have the latest // locator if there's more than one cert with one. for (unsigned int j = 0; j < (*c)->certificate().subject.identityCount; ++j) { - const Identity* const id = - reinterpret_cast((*c)->certificate().subject.identities[j].identity); + const Identity* const id = reinterpret_cast((*c)->certificate().subject.identities[j].identity); if ((id) && (*id)) { // sanity check SharedPtr& existingLoc = r[*id]; - const Locator* const loc = - reinterpret_cast((*c)->certificate().subject.identities[j].locator); + const Locator* const loc = reinterpret_cast((*c)->certificate().subject.identities[j].locator); if (loc) { if ((! existingLoc) || (existingLoc->revision() < loc->revision())) existingLoc.set(new Locator(*loc)); @@ -164,19 +160,16 @@ bool TrustStore::update(const int64_t clock, Vector >* const pu if (pathLength <= current->second->m_certificate.maxPathLength) { // Check if this cert isn't a CA or already part of a valid trust path. If so then step upward // toward CA. - if (((current->second->m_localTrust & ZT_CERTIFICATE_LOCAL_TRUST_FLAG_ROOT_CA) == 0) - && (! current->second->m_onTrustPath)) { + if (((current->second->m_localTrust & ZT_CERTIFICATE_LOCAL_TRUST_FLAG_ROOT_CA) == 0) && (! current->second->m_onTrustPath)) { // If the issuer (parent) certificiate is (1) valid, (2) not already visited (to prevent // loops), and (3) has a public key that matches this cert's issuer public key (sanity // check), proceed up the certificate graph toward a potential CA. visited.push_back(current->second.ptr()); const Map >::const_iterator prevChild(current); current = m_bySerial.find(H384(current->second->m_certificate.issuer)); - if ((current != m_bySerial.end()) - && (std::find(visited.begin(), visited.end(), current->second.ptr()) == visited.end()) + if ((current != m_bySerial.end()) && (std::find(visited.begin(), visited.end(), current->second.ptr()) == visited.end()) && (current->second->m_error == ZT_CERTIFICATE_ERROR_NONE) - && (current->second->m_certificate.publicKeySize - == prevChild->second->m_certificate.issuerPublicKeySize) + && (current->second->m_certificate.publicKeySize == prevChild->second->m_certificate.issuerPublicKeySize) && (memcmp( current->second->m_certificate.publicKey, prevChild->second->m_certificate.issuerPublicKey, @@ -215,9 +208,8 @@ bool TrustStore::update(const int64_t clock, Vector >* const pu if (c->second->m_error == ZT_CERTIFICATE_ERROR_NONE) { const unsigned int uniqueIdSize = c->second->m_certificate.subject.uniqueIdSize; if ((uniqueIdSize > 0) && (uniqueIdSize <= ZT_CERTIFICATE_MAX_PUBLIC_KEY_SIZE)) { - SharedPtr& entry = m_bySubjectUniqueId[Blob( - c->second->m_certificate.subject.uniqueId, - uniqueIdSize)]; + SharedPtr& entry = + m_bySubjectUniqueId[Blob(c->second->m_certificate.subject.uniqueId, uniqueIdSize)]; if (entry) { // If there's already an entry, see if there's a newer certificate for this subject. if (c->second->m_certificate.subject.timestamp > entry->m_certificate.subject.timestamp) { @@ -229,11 +221,7 @@ bool TrustStore::update(const int64_t clock, Vector >* const pu } else { // Equal timestamps should never happen, but handle it anyway by comparing serials. - if (memcmp( - c->second->m_certificate.serialNo, - entry->m_certificate.serialNo, - ZT_CERTIFICATE_HASH_SIZE) - > 0) { + if (memcmp(c->second->m_certificate.serialNo, entry->m_certificate.serialNo, ZT_CERTIFICATE_HASH_SIZE) > 0) { entry->m_subjectDeprecated = true; entry = c->second; } @@ -255,8 +243,7 @@ bool TrustStore::update(const int64_t clock, Vector >* const pu for (Map >::const_iterator c(m_bySerial.begin()); c != m_bySerial.end(); ++c) { if ((c->second->m_error == ZT_CERTIFICATE_ERROR_NONE) && (! c->second->m_subjectDeprecated)) { for (unsigned int i = 0; i < c->second->m_certificate.subject.identityCount; ++i) { - const Identity* const id = - reinterpret_cast(c->second->m_certificate.subject.identities[i].identity); + const Identity* const id = reinterpret_cast(c->second->m_certificate.subject.identities[i].identity); if ((id) && (*id)) // sanity check m_bySubjectIdentity[id->fingerprint()].push_back(c->second); } @@ -266,8 +253,7 @@ bool TrustStore::update(const int64_t clock, Vector >* const pu // If purge is set, erase and return error and deprecated certs (that are not on a trust path). if (purge) { for (Map >::const_iterator c(m_bySerial.begin()); c != m_bySerial.end();) { - if ((c->second->error() != ZT_CERTIFICATE_ERROR_NONE) - || ((c->second->m_subjectDeprecated) && (! c->second->m_onTrustPath))) { + if ((c->second->error() != ZT_CERTIFICATE_ERROR_NONE) || ((c->second->m_subjectDeprecated) && (! c->second->m_onTrustPath))) { purge->push_back(c->second); m_bySerial.erase(c++); } @@ -311,11 +297,7 @@ Vector TrustStore::save() const b.push_back(0); comp.resize((unsigned long)LZ4_COMPRESSBOUND(b.size()) + 8); - compSize = LZ4_compress_fast( - reinterpret_cast(b.data()), - reinterpret_cast(comp.data() + 8), - (int)b.size(), - (int)(comp.size() - 8)); + compSize = LZ4_compress_fast(reinterpret_cast(b.data()), reinterpret_cast(comp.data() + 8), (int)b.size(), (int)(comp.size() - 8)); if (unlikely(compSize <= 0)) // shouldn't be possible return Vector(); @@ -343,11 +325,7 @@ int TrustStore::load(const Vector& data) Vector uncomp; uncomp.resize(uncompSize); - if (LZ4_decompress_safe( - reinterpret_cast(data.data() + 8), - reinterpret_cast(uncomp.data()), - (int)(data.size() - 8), - (int)uncompSize) + if (LZ4_decompress_safe(reinterpret_cast(data.data() + 8), reinterpret_cast(uncomp.data()), (int)(data.size() - 8), (int)uncompSize) != (int)uncompSize) return -1; const uint8_t* b = uncomp.data(); diff --git a/core/TrustStore.hpp b/core/TrustStore.hpp index 155bad206..abe0ffc9b 100644 --- a/core/TrustStore.hpp +++ b/core/TrustStore.hpp @@ -209,10 +209,9 @@ class TrustStore { int load(const Vector& data); private: - Map > m_bySerial; // all certificates - Map, SharedPtr > - m_bySubjectUniqueId; // non-rejected certificates only - Map > > m_bySubjectIdentity; // non-rejected certificates only + Map > m_bySerial; // all certificates + Map, SharedPtr > m_bySubjectUniqueId; // non-rejected certificates only + Map > > m_bySubjectIdentity; // non-rejected certificates only ForwardList > m_addQueue; ForwardList m_deleteQueue; RWMutex m_lock; diff --git a/core/Utils.hpp b/core/Utils.hpp index 520d32251..ecacb9772 100644 --- a/core/Utils.hpp +++ b/core/Utils.hpp @@ -36,10 +36,9 @@ namespace Utils { // Macros to convert endian-ness at compile time for constants. #if __BYTE_ORDER == __LITTLE_ENDIAN #define ZT_CONST_TO_BE_UINT16(x) ((uint16_t)((uint16_t)((uint16_t)(x) << 8U) | (uint16_t)((uint16_t)(x) >> 8U))) -#define ZT_CONST_TO_BE_UINT64(x) \ - ((((uint64_t)(x)&0x00000000000000ffULL) << 56U) | (((uint64_t)(x)&0x000000000000ff00ULL) << 40U) \ - | (((uint64_t)(x)&0x0000000000ff0000ULL) << 24U) | (((uint64_t)(x)&0x00000000ff000000ULL) << 8U) \ - | (((uint64_t)(x)&0x000000ff00000000ULL) >> 8U) | (((uint64_t)(x)&0x0000ff0000000000ULL) >> 24U) \ +#define ZT_CONST_TO_BE_UINT64(x) \ + ((((uint64_t)(x)&0x00000000000000ffULL) << 56U) | (((uint64_t)(x)&0x000000000000ff00ULL) << 40U) | (((uint64_t)(x)&0x0000000000ff0000ULL) << 24U) \ + | (((uint64_t)(x)&0x00000000ff000000ULL) << 8U) | (((uint64_t)(x)&0x000000ff00000000ULL) >> 8U) | (((uint64_t)(x)&0x0000ff0000000000ULL) >> 24U) \ | (((uint64_t)(x)&0x00ff000000000000ULL) >> 40U) | (((uint64_t)(x)&0xff00000000000000ULL) >> 56U)) #else #define ZT_CONST_TO_BE_UINT16(x) ((uint16_t)(x)) @@ -302,9 +301,8 @@ static ZT_INLINE uint64_t swapBytes(const uint64_t n) noexcept return (uint64_t)_byteswap_uint64((unsigned __int64)n); #else return ( - ((n & 0x00000000000000ffULL) << 56) | ((n & 0x000000000000ff00ULL) << 40) | ((n & 0x0000000000ff0000ULL) << 24) - | ((n & 0x00000000ff000000ULL) << 8) | ((n & 0x000000ff00000000ULL) >> 8) | ((n & 0x0000ff0000000000ULL) >> 24) - | ((n & 0x00ff000000000000ULL) >> 40) | ((n & 0xff00000000000000ULL) >> 56)); + ((n & 0x00000000000000ffULL) << 56) | ((n & 0x000000000000ff00ULL) << 40) | ((n & 0x0000000000ff0000ULL) << 24) | ((n & 0x00000000ff000000ULL) << 8) + | ((n & 0x000000ff00000000ULL) >> 8) | ((n & 0x0000ff0000000000ULL) >> 24) | ((n & 0x00ff000000000000ULL) >> 40) | ((n & 0xff00000000000000ULL) >> 56)); #endif #endif } diff --git a/core/VL1.cpp b/core/VL1.cpp index 163a0667a..a074051bd 100644 --- a/core/VL1.cpp +++ b/core/VL1.cpp @@ -70,9 +70,7 @@ struct p_PolyCopyFunction { Poly1305 poly1305; unsigned int hdrRemaining; - ZT_INLINE p_PolyCopyFunction(const void* salsaKey, const void* salsaIv) - : poly1305() - , hdrRemaining(ZT_PROTO_PACKET_ENCRYPTED_SECTION_START) + ZT_INLINE p_PolyCopyFunction(const void* salsaKey, const void* salsaIv) : poly1305(), hdrRemaining(ZT_PROTO_PACKET_ENCRYPTED_SECTION_START) { uint8_t macKey[ZT_POLY1305_KEY_SIZE]; Salsa20(salsaKey, salsaIv).crypt12(Utils::ZERO256, macKey, ZT_POLY1305_KEY_SIZE); @@ -100,12 +98,7 @@ VL1::VL1(const Context& ctx) : m_ctx(ctx) { } -void VL1::onRemotePacket( - CallContext& cc, - const int64_t localSocket, - const InetAddress& fromAddr, - SharedPtr& data, - const unsigned int len) noexcept +void VL1::onRemotePacket(CallContext& cc, const int64_t localSocket, const InetAddress& fromAddr, SharedPtr& data, const unsigned int len) noexcept { const SharedPtr path(m_ctx.topology->path(localSocket, fromAddr)); @@ -123,9 +116,7 @@ void VL1::onRemotePacket( static_assert((ZT_PROTO_PACKET_ID_INDEX + sizeof(uint64_t)) < ZT_PROTO_MIN_FRAGMENT_LENGTH, "overflow"); const uint64_t packetId = Utils::loadMachineEndian(data->unsafeData + ZT_PROTO_PACKET_ID_INDEX); - static_assert( - (ZT_PROTO_PACKET_DESTINATION_INDEX + ZT_ADDRESS_LENGTH) < ZT_PROTO_MIN_FRAGMENT_LENGTH, - "overflow"); + static_assert((ZT_PROTO_PACKET_DESTINATION_INDEX + ZT_ADDRESS_LENGTH) < ZT_PROTO_MIN_FRAGMENT_LENGTH, "overflow"); const Address destination(data->unsafeData + ZT_PROTO_PACKET_DESTINATION_INDEX); if (destination != m_ctx.identity.address()) { m_relay(cc, path, destination, data, len); @@ -232,15 +223,7 @@ void VL1::onRemotePacket( } const SharedPtr peer(m_HELLO(cc, path, *pkt, pktSize)); if (likely(peer)) - peer->received( - m_ctx, - cc, - path, - hops, - packetId, - pktSize - ZT_PROTO_PACKET_PAYLOAD_START, - Protocol::VERB_HELLO, - Protocol::VERB_NOP); + peer->received(m_ctx, cc, path, hops, packetId, pktSize - ZT_PROTO_PACKET_PAYLOAD_START, Protocol::VERB_HELLO, Protocol::VERB_NOP); return; } @@ -298,8 +281,7 @@ void VL1::onRemotePacket( Protocol::salsa2012DeriveKey(peer->rawIdentityKey(), perPacketKey, *pktv[0].b, pktv.totalSize()); p_SalsaPolyCopyFunction s20cf(perPacketKey, &packetId); - pktSize = - pktv.mergeMap(*pkt, ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, s20cf); + pktSize = pktv.mergeMap(*pkt, ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, s20cf); if (unlikely(pktSize < ZT_PROTO_MIN_PACKET_LENGTH)) { ZT_SPEW( "discarding packet %.16llx from %s(%s): assembled packet size: %d", @@ -374,11 +356,7 @@ void VL1::onRemotePacket( // TODO: should take instance ID into account here once that is fully implemented. if (unlikely(peer->deduplicateIncomingPacket(packetId))) { - ZT_SPEW( - "discarding packet %.16llx from %s(%s): duplicate!", - packetId, - source.toString().c_str(), - fromAddr.toString().c_str()); + ZT_SPEW("discarding packet %.16llx from %s(%s): duplicate!", packetId, source.toString().c_str(), fromAddr.toString().c_str()); return; } @@ -397,9 +375,7 @@ void VL1::onRemotePacket( reinterpret_cast(dec->unsafeData + ZT_PROTO_PACKET_PAYLOAD_START), pktSize - ZT_PROTO_PACKET_PAYLOAD_START, ZT_BUF_MEM_SIZE - ZT_PROTO_PACKET_PAYLOAD_START); - if (likely( - (uncompressedLen >= 0) - && (uncompressedLen <= (ZT_BUF_MEM_SIZE - ZT_PROTO_PACKET_PAYLOAD_START)))) { + if (likely((uncompressedLen >= 0) && (uncompressedLen <= (ZT_BUF_MEM_SIZE - ZT_PROTO_PACKET_PAYLOAD_START)))) { pkt.swap(dec); ZT_SPEW("decompressed packet: %d -> %d", pktSize, ZT_PROTO_PACKET_PAYLOAD_START + uncompressedLen); pktSize = ZT_PROTO_PACKET_PAYLOAD_START + uncompressedLen; @@ -419,12 +395,7 @@ void VL1::onRemotePacket( } } - ZT_SPEW( - "%s from %s(%s) (%d bytes)", - Protocol::verbName(verb), - source.toString().c_str(), - fromAddr.toString().c_str(), - pktSize); + ZT_SPEW("%s from %s(%s) (%d bytes)", Protocol::verbName(verb), source.toString().c_str(), fromAddr.toString().c_str(), pktSize); // NOTE: HELLO is normally sent in the clear (in terms of our usual AEAD modes) and is handled // above. We will try to process it here, but if so it'll still get re-authenticated via HELLO's @@ -505,15 +476,7 @@ void VL1::onRemotePacket( break; } if (likely(ok)) - peer->received( - m_ctx, - cc, - path, - hops, - packetId, - pktSize - ZT_PROTO_PACKET_PAYLOAD_START, - verb, - inReVerb); + peer->received(m_ctx, cc, path, hops, packetId, pktSize - ZT_PROTO_PACKET_PAYLOAD_START, verb, inReVerb); } else { // If decryption and authentication were not successful, try to look up identities. @@ -537,11 +500,7 @@ void VL1::onRemotePacket( } } catch (...) { - m_ctx.t->unexpectedError( - cc, - 0xea1b6dea, - "unexpected exception in onRemotePacket() parsing packet from %s", - path->address().toString().c_str()); + m_ctx.t->unexpectedError(cc, 0xea1b6dea, "unexpected exception in onRemotePacket() parsing packet from %s", path->address().toString().c_str()); } } @@ -576,8 +535,7 @@ void VL1::m_sendPendingWhois(CallContext& cc) Vector
::iterator a(toSend.begin()); while (a != toSend.end()) { const uint64_t packetId = key.nextMessage(m_ctx.identity.address(), root->address()); - int p = - Protocol::newPacket(outp, packetId, root->address(), m_ctx.identity.address(), Protocol::VERB_WHOIS); + int p = Protocol::newPacket(outp, packetId, root->address(), m_ctx.identity.address(), Protocol::VERB_WHOIS); while ((a != toSend.end()) && (p < (sizeof(outp) - ZT_ADDRESS_LENGTH))) { a->copyTo(outp + p); ++a; @@ -662,11 +620,7 @@ SharedPtr VL1::m_HELLO(CallContext& cc, const SharedPtr& path, Buf& return SharedPtr(); } if (unlikely(peer->deduplicateIncomingPacket(packetId))) { - ZT_SPEW( - "discarding packet %.16llx from %s(%s): duplicate!", - packetId, - id.address().toString().c_str(), - path->address().toString().c_str()); + ZT_SPEW("discarding packet %.16llx from %s(%s): duplicate!", packetId, id.address().toString().c_str(), path->address().toString().c_str()); return SharedPtr(); } } @@ -749,36 +703,17 @@ SharedPtr VL1::m_HELLO(CallContext& cc, const SharedPtr& path, Buf& uint8_t macKey[ZT_POLY1305_KEY_SIZE]; Salsa20(perPacketKey, &packetId).crypt12(Utils::ZERO256, macKey, ZT_POLY1305_KEY_SIZE); Poly1305 poly1305(macKey); - poly1305.update( - pkt.unsafeData + ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, - packetSize - ZT_PROTO_PACKET_ENCRYPTED_SECTION_START); + poly1305.update(pkt.unsafeData + ZT_PROTO_PACKET_ENCRYPTED_SECTION_START, packetSize - ZT_PROTO_PACKET_ENCRYPTED_SECTION_START); uint64_t polyMac[2]; poly1305.finish(polyMac); if (unlikely(mac != polyMac[0])) { - m_ctx.t->incomingPacketDropped( - cc, - 0x11bfff82, - packetId, - 0, - id, - path->address(), - hops, - Protocol::VERB_NOP, - ZT_TRACE_PACKET_DROP_REASON_MAC_FAILED); + m_ctx.t + ->incomingPacketDropped(cc, 0x11bfff82, packetId, 0, id, path->address(), hops, Protocol::VERB_NOP, ZT_TRACE_PACKET_DROP_REASON_MAC_FAILED); return SharedPtr(); } } else { - m_ctx.t->incomingPacketDropped( - cc, - 0x11bfff81, - packetId, - 0, - id, - path->address(), - hops, - Protocol::VERB_NOP, - ZT_TRACE_PACKET_DROP_REASON_MAC_FAILED); + m_ctx.t->incomingPacketDropped(cc, 0x11bfff81, packetId, 0, id, path->address(), hops, Protocol::VERB_NOP, ZT_TRACE_PACKET_DROP_REASON_MAC_FAILED); return SharedPtr(); } } @@ -851,12 +786,7 @@ SharedPtr VL1::m_HELLO(CallContext& cc, const SharedPtr& path, Buf& } } - Protocol::newPacket( - pkt, - key.nextMessage(m_ctx.identity.address(), peer->address()), - peer->address(), - m_ctx.identity.address(), - Protocol::VERB_OK); + Protocol::newPacket(pkt, key.nextMessage(m_ctx.identity.address(), peer->address()), peer->address(), m_ctx.identity.address(), Protocol::VERB_OK); ii = ZT_PROTO_PACKET_PAYLOAD_START; pkt.wI8(ii, Protocol::VERB_HELLO); pkt.wI64(ii, packetId); diff --git a/core/VL1.hpp b/core/VL1.hpp index 65fcdbefa..3fff59d51 100644 --- a/core/VL1.hpp +++ b/core/VL1.hpp @@ -61,12 +61,7 @@ class VL1 { * @param data Packet data * @param len Packet length */ - void onRemotePacket( - CallContext& cc, - int64_t localSocket, - const InetAddress& fromAddr, - SharedPtr& data, - unsigned int len) noexcept; + void onRemotePacket(CallContext& cc, int64_t localSocket, const InetAddress& fromAddr, SharedPtr& data, unsigned int len) noexcept; private: void m_relay(CallContext& cc, const SharedPtr& path, Address destination, SharedPtr& pkt, int pktSize); @@ -90,30 +85,10 @@ class VL1 { Buf& pkt, int packetSize, Protocol::Verb& inReVerb); - bool m_WHOIS( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - const SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_RENDEZVOUS( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - const SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_ECHO( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - const SharedPtr& peer, - Buf& pkt, - int packetSize); + bool m_WHOIS(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, const SharedPtr& peer, Buf& pkt, int packetSize); + bool + m_RENDEZVOUS(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, const SharedPtr& peer, Buf& pkt, int packetSize); + bool m_ECHO(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, const SharedPtr& peer, Buf& pkt, int packetSize); bool m_PUSH_DIRECT_PATHS( CallContext& cc, uint64_t packetId, @@ -122,22 +97,9 @@ class VL1 { const SharedPtr& peer, Buf& pkt, int packetSize); - bool m_USER_MESSAGE( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - const SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_ENCAP( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - const SharedPtr& peer, - Buf& pkt, - int packetSize); + bool + m_USER_MESSAGE(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, const SharedPtr& peer, Buf& pkt, int packetSize); + bool m_ENCAP(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, const SharedPtr& peer, Buf& pkt, int packetSize); const Context& m_ctx; diff --git a/core/VL2.hpp b/core/VL2.hpp index 6ff84792f..fb7faa079 100644 --- a/core/VL2.hpp +++ b/core/VL2.hpp @@ -60,38 +60,11 @@ class VL2 { unsigned int len); protected: - bool m_FRAME( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_EXT_FRAME( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_MULTICAST_LIKE( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_NETWORK_CREDENTIALS( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); + bool m_FRAME(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); + bool m_EXT_FRAME(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); + bool m_MULTICAST_LIKE(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); + bool + m_NETWORK_CREDENTIALS(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); bool m_NETWORK_CONFIG_REQUEST( CallContext& cc, uint64_t packetId, @@ -100,22 +73,9 @@ class VL2 { SharedPtr& peer, Buf& pkt, int packetSize); - bool m_NETWORK_CONFIG( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); - bool m_MULTICAST_GATHER( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); + bool m_NETWORK_CONFIG(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); + bool + m_MULTICAST_GATHER(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); bool m_MULTICAST_FRAME_deprecated( CallContext& cc, uint64_t packetId, @@ -124,14 +84,7 @@ class VL2 { SharedPtr& peer, Buf& pkt, int packetSize); - bool m_MULTICAST( - CallContext& cc, - uint64_t packetId, - unsigned int auth, - const SharedPtr& path, - SharedPtr& peer, - Buf& pkt, - int packetSize); + bool m_MULTICAST(CallContext& cc, uint64_t packetId, unsigned int auth, const SharedPtr& path, SharedPtr& peer, Buf& pkt, int packetSize); private: const Context& m_ctx; diff --git a/core/zerotier.h b/core/zerotier.h index 38d22dd37..0e49f5f58 100644 --- a/core/zerotier.h +++ b/core/zerotier.h @@ -1329,8 +1329,7 @@ typedef struct { uint64_t start; /* integer range start */ uint32_t end; /* end of integer range (relative to start, inclusive, 0 for equality w/start) */ uint16_t idx; /* index in packet of integer */ - uint8_t - format; /* bits in integer (range 1-64, ((format&63)+1)) and endianness (MSB 1 for little, 0 for big) */ + uint8_t format; /* bits in integer (range 1-64, ((format&63)+1)) and endianness (MSB 1 for little, 0 for big) */ } intRange; /** @@ -2132,13 +2131,7 @@ ZT_SDK_API void ZT_freeQueryResult(const void* qr); * @param callbacks Callback function configuration * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode ZT_Node_new( - ZT_Node** node, - int64_t clock, - int64_t ticks, - void* tptr, - void* uptr, - const struct ZT_Node_Callbacks* callbacks); +ZT_SDK_API enum ZT_ResultCode ZT_Node_new(ZT_Node** node, int64_t clock, int64_t ticks, void* tptr, void* uptr, const struct ZT_Node_Callbacks* callbacks); /** * Delete a node and free all resources it consumes @@ -2207,12 +2200,8 @@ ZT_SDK_API enum ZT_ResultCode ZT_Node_processVirtualNetworkFrame( * @param nextBackgroundTaskDeadline Value/result: set to deadline for next call to processBackgroundTasks() * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode ZT_Node_processBackgroundTasks( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - volatile int64_t* nextBackgroundTaskDeadline); +ZT_SDK_API enum ZT_ResultCode +ZT_Node_processBackgroundTasks(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, volatile int64_t* nextBackgroundTaskDeadline); /** * Join a network @@ -2227,14 +2216,8 @@ ZT_SDK_API enum ZT_ResultCode ZT_Node_processBackgroundTasks( * @param fingerprintHash If non-NULL this is the full fingerprint of the controller * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode ZT_Node_join( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - void* uptr, - uint64_t nwid, - const ZT_Fingerprint* controllerFingerprint); +ZT_SDK_API enum ZT_ResultCode +ZT_Node_join(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void* uptr, uint64_t nwid, const ZT_Fingerprint* controllerFingerprint); /** * Leave a network @@ -2248,8 +2231,7 @@ ZT_SDK_API enum ZT_ResultCode ZT_Node_join( * * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode -ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** uptr, uint64_t nwid); +ZT_SDK_API enum ZT_ResultCode ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** uptr, uint64_t nwid); /** * Subscribe to an Ethernet multicast group @@ -2275,14 +2257,8 @@ ZT_Node_leave(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, void** up * @param multicastAdi Multicast ADI (least significant 32 bits only, use 0 if not needed) * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode ZT_Node_multicastSubscribe( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t nwid, - uint64_t multicastGroup, - unsigned long multicastAdi); +ZT_SDK_API enum ZT_ResultCode +ZT_Node_multicastSubscribe(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); /** * Unsubscribe from an Ethernet multicast group (or all groups) @@ -2297,14 +2273,8 @@ ZT_SDK_API enum ZT_ResultCode ZT_Node_multicastSubscribe( * @param multicastAdi Multicast ADI (least significant 32 bits only, use 0 if not needed) * @return OK (0) or error code if a fatal error condition has occurred */ -ZT_SDK_API enum ZT_ResultCode ZT_Node_multicastUnsubscribe( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t nwid, - uint64_t multicastGroup, - unsigned long multicastAdi); +ZT_SDK_API enum ZT_ResultCode +ZT_Node_multicastUnsubscribe(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid, uint64_t multicastGroup, unsigned long multicastAdi); /** * Get this node's 40-bit ZeroTier address @@ -2349,8 +2319,7 @@ ZT_SDK_API ZT_PeerList* ZT_Node_peers(ZT_Node* node, int64_t clock, int64_t tick * @param nwid 64-bit network ID * @return Network configuration or NULL if we are not a member of this network */ -ZT_SDK_API ZT_VirtualNetworkConfig* -ZT_Node_networkConfig(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid); +ZT_SDK_API ZT_VirtualNetworkConfig* ZT_Node_networkConfig(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t nwid); /** * Enumerate and get status of all networks @@ -2378,13 +2347,8 @@ ZT_SDK_API void ZT_Node_setNetworkUserPtr(ZT_Node* node, uint64_t nwid, void* pt * @param addrs Addresses * @param addrCount Number of items in addrs[] */ -ZT_SDK_API void ZT_Node_setInterfaceAddresses( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - const ZT_InterfaceAddress* addrs, - unsigned int addrCount); +ZT_SDK_API void +ZT_Node_setInterfaceAddresses(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, const ZT_InterfaceAddress* addrs, unsigned int addrCount); /** * Add a certificate to this node's certificate store @@ -2419,8 +2383,7 @@ ZT_SDK_API enum ZT_CertificateError ZT_Node_addCertificate( * @param serialNo 48-byte / 384-bit serial number of certificate to delete * @return OK (0) or error code */ -ZT_SDK_API enum ZT_ResultCode -ZT_Node_deleteCertificate(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, const void* serialNo); +ZT_SDK_API enum ZT_ResultCode ZT_Node_deleteCertificate(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, const void* serialNo); /** * List certificates installed in this node's trust store @@ -2444,15 +2407,8 @@ ZT_SDK_API ZT_CertificateList* ZT_Node_listCertificates(ZT_Node* node, int64_t c * @param len Length of data in bytes * @return Boolean: non-zero on success, zero on failure */ -ZT_SDK_API int ZT_Node_sendUserMessage( - ZT_Node* node, - int64_t clock, - int64_t ticks, - void* tptr, - uint64_t dest, - uint64_t typeId, - const void* data, - unsigned int len); +ZT_SDK_API int +ZT_Node_sendUserMessage(ZT_Node* node, int64_t clock, int64_t ticks, void* tptr, uint64_t dest, uint64_t typeId, const void* data, unsigned int len); /** * Set a network controller instance for this node @@ -2522,12 +2478,7 @@ ZT_SDK_API int ZT_Identity_validate(const ZT_Identity* id); * @param signatureBufferLength Length of buffer (must be at least 96 bytes) * @return Length of signature in bytes or 0 on failure. */ -ZT_SDK_API unsigned int ZT_Identity_sign( - const ZT_Identity* id, - const void* data, - unsigned int len, - void* signature, - unsigned int signatureBufferLength); +ZT_SDK_API unsigned int ZT_Identity_sign(const ZT_Identity* id, const void* data, unsigned int len, void* signature, unsigned int signatureBufferLength); /** * Verify a signature @@ -2539,12 +2490,7 @@ ZT_SDK_API unsigned int ZT_Identity_sign( * @param sigLen Length of signature in bytes * @return Non-zero if signature is valid */ -ZT_SDK_API int ZT_Identity_verify( - const ZT_Identity* id, - const void* data, - unsigned int len, - const void* signature, - unsigned int sigLen); +ZT_SDK_API int ZT_Identity_verify(const ZT_Identity* id, const void* data, unsigned int len, const void* signature, unsigned int sigLen); /** * Get identity type @@ -2836,11 +2782,8 @@ ZT_SDK_API int ZT_Certificate_newCSR( * @param issuerPrivateKeySize Size of private key in bytes * @return Signed certificate or NULL on error */ -ZT_SDK_API ZT_Certificate* ZT_Certificate_sign( - const ZT_Certificate* cert, - const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], - const void* issuerPrivateKey, - int issuerPrivateKeySize); +ZT_SDK_API ZT_Certificate* +ZT_Certificate_sign(const ZT_Certificate* cert, const uint8_t issuer[ZT_CERTIFICATE_HASH_SIZE], const void* issuerPrivateKey, int issuerPrivateKeySize); /** * Decode a certificate or CSR @@ -2857,8 +2800,7 @@ ZT_SDK_API ZT_Certificate* ZT_Certificate_sign( * @param verify If non-zero, verify signatures and structure * @return Certificate error, if any */ -ZT_SDK_API enum ZT_CertificateError -ZT_Certificate_decode(const ZT_Certificate** decodedCert, const void* cert, int certSize, int verify); +ZT_SDK_API enum ZT_CertificateError ZT_Certificate_decode(const ZT_Certificate** decodedCert, const void* cert, int certSize, int verify); /** * Encode a certificate @@ -2991,8 +2933,7 @@ ZT_SDK_API void ZT_InetAddress_set(ZT_InetAddress* ia, const void* saddr); * @param ipLen Length of IP: 4 or 16 for IPv4 or IPv6 * @param port IP port */ -ZT_SDK_API void -ZT_InetAddress_setIpBytes(ZT_InetAddress* ia, const void* ipBytes, unsigned int ipLen, unsigned int port); +ZT_SDK_API void ZT_InetAddress_setIpBytes(ZT_InetAddress* ia, const void* ipBytes, unsigned int ipLen, unsigned int port); /** * Set IP port @@ -3061,11 +3002,7 @@ ZT_SDK_API const int ZT_AF_INET, ZT_AF_INET6; * @param f Function to invoke with each key and (binary) value * @return Non-zero if dictionary was valid */ -ZT_SDK_API int ZT_Dictionary_parse( - const void* dict, - unsigned int len, - void* arg, - void (*f)(void*, const char*, unsigned int, const void*, unsigned int)); +ZT_SDK_API int ZT_Dictionary_parse(const void* dict, unsigned int len, void* arg, void (*f)(void*, const char*, unsigned int, const void*, unsigned int)); /* ---------------------------------------------------------------------------------------------------------------- */ diff --git a/rust-zerotier-core/src/address.rs b/rust-zerotier-core/src/address.rs index a043d3fcd..fc5328891 100644 --- a/rust-zerotier-core/src/address.rs +++ b/rust-zerotier-core/src/address.rs @@ -84,9 +84,9 @@ struct AddressVisitor; impl<'de> serde::de::Visitor<'de> for AddressVisitor { type Value = Address; fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result { formatter.write_str("ZeroTier Address") } + fn visit_u64(self, v: u64) -> Result where E: serde::de::Error { Ok(Address::from(v)) } fn visit_str(self, s: &str) -> Result where E: serde::de::Error { Ok(Address::from(s)) } fn visit_bytes(self, v: &[u8]) -> Result where E: serde::de::Error { Ok(Address::from(v)) } - fn visit_u64(self, v: u64) -> Result where E: serde::de::Error { Ok(Address::from(v)) } } impl<'de> serde::Deserialize<'de> for Address { diff --git a/rust-zerotier-core/src/certificate.rs b/rust-zerotier-core/src/certificate.rs index 97ba73fd3..bd4b142fa 100644 --- a/rust-zerotier-core/src/certificate.rs +++ b/rust-zerotier-core/src/certificate.rs @@ -57,14 +57,14 @@ pub const ALL_CERTIFICATE_USAGE_FLAGS: [(u64, &'static str); 9] = [ #[inline(always)] fn vec_to_array(v: &Vec) -> [u8; L] { - unsafe { - let mut a: MaybeUninit<[u8; L]> = MaybeUninit::uninit(); - copy_nonoverlapping(v.as_ptr(), a.as_mut_ptr().cast::(), v.len().min(L)); - if v.len() < L { - write_bytes(a.as_mut_ptr().cast::(), 0, L - v.len()); - } - a.assume_init() + let mut a = [0_u8; L]; + let vl = v.len(); + if vl >= L { + a.copy_from_slice(&v.as_slice()[0..L]); + } else { + a.copy_from_slice(v.as_slice()); } + a } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// diff --git a/rust-zerotier-core/src/dictionary.rs b/rust-zerotier-core/src/dictionary.rs index d0f988c8d..8213eadee 100644 --- a/rust-zerotier-core/src/dictionary.rs +++ b/rust-zerotier-core/src/dictionary.rs @@ -25,20 +25,18 @@ pub struct Dictionary { // Callback called by ZeroTier core to parse a Dictionary, populates a Rust Dictionary object. extern "C" fn populate_dict_callback(arg: *mut c_void, c_key: *const c_char, key_len: c_uint, c_value: *const c_void, value_len: c_uint) { - unsafe { - let d = &mut *(arg.cast::()); - let k = cstr_to_string(c_key, key_len as isize); - if !k.is_empty() { - let mut v: Vec = Vec::new(); - if value_len > 0 { - let vp = c_value.cast::(); - v.reserve(value_len as usize); - for i in 0..(value_len as isize) { - v.push(*(vp.offset(i))); - } + let d = unsafe { &mut *(arg.cast::()) }; + let k = unsafe { cstr_to_string(c_key, key_len as isize) }; + if !k.is_empty() { + let mut v: Vec = Vec::new(); + if value_len > 0 { + let vp = c_value.cast::(); + v.reserve(value_len as usize); + for i in 0..(value_len as isize) { + unsafe { v.push(*(vp.offset(i))) }; } - let _ = d.data.insert(k, v); } + let _ = d.data.insert(k, v); } } diff --git a/rust-zerotier-core/src/fingerprint.rs b/rust-zerotier-core/src/fingerprint.rs index 21988aa2d..193c24c5a 100644 --- a/rust-zerotier-core/src/fingerprint.rs +++ b/rust-zerotier-core/src/fingerprint.rs @@ -12,6 +12,7 @@ /****/ use std::ffi::CString; +use std::hash::{Hash, Hasher}; use std::mem::MaybeUninit; use std::os::raw::{c_char, c_int}; use std::ptr::copy_nonoverlapping; @@ -71,6 +72,13 @@ impl Fingerprint { } } +impl Hash for Fingerprint { + #[inline(always)] + fn hash(&self, state: &mut H) { + self.address.0.hash(state) + } +} + impl ToString for Fingerprint { fn to_string(&self) -> String { let mut buf: [u8; 256] = [0; 256]; diff --git a/rust-zerotier-core/src/identity.rs b/rust-zerotier-core/src/identity.rs index a8f22a633..d7d1ba664 100644 --- a/rust-zerotier-core/src/identity.rs +++ b/rust-zerotier-core/src/identity.rs @@ -162,7 +162,7 @@ impl Identity { impl Hash for Identity { #[inline(always)] fn hash(&self, state: &mut H) { - (self.address.0 | (self.type_.to_u64().unwrap_or(0) << 40)).hash(state); + self.address.0.hash(state) } } diff --git a/rust-zerotier-core/src/locator.rs b/rust-zerotier-core/src/locator.rs index 97fea4d81..47c599613 100644 --- a/rust-zerotier-core/src/locator.rs +++ b/rust-zerotier-core/src/locator.rs @@ -50,18 +50,16 @@ impl Locator { } pub fn new_from_string(s: &str) -> Result { - unsafe { - let cs = CString::new(s); - if cs.is_err() { - return Err(ResultCode::ErrorBadParameter); - } - let cs = cs.unwrap(); - let l = ztcore::ZT_Locator_fromString(cs.as_ptr()); - if l.is_null() { - return Err(ResultCode::ErrorBadParameter); - } - return Ok(Locator::new_from_capi(l, true)); + let cs = CString::new(s); + if cs.is_err() { + return Err(ResultCode::ErrorBadParameter); } + let cs = cs.unwrap(); + let l = unsafe { ztcore::ZT_Locator_fromString(cs.as_ptr()) }; + if l.is_null() { + return Err(ResultCode::ErrorBadParameter); + } + return Ok(Locator::new_from_capi(l, true)); } #[inline(always)] @@ -76,15 +74,10 @@ impl Locator { pub fn endpoints(&self) -> Vec { let mut eps: Vec = Vec::new(); - unsafe { - let ep_count = ztcore::ZT_Locator_endpointCount(self.capi) as usize; - eps.reserve(ep_count as usize); - for i in 0..ep_count { - let ep = ztcore::ZT_Locator_endpoint(self.capi, i as c_uint); - if !ep.is_null() { - eps.push(Endpoint::new_from_capi(&(*ep))); - } - } + let ep_count = unsafe { ztcore::ZT_Locator_endpointCount(self.capi) as usize }; + eps.reserve(ep_count as usize); + for i in 0..ep_count { + eps.push(Endpoint::new_from_capi(unsafe { &*ztcore::ZT_Locator_endpoint(self.capi, i as c_uint) })); } eps } diff --git a/rust-zerotier-core/src/mac.rs b/rust-zerotier-core/src/mac.rs index 26d58f27d..fd46e75ab 100644 --- a/rust-zerotier-core/src/mac.rs +++ b/rust-zerotier-core/src/mac.rs @@ -11,6 +11,8 @@ */ /****/ +use std::hash::{Hash, Hasher}; + #[derive(PartialEq, Eq, Clone, Copy, PartialOrd, Ord)] pub struct MAC(pub u64); @@ -28,6 +30,13 @@ impl MAC { } } +impl Hash for MAC { + #[inline(always)] + fn hash(&self, state: &mut H) { + self.0.hash(state); + } +} + impl ToString for MAC { fn to_string(&self) -> String { let x = self.0;