Authentication method and system, quantum communication network, and node for quantum communication

The integration of a polynomial evaluated hash function and one-time pad cipher in quantum communication networks ensures secure, real-time authentication of messages, addressing vulnerabilities to quantum attacks and maintaining protocol performance.

JP2024153718APending Publication Date: 2024-10-29KK TOSHIBA
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024116976
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-02-25
Filing Date
2024-07-22
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Quantum communication networks are vulnerable to attacks from adversaries with advanced computing systems, including quantum computers, which can compromise the secrecy of cryptographic keys, necessitating improved authentication methods to ensure the integrity and authenticity of messages exchanged between nodes.

Method used

An authentication method for quantum communication using a combination of a polynomial evaluated hash function, such as Poly1305, and a one-time pad cipher, applied to messages exchanged over quantum and classical channels, ensuring Information-Theoretic Security (ITS) without requiring excessively long keys or high computational load.

Benefits of technology

The method provides secure, real-time authentication of messages, maintaining the performance of quantum communication protocols by allowing frequent authentication events without buffering, thus enhancing the security of quantum communications against potential man-in-the-middle attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153718000001_ABST
    Figure 2024153718000001_ABST
Patent Text Reader

Abstract

To provide an authentication method, system, and node for quantum communication between two nodes.SOLUTION: The present method includes: applying a hash function to a message to obtain a hash code using a Poly 1305, which is a polynomial evaluation function, for the hash function; applying a one-time pad (OTP) cipher to the hash code to obtain a message authentication code (MAC); and authenticating the message exchanged between two nodes using the MAC.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] SUMMARY OF THE DISCLOSURE Embodiments herein relate generally to authentication methods and systems for quantum communication, quantum communication networks, and nodes for quantum communication. [Background technology]

[0002] The exchange of cryptographic keys between two parties underpins the security of modern communications infrastructure. To ensure the security of the communications infrastructure, the secrecy of the cryptographic keys must be maintained. The secrecy of the cryptographic keys is threatened by attacks by adversaries with access to advanced computing systems, including quantum computers that can efficiently solve certain mathematical problems.

[0003] Quantum communication networks can be used to share a secret cryptographic key between two nodes, a source node and a destination node, often called "Alice" and "Bob", a technique known as quantum key distribution (QKD). In a quantum communication network, information is sent between a transmitter and a receiver by a single encoded quantum, such as a single photon. Each photon carries one bit of information encoded on a property of the photon, such as its polarization, phase or energy / time. A photon may carry even more than one bit of information by using properties such as angular momentum, for example.

[0004] The appeal of QKD is that it provides a test of whether any part of the key can be known to an unauthorized eavesdropper, "Eve." In many forms of QKD, Alice and Bob use two or more non-orthogonal bases that will encode bit values. The laws of quantum mechanics dictate that Eve's measurement of photons without prior knowledge of the respective encoding bases will result in unavoidable changes to the state of some of the photons. These changes to the photon's state will introduce errors into the bit values ​​sent between Alice and Bob. By comparing parts of their common bit strings, Alice and Bob can thereby determine whether Eve has gained information.

[0005] QKD comprises a discussion between two nodes, Alice and Bob, over a classical channel. [Brief description of the drawings]

[0006] Systems and methods according to non-limiting examples will now be described with reference to the accompanying figures. [Figure 1] Schematic diagram of a quantum communications network. [Diagram 2] Schematic of an authentication system for quantum communication. [Diagram 3] Schematic diagram of an authentication method for quantum communication. [Figure 4] Schematic diagram of a Message Authentication Code (MAC) tag generation procedure. [Diagram 5] Schematic diagram of the MAC tag verification procedure. [Figure 6] Schematic of an authentication system for quantum communication. [Figure 7] A schematic diagram of the types of messages communicated between two nodes for the operation of a QKD system. [Figure 8] Schematic diagram of an authentication method for quantum communication using replicated transmissions. [Figure 9A] Schematic diagram of a frame structure for data and / or authentication frames. [Figure 9B]Schematic diagram of a frame structure for a data and / or authentication frame with custom indicia. [Figure 10] Schematic of the components of a node for quantum communication. [Figure 11] FIG. 1 is a schematic diagram of a quantum communication system suitable for quantum communication between two nodes. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] According to a first aspect, there is provided a method of authentication for quantum communication between two nodes, the method comprising: applying a hash function to the message to obtain a hash code, where the hash function is Poly1305; applying a one-time pad cipher to the hash code to obtain a message authentication code (MAC); Using MAC to authenticate messages exchanged between two nodes Equipped with.

[0008] Poly1305 is a polynomial evaluation function.

[0009] The Poly1305 functions include:

[0010]

number

[0011] Here, c 1 ,c 2 ,...c q is an integer derived from a block of messages, and r represents the key.

[0012] Quantum communication comprises an exchange of information over a quantum channel followed by a discussion between two nodes over an authenticated (but public) classical channel. The purpose of authentication is to verify that messages received over the classical channel are in fact from the two nodes and not from an attacker. Thus, authenticating the classical channel ensures that the discussion is secure, thereby improving the security of quantum communication.

[0013] Additionally, the method ensures the integrity of messages exchanged between two nodes by ensuring not only that the message came from the intended person, but also that it has not been tampered with along the way.

[0014] The disclosed method enables authentication of classical channels for quantum communication. The disclosed method provides improved security compared to conventional methods. In particular, the authentication method is information-theoretically secure (ITS), meaning that security is derived from information theory. Furthermore, the disclosed authentication method is practical in that it does not require excessively long keys, it does not have a high computational burden, and it maintains the performance of quantum communication protocols.

[0015] It is possible to convert a plaintext message into a hash code by applying a polynomial-evaluation hash function (such as the Poly1305 function). The hash function takes as input a plaintext message of variable length and outputs a hash code having a fixed length. By having a fixed-length hash code, the subsequent step of applying the cipher may be simplified (e.g., the key length may be reduced). Furthermore, the polynomial-evaluation hash function may be evaluated efficiently (as it may use only addition, multiplication or modulus operations). This is also called the Horner method. Furthermore, the polynomial-evaluation hash function may be evaluated on the fly (i.e., without the need to wait for the reception of the entire plaintext message).

[0016] Applying a cipher to the hash code to obtain a MAC code further improves security by preventing what is known as a chosen-plaintext attack, which would allow an attacker to obtain information about the mapping from the message to the MAC code. In particular, since the One-Time Pad (OTP) cipher is an ITS, applying an OTP cipher to the hash code makes the authentication method an ITS.

[0017] In the disclosed method, the combination of a polynomial-evaluated hash function (such as the Poly1305 function) with an OTP cipher allows for ITS authentication while being practical to implement, making full ITS quantum communication possible. In classical cryptography, OTP is problematic to implement since it requires a shared symmetric key between two nodes. In classical cryptography, a finite amount of shared symmetric keys are available, thus making OTP impractical. The inventors of the present application have developed an authentication method for quantum communication in which the limitations of classical cryptography are overcome by combining an OTP cipher with the Poly1305 hash function. The inventors have exploited the fact that in quantum communication protocols, new shared symmetric keys are continually being generated between two nodes. There are no classical cryptographic primitives for ITS that can achieve this.

[0018] In one embodiment, two nodes are connected via a quantum communication channel, where information is encoded onto weak optical pulses, and where two nodes are connected via a classical communication channel, where messages are exchanged via the classical communication channel.

[0019] In one embodiment, the hash function is applied using a first key and the one-time pad cipher is applied using a second key, each of the first key and the second key being a secret key shared between two nodes.

[0020] In one embodiment, the hash function is applicable to messages of any length, and the hash function is configured to generate a fixed-length hash code. The advantage of a fixed-length hash code is that a fixed-length second key can be used to apply the OTP encryption. Thus, the authentication method becomes practical. A fixed-length hash code is also beneficial because it simplifies processing, since the hash length is the same for messages of any length.

[0021] In one example, the hash code is 128 bits long. Therefore, the second key may be 128 bits long. A 128-bit key is considered a practical short key length. Therefore, the authentication method becomes practical.

[0022] In one embodiment, applying the hash function comprises processing each block of a message, where the message comprises multiple blocks, accumulating a result of the processing for each block in an accumulator, and deriving a hash code from the accumulator. The advantage is that blocks can be processed as they arrive, rather than caching the blocks until the entire message is received.

[0023] For example, each block may be processed (accumulators may be updated) as they arrive, thus eliminating the need for delays or waiting for an entire message.

[0024] In one example, authenticating a message includes: transmitting a message and a MAC; determining a further MAC from the received message, wherein determining the further MAC includes: obtaining a further hash code by applying a hash function to the received message using the first key; applying a one-time pad cipher to the further hash code using a second key to obtain a further MAC; Equipped with comparing the received MAC with a further MAC; and thus the message is authenticated when the further MAC corresponds to the received MAC.

[0025] In one embodiment, authenticating the message comprises: transmitting an authentication frame interleaved with the data frame; wherein the authentication frame comprises a MAC, wherein the data frame comprises a message, Equipped with.

[0026] In one embodiment, authenticating the message comprises: transmitting a subsequent authentication frame interleaved with the subsequent data frame, the subsequent authentication frame comprising a subsequent MAC, where the subsequent MAC is used to authenticate the subsequent data frame and the authentication frame; This allows the entire data stream, including the MAC itself, to be authenticated.

[0027] In one embodiment, authenticating the message comprises: transmitting a replica of the authentication and data frame, wherein in response to failing to authenticate the authentication and data frame, the replica of the authentication and data frame is authenticated; Losses in the communication channel may cause errors in the signal measured at the receiver. When the errors cause a mismatch in the received message and / or MAC, the authentication and data frames may fail authentication. Rather than using acknowledgments or retransmissions of data, which may result in latency and delays and reduced quantum communication performance, the disclosed method transmits replicas to provide redundancy and reduce the probability of authentication failure due to losses in the communication channel.

[0028] In one embodiment, the replicas of the authentication and data frames each include a label that indicates that the frame is a replica.

[0029] In one example, the one-time pad cipher comprises an exclusive-OR function.

[0030] In one example, the second key is unique, random, and at least as long as the hash code.

