# Secure PHY Layer Key Generation in the Asymmetric Power Line Communication Channel

^{*}

## Abstract

**:**

## 1. Introduction

## 2. Channel-Based Security Approaches in Symmetric Channels

- Channel sensing: Alice, Bob, and Eve get the observations of length n of the CSI ${X}^{n}=[{X}_{1},\cdots ,{X}_{n}]$, ${Y}^{n}=[{Y}_{1},\cdots ,{Y}_{n}]$, and ${Z}^{n}=[{Z}_{1},\cdots ,{Z}_{n}]$, respectively, where the observations can be performed in the time, frequency, or space domain or a combination of them.
- Key reconciliation via public discussion: In order to agree on a secret key, Alice and Bob can communicate through the PB channel and send to each other a deterministic communication sequence as follows. They generate the random variables ${U}_{A}$ and ${U}_{B}$, respectively, for initialization. Then, they alternatively send to each other the two sequences ${S}_{A}^{k}=[{S}_{{A}_{1}},\cdots ,{S}_{{A}_{k}}]$ and ${S}_{B}^{k}=[{S}_{{B}_{1}},\cdots ,{S}_{{B}_{k}}]$, respectively, where for each step i, we have ${S}_{{A}_{i}}={f}_{{A}_{i}}\left(\right)open="("\; close=")">{U}_{A},{X}^{n},{S}_{{B}_{i-1}}$ and ${S}_{{B}_{i}}={f}_{{B}_{i}}\left(\right)open="("\; close=")">{U}_{B},{Y}^{n},{S}_{{A}_{i-1}}$. At the end of the communication step, Alice and Bob determine the respective keys as ${K}_{A}={f}_{{A}_{k+1}}({U}_{A},{X}^{n},{S}_{B}^{k})$ and ${K}_{B}={f}_{{B}_{k+1}}({U}_{B},{Y}^{n},{S}_{A}^{k})$. Different protocols have been proposed to implement both the reconciliation procedure, implemented either with cascade or error correcting codes, and the privacy amplification. An extended series of references about this can be found in [16].

## 3. Symmetries of the Power Line Channel

- When the current ${I}_{g}$ is applied to any of the two ports, the open circuit voltage measured at the other port is the same. Referring to Figure 3a, this means that the ratios:$${Z}_{21}={V}_{2}/{I}_{1g}\phantom{\rule{1.em}{0ex}}\mathrm{and}\phantom{\rule{1.em}{0ex}}{Z}_{12}={V}_{1}/{I}_{2g},$$
- When the voltage ${V}_{g}$ is applied to any of the two ports, the short circuit current measured at the other port is the same. Referring to Figure 3b, this means that the ratio:$${Y}_{21}={I}_{2}/{V}_{1g}\phantom{\rule{1.em}{0ex}}\mathrm{and}\phantom{\rule{1.em}{0ex}}{Y}_{12}={I}_{1}/{V}_{2g}$$

## 4. Key Generation in Half-Duplex PLC

#### 4.1. Time Domain Symmetry Technique

#### 4.2. Transmission Matrix Technique

- Binary: The quantized data are converted to binary sequences with Gray encoding to minimize the distance between symbols that are close to each other. Each binary symbol is used as a symbol of the key.
- Coded: The key is defined over an ${2}^{nbits}$-ary alphabet, and each symbol is made by the quantized value of the CSI at one frequency bin. One symbol at the end of the key sequence accounts for the actual value of the least significant bit. The actual key is generated by multiplying the values of all the symbols by the last one. This method is used to avoid data with a similar shape, but different amplitudes to produce similar keys.

#### 4.3. Computational Complexity

## 5. Practical Results

#### 5.1. Channel Correlation

#### 5.2. Time Domain Symmetry Technique Results

#### 5.3. Transmission Matrix Technique Results

#### 5.4. Quantization Results

## 6. Conclusions

## Author Contributions

## Funding

## Conflicts of Interest

## Appendix A. Wide-Sense Symmetry of Topology-Invariant Channels

## References

