# US 2020/0267131 A1 · Secure Communication Encryption And Decryption Mechanism In A Wireless Communication System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0267131 A1
- Document ID: US20200267131A1
- Status: Published application
- Kind: A1
- Application number: 16/794,280
- Filed: 2020-02-19
- Published: 2020-08-20
- Earliest claimed: 2019-02-20
- Assignees: CoreTigo Ltd.
- Applicants: CoreTigo Ltd.
- Inventors: Nir Efraim Joseph Tal; Dan Wolberg; Alex Regev
- Web page: https://patentgrep.com/patent/US20200267131A1

## CPC

- H04W 12/0433: Key management protocols
- H04B 1/713: using frequency hopping
- H04L 9/0618: {Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 9/083: {involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]}
- H04L 9/085: {Secret sharing or secret splitting, e.g. threshold schemes}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- H04L 9/0891: {Revocation or update of secret information, e.g. encryption key update or rekeying}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3242: {involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC}
- H04L 12/189: {in combination with wireless systems (selective distribution or broadcast in wireless communication networks H04W4/06)}
- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04L 69/323: in the physical layer [OSI layer 1]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/037: of the control plane, e.g. signalling traffic
- H04W 12/041: Key generation or derivation
- H04W 12/047: without using a trusted network node as an anchor
- H04W 12/50: Secure pairing of devices
- H04L 2209/80: Wireless
- H04L 2209/805: Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
- H04W 84/20: Leader-follower arrangements
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04B: TRANSMISSION
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A novel and useful mechanism for providing security features to a wireless communications system that otherwise does not have such features. Security features including encryption and decryption of communications, secure key exchange, secure pairing, and secure re-pairing are provided. The invention is applicable to wireless communication systems such as IO-Link Wireless. The encryption/decryption mechanism uses AES-256 block cypher with counter mode to generate blocks of cypher bits used to encrypt and decrypt communications between the master and devices. Session keys are generated using a random salt and a counter value. The random salt is generated using a secure random number generator such as the CSPRNG algorithm. A master key (or device key) is also used in generating session keys. Session keys are not permanent and are used to encrypt/decrypt only a finite amount of data. Once exhausted, the session key is replaced by a new one and cypher bits are generated using the new session key. A synchronized key jump procedure ensures that the master and device switch to the new session key at the same time.

## Claims

### Claim 1

A method of secure communications between a master and a plurality of devices in a wireless communications network, the method comprising:
encrypting, on said master, downlink plaintext for multicast transmission to a plurality of devices over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first counter value and a shared symmetric session key; and
decrypting, on one of said devices, multicast downlink cyphertext received from said master over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second counter value and said shared symmetric session key.

### Claim 2 (depends on 1)

The method according to claim 1, wherein said shared session key for encryption of decryption of downlink data is shared between said master and said plurality of devices and is generated individually by both said master and said plurality of devices.

### Claim 3 (depends on 1)

The method according to claim 1, wherein said first counter and said second counter comprise a block counter that is incremented periodically.

### Claim 4 (depends on 1)

The method according to claim 1, wherein:
a first nonce is XORed with said first counter value to generate a first XOR output; and
a second nonce is XORed with said second counter value to generate a second XOR output.

### Claim 5 (depends on 4)

The method according to claim 4, wherein said first XOR output is input to a first SHA3 algorithm before said symmetric key encryption algorithm, and said second XOR output is input to a second SHA3 algorithm before said symmetric key decryption algorithm.

### Claim 6 (depends on 1)

The method according to claim 1, wherein said symmetric key encryption algorithm comprises an AES-256 encryption algorithm with counter mode, and said symmetric key decryption algorithm comprises an AES-256 decryption algorithm with counter mode.

### Claim 7 (depends on 1)

The method according to claim 1, wherein:
said downlink plaintext is XORed with cypher bits generated by said symmetric key encryption algorithm to generate downlink cyphertext for transmission to said plurality of devices; and
said downlink cyphertext received from said master is XORed with cypher bits generated by said symmetric key decryption algorithm to generate downlink plaintext.

### Claim 8 (depends on 1)

The method according to claim 1, further comprising:
utilizing said symmetric key encryption algorithm to generate first blocks of cypher bits that are used to encrypt downlink plaintext; and
utilizing said symmetric key decryption algorithm to generate second blocks of cypher bits that are used to decrypt downlink cyphertext.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising said master and said plurality of devices periodically generating a new shared symmetric session key to be used with said symmetric key encryption algorithm and said symmetric key decryption algorithm.