[0031] In one embodiment, the first key is unique. When the first key is reused, security can be weakened. Therefore, by not reusing the first key (i.e., the first key is unique), security is improved.

[0032] In one embodiment, the first key and / or the second key are exchanged using quantum key distribution (QKD). Using the QKD protocol to generate the second key ensures that the second key is secret and ensures that the authentication method is ITS. Furthermore, by using the disclosed hash function, the disclosed method does not require an excessively long key, and the second key uses a small portion of the key generated by the QKD protocol. Therefore, the authentication method is practical.

[0033] According to a second aspect, there is provided a method for quantum communication between two nodes, comprising: exchanging a QKD key over a quantum communication channel, where information exchanged over the quantum communication channel is encoded onto weak optical pulses; Exchanging messages over classical communication channels; Authenticating exchanged messages and wherein authenticating the exchanged messages comprises: applying a hash function to the message to obtain a hash code, wherein the hash function is a polynomial evaluation function, Applying a hash function processing each block of a message, where the message comprises a plurality of blocks, accumulating each processed block in an accumulator, and deriving a hash code from the accumulator; Equipped with applying a one-time pad cipher to the hash code to obtain a message authentication code (MAC); Using MAC to authenticate messages exchanged between two nodes A method is provided comprising:

[0034] An advantage of the above method is that on-the-fly authentication is available. During quantum communication, the classical channel can be authenticated at regular intervals. In the case of more frequent authentication events, practical security is improved (because potential man-in-the-middle (MITM) attacks can be detected more quickly). However, having frequent authentication events can slow down quantum communication, especially if each authentication event requires waiting for large messages to be cached and uses more key material. By processing each block of the message, on-the-fly (real-time) authentication is available. Thus, the disclosed method also provides improved security (by allowing frequent authentication events) without affecting the performance of quantum communication (e.g., since there is no need to wait for large messages to be cached).

[0035] Note that even in the case of irregular authentication (i.e., with relatively long time intervals between authentication events), communications can be secure, provided that some mechanism is in place to not use keys generated from several batches of classical communication until the batches have been authenticated. Periodic authentication offers the advantage of having shorter intervals between knowing when the next batch of keys can be used.

[0036] The method allows for authenticating messages of variable length since the size of the message is not fixed by a hardware buffer. Furthermore, the time interval at which authentication is performed can be changed. Furthermore, the method is flexible. It allows for any time period for authentication (e.g., every few seconds, minutes, or even hours). For example, by performing authentication less frequently, less keying material is required.

[0037] For example, the polynomial evaluation function is Poly1305.

[0038] One-time pad encryption may be based on a QKD key exchanged over a quantum communication channel.

[0039] In one embodiment, the method comprises: Deriving a result from the exchanged messages; and authenticating a message using a method according to a second aspect; In response to the message being authenticated, indicating that the results are available; Equipped with.

[0040] Messages may be processed as they arrive. Authentication is then performed. This allows for real-time processing. For example, results may be derived from exchanged messages without waiting for the messages to be authenticated. The derived results may correspond, for example, to keys for QKD. Thus, QKD keys may be derived as messages arrive. Keys (results) that are indicated as authenticated may be used, while keys (results) that are not indicated as authenticated may not be used. The advantage is that the performance penalty associated with having to store a large number of exchanged messages and then processing the messages in one batch is avoided. Security is maintained because any keys that are not indicated as authenticated may be discarded when the MAC tag arrives and authentication is performed. The method is flexible because it is not limited by the size of the available storage buffer.

[0041] In one embodiment, indicating that the result is authenticated includes: Marking the result as not authenticated and then removing the marking after authentication; or After certification, marking the results as certified Equipped with.

[0042] In one embodiment, the message comprises at least one of quantum key distribution (QKD) protocol information, quantum key distribution hardware control signals, and application messages.

[0043] For example, the QKD protocol information comprises messages related to QKD post-processing stages including sifting, error correction and privacy amplification. By using the authentication methods described herein to exchange QKD protocol information, the security of the QKD system is improved.

[0044] In one embodiment, the hash function is applied using a first key; The one-time pad cipher is applied using a second key, Each of the first key and the second key is a secret key shared between two nodes.

[0045] In one example, authenticating the exchanged messages may include: transmitting the message and the derived MAC; determining a further MAC from the received message, wherein determining the further MAC includes: obtaining a further hash code by applying a hash function to the received message using the first key; applying a one-time pad cipher to the further hash code using a second key to obtain a further MAC; Equipped with comparing the received MAC with a further MAC; and thus the message is authenticated when the further MAC corresponds to the received MAC.

[0046] According to a further aspect, there is provided a quantum communication network for communication between two nodes, comprising: A quantum communication channel connecting two nodes, where information in the channel is encoded onto weak optical pulses. A classical communication channel connecting two nodes, where The classical communication channel is authenticated using the authentication method disclosed herein. A quantum communication network is provided, comprising:

[0047] According to a further aspect, there is provided a node for quantum communication, comprising: A quantum key distribution system; Authentication engine and A node comprising: wherein the authentication engine is configured to perform any of the methods herein; A node is provided.

[0048] According to a further aspect, there is provided a node for quantum communication, comprising: A quantum key distribution system; Authentication engine and A node comprising: Here, the authentication engine: receiving a message and a MAC; determining a further MAC from the received message, wherein determining the further MAC includes: obtaining a further hash code by applying a hash function to the received message using the first key, wherein the hash function is Poly1305; applying a one-time pad cipher to the further hash code using a second key to obtain a further MAC; Equipped with comparing the received MAC with a further MAC; so that the message is authenticated when the further MAC corresponds to the received MAC; A node is provided.

[0049] In one example, the authentication engine can run on application specific integrated circuit (ASIC) hardware or field programmable gate array (FPGA) hardware.

[0050] In one example, the authentication engine comprises a computer program executed by a processor.

[0051] In one example, the authentication engine is implemented as a computer program executed by a processor and implemented on Application Specific Integrated Circuit (ASIC) hardware or Field Programmable Gate Array (FPGA) hardware.

[0052] The method is a computer-implemented method. Since some methods according to the embodiments may be implemented by software, some embodiments encompass computer code provided to a general-purpose computer on any suitable carrier medium. The carrier medium may comprise any storage medium, such as a floppy disk, a CD ROM, a magnetic device or a programmable memory device, or any transitory medium, such as any signal, for example, an electrical signal, an optical signal or a microwave signal. The carrier medium may comprise a non-transitory computer-readable storage medium. In one example, there is a carrier medium comprising computer-readable code configured to cause a computer to perform any of the methods described above.

[0053] Figure 1 shows a schematic diagram of a quantum communication network 1. The network 1 comprises two nodes, Alice 100 and Bob 200, connected via a communication channel 500. The communication channel 500 may be optical fiber based, free space based, or based on a combination of optical fiber or free space.

[0054] An optical fiber based communication channel involves the transmission of information (eg, via pulses of light) through optical fiber.

[0055] A free-space based communication channel comprises, for example, the transmission of information in air, space, or a vacuum. The information may be in the form of light (e.g., light pulses).

[0056] A combination optical fiber or free space based channel may comprise transmission through optical fiber for part of the channel and transmission through free space for another part of the channel.

[0057] Alice 100 and Bob 200 each comprise a QKD system comprising a software layer, a firmware layer, and a hardware layer. The functionality of the different layers is further described in more detail below with respect to Figure 10. In brief, the software layer may implement a quantum communication protocol (e.g., BB84), the firmware layer is software that enables control of the hardware layer according to the software layer, and the hardware layer comprises a processor or other hardware for executing the software and electronic and optical elements for quantum and classical communication.

[0058] For example, the hardware components may be configured to encode information using light suitable for transmission over the communication channel 500 .

[0059] 1, the hardware of Alice 100 includes a quantum communication unit, while the hardware of Bob 200 includes another quantum communication unit. The quantum communication units of Alice 100 and Bob 200 enable the transfer of quantum information from Alice to Bob.

[0060] For example, the quantum communication unit of Alice 100 may be configured to transmit while the quantum communication unit of Bob 200 may be configured to receive. Note that, alternatively, the quantum communication unit of Alice 100 may be configured to receive while the quantum communication unit of Bob 200 may be configured to transmit. Also alternatively, the quantum communication units of Alice and Bob are each configured to transmit and receive.

[0061] Although FIG. 1 shows the hardware layer located at Alice's or Bob's node, it will be understood that alternatively, at least some components of the hardware layer may be located at a location separate from Alice's or Bob's. For example, some of the optical elements may not be located at the node. For example, the light source may not be located at the node. The light source may be coupled to the node.

[0062] Alice 100 and Bob 200 also include a classical communication interface that allows each of Alice 100 and Bob 200 to send and receive classical information.

[0063] 1, network 1 includes Alice 100 and Bob 200 connected via communication channel 500. Communication channel 500 is used to exchange both quantum and classical signals. For example, wavelength division multiplexing is used to combine the quantum and classical signals for transmission over communication channel 500.

[0064] Alternatively, the classical and quantum signals are sent over separate communication channels, for example, the classical signals may be sent over a channel such as the Internet.

[0065] How the quantum communication channel is realized is described further below with respect to FIG.

[0066] The quantum communication network 1 of FIG. 1 is used to share a secret key between two nodes (Alice and Bob). This technique is also called quantum key distribution (QKD). QKD is a technique for generating a completely random quantum key at two remote nodes. The key is secret and shared between the two remote nodes. This allows users of these nodes (referred to herein as Alice and Bob) to utilize a symmetric key for data encryption to ensure secure communication. By symmetric key, we mean that the same key is used for encryption and decryption. By random, we mean that it can be reasonably unpredictable better than chance. A random key can have the same probability of being predicted as another random key. The keys used for encryption and decryption can be the same or related by a transformation. Once exchanged via QKD, the shared secret key can be used to encrypt data using an encryption algorithm. The encrypted data can be transmitted using conventional communication means. For example, the key may be used to encrypt a message using a One-Time Pad (OTP) cipher, which may result in information-theoretically secure (ITS) communication, where the security of the system is derived from information theory without unproven assumptions about the limited computational power of an eavesdropper.