- Zou, Y.; Zhu, J.; Wang, X.; Hanzo, L. A Survey on Wireless Security: Technical Challenges, Recent Advances, and Future Trends. Proc. IEEE
**2016**, 104, 1727–1765. [Google Scholar] [CrossRef][Green Version] - Shiu, Y.S.; Chang, S.Y.; Wu, H.C.; Huang, S.C.H.; Chen, H.H. Physical layer security in wireless networks: A tutorial. IEEE Wirel. Commun.
**2011**, 18, 66–74. [Google Scholar] [CrossRef] - Zhang, J.; Marshall, A.; Woods, R.; Duong, T.Q. Efficient Key Generation by Exploiting Randomness From Channel Responses of Individual OFDM Subcarriers. IEEE Trans. Commun.
**2016**, 64, 2578–2588. [Google Scholar] [CrossRef][Green Version] - Bloch, M.; Barros, J. Physical-Layer Security: From Information Theory to Security Engineering, 1st ed.; Cambridge University Press: New York, NY, USA, 2011. [Google Scholar]
- Mo, Y.; Kim, T.H.J.; Brancik, K.; Dickinson, D.; Lee, H.; Perrig, A.; Sinopoli, B. Cyber-Physical Security of a Smart Grid Infrastructure. Proc. IEEE
**2012**, 100, 195–209. [Google Scholar] [CrossRef] - Pittolo, A.; Tonello, A.M. Physical layer security in PLC networks: Achievable secrecy rate and channel effects. In Proceedings of the 2013 IEEE 17th International Symposium on Power Line Communications and Its Applications, Johannesburg, South Africa, 24–27 March 2013; pp. 273–278. [Google Scholar] [CrossRef]
- Pittolo, A.; Tonello, A.M. Physical layer security in power line communication networks: An emerging scenario, other than wireless. IET Commun.
**2014**, 8, 1239–1247. [Google Scholar] [CrossRef] - Pittolo, A.; Tonello, A.M. Physical Layer Security in Power Line Communication Networks; Springer International Publishing: Berlin, Germany, 2015. [Google Scholar]
- Zhuang, Y.; Lampe, L. Physical layer security in MIMO power line communication networks. In Proceedings of the 18th IEEE International Symposium on Power Line Communications and Its Applications, Glasgow, UK, 30 March–2 April 2014; pp. 272–277. [Google Scholar] [CrossRef]
- Cano, C.; Pittolo, A.; Malone, D.; Lampe, L.; Tonello, A.M.; Dabak, A.G. State of the Art in Power Line Communications: From the Applications to the Medium. IEEE J. Sel. Areas Commun.
**2016**, 34, 1935–1952. [Google Scholar] [CrossRef][Green Version] - Galli, S. Exact conditions for the symmetry of a loop. IEEE Commun. Lett.
**2000**, 4, 307–309. [Google Scholar] [CrossRef] - De Piante, M.; Tonello, A.M. Characteristics of the PLC channel: Reciprocity, symmetry and port decoupling for impedance matching. In Proceedings of the 2016 International Symposium on Power Line Communications and its Applications (ISPLC), Bottrop, Germany, 20–23 March 2016; pp. 93–97. [Google Scholar] [CrossRef]
- Henkel, W.; Graur, O.; Pagel, U. Wireline Physical-Layer Key Generation. In Proceedings of the 11th Workshop on Power Line Communications, Prague, Czech Republic, 21 September 2017. [Google Scholar]
- Henkel, W.; Graur, O.A.; Islam, N.S.; Pagel, U.; Manak, N.; Can, O. Reciprocity for Physical Layer Security with Wireless FDD and in Wireline Communications. In Proceedings of the 2018 IEEE Globecom Workshops (GC Wkshps), Abu Dhabi, UAE, 9–13 December 2018; pp. 1–6. [Google Scholar] [CrossRef]
- Qin, D.; Ding, Z. Exploiting Multi-Antenna Non-Reciprocal Channels for Shared Secret Key Generation. IEEE Trans. Inf. Forensics Secur.
**2016**, 11, 2693–2705. [Google Scholar] [CrossRef] - Zhang, J.; Duong, T.Q.; Marshall, A.; Woods, R. Key Generation From Wireless Channels: A Review. IEEE Access
**2016**, 4, 614–626. [Google Scholar] [CrossRef][Green Version] - Maurer, U.M. Secret key agreement by public discussion from common information. IEEE Trans. Inf. Theory
**1993**, 39, 733–742. [Google Scholar] [CrossRef][Green Version] - De Piante, M.; Tonello, A.M. On Impedance Matching in a Power-Line-Communication System. IEEE Trans. Circuits Syst. II Express Briefs
**2016**, 63, 653–657. [Google Scholar] [CrossRef] - ST Microelectronics. Power-Line Communication, analog Front-End; ST-PLC-AFE datasheet. 2016. Available online: https://www.st.com/resource/en/datasheet/DM00252996.pdf (accessed on 28 March 2020).
- Passerini, F.; Tonello, A.M. Adaptive Hybrid Circuit for Enhanced Echo Cancellation in Full Duplex PLC. In Proceedings of the 2018 IEEE International Symposium on Power Line Communications and its Applications (ISPLC), Manchester, UK, 8–11 April 2018; pp. 1–5. [Google Scholar]
- Pozar, D.M. Microwave Engineering, 4th ed.; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
- Monticelli, D.M.; Wright, M.E. A carrier current transceiver IC for data transmission over the AC power lines. IEEE J. -Solid-State Circuits
**1982**, 17, 1158–1165. [Google Scholar] [CrossRef] - Corripio, F.J.C.; Arrabal, J.A.C.; del Rio, L.D.; Munoz, J.T.E. Analysis of the cyclic short-term variation of indoor power line channels. IEEE J. Sel. Areas Commun.
**2006**, 24, 1327–1338. [Google Scholar] [CrossRef][Green Version] - Passerini, F.; Tonello, A.M. Smart Grid Monitoring Using Power Line Modems: Effect of Anomalies on Signal Propagation. IEEE Access
**2019**, 7, 27302–27312. [Google Scholar] [CrossRef] - Passerini, F.; Tonello, A.M. Analysis of High-Frequency Impedance Measurement Techniques for Power Line Network Sensing. IEEE Sens. J.
**2017**, 17, 7630–7640. [Google Scholar] [CrossRef][Green Version] - Piante, M.D.; Tonello, A.M. Impedance matching and channel capacity in power line communication systems. In Proceedings of the 2017 IEEE International Symposium on Power Line Communications and its Applications (ISPLC), Madrid, Spain, 3–5 April 2017; pp. 1–6. [Google Scholar] [CrossRef]
- Coleri, S.; Ergen, M.; Puri, A.; Bahai, A. Channel estimation techniques based on pilot arrangement in OFDM systems. IEEE Trans. Broadcast.
**2002**, 48, 223–229. [Google Scholar] [CrossRef][Green Version] - Kay, S. Fundamentals of Statistical Signal Processing - Estimation Theory; Prentice-Hall: Upper Saddle River, NJ, USA, 1993. [Google Scholar]
- Tonello, A.M.; Versolatto, F.; Pittolo, A. In-Home Power Line Communication Channel: Statistical Characterization. IEEE Trans. Commun.
**2014**, 62, 2096–2106. [Google Scholar] [CrossRef] - Babic, M.; Hagenau, M.; Dostert, K.; Bausch, J. Theoretical Postulation of PLC Channel Models; the OPERA IST Integrated Project, Technical Report. 2005. Available online: http://www.ist-opera.org/opera1/downloads/ (accessed on 28 March 2020).
- Stoica, P.; Moses, R. Spectral Analysis of Signals; Pearson Prentice Hall: Upper Saddle River, NJ, USA, 2005. [Google Scholar]
- Erseghe, T.; Lorenzon, F.; Tomasin, S.; Costabeber, A.; Tenti, P. Distance measurement over PLC for dynamic grid mapping of smart micro grids. In Proceedings of the 2011 IEEE International Conference on Smart Grid Communications (SmartGridComm), Brussels, Belgium, 17–20 October 2011; pp. 487–492. [Google Scholar] [CrossRef]
- Van Lint, J.H. Introduction to Coding Theory; Springer: Berlin/Heidelberg, Germany, 1982. [Google Scholar]

