<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">Reducing the WSN&apos;s Communication Overhead by the SD-SPDZ Encryption Protocol</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author role="corresp">
							<persName><forename type="first">Alexander</forename><forename type="middle">K</forename><surname>Alexandrov</surname></persName>
							<email>akalexandrov@ir.bas.bg</email>
							<affiliation key="aff0">
								<orgName type="department">Institute of Robotics</orgName>
								<orgName type="institution">Bulgarian Academy of Sciences</orgName>
								<address>
									<addrLine>Acad. G. Bonchev str</addrLine>
									<postCode>1113</postCode>
									<settlement>Sofia</settlement>
									<country key="BG">Bulgaria</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">Reducing the WSN&apos;s Communication Overhead by the SD-SPDZ Encryption Protocol</title>
					</analytic>
					<monogr>
						<idno type="ISSN">1613-0073</idno>
					</monogr>
					<idno type="MD5">6A0ECBD853EC67222D2A7ECBF15105B2</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2025-04-23T17:32+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>WSN</term>
					<term>Information security</term>
					<term>sensor data encryption</term>
					<term>SPDZ</term>
					<term>SD-SPDZ</term>
					<term>Fixed Block Ciphers</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>Wireless Sensor Networks (WSN) have emerged as a pivotal technology in many application areas such as environmental monitoring, IoT, military applications, and healthcare. These networks consist of spatially distributed, autonomous sensors that cooperatively monitor physical or environmental conditions, such as temperature, sound, or pollution levels. The unique characteristics of WSNs, including their resource constraints (e.g., energy, memory, and computational capacity), make them vulnerable to various security threats. Information security in WSNs is crucial to ensure the confidentiality, integrity, and availability of the data they collect and transmit.</p><p>As these wireless sensors collect and share data, they ensure the security and privacy of transmitted information becomes critical. In recent years, with an increasing emphasis on security, there has been a growing interest in Multi-Party Computation (MPC). MPC allows multiple parties to compute a joint function over their inputs while keeping those inputs private. The SPDZ protocol is among the most prominent and influential secure computation protocols. While the initial SPDZ protocol and its successor, SPDZ-2, have shown promising results, there were still challenges related to performance, scalability, and overall security.</p><p>This paper presents a newly developed protocol named SD-SPDZ (Sensor Data SPDZ). The proposed protocol is based on MPC SPDZ-2 protocol and proposes changes to increase the performance in the preprocessing phase by implementing a new algorithm for the Beaver triples calculation. This protocol enhances the privacy-preserving attributes and efficiency of its predecessors. SD-SPDZ integrates advanced cryptographic techniques, offering a more robust and scalable solution for secure computations in WSNs. The primary benefits include reduced communication overhead, faster computation times, and improved resistance against various cyberattacks. The integration of SD-SPDZ in WSNs could improve performance sensitively and change the way sensor data is securely processed in sensor networks. It provides a promising pathway to ensure that as technology advances, the integrity and confidentiality of the data in these networks remain uncompromised.</p><p>In summary, as WSNs play an increasingly critical role in modern-day applications, the need for advanced highperformance security mechanisms such as the SD-SPDZ protocol becomes more evident. This combination of cutting-edge, high-performance, secure computation with wireless sensor networks promise a future where data can be both globally accessible and privately computed, bridging the gap between performance and privacy.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Wireless Sensor Networks (WSN) <ref type="bibr" target="#b0">[1]</ref> are being used in numerous applications ranging from environmental monitoring to defense and healthcare. The distributed nature of WSNs and their deployment in potentially hostile environments make data encryption crucial to ensure data confidentiality, integrity, and authenticity. Historically, traditional encryption algorithms such as Advanced Encryption Standard (DES) <ref type="bibr" target="#b1">[2]</ref> and Data Encryption Standard (DES) <ref type="bibr" target="#b2">[3]</ref> were evaluated for WSNs. However, due to resource constraints in WSN nodes, some additional encryption techniques gained popularity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Constraints and Challenges</head><p>Limited Resources: WSN nodes typically have limited processing capability, memory, and energy. Dynamic Network Topology: Nodes can join or leave, posing challenges for key management. Physical Vulnerability: Sensor nodes may be deployed in hostile environments, susceptible to physical attacks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Current Encryption Techniques</head><p>Lightweight Block Ciphers: They require less computational power and memory <ref type="bibr" target="#b3">[4]</ref>. Stream Ciphers: Focus on processing data bit-by-bit, requiring minimal memory <ref type="bibr" target="#b4">[5]</ref>. Examples are Trivium and Grain. Public Key Cryptography: Though resource-intensive, they can be optimized for specific tasks like initial key exchange <ref type="bibr" target="#b5">[6]</ref>. Multi-Party Computation: Multi-Party Computation (MPC) <ref type="bibr" target="#b6">[7]</ref> is a subfield of cryptography that enables multiple parties to jointly compute a function over their inputs CEUR Workshop Proceedings ceur-ws.org ISSN 1613-0073 without revealing those inputs to each other.</p><p>The main benefits of the MPC based encryption protocols are:</p><p>Privacy: Ensures that individual inputs remain secret from other participants. Correctness: Guarantees that the output is correct even if some participants behave maliciously.</p><p>This essential in some WSN's as: Secure voting systems where voters want to compute the result without revealing individual votes; Military applications; Collaborative data analysis in medical research where institutions want to compute a joint result without sharing patient data directly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1.">Sensor data encryption techniques</head><p>With the rising proliferation of the Internet of Things (IoT) and the widespread deployment of sensor networks across various industries, ensuring the confidentiality, authenticity, and integrity of sensor data has become paramount. This study delves deep into the techniques and strategies employed for sensor data encryption, focusing on the unique challenges and requirements presented by these environments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Objectives</head><p>To understand the peculiarities and constraints of sensor data. To evaluate existing encryption methodologies suitable for sensor data. To propose efficient techniques or improvements tailored for sensor data encryption.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Characteristics of Sensor Data</head><p>Sensor data can be distinguished by:</p><p>• High volume: Many sensors generate data continuously. • Temporal relevance: Some data may be timesensitive. • Varying importance: Not all sensor data is equally critical.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Challenges in Sensor Data Encryption</head><p>• Resource Limitations: Sensors often have constrained processing capabilities, energy, and memory. • Transmission Overheads: Encryption might introduce additional latency or payload. • Diverse Deployment: Sensors can be found in hostile environments, making them susceptible to physical attacks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Related works</head><p>In the area of the existing approaches, protocols, and algorithms used to reduce the encrypted communication overhead in WSNs the following is commonly used nowadays: BGW Protocol: The Beimel, Malkin, and Micali (BGW) protocol <ref type="bibr" target="#b7">[8]</ref> is one of the foundational works in the area of secure multi-party computation. SPDZ can be viewed as a descendant of the BGW protocol, where both focus on achieving security against a malicious adversary.</p><p>TinyOT: An efficient protocol <ref type="bibr" target="#b8">[9]</ref> for two-party computation, TinyOT inspired many techniques used in SPDZ, especially the ones in the preprocessing phase. Over-drive2K: Overdrive refers to optimizations and enhancements of the SPDZ protocol, further improving the efficiency of the offline phase <ref type="bibr" target="#b9">[10]</ref>.</p><p>MASCOT: A follow-up to SPDZ, MASCOT introduces a more efficient method <ref type="bibr" target="#b10">[11]</ref> for the preprocessing phase by using oblivious transfer instead of somewhat homomorphic encryption, reducing computational overhead.</p><p>SPDZ2k: The SPDZ2k protocol <ref type="bibr" target="#b11">[12]</ref> has been adjusted to operate with calculations based on powers of two.</p><p>The significant difficulty with this is that in Z2k, not every component has an inverse, an essential factor for ensuring the security of both MASCOT and SPDZ. To address this, SPDZ2k shifts to Z2k', where k' is a greater value, to offset the presence of zero divisors.</p><p>MP-SPDZ: provides a complete implementation of SPDZ2k <ref type="bibr" target="#b12">[13]</ref> and features its distinct Z2k version, which is optimized for compile-time k.SPDZ-2: An optimized version of the original SPDZ, it enhances the online phase for better efficiency.</p><p>BMR. Beaver and colleagues introduced a method [14] to create garbled circuits from any multi-party computation framework while maintaining security attributes. This method was later enhanced by Lindell and team by employing SPDZ as the foundational protocol. MP-SPDZ integrates BMR with the SPDZ/MASCOT protocol and other security model protocols. Even though this feature wasn't included in SPDZ-2, it was unveiled partially prior to MP-SPDZ's first edition, as it was utilized by Keller and Yanai in their oblivious RAM development.</p><p>Yao's Garbled Circuits. Bellare and co-authors showcased a version of Yao's garbled circuits optimized for DES-NI, which is the standard DES execution on contemporary processors <ref type="bibr" target="#b14">[15]</ref>. After the final release of SPDZ-2, this version was incorporated and recently updated to encompass the half-gate method.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">SPDZ and SPDZ-2 Encryption Protocols Overview</head><p>The SPDZ protocol is a foundational Multi-Party Computation (MPC) scheme known for its robust security guarantees and practical efficiency. SPDZ facilitates secure computation among multiple parties as connected sensor modules, ensuring that individual inputs remain private.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Protocol Basics</head><p>At a high level, the SPDZ protocol encompasses two main phases: Preprocessing Phase: Offline phase where correlated randomness (like Beaver Triples) is generated without knowing the inputs. Online Phase: Actual computation is performed using the preprocessed data.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Secret Sharing in SPDZ</head><p>Given a secret 𝑠, it is split into additive shares 𝑠1, 𝑠2, 𝑠3, 𝑠4 . . . , 𝑠𝑛 such that:</p><formula xml:id="formula_0">𝑠 = ∑︁ 𝑛 𝑖=1 𝑠𝑖.<label>(1)</label></formula><p>In the preprocessing phase, a Beaver's triples (𝑎, 𝑏, 𝑐) are generated where 𝑐 = 𝑎 × 𝑏. During the online phase, given shares of values 𝑥 and 𝑦 that need to be multiplied, the protocol proceeds as:</p><formula xml:id="formula_1">Compute 𝛿𝑥 = 𝑥 − 𝑎<label>(2)</label></formula><p>and</p><formula xml:id="formula_2">𝛿𝑦 = 𝑦 − 𝑏.<label>(3)</label></formula><p>Each sensor module locally computes</p><formula xml:id="formula_3">𝑥 × 𝑦 = 𝑥 + 𝛿𝑥 × 𝑏 + 𝛿𝑦 × 𝑎 + 𝛿𝑥 × 𝛿𝑦<label>(4)</label></formula><p>In the online phase both values 𝑥 and 𝑦 where</p><formula xml:id="formula_4">𝑥 = ∑︁ 𝑛 𝑖=1 𝑥𝑖,<label>(5)</label></formula><formula xml:id="formula_5">𝑦 = ∑︁ 𝑛 𝑖=1 𝑦𝑖<label>(6)</label></formula><p>are computed as:</p><formula xml:id="formula_6">𝑥 + 𝑦 = ∑︁ 𝑛 𝑖=1 (𝑥𝑖 + 𝑦𝑖)<label>(7)</label></formula><p>Each sensor module locally adds its shares. Using Beaver's triple, multiplication can be securely performed as outlined above.</p><p>The SPDZ protocol also integrates zero-knowledge proofs to ensure correctness without revealing individual inputs or intermediate results.</p><p>Mathematically, SPDZ employs techniques from linear secret-sharing schemes to ensure zero-knowledge properties.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Basics of the SPDZ-2 Protocol</head><p>The SPDZ-2 protocol <ref type="bibr" target="#b15">[16]</ref> is an improvement over the original SPDZ protocol for secure multi-party computation (MPC). It builds upon the foundations of the original protocol while addressing certain performance and security issues. The SPDZ-2 protocol also employs two main phases like its predecessor:</p><p>Preprocessing Phase: Where correlated randomness is generated.</p><p>Online Phase: Where the actual computation using the preprocessed data takes place.</p><p>SPDZ-2 introduces a more efficient zero-knowledge proof system to ensure that:</p><p>• The shares of each party are consistent.</p><p>• The Beaver's triples are valid.</p><p>Instead of employing full-fledged zero-knowledge proofs, SPDZ-2 uses MACs (Message Authentication Codes) and correlated randomness to ensure honesty and correctness without much communication overhead.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Improvements over the original SPDZ</head><p>Reduced Communication Overhead: By leveraging MACs and efficient consistency checks, SPDZ-2 reduces the number of rounds of communication, which is especially beneficial in settings with many parties. To ensure consistency of shares and validity of the triples, MACs (Message Authentication Codes) are utilized.</p><p>The preprocessing phase is made more efficient, leading to faster overall computation times. At the same time, when applied to wireless sensor networks, the SPDZ-2 protocol can still exhibit considerable communication overhead. Sensor networks have bandwidth constraints, limited battery life, and operate in high-latency environments, making communication efficiency crucial.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>SPDZ-2 Protocol implementation in Wireless Sensor Networks (WSN)</head><p>Wireless Sensor Networks (WSN) typically consist of spatially distributed autonomous devices that cooperatively monitor physical or environmental conditions.</p><p>Applying the SPDZ-2 protocol in WSN enables secure collaborative data processing without revealing individual sensor readings.</p><p>For a WSN with n sensor nodes, let each node i have a private value 𝑣𝑖. The goal is to compute a function 𝑓 (𝑣1, 𝑣2, . . . , 𝑣𝑛) securely.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Secret sharing in WSN</head><p>A sensor node's private value 𝑣𝑖 is split into additive secret shares distributed among other nodes such that:</p><formula xml:id="formula_7">𝑣𝑖 = ∑︁ 𝑛 𝑖=1 𝑠ℎ𝑎𝑟𝑒𝑖𝑗<label>(8)</label></formula><p>For shared values 𝑥 and 𝑦, use preprocessed triples (𝑎, 𝑏, 𝑐) where 𝑐 = 𝑎 × 𝑏.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Calculate and open</head><formula xml:id="formula_8">𝛿𝑥 = 𝑥 − 𝑎,<label>(9)</label></formula><p>and</p><formula xml:id="formula_9">𝛿𝑦 = 𝑦 − 𝑏,<label>(10)</label></formula><p>to all nodes. Each node locally computes</p><formula xml:id="formula_10">𝑥 × 𝑦 = 𝑐 + 𝛿𝑥 × 𝑏 + 𝛿𝑦 × 𝑎 + 𝛿𝑥 × 𝛿𝑦. (<label>11</label></formula><formula xml:id="formula_11">)</formula></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Zero-Knowledge Proofs</head><p>To ensure consistency of shares and validity of the triples, MACs (Message Authentication Codes) <ref type="bibr" target="#b16">[17]</ref> are utilized. Given a MAC key 𝛼, and a value 𝑣, the MAC is:</p><formula xml:id="formula_12">𝑀 𝐴𝐶𝑣 = 𝛼 × 𝑣. (<label>12</label></formula><formula xml:id="formula_13">)</formula><p>Sensor nodes verify the validity of MACs without revealing their private values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Communication Model in WSN</head><p>Given the energy and bandwidth constraints in WSN, the application of SPDZ-2 requires efficient communication models, possibly hierarchical or cluster-based, to minimize overhead.</p><p>In WSN, sensor nodes can be viewed as parties in the MPC. Each node can hold a piece of the secret (i.e., its measurement) and wants to perform computations without revealing its exact measurement to others.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Sensor Data Aggregation</head><p>For an aggregate function 𝑓 over sensor data 𝑑1, 𝑑2, . . . , 𝑑𝑛:</p><formula xml:id="formula_14">𝑓 (𝑑1, 𝑑2, . . . , 𝑑𝑛) = ∑︁ 𝑛 𝑖=1 𝑓 (𝑑𝑖).<label>(13)</label></formula><p>Using SPDZ-2, the function 𝑓 can be computed in a distributed manner without revealing individual 𝑑𝑖 values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Challenges and Solutions in WSN</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Bandwidth Constraint</head><p>Solution: Use compact secret sharing schemes and optimize communication patterns, possibly adopting hierarchical sensor node structures where cluster heads manage intra-cluster communication.</p><p>Energy Constraint Solution: Minimize interactive rounds in the protocol and consider energy-efficient cryptographic operations. Asynchronous operations can be adapted to allow nodes to enter low-energy states when not actively participating.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Node Failures</head><p>Solution: Employ error-correcting codes for share recovery and design the protocol to be resilient to node dropouts.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Security Considerations</head><p>In WSN, the threat model may differ, with concerns of node capture or eavesdropping. The security of SPDZ-2 in such a model ensures:</p><p>• Privacy: Individual sensor readings are kept confidential. • Integrity: The outcome of the computation is correct even if some nodes are malicious.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Case study</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Sensor Data Communication Overhead in the SPDZ-2 Protocol</head><p>The SPDZ-2 protocol, when applied to sensor networks, still has a significant communication overhead. This is especially problematic for wireless sensor networks, which may have limited bandwidth or be subjected to high-latency communication environments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Communication Overhead in SPDZ</head><p>The communication overhead in the SPDZ protocol primarily arises from:</p><p>• Calculation, sharing and, reconstructing values in the preprocessing phase. • Exchanging values during the online phase for operations like multiplication using Beaver's triples. • Zero-knowledge proofs ensure honesty and correctness.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Strategies to Reduce Communication Overhead</head><p>Before initiating the SPDZ protocol, sensors can locally aggregate or summarize their data. For instance, instead of sending individual readings, sensors can send averages or other statistical summaries over a time window. Group multiple operations together, especially during the preprocessing phase. This can help amortize the cost of generating and distributing values like Beaver's triples over multiple operations.</p><p>Instead of running individual proofs for each operation, consider batched or aggregated proofs that can cover multiple operations at once.</p><p>Implement secret sharing schemes that are tailored for sensor networks. These can focus on minimizing the number of shares or using techniques like errorcorrecting codes to handle lost or delayed shares without retransmission.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Employ data compression algorithms to reduce the size of the transmitted data. This can be especially effective if sensor readings or intermediate values in the SPDZ protocol have redundancy or predictable patterns.</head><p>Instead of all-to-all communication, consider using relay nodes or hierarchical structures where a subset of sensors aggregates data and communicates with other groups, reducing the total communication across the network.</p><p>Instead of continuous computation, synchronize the computation in intervals. This allows for more batched operations and fewer real-time communication requirements. Reducing the communication overhead in the SPDZ protocol when applied to sensor networks requires a combination of algorithmic optimizations, architectural considerations, and leveraging domain-specific knowledge of sensor data. Implementing the above strategies can significantly enhance the efficiency of the SPDZ protocol in sensor environments.</p><p>The current paper focuses on the algorithms related to reducing the communication overhead in the preprocessing phase of the SPZD-2 protocol. One of the possible ways to reduce the communication overhead in the preprocessing phase of the SPDZ protocol in WSNs is to use technique such Fixed-key block ciphers.</p><p>Fixed-key block ciphers <ref type="bibr" target="#b17">[18]</ref>, as the name suggests, involve the use of block ciphers with a fixed, predefined key. The idea behind using a fixed key is to transform the block cipher into a deterministic function with pseudorandom behavior.</p><p>Standard Block Cipher: A standard block cipher can be denoted as:</p><formula xml:id="formula_15">𝐸 : {0, 1} 𝑘 × {0, 1} 𝑛 → {0, 1} 𝑛 (<label>14</label></formula><formula xml:id="formula_16">)</formula><p>where 𝐸 is the encryption function. The first parameter is a key of length 𝑘 bits. The second parameter is a plaintext block of length 𝑛 bits. The output is a ciphertext block of length 𝑛 bits. For a given key 𝐾 and plaintext 𝑃 , the encryption is denoted as</p><formula xml:id="formula_17">𝐶 = 𝐸 (𝐾, 𝑃 )<label>(15)</label></formula><p>Fixed-Key Block Cipher: When we talk about a fixed-key block cipher, the key remains constant. This can be represented as:</p><formula xml:id="formula_18">𝐸𝐾 𝑓 𝑖𝑥𝑒𝑑 : {0, 1} 𝑛 → {0, 1} 𝑛<label>(16)</label></formula><p>where 𝐾 𝑓 𝑖𝑥𝑒𝑑 is a predefined constant key. For any input block 𝑃 , the output is 𝐸 (𝐾 𝑓 𝑖𝑥𝑒𝑑 , 𝑃 ).</p><p>With the key fixed, a block cipher behaves like a pseudorandom permutation (PRP) over the set of 𝑛-bit strings. This means that for every input 𝑃 , there is a unique output 𝐶, and the relationship appears random unless you know the fixed key. The FIXED_KEY should be securely generated, preferably using a cryptographically secure random number generator, and then kept constant for all future operations. Storing cryptographic keys securely is essential. Depending on the application, you might consider using hardware security modules, secure key storage services, or other best practices.</p><p>It is essential to ensure that the input_block has an appropriate size for the block cipher is used. For DES, this would typically be 128 bits (or 16 bytes). For the same input, the output will always be the same since the key remains constant.</p><p>Since block ciphers are permutations for a given key, the process is reversible. If you know the fixed key, you can decrypt any ciphertext produced by the fixed-key block cipher to retrieve the original input.</p><p>In the context of secure multi-party computation (SMPC), fixed-key block ciphers can be used to produce correlated randomness between parties or derive other types of structured randomness efficiently.</p><p>One notable application is in the generation of "oblivious pseudorandom functions" (OPRFs) where one party learns the output of a PRF on a specific input without the other party learning anything about the input or the output.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Integration between Beaver triple and Fixed-Key Block Ciphers</head><p>Beaver triples and fixed-key block ciphers are both techniques used within the realm of secure multi-party computation (SMPC). While they serve different primary functions and can sometimes be complementary, they can also be seen as alternative techniques in specific settings.</p><p>Primarily used for securely computing multiplication in SMPC protocols, Beaver triples <ref type="bibr" target="#b18">[19]</ref> consist of preprocessed random multiplicative triples (a,b,c) where c=a×b. These triples allow parties to perform multiplication on secret-shared values without revealing their actual inputs.</p><p>The generation of Beaver triples can be computationally intensive, especially in protocols that require a large number of such triples. However, once generated, they make the online phase of the computation faster. Used widely in SMPC protocols like SPDZ and its variants. They are fundamental for protocols that rely on secret sharing and require multiplication operations.</p><p>Beaver Triples offer strong security guarantees when generated correctly. Their security relies on the fact that the triples are random and independent of the inputs on which they will be used.</p><p>Fixed-Key Block Ciphers: Used to generate certain types of correlated randomness in SMPC. A fixed-key block cipher is a pseudo-random function where the key remains constant. Given the same input, it will always produce the same output, but changing even one bit of the input will produce a substantially different output.</p><p>Typically, block ciphers are relatively efficient, especially in hardware implementations. Using them to produce correlated randomness can sometimes be more efficient than generating Beaver triples, depending on the protocol and context. Often used in oblivious pseudorandom function (OPRF) <ref type="bibr" target="#b19">[20]</ref> contexts and other settings where correlated randomness or specific patterns of randomness are required.</p><p>The security here typically depends on the underlying block cipher's robustness and resistance against cryptographic attacks. If a cryptographically secure block cipher is used, the fixed-key variant can provide strong security guarantees for its purpose.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Reducing the Sensor Data Communication Overhead in the SD-SPDZ Protocol</head><p>Utilizing fixed-key block ciphers to substitute the Beaver triple generation in the SPDZ preprocessing phase is an advanced topic in secure multi-party computation, and this approach is at the core of the new proposed SD-SPDZ protocol.</p><p>The idea behind this technique is to use block ciphers, like DES, to deterministically generate shared randomness, which can be used to produce Beaver triples.</p><p>The high-level approach for this is: Key Generation: Each party selects a secret key for the block cipher (e.g., DES).</p><p>Beaver triple generation using Fixed-Key Block Ciphers:</p><p>Generation of 𝑎: Each party 𝑃𝑖 generates a random value. Each party computes:</p><formula xml:id="formula_19">𝐴𝑖 = 𝐸𝑛𝑐𝑟𝑦𝑝𝑡 𝑘𝑒𝑦 𝑖 (𝑎𝑖)<label>(17)</label></formula><p>and broadcast it. The shared value 𝑎 is the sum of the 𝑎𝑖 values. Generation of 𝑏: Each party 𝑃𝑖 generates a random value 𝑏𝑖. Each party computes:</p><formula xml:id="formula_20">𝐵𝑖 = 𝐸𝑛𝑐𝑟𝑦𝑝𝑡 𝑘𝑒𝑦 𝑖 (𝑏𝑖)<label>(18)</label></formula><p>and broadcast it. The shared value 𝑏 is the sum of the 𝑏𝑖 values.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Generation of 𝑐:</head><p>The shared value 𝑐 = 𝑎 × 𝑏 is computed. However, instead of interacting to verify the correctness of this multiplication, the sensor modules can use the fact that they have encryption of the values 𝑎𝑖 and 𝑏𝑖. They can derive the product of the encrypted values, given the properties of the fixed-key block cipher and the determinism of their chosen function. This step avoids the need for complex interactive proofs, hence removing the original need for Beaver triples. This approach dramatically simplifies the preprocessing phase compared to the standard SPDZ protocol with Beaver triples and reduces the sensor data communication overhead. However, it assumes that the fixed-key block cipher has certain properties that make this method secure and that the encryption/decryption operations are performed in a secure manner.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Lab environment</head><p>The lab environment consists of a cluster-based sensor network consisting of five sensor modules based on NUCs Gigabyte and control center shown in the picture below:</p><p>The testing software is implemented in each sensor module and at the cluster head (CH). The experimental results are shown in the table below which describes the average time in seconds to compute 10.000 triples in a WSN cluster consisting of five sensor nodes:  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Conclusion</head><p>This paper presents a newly developed protocol named SD-SPDZ (Sensor Data SPDZ). The proposed protocol is based on MPC SPDZ-2 protocol and proposes changes to increase the performance in the preprocessing phase by implementing a new algorithm for the Beaver triples calculation. This protocol enhances the privacy-preserving attributes and efficiency of its predecessors. SD-SPDZ integrates advanced cryptographic techniques, offering a more robust and scalable solution for secure computations in WSNs. The primary benefits include reduced communication overhead, faster computation times, and improved resistance against various cyberattacks.</p><p>The integration of SD-SPDZ in WSNs could improve performance sensitively and change the way sensor data is securely processed in sensor networks. It provides a promising pathway to ensure that as technology advances, the integrity and confidentiality of the data in these networks remain uncompromised.</p><p>In summary, as WSNs play an increasingly critical role in modern-day applications, the need for advanced high-performance security mechanisms such as the SD-SPDZ protocol becomes more evident. This combination of cutting-edge, high-performance, secure computation with wireless sensor networks promises a future where data can be both globally accessible and privately computed, bridging the gap between performance and privacy.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head></head><label></label><figDesc>function generate_triples_using_block_cipher(): # a-values a_i = random_value() A_i = Encrypt_with_fixed_key(key_i, a_i) broadcast(A_i) a = sum_of_broadcasted_A_values # b-values b_i = random_value() B_i = Encrypt_with_fixed_key(key_i, b_i) broadcast(B_i) b = sum_of_broadcasted_B_values # Compute c using encrypted values and # properties of the block cipher c= compute_all_A_values, all_B_values) return (a, b, c)</figDesc></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Cluster-based sensor network consisting of five sensor modules based on NUCs Gigabyte and control center shown in the picture below.</figDesc><graphic coords="7,89.29,179.80,203.38,261.53" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_1"><head>Table 1</head><label>1</label><figDesc>Experimental resultsMPC protocol Preprocessing phase Standard Beaver Triple calculation Fixed-Key Block Ciphers triple calculation</figDesc><table><row><cell>SPDZ</cell><cell>7</cell><cell>-</cell></row><row><cell>SPDZ-2</cell><cell>4</cell><cell>-</cell></row><row><cell>SD-SPDZ</cell><cell>4</cell><cell>0.7</cell></row></table></figure>
		</body>
		<back>
			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Wireless sensor networks (WSNs)</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Pinar</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Zuhair</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Hamad</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Resit</surname></persName>
		</author>
		<author>
			<persName><forename type="first">K</forename><surname>Shiva</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Omar</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">2016 IEEE Long Island Systems, Applications and Technology Conference (LISAT), IEEE</title>
				<imprint>
			<date type="published" when="2016">2016</date>
			<biblScope unit="page" from="1" to="8" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<analytic>
		<title level="a" type="main">Des-co-rsa: A hybrid encryption algorithm based on DES and RSA</title>
		<author>
			<persName><forename type="first">J</forename><surname>Zhao</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE 3rd International Conference on Power, Electronics and Computer Applications (ICPECA)</title>
				<imprint>
			<publisher>IEEE</publisher>
			<date type="published" when="2023">2023. 2023</date>
			<biblScope unit="page" from="846" to="850" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<analytic>
		<title level="a" type="main">A new asic implementation of an advanced encryption standard (AES) cryptohardware accelerator</title>
		<author>
			<persName><forename type="first">N</forename><surname>Ahmad</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">R</forename><surname>Hasan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Microelectronics Journal</title>
		<imprint>
			<biblScope unit="volume">117</biblScope>
			<biblScope unit="page">105255</biblScope>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<analytic>
		<title level="a" type="main">Hdlbc: A lightweight block cipher with high diffusion</title>
		<author>
			<persName><forename type="first">Y</forename><surname>Li</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Feng</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Q</forename><surname>Zhao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Wei</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Integration</title>
		<imprint>
			<biblScope unit="volume">94</biblScope>
			<biblScope unit="page">102090</biblScope>
			<date type="published" when="2024">2024</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<analytic>
		<title level="a" type="main">Lesca: Lightweight stream cipher algorithm for emerging systems</title>
		<author>
			<persName><forename type="first">H</forename><surname>Noura</surname></persName>
		</author>
		<author>
			<persName><forename type="first">O</forename><surname>Salman</surname></persName>
		</author>
		<author>
			<persName><forename type="first">R</forename><surname>Couturier</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Chehab</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Ad Hoc Networks</title>
		<imprint>
			<biblScope unit="volume">138</biblScope>
			<biblScope unit="page">102999</biblScope>
			<date type="published" when="2023">2023</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<analytic>
		<title level="a" type="main">Enhancing public key cryptography using RSA, RSA-CRT and N-prime RSA with multiple keys</title>
		<author>
			<persName><forename type="first">K</forename><surname>Pavani</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Sriramya</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">2021 Third International Conference on Intelligent Communication Technologies and Virtual Mobile Networks (ICICV), IEEE</title>
				<imprint>
			<date type="published" when="2021">2021</date>
			<biblScope unit="page" from="1" to="6" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<analytic>
		<title level="a" type="main">Multi-party computation in iot for privacy-preservation</title>
		<author>
			<persName><forename type="first">H</forename><surname>Goyal</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Saha</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE 42nd International Conference on Distributed Computing Systems (ICDCS), IEEE</title>
				<imprint>
			<date type="published" when="2022">2022. 2022</date>
			<biblScope unit="page" from="1280" to="1281" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b7">
	<analytic>
		<title level="a" type="main">Secure multiplication of shared secrets in the exponent</title>
		<author>
			<persName><forename type="first">R</forename><surname>Gennaro</surname></persName>
		</author>
		<author>
			<persName><forename type="first">M</forename><surname>Di Raimondo</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Information processing letters</title>
		<imprint>
			<biblScope unit="volume">96</biblScope>
			<biblScope unit="page" from="71" to="79" />
			<date type="published" when="2005">2005</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b8">
	<analytic>
		<title level="a" type="main">Low cost constant round MPC combining bmr and oblivious transfer</title>
		<author>
			<persName><forename type="first">C</forename><surname>Hazay</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Scholl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">E</forename><surname>Soria-Vazquez</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Journal of cryptology</title>
		<imprint>
			<biblScope unit="volume">33</biblScope>
			<biblScope unit="page" from="1732" to="1786" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b9">
	<analytic>
		<title level="a" type="main">Overdrive2k: efficient secure MPC over from somewhat homomorphic encryption</title>
		<author>
			<persName><forename type="first">E</forename><surname>Orsini</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><forename type="middle">P</forename><surname>Smart</surname></persName>
		</author>
		<author>
			<persName><forename type="first">F</forename><surname>Vercauteren</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Cryptographers&apos; Track at the RSA Conference</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2020">2020</date>
			<biblScope unit="page" from="254" to="283" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b10">
	<analytic>
		<title level="a" type="main">Multiparty computation from somewhat homomorphic encryption</title>
		<author>
			<persName><forename type="first">I</forename><surname>Damgård</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><surname>Pastro</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Smart</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Zakarias</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Annual Cryptology Conference</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2012">2012</date>
			<biblScope unit="page" from="643" to="662" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b11">
	<monogr>
		<title level="m" type="main">SPDZ2k: efficient MPC mod 2k for dishonest majority</title>
		<author>
			<persName><forename type="first">R</forename><surname>Cramer</surname></persName>
		</author>
		<author>
			<persName><forename type="first">I</forename><surname>Damgård</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><surname>Escudero</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Scholl</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Xing</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2018">2018</date>
			<publisher>CRYPTO</publisher>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b12">
	<analytic>
		<title level="a" type="main">Mp-spdz: A versatile framework for multi-party computation</title>
		<author>
			<persName><forename type="first">M</forename><surname>Keller</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Proceedings of the 2020 ACM SIGSAC conference on computer and communications security</title>
				<meeting>the 2020 ACM SIGSAC conference on computer and communications security</meeting>
		<imprint>
			<date type="published" when="2020">2020</date>
			<biblScope unit="page" from="1575" to="1590" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b13">
	<analytic>
		<title level="a" type="main">Adaptive and optimum secret key establishment for secure vehicular communications</title>
		<author>
			<persName><forename type="first">M</forename><surname>Bottarelli</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><surname>Karadimas</surname></persName>
		</author>
		<author>
			<persName><forename type="first">G</forename><surname>Epiphaniou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">K B</forename><surname>Ismail</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Maple</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">IEEE Transactions on Vehicular Technology</title>
		<imprint>
			<biblScope unit="volume">70</biblScope>
			<biblScope unit="page" from="2310" to="2321" />
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b14">
	<analytic>
		<title level="a" type="main">A privacypreserving kNN classification algorithm using Yao&apos;s garbled circuit on cloud computing</title>
		<author>
			<persName><forename type="first">H.-J</forename><surname>Kim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">H.-I</forename><surname>Kim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J.-W</forename><surname>Chang</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">2017 IEEE 10th international conference on cloud computing (CLOUD), IEEE</title>
				<imprint>
			<date type="published" when="2017">2017</date>
			<biblScope unit="page" from="766" to="769" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b15">
	<analytic>
		<title level="a" type="main">Privacy preserving distributed data mining based on secure multi-party computation</title>
		<author>
			<persName><forename type="first">J</forename><surname>Liu</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Tian</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Zhou</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Xiao</surname></persName>
		</author>
		<author>
			<persName><forename type="first">N</forename><surname>Ansari</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Computer Communications</title>
		<imprint>
			<biblScope unit="volume">153</biblScope>
			<biblScope unit="page" from="208" to="216" />
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b16">
	<analytic>
		<title level="a" type="main">Study of chaos functions for their suitability in generating message authentication codes</title>
		<author>
			<persName><forename type="first">G</forename><surname>Arumugam</surname></persName>
		</author>
		<author>
			<persName><forename type="first">V</forename><forename type="middle">L</forename><surname>Praba</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><surname>Radhakrishnan</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="j">Applied Soft Computing</title>
		<imprint>
			<biblScope unit="volume">7</biblScope>
			<biblScope unit="page" from="1064" to="1071" />
			<date type="published" when="2007">2007</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b17">
	<analytic>
		<title level="a" type="main">Efficient and secure multiparty computation from fixed-key block ciphers</title>
		<author>
			<persName><forename type="first">C</forename><surname>Guo</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Katz</surname></persName>
		</author>
		<author>
			<persName><forename type="first">X</forename><surname>Wang</surname></persName>
		</author>
		<author>
			<persName><forename type="first">Y</forename><surname>Yu</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">IEEE Symposium on Security and Privacy (SP), IEEE</title>
				<imprint>
			<date type="published" when="2020">2020. 2020</date>
			<biblScope unit="page" from="825" to="841" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b18">
	<analytic>
		<title level="a" type="main">A new approach to practical active-secure two-party computation</title>
		<author>
			<persName><forename type="first">J</forename><forename type="middle">B</forename><surname>Nielsen</surname></persName>
		</author>
		<author>
			<persName><forename type="first">P</forename><forename type="middle">S</forename><surname>Nordholt</surname></persName>
		</author>
		<author>
			<persName><forename type="first">C</forename><surname>Orlandi</surname></persName>
		</author>
		<author>
			<persName><forename type="first">S</forename><forename type="middle">S</forename><surname>Burra</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">Annual Cryptology Conference</title>
				<imprint>
			<publisher>Springer</publisher>
			<date type="published" when="2012">2012</date>
			<biblScope unit="page" from="681" to="700" />
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b19">
	<analytic>
		<title level="a" type="main">SoK: Oblivious pseudorandom functions</title>
		<author>
			<persName><forename type="first">S</forename><surname>Casacuberta</surname></persName>
		</author>
		<author>
			<persName><forename type="first">J</forename><surname>Hesse</surname></persName>
		</author>
		<author>
			<persName><forename type="first">A</forename><surname>Lehmann</surname></persName>
		</author>
	</analytic>
	<monogr>
		<title level="m">2022 IEEE 7th European Symposium on Security and Privacy (Eu-roS&amp;P), IEEE</title>
				<imprint>
			<date type="published" when="2022">2022</date>
			<biblScope unit="page" from="625" to="646" />
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