### Claim 10

A method of secure communications between a plurality of devices and a master in a wireless communications network, the method comprising:
encrypting uplink plaintext for unicast transmission to said master over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first counter value and a shared symmetric session key; and
decrypting unicast uplink cyphertext received from one of said devices over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second counter value and said shared symmetric session key.

### Claim 11 (depends on 10)

The method according to claim 10, wherein each device has its own shared session key that is shared with said master for encrypting unicast uplink plaintext to said master and for decrypting unicast cyphertext from said device, each shared session key generated individually by each device and said master.

### Claim 12 (depends on 10)

The method according to claim 10, wherein said first counter and said second counter comprise a block counter that is incremented periodically.

### Claim 13 (depends on 10)

The method according to claim 10, wherein:
a first nonce is XORed with said first counter value to generate a first XOR output; and
a second nonce is XORed with said second counter value to generate a second XOR output.

### Claim 14 (depends on 13)

The method according to claim 13, wherein said first XOR output is input to a first SHA3 algorithm before said symmetric key encryption algorithm, and said second XOR output is input to a second SHA3 algorithm before said symmetric key decryption algorithm.

### Claim 15 (depends on 10)

The method according to claim 10, wherein said symmetric key encryption algorithm comprises AES-256 encryption algorithm with counter mode, and said symmetric key decryption algorithm comprises AES-256 decryption algorithm with counter mode.

### Claim 16 (depends on 10)

The method according to claim 10, wherein:
said uplink plaintext is XORed with cypher bits generated by said symmetric key encryption algorithm to generate uplink cyphertext for transmission to said master; and
said uplink cyphertext received from one of said devices is XORed with cypher bits generated by said symmetric key decryption algorithm to generate uplink plaintext.

### Claim 17 (depends on 10)

The method according to claim 10, further comprising:
utilizing said symmetric key encryption algorithm to generate first blocks of cypher bits that are used to encrypt uplink plaintext; and
utilizing said symmetric key decryption algorithm to generate second blocks of cypher bits that are used to decrypt uplink cyphertext.

### Claim 18 (depends on 10)

The method according to claim 10, further comprising each individual device and said master periodically generating a new shared symmetric session key to be used with said symmetric key encryption algorithm and said symmetric key decryption algorithm.

### Claim 19

A method of secure communications between a master and a plurality of devices in a wireless communications network, the method comprising:
encrypting downlink plaintext for multicast transmission to a plurality of devices over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first counter value and a first symmetric session key; and
decrypting unicast uplink cyphertext received from each device over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second counter value and a second symmetric session key.

### Claim 20

A method of secure communications between a plurality of devices and a master in a wireless communications network, the method comprising:
encrypting uplink plaintext for unicast transmission to said master over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first nonce, a first counter value, and a first symmetric session key; and
decrypting multicast downlink cyphertext received from said master over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second nonce, a second counter value, and a second symmetric session key.

### Claim 21

An apparatus for secure communications between a master and a plurality of devices in a wireless communications network, comprising:
a frequency hopping radio transmitter;
a frequency hopping radio receiver;
a processor coupled to and operative to control said frequency hopping radio transmitter and said frequency hopping radio receiver;
said processor programmed to:
encrypt downlink plaintext for multicast transmission to a plurality of devices over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first nonce, a first counter value, and a first symmetric session key; and
decrypt unicast uplink cyphertext received from each device over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second nonce, a second counter value, and a second symmetric session key.

### Claim 22 (depends on 21)

The apparatus according to claim 21, wherein said radio transmitter and said radio receiver are configured to conform to the IO-Link Wireless standard.

### Claim 23

An apparatus for secure communications between a plurality of devices and a master in a wireless communications network, comprising:
a frequency hopping radio transmitter;
a frequency hopping radio receiver;
a processor coupled to and operative to control said frequency hopping radio transmitter and said frequency hopping radio receiver;
said processor programmed to:
encrypt uplink plaintext for unicast transmission to said master over a wireless communications link utilizing a symmetric key encryption algorithm in accordance with a first nonce, a first counter value, and a first symmetric session key; and
decrypt multicast downlink cyphertext received from said master over said wireless communications link utilizing a symmetric key decryption algorithm in accordance with a second nonce, a second counter value, and a second symmetric session key.

### Claim 24 (depends on 23)

The apparatus according to claim 23, wherein said radio transmitter and said radio receiver are configured to conform to the IO-Link Wireless standard.