[0067] QKD works as follows: A quantum state is encoded at a first node (Alice 100 as shown in FIG. 1), transmitted as a quantum signal over a communication channel 500, and measured at a second node (Bob 200 as shown in FIG. 1). This is followed by a discussion between the two nodes over an authenticated (but public) classical channel. This discussion allows Alice and Bob to detect the presence of an eavesdropper. For example, during the discussion, Alice and Bob share a random basis that they chose bit-wise as part of the "sifting" step. A more detailed description of the QKD protocol is described below. An example of a QKD protocol known as the BB84 protocol is described below with respect to FIG. 11.

[0068] Along with the classical communication messages associated with the QKD protocol itself, additional classical communication signals may be sent between nodes for hardware control and to ensure synchronization between the optical and electronic equipment.

[0069] Having an authenticated classical communication channel ensures that the generation of keys between nodes remains secure. Authenticating the classical communication channel means that users can verify that the classical messages they receive were sent by another party and have not been tampered with in transit, ensuring the integrity and authenticity of these messages. This avoids man-in-the-middle (MITM) attacks, where an attacker could spoof the identity of one user and trick others into sharing information with them (which would be a threat both to the QKD protocol as well as opening up side channels that would allow an attacker to send messages that affect the operation of the hardware).

[0070] Authentication can form part of the overall QKD system security. In a QKD-based cryptosystem, QKD cryptographic primitives can be built on top of other cryptographic primitives, such as authentication schemes, and the strength and configurability of these schemes define the security of the overall system. As QKD can enable ITS secure communications, an ITS authentication scheme is needed for the entire system to be ITS, i.e., for it to provide maximum security for users utilizing the generated symmetric quantum keys (e.g., for data encryption).

[0071] Classical communication channels can be authenticated using classical (such as RSA) public key cryptography. However, this can be vulnerable to quantum computers or more advanced cryptanalysis. Algorithms such as "quantum-resistant algorithms" (also known as post-quantum cryptography) may also be used to authenticate classical channels. There are more advanced cryptographic tools for which efficient quantum computing techniques to break them are not yet known to exist. However, quantum-resistant algorithms (QRAs) have not yet been established or battle-tested. For example, of the 69 accepted for consideration for certification by NIST in 2017, 30 have been found to have weaknesses or vulnerabilities. Furthermore, QRAs are based on the limitations of known quantum computing algorithms. There is no guarantee that more advanced cryptanalysis would not be able to break them. They are therefore not an ITS solution.

[0072] Therefore, neither public key cryptography nor QRA offers ITS security.

[0073] Described herein are authentication methods and systems that provide ITS security. The disclosed methods and systems are also practical. For example, they do not require excessively long key lengths or high computational loads. Thus, they do not affect QKD key generation performance.

[0074] 2 is a schematic diagram of an authentication system 10 for quantum communication between two users, Alice 100 and Bob 200, connected via a communication channel 500. The authentication system 10 relies on a technique called a Message Authentication Code (MAC). A MAC is a piece of information used to authenticate a message.

[0075] Authenticating a message means verifying that the message originated from the claimed sender. MACs also protect the integrity of the message by making any modifications to the message's contents possible.

[0076] The authentication system 10 comprises an authentication engine 11 in Alice 100 and an authentication engine 12 in Bob 200. It should be noted that, although not shown, Alice 100 and Bob 200 may also comprise a QKD system.

[0077] In FIG. 2, for the purposes of the authentication system 10, the communication channel 500 is considered a classical communication channel.

[0078] Next, an example of a MAC scheme for classical encryption is described.

[0079] A MAC scheme is a technique in which a short piece of information (known as a MAC or "tag" (t)) is computed for each message M based on its contents and a secret key k.

[0080]

number

[0081] where f is a MAC tag computation function (chosen to meet some stringent cryptographic requirements) and k is a secret symmetric key that is pre-shared between the two communicating users and is not known to anyone else.

[0082] Alice 100 computes and sends a tag t with each message during communication (note that this is sent publicly with message M). When Bob 200 receives this, he also computes a tag t' based on the message M' he received and the secret key k that Alice and Bob pre-shared.

[0083]

number

[0084] If the tags match (t=t'), Bob can be confident that (with a properly designed MAC scheme) only Alice could have calculated t based on the message M and the secret key k, so he accepts the message and verifies that M has not been tampered with or spoofed in transit (i.e., ensures that M=M'). If the tags do not match, the message is assumed to be false and can be discarded.

[0085] MAC schemes may have various levels of security and different assumptions made about the power of eavesdroppers. For ITS security, if no restrictions on computational power are placed on an eavesdropper, a MAC scheme that generates tags of length |t| bits must produce the result that the chances of an attacker successfully generating a valid tag for message M (in the absence of knowledge of the private key) are negligible at |t|.

[0086] A MAC scheme can exhibit ITS security when it is based on a family of universal / near-universal hash functions combined with a cipher to encrypt the hash output. Such a MAC scheme is also called a Wegman-Carter MAC. Such a scheme comprises two parts:

[0087] First, a hash function is applied to the message M. The output of the hash function is called a hash code, hash value, (message) digest or hash. The hash function is configured to compress each message of length |M| bits into a tag of length |t| bits, e.g., |t|<<|M| to avoid wasting communication bandwidth. The security of a hash function can be quantified by a security parameter ε, which represents the probability of collision. Mathematically, for any hash function h in a family of hash functions, the collision probability is defined as the chance that two different messages, M and M', produce the same hash, i.e.,

[0088]

number

[0089] Here, "Pr[.]" represents probability.

[0090] ε=2 -|M| If all hash functions in a family satisfy this criterion, with , then the family is known to be completely universal.

[0091] Even if this standard were to be relaxed to something less restrictive,

[0092]

number

[0093] It is still possible to use a family of hash functions to construct a composable ITS-secure MAC, where the hash functions are said to belong to a family of functions that are nearly universal in ε order.

[0094] The second part of a secure MAC is a cipher that encrypts the hash output. This is needed because the same hash function may be used for tag generation many times, and therefore the output must be encrypted to prevent chosen plaintext attacks (i.e., this would allow an attacker to obtain information about the message-to-tag mapping).

[0095] Returning to FIG. 2, an authentication system 10 for quantum communication between two users, Alice 100 and Bob 200, will now be described.

[0096] At Alice's 100 node, the plaintext message M to be sent is obtained (S11). The plaintext message M is then provided to an authentication engine 11.

[0097] A hash function is then applied to the message in step S13 to obtain a hash code. A cipher is then applied to the hash code in S15 to obtain a tag t. The tag t is sent to Bob 200 via the classical communication channel 500 along with the plaintext message M. At Bob, the received plaintext message M' is provided to the authentication engine 12. The message M' is hashed in step S17 to obtain a further hash code. The further hash code is then encrypted using the cipher in S19 to obtain a further tag t'. The further tag t' is then compared to the received tag t. If the two tags correspond, the message is authenticated. If the two tags do not correspond, the message is not authenticated. If the message is not authenticated, the message may be discarded and / or an interrupt may be triggered.

[0098] The hash function and cipher used by Alice in S13 and S15 are the same as the hash function and cipher used by Bob in S17 and S19.

[0099] Furthermore, the hash function uses a hash key and the cipher uses an encryption key, which are secret keys pre-shared between Alice and Bob.

[0100] Although FIG. 2 shows the transmission of a message and a tag from Alice to Bob, Bob may similarly send a message and a tag to Alice (not shown).

[0101] The authentication engines 11 and 12 are implemented as described below and as explained with respect to FIG.

[0102] Next, hash functions are described.

[0103] The hash function is a polynomial evaluation hash function. Poly1305 is an example of a polynomial hash function.

[0104] Poly1305-AES is a MAC, where Poly1305 is a hash function and Advanced Encryption Standard (AES) is a cipher. The AES algorithm is a symmetric key algorithm where the same key is used for encryption and decryption. AES is only computationally secure, not ITS. The security of Poly1305-AES corresponds to the security of the underlying AES. Thus, Poly1305-AES is also only computationally secure, not ITS. Computationally secure means that it is not decryptable in a reasonable time with the available computational power. Computationally secure assumes that finite computational power is available. A computationally secure scheme is less secure than an ITS scheme.

[0105] Poly1305 is 2 130 It is a polynomial-evaluated hash function that evaluates over a prime field (i.e., a Galois field) of the order of −5, hence the name of the scheme. However, because the message is encoded before hashing, the size of the hash key space is reduced by 2 130 -2 instead of 5 106 Note that Poly1305 MAC computes a 128-bit tag for a variable-length message M and requires a 256-bit key k. The key is subdivided into two 128-bit parts, r and s. The first 128 bits, r, are the hash key, which is the basis for the polynomial evaluation. The second 128 bits, s, are the encryption key. The tag is computed as follows:

[0106]

number

[0107] where f(M,r) is a polynomial in r with coefficients derived from the bits in the message M.

[0108] The tag is also 128 bits long.

[0109] To achieve security, a random key k is required for each round of the algorithm (i.e., for each message tag generated). In Poly1305-AES MAC, s=AES g (n), where AES is the Advanced Encryption Standard algorithm, g is a 128-bit AES key, and n is a 128-bit nonce. A nonce is an arbitrary number that is used once during cryptographic communication. AES is used here to effectively expand short keys to longer keys, allowing reuse of a shared secret key, provided a different nonce is used for each message. One example of a nonce is a message counter. A message counter is easier to implement than requiring a new shared secret each time. However, AES is only computationally secure, it is not ITS.

[0110] Next, it is explained how the hash code is obtained using the Poly1305 hash function f(M,r).

[0111] A message M is represented by m[0], m[1], ..., m[l-1]. The length l of a message M can be any non-negative integer and can vary from message to message. The period q is set as l / 16.

[0112] The hash key r is a 128-bit integer in unsigned little-endian form. In a little-endian system, the least significant byte is stored at the lowest memory address, while the most significant byte is stored at the highest memory address. The key r is a 16-byte string r[0], r[1], ..., r

[15] . The hash key is r=r[0]+2 8 r[1]+...+2 120Some bits of r are zero, so r[3], r[7], r

[11] , and r

[15] should have their most significant 4 bits set to zero (i.e., be in {0,1,...,15}), and r[4], r[8], and r

[12] should have their least significant 2 bits cleared (i.e., be in {0,4,8,...,252}). Thus, r has 2 106 There is a possibility.