**Figure 1.**Essential sketch of a power line network, where we highlight the presence of the transmitting user (Alice), the intended receiver (Bob), and the eavesdropper (Eve).

**Figure 3.**Trans-resistance (

**a**) and trans-conductance (

**b**) communication schemes in a power line network (PLN), with the generator either on Port 1 or on Port 2.

**Figure 5.**Example of a power line communication (PLC) channel transfer function in the two directions, in the frequency (

**a**) and time (

**b**) domain.

**Figure 7.**Correlation coefficients $\left(\right)$ (

**left**) and ${\rho}_{abs}^{H}$ (

**right**) of the channel transfer functions for 200 channel realizations.

**Figure 8.**Correlation coefficients $|{\rho}^{Z}|$ (

**left**) and ${\rho}_{abs}^{Z}$ (

**right**) of the input impedances of 24 outlets in the same household.

**Figure 9.**Correlation R of the sequence of peaks computed by Alice, Bob, and Eve (

**a**) and their ratios (

**b**), considering the first M peaks.

**Figure 11.**$E\left[d\right]$ for different values M of selected peaks (

**a**) and N of the key length (

**b**). Solid and dashed lines refer to the Alice-Eveand Alice-Bob links, respectively.

**Figure 12.**$E\left[d\right]$ of the keys computed by Alice, Bob, and Eve (

**a**) and their ratios (

**b**), for different code lengths N and quantization methods. The ADC resolution is fixed to eight bits.

**Figure 13.**$E\left[d\right]$ of the keys computed by Alice, Bob, and Eve for different quantization bits and arranging methods, with $N=340$. Solid and dashed lines refer to the Alice-Eve and Alice-Bob links, respectively.

**Table 1.**$E\left[\rho \right]$ of the channel transfer function in different cases. CTF, channel transfer function.

Alice↔Bob | Alice↔Eve | |
---|---|---|

CTF (Equation (20)) | 0.4452 | 0.1668 |

CTF absolute values | 0.6298 | 0.4798 |

Impulse response | 0.4285 | 0.1147 |

© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).

## Share and Cite

**MDPI and ACS Style**

Passerini, F.; Tonello, A.M.
Secure PHY Layer Key Generation in the Asymmetric Power Line Communication Channel. *Electronics* **2020**, *9*, 605.
https://doi.org/10.3390/electronics9040605

**AMA Style**

Passerini F, Tonello AM.
Secure PHY Layer Key Generation in the Asymmetric Power Line Communication Channel. *Electronics*. 2020; 9(4):605.
https://doi.org/10.3390/electronics9040605

**Chicago/Turabian Style**

Passerini, Federico, and Andrea M. Tonello.
2020. "Secure PHY Layer Key Generation in the Asymmetric Power Line Communication Channel" *Electronics* 9, no. 4: 605.
https://doi.org/10.3390/electronics9040605