Patent ID: 11956358
Assignee: nan
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for synchronizing a receiver initialization vector of a receiver with a transmitter initialization vector of a transmitter during continuous transmission of encrypted data packets from the transmitter to the receiver, comprising:
generating a key;
generating an initialization vector with a counter with N bits;
providing the key to the transmitter and the receiver;
initializing the transmitter initialization vector and the receiver initialization vector with the initialization vector;
forming a transmitter partial counter with the lowest value M bits less than N bits from the counter of the transmitter initialization vector;
encrypting a message according to an encryption method using the key and the transmitter initialization vector to ensure confidentiality;
generating and transmitting a data packet containing the encrypted message and the transmitter partial counter;
thereafter incrementing the counter of the transmitter initialization vector;
after the step of generating and transmitting the data packet, receiving the data packet at the receiver;
after the step of receiving the data packet, extracting the transmitter partial counter from the data packet;
forming a receiver partial counter with the lowest value M bits less than N bits from the counter of the receiver initialization vector;
after the steps of extracting the transmitter partial counter and forming the receiver partial counter, performing a comparison between the receiver partial counter and the transmitter partial counter;
when the comparison results in a higher transmitter partial counter than receiver partial counter, replacing the lowest value M bits of the counter of the receiver initialization vector by the transmitter partial counter;
when the comparison results in a lower transmitter partial counter than receiver partial counter, replacing the lowest value M bits of the counter of the receiver initialization vector by the transmitter partial counter, and increasing the value of the counter of the receiver initialization vector by 2M; and
thereafter decrypting the message according to the encryption method using the key and the receiver initialization vector, and then incrementing the counter of the receiver initialization vector,
wherein M is an integer that is greater than 0, and wherein N is an integer that is greater than 1.