[0113] {1,2,3,...,2 129} an integer c that is an element of 1 ,c 2 ,...,c q is defined as follows: If 1≦i≦l / 16, we obtain:

[0114]

number

[0115] If l is not a multiple of 16, we get:

[0116]

number

[0117] In words, each 16-byte chunk of the message is padded to 17 bytes by appending a 1. If the last chunk has a length between 1 and 15 bytes, a 1 is appended to the chunk and the chunk is zero-padded to 17 bytes. The resulting padded 17-byte chunk is treated as an unsigned little-endian integer.

[0118] The hash code of the message M using the Poly1305 function then results in the following 16-byte unsigned little-endian representation:

[0119]

number

[0120] In formula (6), c 1 ,c 2 ,...,c q and r q ,r q-1 ,...,r 1 is as defined above.

[0121] According to one example, the hash function comprises Poly1305, such as that described in DJ Bernstein, "The Poly1305-AES Message-Authentication Code," Springer, Berlin (2005), in Lecture Notes in Computer Science, Volume 3557. Poly1305 is standardized by the Internet Engineering Task Force in document RFC8439 (2018).

[0122] The above is a rating of 2 130 The hash function f(M,r) is described as a Poly1305 polynomial evaluation hash function that operates over a prime field of order -5, although other primes may be used. For example, 128 Other prime numbers above may be used.

[0123] Furthermore, while the above uses little endian conventions, it will be appreciated that a different convention could alternatively be used. For example, a big endian convention could alternatively be used. In a big endian system, the most significant byte is stored in the lowest memory address, while the least significant byte is stored in the highest memory address.

[0124] Returning to the authentication system 10 for quantum communication between two users, Alice 100 and Bob 200 of FIG. 2, an example of a MAC scheme that can provide ITS security will now be described. The MAC scheme is used to authenticate the key distribution. The scheme uses "delayed authentication". All communication during the key distribution session is buffered and, once complete, a MAC tag is calculated to verify the data. After the data is verified, it can then be processed or used. The entire communication, which may comprise a large amount of data, is buffered before authentication.

[0125] Returning to the authentication system 10 for quantum communication between two users, Alice 100 and Bob 200, in Fig. 2, an embodiment of a MAC scheme providing ITS security will now be described. The MAC scheme is for QKD authentication. The MAC scheme comprises a One-Time Pad (OTP) cipher combined with the Poly1305 hash function described above. The MAC scheme is called Poly1305-OTP.

[0126] OTP is an encryption technique in which a random secret key is combined with a plaintext message. The random secret key is at least as long as the plaintext message. The combination comprises using modular addition to combine each bit of the plaintext message with a corresponding bit of the key. The ciphertext cannot be decrypted as the key is random, the key is at least as long as the plaintext, the key is never reused (in whole or in part), and the key is secret.

[0127] OTP provides ITS level security. Poly1305-OTP scheme also provides ITS level security. Therefore, QKD protocol is ITS certified and can enable complete ITS system.

[0128] Poly1305-OTP gives the security of OTP cryptography with the benefits of the Poly1305 hash function. In more detail: · Poly1305 uses arithmetic in prime fields that can be implemented extremely efficiently in software using only addition, multiplication and modulus operations. · Software implementations of Poly1305 can execute in constant time (i.e., execution time independent of the input), which avoids side-channel timing attacks (an improvement over software AES implementations). Poly1305 is a flexible, space-efficient hash function that produces a fixed 128-bit length tag from a variable-length message input. Poly1305 can be computed on-the-fly for large messages that arrive over long periods of time, with intermediate values ​​stored in an accumulator. This means that each message chunk can be processed as it arrives, and there is no need to cache the entire message before computing the hash (this means that the Poly1305-OTP scheme has negligible impact on the performance of the QKD process, unlike examples with delayed authentication).

[0129] Poly1305-OTP is defined as follows:

[0130]

number

[0131] In formula (7), c 1 ,c 2 ,...c q is as defined above and pertains to a chunk of a message. q ,r q-1 ,...r 1 is as defined above, and r represents the hash key.

[0132] Next, it is described how Poly1305 can be computed on the fly for large messages. An accumulator A is set to 0. For each chunk c of a message M, an accumulator A is set to A←A+c, and then the accumulator A is set to A←r×A. Periodically, the accumulator A is incremented by 2 until it is small enough to continue the computation (not necessarily to the smallest remainder). 130 After all chunks c have been processed, accumulator A is reduced by 2 130 It is fully reduced modulo -5. Thus, the hash code for the complete message M (shown in equation (6)) is obtained by processing and accumulating a chunk c of the message at a time. In other words, the computation involves an accumulator that is updated with each block (chunk) of the message.

[0133] Updating the accumulator comprises: Each block of the message is processed by adding the block to the accumulator (A←A+c). The accumulated value is then multiplied with a key (A←r×A).

[0134] After every update, the intermediate results are present in the accumulator. When all blocks are processed and the accumulator is 130 After being fully reduced modulo -5, the accumulator contains the hash code (as shown in equation (6)).

[0135] An accumulator is a variable in a piece of code that uses the sum or product of a series of values. At every iteration of the loop, an addition and / or multiplication is performed and the result is stored in the accumulator. In the above, the accumulator A is continuously updated by A←A+c, then A←r×A, until all blocks of the message have been processed.

[0136] Furthermore, optionally, Poly1305-OTP is implemented by reserving a small portion of the generated keys as part of the QKD protocol to be used for MAC. In the QKD system, a symmetric shared key is generated continuously and shared between users Alice and Bob. Poly1305-OTP uses a new (i.e., not used before) key for each authentication tag. The symmetric shared key from the QKD system is used for the encryption key s, or for both the encryption key s and the hash key r. The length of each message to be authenticated is variable and can be preselected by the two users according to their requirements. Because the Poly1305 hash function is efficient at compressing variable length messages into short 128-bit tags, the amount of keys required for MAC is typically significantly less than the amount of keys generated from the QKD process using those authenticated messages.

[0137] It should be noted that in classical cryptosystems, OTP algorithms may be considered problematic. This is because classical cryptosystems may have a finite amount of symmetric shared keys. Algorithms such as AES are used in MAC schemes because AES effectively expands short keys to longer keys, allowing reuse of the shared secret key. This reduces the amount of key material used for authentication. Therefore, alternative algorithms such as AES are used.

[0138] In contrast, the disclosed MAC scheme disclosed herein provides improvements to the security of communication networks by leveraging the benefits of the OTP encryption that provides the ITS along with the benefits of the Poly1305 hash algorithm described above. The effect of this combination is a more secure MAC scheme that is practical to implement and maintain the performance of a QKD system.

[0139] Next, the security of the Poly1305-OTP authentication scheme is discussed. Security is defined by considering the security parameter ε (described previously). In the development of a complete system based on configurable primitives such as authentication and QKD, the security parameter of the entire system is effectively bounded by the weakest ε value of its components.

[0140] Security is illustrated by considering an example.

[0141] For QKD, the security parameter is, for example, εE<10 -10 In practice, this corresponds to a key failure rate of less than once in 30,000 years. The exact value can be altered by the choice of QKD protocol parameters (e.g., the size of the finite-sized blocks), but is outside the scope of this discussion.

[0142] It is desirable for the security parameter of the MAC to have a negligible contribution to the global security parameter of the final system. For example, the security parameter of the MAC should be such that ε<<10 -10 It is.

[0143] In the Poly1305-OTP scheme, the probability that an attacker successfully creates a valid message tag is

[0144]

number

[0145] In equation (8), m is the number of 128-bit blocks in the longest permissible message for a single generated tag (i.e., maximum message length = 128 × m bits). Each tag is 128 bits long.

[0146] In one embodiment of the Poly-OTP ​​QKD authentication scheme, one MAC tag is sent every hour. This tag therefore provides authentication for the last 60 minutes of classical communication. The communication bit rate is assumed to be 10 Gb / s. The MAC security parameters are calculated as follows:

[0147] The maximum message length is 60 x 60 x 10 10 It is a bit. Therefore, m is (60 × 60 × 10 10 ) / 128≒2 38 It is.

[0148] The probability that an attacker will successfully create a tag to cause user Bob to accept a forged message during that 60 minute period is:

[0149]

number

[0150] Therefore, even for very long messages, the Poly1305-OTP MAC scheme provides orders of magnitude more robust security than typical QKD security parameters, making it well suited for QKD authentication.

[0151] In the above example, a very long message (60 x 60 x 10 10 A worst case security scenario has been described using 100 Mbps (100 Mbps bits). It will be appreciated that, alternatively, the tag may equally be sent more frequently than once per hour. It will also be appreciated that, alternatively, the tag may equally be sent less frequently than once per hour.

[0152] Figure 3 shows a schematic diagram of an authentication method for quantum communication between two users, Alice and Bob. In Figure 3, the method is concerned with the communication of classical messages from Alice to Bob. It will be understood that the same principles apply to messages sent from Bob to Alice. Furthermore, the method of Figure 3 is applicable to simultaneous bidirectional communication between two users.

[0153] The process begins at S300, where Alice loads authentication keying material for use. The keying material is loaded from a key store. The key store stores indexed shared keys. The loaded keying material is shared keying material known to Bob. The shared key is pre-shared (pre-shared) or, alternatively, the shared key is generated during QKD operation. Such keying material is taken from a QKD key management system (which may or may not be co-located with the QKD system control machine). The loaded keying material is stored in a key buffer.

[0154] In step S302, Alice computes a Poly1305 hash for a classical message M that she wants to send to Bob. The hash function is keyed by a 128-bit key hash key r. The hash key r is retrieved from the key buffer. In other words, a hash code is computed for message M using key r using the Poly1305 hash described herein.

[0155] Users Alice and Bob can choose (in advance) how often they want to authenticate messages. This can vary from real-time authentication of every data packet to authentication of batches of data at intervals of a few seconds, minutes, hours or even longer, where a single MAC tag is computed from a large message.

[0156] Optionally, as described herein, when the message M is large, the hash is computed from constituent parts (chunks c) of the message M as they arrive (i.e., computed on the fly), the results are accumulated, and the resulting hash code corresponds to the hash code obtained from equation (6).

[0157] In step S304 it is checked whether more data is expected. If more data is expected, the method returns to S302 where a hash function is calculated (on the components as they arrive). If no more data is expected (i.e. the entire message M has been obtained and the final hash function has been calculated), the method proceeds to step S306. Note that step S304 is optional and applicable when the message M is obtained in chunks c.

[0158] In step S306, OTP encryption is applied to the hash code to form a MAC tag. The MAC tag is obtained from equation (7) below. The OTP encryption uses a second key s, which is obtained from the key buffer. The second key s, also called the encryption key, is a 128-bit key.

[0159] In step S308, the MAC tag obtained in S306 is packed into an authentication frame (described further below). The authentication frame is interleaved between the data frames, and in step S310, the frame is sent to Bob over the communication channel. Note that in this case, the communication channel is a classical channel.

[0160] In step S308, Alice's authentication engine loops back to S302 to calculate the hash for the next classical communication data to be sent (another message M). Note that the encryption key s is not reused and every MAC tag is generated using a unique value of s.

[0161] Furthermore, optionally, the hash key r is not reused and every hash code, and therefore every MAC tag, is generated using a unique value of r. By not reusing the hash key r, the security of the scheme is improved.

[0162] Next, steps S320 to S330 performed at the receiving end Bob are described. Bob receives the frames sent by Alice over the communication channel. Bob verifies the authenticity of the received frames. The verification procedure is described below.

[0163] At S320, Bob initializes his key buffer with material from his key store (including the pre-shared key with Alice). In other words, Bob loads authentication keying material from the key store. The key store stores indexed shared keys. The loaded keying material is shared keying material known to Alice. The shared keys are either pre-shared (pre-shared) or, alternatively, the shared keys are generated during QKD operation. Such keying material is taken from a QKD key management system (which may or may not be co-located with the QKD system control machine). The loaded keying material is stored in the key buffer.

[0164] At S322, Bob receives the frame sent by Alice over the communication channel. The frame is "unpacked" to obtain the received message and the received MAC tag. How the message and tag are obtained is described further below.

[0165] At S324, a Poly1305 hash function is applied to the received message to obtain a received hash code. The received hash code is calculated using a hash key r. The hash key r corresponds to the hash key used by Alice to generate a MAC tag for the received message. The hash key r is obtained from Bob's key buffer. The hash key is known to both Alice and Bob.

[0166] Optionally, which hash key is retrieved from Bob's key buffer is determined using a first-in-first-out (FIFO) system. A FIFO can be understood as a queue. Keys are preloaded into the queue, so new keys are retrieved after each preset time interval. Alice and Bob already share a common clock for the QKD process, so this can be used to keep everything synchronized. In other words, Alice and Bob are synchronized in time. Alternatively, a key index can be included with each MAC tag message, indicating which key Alice / Bob should use when calculating the MAC tag (Alice and Bob already share a database of indexed keys in the form of their key management system).

[0167] At S326, an OTP cipher is applied to the received hash code to form a MAC tag derived from the received message. The OTP cipher uses an encryption key s. The encryption key s corresponds to the encryption key used by Alice to generate the received MAC tag. The encryption key s is obtained from Bob's key buffer. The encryption key is known to both Alice and Bob.

[0168] At S328, the MAC tag calculated from the received message is compared to the MAC tag sent by Alice to Bob for the same data. If the tags match, the message is authenticated and the method proceeds to step S330. If the tags do not match, authentication fails and the method proceeds to S329.

[0169] At S329, the authentication fails and an interrupt is generated so the user / QKD software can handle the failed authentication, which may include at least one of discarding the data that was not authenticated, alerting the user, and requesting Alice to resend the data if it was corrupted in transit.

[0170] At S330, the message is authenticated. Bob may discard the authentication frame and proceed to process the data. Bob may consider the data to have come from Alice without tampering. After step S330, the method returns to S322, where Bob waits to receive further frames from Alice.

[0171] Note that, although this is not shown in the figure, optionally, the received plaintext message is hashed from its constituent parts (chunks c) as they arrive (i.e., are computed on the fly). In other words, step S324 is implemented similarly to S302 and S304.

[0172] Figure 4 shows a schematic diagram of a MAC tag generation procedure. With reference to Figure 3, tag generation is performed at Alice. In one alternative, not shown, tag generation is instead performed at Bob. In yet another alternative, tag generation is performed at both Alice and Bob.

[0173] The procedure begins with a QKD-related communication frame 41. A QKD-related communication frame is a frame that comprises data related to the QKD protocol (e.g., shifting data, error correction information, or privacy amplification information). A QKD-related communication frame may also comprise hardware control data (e.g., timing data, stabilization data, system startup and hardware initialization data, or key management information).

[0174] QKD-related communications are sometimes referred to as data frames. The data in the data frames is the authenticated message. Although frame 41 here refers to QKD-related data, the MAC tag generation procedure may also be applied to any other data.

[0175] As shown in Figure 4, two QKD related frames, called data frames, are given. The first data frame is M i+1and the second data frame is called M i+2 The data frames are separated in time, i.e. the second data frame is provided in a different time window than the first data frame.

[0176] Both data frames are provided to a Poly1305-OTP authentication engine 42 which generates a MAC tag 43 for each frame. The authentication engine 42 is configured to implement the method described with respect to Figure 3. In particular, the authentication engine 42 is configured to perform steps S302 to S306 of Figure 3. The authentication engine 42 performs the steps of (M i+1 The first tag t (derived from i+1 and (M i+2 The second tag t (derived from i+2 2. Use two 128-bit keys from the QKD key score (as described with respect to FIG. 3) to generate

[0177] The data frames 41 and tags 43 are then combined and / or interleaved together in a combiner 45. For example, the data frames 41 and tags 43 may be arranged in the following sequence {M i+1 ,t i+1 ,M i+2 ,t i+2} The interleaved data frames 41 and tags 43 form the data stream transmitted from Alice to Bob.

[0178] The interleaved data frames 41 and tags 43 are then provided to a classical communication interface 47. The classical communication interface 47 is configured to convert the data stream into an optical signal suitable for transmission over the communication channel 500. For example, the communication interface 47 is a pluggable transceiver. A pluggable transceiver is modular hardware that includes an optical transmitter and / or receiver configured to transmit and / or receive signals over the optical fiber communication channel 500.

[0179] The sequence {M i+1 ,t i+1 ,M i+2 ,t i+2 The optical signal 49 comprising the data stream containing} is then transmitted over a communication channel 500 .

[0180] As shown in Figure 4, t i+2 The tag is the i+2 data frame (M i+2 ) and the i+1 tag (t i+1 ), which ensures that the entire data stream, including the MAC tag itself, can be authenticated.

[0181] Alternatively, t i+2 The tag is the i+2 data frame (M i+2 Note that the .ipa.sec.

[0182] 4, it should be noted that combiner 45 may be implemented in software and / or hardware. When implemented in software, a processor is configured to implement this component. When implemented in hardware, electronic circuitry is adapted to implement this component. Alternatively, an implementation may use both hardware and software.

[0183] The Poly1305-OTP engine is implemented as described below.

[0184] Figure 5 shows a schematic diagram of a MAC tag verification procedure. With reference to Figure 3, tag verification is performed at Bob. In one alternative, not shown, tag verification is instead performed at Alice. In yet another alternative, tag verification is performed at both Alice and Bob.

[0185] Optical signal 51 is received from another user via communication channel 500. Optical signal 51 may correspond to optical signal 49 transmitted by the other user in Fig. 3. However, as explained below, received optical signal 51 may differ from transmitted optical signal 49. The difference may be due to an attack or due to errors introduced by communication channel 500.

[0186] The received optical signal 51 is directed to a classical communication interface 53 configured to convert the optical signal into a data stream. For example, the communication interface 53 is a pluggable transceiver. A pluggable transceiver is modular hardware that includes an optical transmitter and / or receiver configured to transmit and / or receive signals over a fiber optic communication channel 500.

[0187] The received data stream is then directed to a separator 55, which is configured to separate the data frames from the tags. More specifically, M of copies of the QKD-related communication frames (plaintext messages) are i+1 and M. i+2 and are directed to the QKD system for processing. Another copy of the QKD-related frame (plaintext message) M i+1 and M. i+2 The authentication tag t i+1 and i+2 together with the request to Bob's authentication engine 67.

[0188] For example, note that message frames and tags can be separated by considering the headers in the frames.

[0189] Bob's authentication engine 67 is configured to implement the method steps S322 to S330 described with respect to FIG.

[0190] In authentication engine 67, M of QKD-related frames i+1 , M i+2 and received tag 63 t i+1, t i+2 and are separated in a further separator 59. The further separator 59 separates the t i+1 and i+2 and the received frame (M i+1 ,M i+2 ) corresponding to tag 64(t' i+1 ,t' i+2 ) received by the Poly1305-OTP engine 61 configured to calculate i+1 ,M i+2 The optical fiber is configured to direct the optical fiber.

[0191] In Figure 5, t sent by Alice i+2 The tag is the i+2 data frame (M i+2 ) is used to authenticate t i+1 The tag is stored in the i+1 data frame (M i+1 ) was used to authenticate the QKD-related frames. i+1 and M. i+2 is the number of frames received (M i+1 ,M i+2 ) corresponding to tag 64(t' i+1 ,t' i+2 ) to a Poly1305-OTP engine 61 configured to compute a computed tag 64 (t' i+1 ,t' i+2 ) and received tag 63 (t i+1 ,t i+2 ) are then compared in comparator 65. If the calculated tag 64 and the received tag 63 do not match (as explained previously), the authentication fails and an interrupt is generated.

[0192] It should be noted that in Fig. 5 the separator 55, the further separator 59 and the comparator 65 may be implemented either in software or in hardware. When implemented in software, a processor is configured to implement these components. When implemented in hardware, electronic circuits are adapted to implement these components.

[0193] The Poly1305-OTP engine 61 is implemented as described below.

[0194] FIG. 6 shows a schematic diagram of an authentication system 10-b for a quantum communication system.

[0195] Alice 100 generates a tag t using the Poly1305-OTP authentication engine 42 or engine 11 described herein. The tag t and a message M are sent over communication channel 500 to Bob 200-b.

[0196] At the receiving end, Bob 200-b, the received message M' is authenticated using the following procedure.

[0197] A copy of the received message and the received tag are provided to authentication engine 12-b, which corresponds to engine 12 or engine 67 described herein.

[0198] In step S41, the received message M' is processed, meaning that any computations that require M' are carried out even though the message M' has not yet been authenticated.

[0199] In step S43, the result of the process in S41 is marked to indicate that the result has not yet been authenticated, for example the result is marked as "Not Authenticated."

[0200] In step S45, the result of authentication engine 12-b is awaited.

[0201] Authentication engine 12-b implements the Poly1305-OTP scheme of engine 67 previously described in Figure 5. Alternatively, authentication engine 12-b corresponds to that of engine 12 shown in Figure 2. In either case, authentication engine 12-b may use an accumulator to compute the hash on the fly as described herein.

[0202] If the message is authentic, the indication is removed in step S47 and the results derived from processing the received message M' are treated as safe for use.

[0203] If the message is not authenticated, the indication is not removed in step S49 and the results derived from processing the received message M' are treated as not safe to use (i.e., not authenticated). Optionally, in S49, the results are discarded. Alternatively, in S49, Alice is requested to resend the message.

[0204] While FIG. 6 described that in S43 and S47 the output of the processed message is marked as "unauthenticated", if authenticated the marking is removed in S47, the following alternative is equally possible: the output of the processed message is assumed to be unauthenticated (so S43 is omitted) and, after authentication, in S47 a marking is added to indicate that the result is authenticated and therefore "safe" to use.

[0205] Thus, the purpose of S43 and S47 is to provide an indication of whether the result has been authenticated. The indication may be provided as an indication, as described above. Alternatively, the indication that the result has been authenticated is provided as a flag or by storing the authenticated result in a predefined location. Also, alternatively, the result from the process in S41 is not made accessible for use until it has been authenticated, even though it has already been calculated and stored.

[0206] In other words, the received message M' is first processed and then authenticated. When the result of the processing is authenticated, an indication is given to indicate that the result is authenticated.

[0207] For example, when message M' relates to QKD protocol information, tampering with messages may result in only the keys relating to those messages being compromised. Those messages may nevertheless be processed in the meantime to obtain the associated keys. However, keys are used only once. Compromised keys are handled as described with respect to S49.

[0208] The advantage of the above method is that the message M' can be processed as it arrives, without the need to buffer blocks of M' as they arrive. Thus, the method is more practical and the performance of the QKD system is maintained. In other words, the performance penalty associated with buffering is reduced.

[0209] Thus, the authentication scheme allows for authenticating variable length messages: the message length is not limited by any hardware buffer.

[0210] This allows authentication to be performed at any interval: for example, authentication may be performed every few seconds, minutes, or even hours, since the scheme can handle messages of varying size (as it is not limited by having to buffer / store the entire message M' and then processing it in one batch).

[0211] Furthermore, by performing authentication less frequently, less keying material is required.

[0212] The above scheme allows the user to choose at what time interval they should be authenticated.

[0213] Furthermore, optionally, a header is included in the classical communication message data, where the header indicates whether the message needs to be authenticated before being processed. That is, each message may have different authentication requirements defined. For example, hardware control messages are provided with a header indicating that they must be authenticated before being processed. This is to avoid side channel attacks. Meanwhile, messages related to QKD protocol information may be processed first and then authenticated, as explained above.

[0214] FIG. 7 shows a schematic diagram of the types of messages communicated between Alice 100 and Bob 200 for the operation of the QKD system.

[0215] The basic cryptographic primitives of QKD require an authenticated classical channel for communication involving the QKD protocol. In QKD, Alice encodes a quantum signal onto photons 73 and transmits those photons to Bob. A quantum signal comprises information encoded as a single quantum (such as a single photon). The quantum signal 73 may be transmitted over a quantum channel. Quantum signals and quantum channels are further described with respect to Figures 10 and 11.

[0216] The appeal of QKD is that eavesdropping on the quantum signal can be detected. To do so, after Bob measures the encoded quantum signal sent by Alice, Alice and Bob communicate the basis used to prepare / measure each qubit, discarding bits if a non-matching basis is chosen (known as sifting). The sifting data 75 is shared over a classical channel. The classical channel must be authenticated. Sifting is further described below with respect to Figures 10 and 11.

[0217] Additionally, optionally, Alice and Bob perform error correction and privacy amplification to derive a secure key from the sifted key, which involves sharing information 75 such as the error syndrome and privacy amplification matrix over an authenticated classical channel.

[0218] The sifting data, error syndromes and privacy matrices are examples of data 75 associated with the QKD protocol. These data are transmitted over an authenticated classical channel.

[0219] The authentication system disclosed herein can meet the requirement for an authenticated classical channel with ITS security using Poly1305-OTP MAC tags for communication messages containing this information. Note that while quantum signals are sent only in the direction from Alice to Bob, classical communication is two-way. Thus, both Alice and Bob perform tag generation / verification stages depending on which direction their respective classical messages are traveling.

[0220] However, in a practical QKD system, additional classical communication 71 is needed to synchronize and control the hardware at Alice and Bob. The additional classical communication data 71 is sometimes called hardware control data 71. This includes, for example, messages for when one of the users starts / stops QKD and timing information to ensure that Alice and Bob are synchronized in terms of the number of bits. Such communication is outside the scope of the QKD primitives and therefore does not need to be authenticated to satisfy the QKD security proof.

[0221] Optionally, however, the hardware control data 71 is also authenticated. Authenticating the control data 71 means that a MAC tag is also derived for the control data 71. The MAC is used to authenticate the message (control data 71) as described herein. Authenticating the control data 71 protects QKD against side channel attacks and hardens the system. A side channel attack is an attack that an eavesdropper would perform if it were able to trick one of the users into adjusting the user's hardware (e.g., a timing attack). Such attacks are a threat to the implementation of the QKD protocol (i.e., a potential attack despite the protocol having ITS security), not to the protocol itself. Thus, with this option, all classical traffic between the QKD system is authenticated.

[0222] Still further, optionally, the Poly1305-OTP authentication scheme described herein is used to authenticate messages sent by applications using the QKD system. Such messages are not QKD-related messages, but other information that the application of user Alice sends to user Bob. For example, this can be an additional feature for customers using the system, or for authentication of service channel messages between classical network infrastructures (e.g., encryptor service channels or any other network services).

[0223] FIG. 8 shows a schematic diagram of an authentication method for quantum communication using replicated transmissions.

[0224] A communication channel may exhibit propagation losses that result in a gradual attenuation of the optical signal as it travels from Alice to Bob. A number of other phenomena, such as dispersion and nonlinearity, may also distort the optical signal, leading to degradation of the signal-to-noise ratio. This creates errors when measuring the signal at the receiver, contributing to the bit error rate (BER). Signal propagation over longer distances typically results in a higher error rate and a greater probability of bit errors.

[0225] This is problematic for authentication, in particular, since a single bit error in a received message / tag that causes the received message / tag to not match the tag calculated by Bob can result in authentication failure. Thus, if the source of the tag mismatch is a net error rather than malicious tampering, the entire message M corresponding to that authentication tag t is discarded for security. Such data loss can cause problems for QKD operation (especially when a single MAC tag is used to authenticate large amounts of data). In one example, an acknowledgment or a request to resend the data is used when an error occurs.

[0226] In the authentication method of FIG. 8, duplicated transmissions are used to overcome errors due to the communication channel.

[0227] The sender, Alice, duplicates all classical communication data and authentication frames she sends to provide redundancy so that a second copy can be checked if authentication fails on the first attempt. For lossy links, the duplication factor n can be greater than 2 to provide additional redundancy against problems caused by bit errors.

[0228] More specifically, in S71, Alice's authentication engine performs the Poly1305-OTP MAC tag generation procedure described herein. The tag-interleaved data frame is then duplicated n times in S73. For example, n=2 (corresponding to duplication). Indications are also added to the frames in S73 to indicate which frames are duplicates.

[0229] At S75, the data stream comprising the duplicated frames is directed to a communications transceiver configured to convert the data stream into an optical signal for transmission over channel 500. The communications transceiver is a physical layer transceiver (e.g., an electrical-to-optical transponder).

[0230] At the receiving end, the received optical signal is converted into a data stream at S77 via a communication transceiver, which may be a physical layer transceiver (eg, an optical-to-electrical transponder).

[0231] In S79, the frames are checked for errors (e.g., if an error checking code is implemented, or by simply comparing multiple copies of the frame together) and duplicates are dropped. Indications of whether a frame is a duplicate are also removed.

[0232] At S81, the remaining frames are passed to Bob's authentication engine to perform the Poly1305-OTP tag verification procedure.

[0233] Alternatively, at the receiving end, frames are not dropped until after one of them is verified. From S77, a Poly1305-OTP tag verification procedure is performed for every frame, and error checking is performed by verifying whether the calculated authentication tag matches the received tag (since the probability of a bit error affecting both the tag and the original message in a way that maintains the correspondence between the tag and the original message is negligibly small).

[0234] The advantage of replicated transmission compared to the example of using acknowledgments or requests to resend data is that it avoids introducing latency and processing delays due to multiple round trips of communication between Alice and Bob just to verify a single message, thus preserving QKD system performance (i.e., maximum achievable secure bit rate).

[0235] Next, error reduction using replicated transmissions is described.

[0236] As an example, if the bit error probability is 10 -3Consider a communication link where n is the number of bits that can be transmitted. Assume that a single bit error causes the tag to become invalid. The probability of n bit errors, i.e., the probability that all duplicated transmissions fail, is:

[0237]

number

[0238] Therefore, even if n=2 is used, the effective error rate is still 10 -3 From 10 -6 to, which is a significant reduction, thus increasing the robustness of the authenticated QKD system against noise. Although the duplicated transmission of data places higher bandwidth requirements on classical communication channels, the bandwidth required to execute the QKD protocol is usually low enough that such additional data copies are not an issue, especially over long distances where QKD systems tend to require lower bandwidth communications.

[0239] Furthermore, optionally, the replicated transmission can be applied on top of other error correction schemes (e.g., forward error correction (FEC) schemes) that are often implemented in the physical transceiver / communication interface, further improving the robustness of the system against errors.

[0240] 9A shows a schematic diagram of a frame structure for a data and / or authentication frame. The frame structure comprises a data payload (which is the data being transmitted) as well as additional bytes of data. The additional bytes of data comprise information regarding the "destination address", "source address", or "type".

[0241] As shown in Figure 9A, bytes 0 to 5 relate to the destination address (here, this indicates Bob), bytes 6 to 11 relate to the source address (here, this indicates Alice), and bytes 12 and 13 relate to "type", which indicates what protocol is encapsulated in the payload of the frame and is used at the receiving end to determine how the payload is processed. Bytes 14 onwards relate to the data payload.

[0242] Further optionally, the frame structure is an Ethernet frame.

[0243] Figure 9B shows a schematic diagram of a frame structure for a data and / or authentication frame with a custom indication. The frame structure of Figure 9B is similar to the frame structure of Figure 9A, except that bytes 12 to 15 relate to "custom indication", bytes 16 and 17 relate to "type", and bytes 18 onwards relate to the data payload.

[0244] A "custom indication" allows the QKD system to keep track of which frames are replicas. The indication can be added to the frame structure. For example, the custom indication includes a counter to keep track of which replica each frame represents (as shown in FIG. 9B). This effectively forms a custom Ethernet frame for transmission across the communication channel. When the replica is dropped at the other end, the custom indication is removed, returning the frame back to standard Ethernet format for subsequent processing.

[0245] 10 shows a schematic diagram of components of a node for quantum communication 900. The components of the node for quantum communication 900 may be used to implement the authentication system 10.

[0246] The node 900 comprises a software layer 901. The software layer 901 comprises a key store 903. The key store 903 is configured to store keying material used and / or generated in the QKD process. Optionally, a portion of the keying material is reserved for use by the authentication system 10.

[0247] The node 900 comprises a hardware layer 907. The hardware layer 907 comprises components for optical elements for QKD 909, electronics for QKD 911, and a classical communication interface 913. The QKD optical elements and electronics are used by the QKD system for communication over the quantum channel, and are described below. The classical communication interface 913 is used by the QKD system (described further below) and also by the authentication system (as described above).

[0248] The node 900 comprises a firmware / hardware accelerator 905. The hardware accelerator implementation comprises application specific integrated circuit (ASIC) or field programmable gate array (FPGA) hardware. Additionally or alternatively, the firmware / hardware accelerator 905 comprises a processor such as a central processing unit (CPU), a graphical processing unit (GPU), etc. The firmware / hardware accelerator 905 is configured to implement a QKD protocol.

[0249] Additionally, optionally, an authentication system (i.e., authentication engine) is implemented within a firmware / hardware accelerator 905 of a node 900 of the QKD system. Implementing the Poly1305-OTP authentication process on the accelerated hardware (with keys provided by a software key store) improves performance and facilitates simple authentication of all communications, since the Poly1305-OTP procedure can be applied as part of the pipeline when messages from the software / other hardware are composed into data frames for transmission over fiber by a transceiver (e.g., a pluggable SFP or other electro-optical converter).

[0250] Additionally or alternatively, the received message is processed and then authenticated as described with respect to Fig. 6. The received message can be processed and Poly1305-OTP authentication performed as data is made available. In other words, the authentication system is flexible and capable of verifying tags on the fly.

[0251] The authentication system and method disclosed herein allows the regularity of the authentication tag to be set as a parameter. This lends itself to a flexible system where how often MAC authentication is performed can be chosen according to the application. In particular, the authentication system and engine allows real-time authentication.

[0252] The authentication system and engine disclosed herein reduces the need to buffer large messages before they are authenticated and accepted for subsequent processing. Thus, compared to examples of implementing authentication on hardware accelerators such as FPGAs, where maximum message size is limited and delayed authentication is required, the disclosed system and method are more flexible.

[0253] Although the above describes the authentication engine implementing the entire process at the hardware accelerator level, it will be appreciated that alternatively or additionally, the Poly1305-OTP scheme is implemented in software, which is executed by a processor that controls the QKD system or implements the QKD protocol.

[0254] In practice, during start-up of the QKD system, remote nodes may need to communicate initialization information to initialize their hardware. If so, if implemented only with hardware accelerators, such first communications will not be authenticated since they will not be initialized.

[0255] Implementing the Poly1305-OTP authentication engine at both the software level and the hardware accelerator level overcomes the problem of authentication at startup. When the system first starts (and the hardware accelerator is not initialized), software-based Poly1305-OTP authentication is implemented to protect messages communicated between Alice and Bob that are used to initialize and synchronize their hardware. The key for authentication at startup can be pre-shared in advance. After the hardware accelerator is initialized, the authentication engine switches to run on the hardware instead of in software, giving improved performance and flexibility. Thus, from the initialization stage, the entire QKD operation is authenticated.

[0256] 1 to 10 described above relate to authentication systems and methods for quantum communication.

[0257] For completeness, a description of a quantum communication system (also called a QKD system) that may be applied to any of the above embodiments follows below in FIG.

[0258] FIG. 11 is a schematic diagram of a quantum communication system suitable for quantum communication between two nodes.

[0259] In a quantum communication network, information sent between a quantum transmitter and a quantum receiver is encoded as a single quantum, such as a single photon. Each photon carries one bit of information encoded on a property of the photon, such as its polarization, phase or energy / time. Photons may carry more than one bit of information by using properties such as, for example, angular momentum.

[0260] In general, in a quantum communication network, a quantum transmitter will be able to encode information onto a weak light pulse. A quantum receiver will be able to decode this information. Discrete variable (DV) or continuous variable (CV) quantum information can be encoded. In DV QKD, a weak coherent light pulse (WCP) can be generally considered as a light pulse that has a probability of containing, on average, less than one photon per pulse. During quantum encoding, information is encoded onto the weak light pulse using polarization, phase, and time bin information, etc. In CV QKD, each WCP pulse can contain, on average, up to 100 photons per pulse.

[0261] The DV QKD system consists of a QKD transmitter and a QKD receiver. The quantum transmitter transmits coded quantum signal pulses, each of which contains, on average, less than one photon per pulse. These optical signals are sent through a quantum channel before reaching the quantum receiver, which decodes the incoming signals and detects them using a single photon detector.

[0262] In a quantum communication network, such as the network shown in FIG. 11, communication between two nodes occurs through a quantum channel. The quantum channel may be implemented in an optical fiber connection. The quantum channel may be chosen to operate at any wavelength that is suitable for transmission over an optical fiber channel, which typically supports only one optical mode and is commonly called a single mode fiber. For example, the quantum wavelength may be chosen to be 1310 nm or 1550 nm. When the quantum communication network is used to implement QKD, the quantum channel is also called a QKD link.

[0263] The embodiments described herein are not limited to information encoded onto weak optical pulses using specific degrees of freedom such as polarization, phase and time bins, In fact, encoding may be applied to one or a mixture of many different degrees of freedom such as phase, polarization and time bins.

[0264] In Fig. 11, quantum transmitter 1001 and quantum receiver 1002 are based on an asymmetric Mach-Zehnder interferometer (MZI). Transmitter unit 801 comprises a quantum transmitter 901 and a classical communication device 830. Receiver unit 805 comprises a quantum receiver 1002 and a classical communication device 806. Quantum transmitter 901 and quantum receiver 902 are connected through fiber 802b, wavelength division multiplexer 832 and fiber channel 804. Classical communication device 830 and classical communication device 806 are connected through fiber 802a, wavelength division multiplexer 832 and fiber 804. This is called the classical channel.

[0265] A photon source 810 in quantum transmitter 1001 generates a quantum signal comprising pulses of light. The pulses are then encoded using an asymmetric MZI 811. The pulses are directed to a beam splitter 812. One output of beam splitter 812 is connected to a phase modulator 816. The output of phase modulator 816 is connected to a polarizing beam splitter 817. This forms the short arm 813 of the interferometer. The other output of beam splitter 812 is connected to a fiber loop 815, which is in turn connected to a polarizing beam splitter 817. This forms the long arm 814 of the interferometer. The light pulses traveling in the long arm 814 are delayed relative to the light pulses traveling in the short arm 813.

[0266] The quantum transmitter 1001 may also comprise an intensity modulator configured to vary the intensity of the optical pulses. The intensity modulator may be configured to implement a decoy state QKD protocol in which pulses of different intensities are sent that allow the transmitter and receiver to determine the presence of an eavesdropper by measuring the number of securely received pulses at different intensities. The transmitter may comprise two or more intensity modulators.

[0267] The phase modulator 816 is configured to apply a modulation to the phase of the optical pulses traveling in the short arm 813. The phase modulator may comprise a crystal waveguide, such as a LiNbO3 crystal waveguide, whose refractive index is a function of electric field strength. Alternatively, the phase modulation may be provided by passive means, for example a number of fixed phase elements, each configured to apply a different fixed phase difference, and a switch configured to select each of said elements.

[0268] The polarization of the light pulse traveling from the short arm 813 of the interferometer is inverted by polarizing beam splitter 817 from a first polarization to a second polarization that is orthogonal to the first polarization.

[0269] Thus, the Quantum Transmitter 1001 generates coherent dual pulses with a selected phase difference and orthogonal polarization that travel along the fiber link 804 . The polarization controller 818 corrects for any deviation in the polarization of the pulses. Each quantum transmitter of each ONU may use a separate polarization controller to individually align the polarization of the pulses arriving at the receiver. The quantum transmitters may be pre-compensated. Alternatively, a single polarization controller may be installed at the receiver side.

[0270] The quantum light pulses leave Quantum Transmitter 1001 and are sent via fiber 802-1b to wavelength division multiplexer 832. The quantum signal is transmitted at a first wavelength. Wavelength division multiplexer 832 sends the input signal from fiber 802-1b to fiber 804. The quantum signal is sent via fiber 804 to Quantum Receiver 902.

[0271] In the quantum receiver 1002, the pulses are decoded using an asymmetric MZI 821. The short arm 824 of the interferometer 821 comprises a phase modulator 826, such as the phase modulator previously described. The long arm 823 of the interferometer comprises a fiber loop 825 that exactly matches the fiber loop 815 in the transmitter. The long arm 823 and the short arm 824 are each connected to one of the outputs of a polarizing beam splitter 822 and one of the inputs of a beam splitter 827.

[0272] Polarizing beam splitter 822 sends incoming optical pulses with the second polarization along the long arm 823 of the interferometer and incoming optical pulses with the first polarization along the short arm 824. The polarization of pulses traveling through polarizing beam splitter 822 with the second polarization is inverted to the first polarization.

[0273] The output of the beam splitter 827 is connected to photon detectors 828 and 829. Depending on the phase modulation applied in the transmitter 1001 and the receiver 1002, the signal will be detected either at the photon detector 828 or at the photon detector 829. The photon detectors 828 and 829 may be gated single-photon detectors that may be based on avalanche photodiodes, in particular based on InGaAs avalanche photodiodes. The detectors may be gated detectors, such as self-difference detectors. The self-difference detectors perform the time filtering automatically. The time filtering is made possible by the known arrival time of the quantum signal. The detectors may be activated only when a photon is incident on the detector. The self-difference may reduce the Raman noise by about 10 times.

[0274] Phase modulator 816 and phase modulator 826 may be used to implement a QKD protocol such as BB84.

[0275] In the BB84 protocol, Alice (operating on transmitter unit 801) randomly selects a phase value from four equally spaced phase values. For example, Alice may randomly set phase modulator 816 to one of four different values ​​corresponding to phase shifts of 0, π / 2, π, and 3π / 2. 0 and π are associated with bits 0 and 1 in a first coding base, while π / 2 and 3π / 2 are associated with bits 0 and 1 in a second coding base.

[0276] Bob (operating on the receiver unit 805) can randomly set the phase modulator 826 to one of two values ​​corresponding to a phase shift of 0 or π / 2. This amounts to selecting between a first and a second measurement basis, respectively. In other words, Alice's values ​​of 0 and π match Bob's value of 0 (first basis), and Alice's values ​​of π / 2 and 3π / 2 match Bob's value of π / 2 (second basis).

[0277] A phase difference of 0 (i.e., the phase shift applied by Alice is 0 and the phase shift applied by Bob is 0, or the phase shift applied by Alice is π / 2 and the phase shift applied by Bob is π / 2) will lead to a detection at detector 828. On the other hand, if there is a phase difference of π (i.e., the phase shift applied by Alice is π and the phase shift applied by Bob is 0, or the phase shift applied by Alice is 3π / 2 and the phase shift applied by Bob is π / 2), there will be a detection at detector 829. For any other value of the difference between the phase modulations applied at the two phase modulators, there will be a finite probability that a photon may output at detector 828 or detector 829.

[0278] Neither Alice nor Bob knows what value the other will or will choose when choosing their value. They only compare later whether they used the same basis, and then use the final key value only if they used the same basis. Results from any measurements made using a different basis are discarded. This process is known as sifting. In this way, Alice (the source node) and Bob (the destination node) exchange and have knowledge of their secret keys.

[0279] The quantum signal with periodic arrivals is detected by detectors 828 and 829 in the quantum receiver 201. Following each detection event, the transmitter that sent the photon is identified from the arrival time of the photon. The receiver 902 then begins the sifting process by communicating the arrival time and the decoding basis with the identified transmitter from the classical communication device 806 to the classical communication device 830. Repeating this process for each detected photon, each of the transmitters will form a sifted key sequence with the receiver 902 that has a length of, for example, at least several thousand bits. The transmitters and receivers can then begin the error correction and privacy amplification process to extract a perfect secret key between them. The classical communication device 806 may be responsible for the classical communication between the transmitters and receivers for error correction and privacy amplification.

[0280] In the above, phase modulator 816 and phase modulator 826 are used to realize a QKD protocol such as BB84. The phase modulators are set randomly. Although the above example related to the BB84 protocol, it will be understood that the authentication method disclosed herein can also be applied to other QKD protocols. For example, the authentication method can instead be applied to Twin Field QKD (TF QKD) or Measurement Device Independent QKD (MDI QKD).

[0281] Random numbers may be generated from a random number generator (RNG). A random number is a random number that, when drawn from a set of possible values, has the same probability of being drawn from the set as any other number. For a sequence of random numbers, each number in the sequence is statistically independent of the other numbers in the sequence. In particular, a quantum random number generator (QRNG) may be used. In a QRNG, the source of randomness is physical and relies on the unpredictability of measurements, in particular the unpredictability relies on quantum mechanical properties. A QRNG may be implemented using a gain-switched diode laser. In a gain-switched diode laser, the oscillation threshold is governed by spontaneous emission, a quantum mechanical process, and therefore the phase of the emitted pulses is random. By repeatedly switching the diode laser on and off, a stream of optical pulses, each with a random phase, may be generated. By measuring the random phase of each optical pulse in the stream of optical pulses, a sequence of random numbers may be obtained.

[0282] Although several embodiments have been described, these embodiments are presented merely as examples and are not intended to limit the scope of the present invention. Indeed, the novel methods and apparatus described herein may be embodied in a variety of other forms, and various omissions, substitutions, and modifications of the forms of the methods and apparatus described herein may be made.

Claims

1. 1. A method for quantum communication between two nodes, comprising: the two nodes exchanging a first QKD key and a second QKD key not previously used over a quantum communication channel, where information exchanged over the quantum communication channel is encoded onto optical pulses; the two nodes exchanging a message and a message authentication code (MAC) over a classical communication channel; applying a hash function to the message using the first QKD key to obtain a hash code; applying a one-time pad cipher to the hash code using the second QKD key to obtain a MAC; authenticating the messages exchanged between the two nodes using the MAC; Equipped with a hash code that at least one of the two nodes must use when calculating the MAC; A method of authenticating the message, in which a MAC received by one node over a classical communication channel matches a MAC obtained at the one node using the first QKD key and the second QKD key, the method authenticating that the message received by the one node over a classical communication channel is genuine.

2. Applying the hash function comprises: receiving a plurality of blocks within a period of time, wherein the message comprises a plurality of blocks, and for each received block: processing received blocks contained in said message; accumulating a result of said processing for said received block in an accumulator; deriving the hash code from the accumulator; The method of claim 1 , comprising:

3. The method of claim 1 or claim 2, wherein authenticating the message comprises at least one of discarding the message, warning a user, or requesting that the message be resent if a MAC received by one node over a classical communication channel does not match a MAC obtained at the one node using the first QKD key and the second QKD key.

4. each of the first QKD key and the second QKD key is a secret key shared between the two nodes; The method of claim 1.

5. 2. The method of claim 1, wherein the hash function is applicable to messages of any length, and wherein the hash function is configured to generate a fixed-length hash code.

6. Authenticating the message comprises: transmitting an authentication frame interleaved with the data frame; wherein the authentication frame comprises the MAC. wherein the data frame comprises the message. The method of claim 1 , comprising:

7. Authenticating the message comprises: transmitting a subsequent authentication frame interleaved with a subsequent data frame, the subsequent authentication frame comprising a subsequent MAC, where the subsequent MAC is used to authenticate the subsequent data frame and the authentication frame; The method of claim 6 further comprising:

8. Authenticating the message comprises: transmitting a replica of the authentication and data frame, wherein in response to failing authentication of the authentication and data frame, the replica of the authentication and data frame is authenticated. The method of claim 6 further comprising:

9. The method of claim 8 , wherein the replicas of the authentication and data frames each include a label indicating that the frame is a replica.

10. The method of claim 4 , wherein the first QKD key is unique.

11. Deriving a result from the exchanged messages; and indicating, in response to the message being authenticated, that the result is available; The method of claim 1 , comprising:

12. Indicating that the results are authenticated includes: marking the result as not authenticated and then removing the marking after authentication; or After authentication, marking the results as authenticated. The method of claim 11 , comprising:

13. The method of claim 1 or claim 2, wherein the message comprises at least one of quantum key distribution (QKD) protocol information, quantum key distribution hardware control signals, and application messages.

14. 1. A quantum communication network for communication between two nodes, comprising: a quantum communication channel connecting the two nodes, where information is encoded onto optical pulses; a classical communication channel connecting the two nodes, wherein the classical communication channel is authenticated using the method of claim 1. A quantum communications network comprising:

15. A node for quantum communication, comprising: A quantum key distribution system; Authentication engine and A node comprising:

13. wherein the authentication engine is configured to perform the method of claim 1. node.

16. A node for quantum communication, comprising:

1. A quantum key distribution system for exchanging a first QKD key and a second QKD key, which have not been used before, on a quantum communication channel with another node, wherein information exchanged on the quantum communication channel is encoded on optical pulses; Authentication engine and A node comprising: wherein the authentication engine comprises: receiving a message and a message authentication code (MAC) from the other node over a classical communication channel; determining a further MAC from the received message, wherein determining the further MAC includes: obtaining a further hash code by applying a hash function to the received message using the first QKD key; obtaining the further MAC by applying a one-time pad cipher to the further hash code using a second QKD key; Equipped with a hash code that the node must use when computing the MAC at the node is indicated; comparing the received MAC with the further MAC; wherein a MAC received by one node over a classical communication channel is authenticated as genuine if a MAC received by the one node over a classical communication channel matches a MAC obtained at the one node using the first QKD key and the second QKD key.

17. Applying the hash function comprises: receiving a plurality of blocks within a period of time, wherein the message comprises a plurality of blocks, and upon receipt of each block: processing the received blocks of the message; accumulating a result of said processing for said received block in an accumulator; deriving the hash code from the accumulator; 17. The node according to claim 15 or claim 16, comprising:

18. The node of claim 15 or claim 16, wherein authenticating the message comprises at least one of discarding the message, warning a user, or requesting that the message be resent if a MAC received by one node on a classical communication channel does not match a MAC obtained at the one node using the first QKD key and the second QKD key.

Citation Information

Patent Citations

  • Channel-free symmetric key synchronization method and device

    CN108429618A

  • User access cloud platform security access authentication system and application method thereof

    CN111917543A

  • Electronic equipment and method for managing memory resource in electronic equipment

    JP2003196244A

  • Message authentication method for communication system, and communication system

    JP2013098719A

  • Communication system, communication device, communication method, and program

    JP2015179989A