Encryption system, error correction method, and error correction program
The cryptographic system uses permutation and replacement techniques to secure the error correction process in quantum key distillation, addressing vulnerabilities in existing systems by masking the shift key and protecting bit positions, thus enhancing security and preventing information leakage.
Patent Information
- Application Number
- PCT/JP2023/010718
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-26
AI Technical Summary
Quantum cryptographic systems face challenges in securing the error correction process for key distillation, as it directly handles secret keys and is vulnerable to information leaks and side-channel attacks, particularly due to heavy processing requirements and reliance on external devices.
A cryptographic system and method that employs permutation and replacement techniques to protect the error correction process by sharing a permutation law between devices, generating and transmitting syndromes for error correction, and reversing the process to obtain a shared random number, thereby enhancing data protection and preventing information leakage.
The solution effectively secures the error correction process by masking the original shift key and protecting the position of bits to be corrected, preventing information leakage and enhancing security against side-channel attacks, while maintaining the correction ability of the code.
Smart Images

Figure JP2023010718_26092024_PF_FP
Abstract
Description
Cryptographic system, error correction method, error correction program
[0001] The present invention relates to an encryption system, an error correction method, and an error correction program.
[0002] Quantum cryptography systems require key distillation to derive the same private key from a shared random number sequence containing errors obtained through a quantum channel, and error correction (reconciliation) is a key technology for this. Because this error correction process directly handles the random numbers that form the basis of the private key, its implementation must be highly secure to prevent theft. Decoding error-correcting codes is particularly computationally intensive, and because it often uses external devices such as GPUs and FPGAs, there are many opportunities for attacks. Therefore, data protection measures that do not rely solely on access control are desirable.
[0003] Even if communication through a quantum channel is secure, weaknesses in the implementation may lead to information leakage. For example, a side-channel attack that focuses on the consumption measured in the syndrome calculation in the correction process may be able to recover confidential information. Non-Patent Document 1 proposes countermeasures to prevent such side-channel attacks.
[0004] Dongjun Park, et al. Single trace side-channel attack on key reconciliation in quantum key distribution system and its efficient countermeasures, ICT Express, Volume 7, Issue 1, 2021
[0005] The disclosures of the above-mentioned prior art documents are incorporated herein by reference. The following analysis has been carried out by the present inventors.
[0006] Incidentally, in error correction for normal communications, data is encrypted as needed at the upper layer, so data protection in the error correction process is not a sensitive issue. However, error correction in quantum cryptography key distillation processes the confidential information itself, so data protection becomes important. Conventionally, the main protection measures have been physical means using hardware or access control through operational management, but the application of data protection technology is desired for stronger protection.
[0007] In view of the above-mentioned problems, an object of the present invention is to provide an encryption system, an error correction method, and an error correction program that contribute to data protection in error correction for obtaining the same random number from a shared random number sequence containing errors.
[0008] In a first aspect of the present invention, there is provided an encryption system in which a random number that forms the basis of a secret key is shared between a first device and a second device, wherein the first device and the second device have permutation means that divides shared candidate random numbers into data blocks of a predetermined length and shares a permutation rule that permutes the order inside the data blocks, the first device has an encoding unit that performs permutation on its own random numbers using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits the syndrome to the second device, and the second device has a decoding unit that performs permutation on its own random numbers using the permutation means and performs error correction using the permuted data block and the syndrome, and transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data block using the permutation means to obtain the random number to be shared between the first device and the second device.
[0009] In a second aspect of the present invention, there is provided an error correction method in which a random number that forms the basis of a secret key is shared between a first device and a second device, wherein the first device and the second device divide candidate random numbers to be shared into data blocks of a predetermined length and have permutation means that share a permutation rule that permutes the order inside the data blocks, the first device performs permutation on the random numbers it holds using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data blocks, and transmits the syndrome to the second device, the second device performs permutation on the random numbers it holds using the permutation means, performs error correction using the permuted data blocks and the syndrome, transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data blocks using the permutation means to obtain the random numbers to be shared between the first device and the second device.
[0010] In a third aspect of the present invention, there is provided an error correction program to be executed by a first device and a second device to share random numbers that form the basis of a secret key between the first device and the second device, wherein the first device and the second device have permutation means that divide candidate random numbers to be shared into data blocks of a predetermined length and share a permutation rule that permutes the order within the data blocks, the first device performs permutation on its own random numbers using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data blocks, and transmits the syndrome to the second device, the second device performs permutation on its own random numbers using the permutation means, performs error correction using the permuted data blocks and the syndrome, transmits the error correction result to the first device, and performs inverse permutation on the error-corrected data blocks using the permutation means to obtain the random numbers to be shared between the first device and the second device. Note that this program can be recorded on a computer-readable storage medium. The storage medium may be a non-transient medium such as a semiconductor memory, a hard disk, a magnetic recording medium, an optical recording medium, etc. The present invention may also be embodied as a computer program product.
[0011] According to each aspect of the present invention, it is possible to provide an encryption system, an error correction method, and an error correction program that contribute to data protection in error correction for obtaining the same random number from a shared random number sequence containing an error.
[0012] FIG. 1 is a diagram showing the basic configuration of key distillation in communication using quantum cryptography. FIG. 2 is a diagram explaining the role of syndromes in error correction. FIG. 3 is a diagram showing the procedure for error correction in key distillation. FIG. 4 is a diagram showing an outline of the basic configuration of a cryptographic system according to a first embodiment. FIG. 5 is a diagram showing an example of a method for configuring substitution in substitution means. FIG. 6 is a system diagram showing an outline of the procedure for the error correction method according to the first embodiment. FIG. 7 is a diagram showing an outline of the basic configuration of a cryptographic system according to a second embodiment. FIG. 8 is a diagram showing an outline of the basic configuration of a cryptographic system according to a third embodiment. FIG. 9 is a diagram showing an outline of the basic configuration of a cryptographic system according to a fourth embodiment. FIG. 10 is a diagram showing an example of the hardware configuration of a first device and a second device.
[0013] Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the present invention is not limited to the embodiments described below. In addition, the same or corresponding elements in each drawing are appropriately designated by the same reference numerals. Furthermore, it should be noted that the drawings are schematic, and the dimensional relationships and ratios of each element may differ from those in reality. There may also be parts in which the dimensional relationships and ratios differ between the drawings.
[0014] [Preparation] Before describing the embodiments of the present invention, we will explain key distillation in communications using quantum cryptography. Quantum cryptography (QKD) makes it possible to share a secret key by applying key distillation processing to a random number (shift key) shared over a quantum channel. This key distillation is mainly divided into two processes: error correction and privacy amplification. Error correction is a process for correcting errors between a first device and a second device to share the same random number sequence, and privacy amplification is a process for compressing the shared random number sequence so that the impact of eavesdropping is zero.
[0015] Fig. 1 is a diagram showing the basic configuration of key distillation in communication using quantum cryptography. As shown in Fig. 1, in key distillation in communication using quantum cryptography, a random number is transmitted from a second device 20 to a first device 10 through a quantum channel, and the random number is subjected to key distillation, so that the first device 10 and the second device 20 obtain the same final key.
[0016] Quantum cryptography here refers to quantum key distribution (QKD), a technology that uses a quantum channel (= communication using extremely weak light (at the level of a single photon)) to securely share a secret key between a sender and a receiver. The process of sharing a secret key consists of sharing a random number through the quantum channel and a subsequent key distillation process that generates a secret key (called the final key) used to encrypt data based on this random number (called a sifted key). By encrypting data using the final key shared by quantum cryptography with a one-time pad (= a secret key of the same length as the data length that is used only once), it is possible to achieve encryption that cannot be decrypted, regardless of future advances in decryption technology.
[0017] Key distillation refers to post-processing of quantum key distribution and is a process for generating a final key from a sifted key. As shown in Figure 1, the key distillation process can be broadly divided into error correction and privacy amplification. Error correction is a process for correcting errors between a first device 10 and a second device 20 to share the same random number sequence. The first device 10 generates a syndrome, which is redundant data for error correction, from its own random numbers and transmits the syndrome to the second device 20. The second device 20 then performs error correction using its own random numbers and the syndrome. Privacy amplification is a process for compressing the random number sequence after error correction so that the impact of eavesdropping is zero.
[0018] Error correction is a technology that allows a sender and a receiver to share the same data even over a noisy communication channel. It consists of encoding on the sending side, which adds redundant data to the transmitted data block, and decoding, which uses the redundancy to infer the transmitted data block from the received data block containing errors. Here, the data block obtained by encoding, which combines the transmitted data and redundant bits, is called a codeword, and the received data block corresponding to the codeword is called a received word. The code to be used is agreed upon in advance between the sender and the receiver (encoding and decoding means are prepared based on the code to be used). Key distillation is a process in which a sifted key that has a mismatch (error) between the sender and the receiver is matched to the other's key. The secret key after error correction is called the correction key.
[0019] The correction key contains information that an attacker could have obtained through the quantum channel. The redundant data used for error correction can also be obtained by an attacker, and information about the correction key will continue to be leaked. Privacy amplification is a compression process using a universal hash function to generate a final key from the correction key that effectively reduces the amount of information that an attacker could have obtained to zero.
[0020] Figure 2 is a diagram explaining the role of syndromes in error correction. Error-correcting codes (linear codes) are characterized by an associated parity check matrix, and a codeword is a data block that becomes all 0 when multiplied by the parity check matrix. The length of the codeword and the number of columns in the parity check matrix are the same. The syndrome in an error-correcting code is generally a bit string obtained by multiplying the received word by the parity check matrix. As shown in Figure 2A, if there is an error, the syndrome will not be 0, and the decoding process involves estimating a bit string close to the received word that will result in a syndrome of 0.
[0021] Conversely, when a data block and a syndrome are given, the process of correcting the data block so that the syndrome matches can be performed using the same procedure as normal decryption, and is called syndrome decoding. Syndrome decoding requires the receiver to obtain an error-free syndrome. In key distillation error correction, as shown in Figure 2B, redundant data is generated in post-processing for the sifted key shared over the quantum channel and sent via normal communication, so the redundant data can be transmitted without errors, making syndrome decoding applicable.
[0022] A linear code is a code in which the entire codeword is a linear space in a Galois field. The code is characterized by a parity check matrix, and the codeword is characterized as a symbol sequence that becomes 0 when multiplied by the parity check matrix. Here, the Galois field GF(q) where q = 2m (binary) is usually used. This is because in GF(2m), addition is an xor operation, which is easy to handle as there are no carries. The decoding process is a process of finding the symbol sequence that is closest to the received word when multiplied by the parity check matrix. Below are examples of parity check matrices and codewords.
[0023]
[0024] Figure 3 shows the procedure for error correction in key distillation. The main parameters of an error-correcting code are code length and coding rate. Code length is the bit length of a codeword, and coding rate is the ratio of transmitted data to the codeword. The lower the coding rate (i.e., the larger the redundant data) and the longer the code length, the higher the correction capability. There is also a limit to the coding rate at which correction is possible depending on the level of noise in the communication channel. Furthermore, the coding rate can be changed by changing the code length for a single code. For example, puncturing can increase the coding rate by not transmitting some redundant data. Shortening can lower the coding rate by setting some transmitted data to a fixed value.
[0025] In quantum cryptography, the quantum channel conditions change subtly depending on the distance between the sender and receiver, the optical fiber, and the environment. The final key generation rate is maximized by setting an appropriate coding rate and code length depending on the conditions. Therefore, in the key distillation process, as shown in Figure 3, the first device 10 monitors the quantum channel conditions to determine a code with an appropriate coding rate and code length, and transmits this as meta-information along with a syndrome to the second device 20. The second device 20 on the decoding side sets the code to be used for decoding from the meta-information.
[0026] Decoding may fail in the second device 20 on the receiving side. Success / failure of decoding is determined by checking the syndrome after decoding and by separately preparing redundant data for error detection. The second device 20 on the receiving side conveys information on the success or failure of decoding of the received word to the first device 10 on the transmitting side, and data blocks that failed to be decoded are discarded by both sides. Privacy amplification is performed using only data blocks that were successfully decoded as input.
[0027] First Embodiment As described above, in conventional key distillation in quantum cryptography-based communications, error correction is used to share the same random number (shift key). However, because the key distillation process directly handles the random number (shift key) that is the source of the private key, its implementation requires a means to prevent information theft. In normal communications, error correction handles data encrypted as needed in a higher layer, so data protection in the error correction process is not sensitive. However, in quantum cryptography key distillation, error correction processes the secret information itself, making data protection important. For example, there are risks such as insider attacks by administrators, malware, unauthorized access using administrative privileges, side-channel attacks, and memory leaks. Furthermore, the error correction process in key distillation is particularly processing-intensive, and external accelerators such as GPUs and FPGAs are also used, which significantly increases the opportunities for attack. While conventional protection measures have mainly relied on physical hardware or operational management-based access control, the application of data protection technology is desired for stronger protection. Therefore, in the error correction process for key distillation in the first embodiment, random substitution is applied to input data blocks.
[0028] FIG. 4 is a diagram illustrating a schematic diagram of the basic configuration of a cryptosystem according to the first embodiment. The cryptosystem illustrated in FIG. 4 illustrates only the configuration related to error correction for sharing the same random number, among the cryptosystems in which a random number that forms the basis of a secret key is shared between a first device 10 and a second device 20. Therefore, the cryptosystem is also considered to include configurations related to privacy amplification, for example, that are not illustrated in FIG. 4 . In other words, the general configuration of key distillation already described is considered to include a cryptosystem even if not directly illustrated in FIG. 4 .
[0029] As shown in Fig. 4, the first device 10 and the second device 20 have permutation means 11 and 21 that divide the shared candidate random numbers x and y into data blocks of a predetermined length and permute the order within the data blocks, and share the permutation rule. That is, the permutation rule in the permutation means 11 and 21 is kept secret between the sender and the receiver and is safely shared in advance. Note that the permutation means 11 and 21 do not need to use a new permutation rule each time.
[0030] The first device 10 is equipped with an encoding unit 12 that performs a permutation on a random number x held by itself using permutation means 11, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits this syndrome to the second device 20. On the other hand, the second device 20 is equipped with a decoding unit 22 that performs a permutation on a random number y held by itself using permutation means 21, and performs error correction using the permuted data block and the syndrome, transmits the result of the error correction to the first device 10, and performs an inverse permutation on the error-corrected data block using the permutation means 21 to obtain a random number x to be shared between the first device 10 and the second device 20.
[0031] In the cryptosystem according to the first embodiment, the decryption process is performed with the permutation remaining, so that even if the value in the memory during the decryption process is stolen, it is possible to prevent information leakage of the original sifted key. Because the permutation is secret for an attacker, if the sifted key is a random sequence, it becomes difficult for the attacker to guess the original sifted key from the input of the decryption process (in the key distillation process, it can be expected that the sifted key will be a random sequence each time). Note that the number of error bits does not change in the permutation process, so the correction capability of the code does not change.
[0032] In the cryptographic system according to the first embodiment, a feature unique to key distillation is that random permutation is also introduced on the syndrome generation side (first device 10 side). As a result, data protection in the cryptographic system according to the first embodiment requires cooperation between the sender and the receiver. In addition, by permuting the data to be processed in error correction before processing, there is also the advantage that no additional information is provided to an attacker who eavesdrops on the quantum channel. Furthermore, there is the advantage that the random permutation process can also protect information on the position of the bit to be corrected. This information can also be protected against an attacker who eavesdrops on the quantum channel. This information can also be protected against an attacker who eavesdrops on the quantum channel. There is also the effect of preventing leakage of the sifted key in the syndrome generation process.
[0033] Figure 5 shows an example of a method for configuring a permutation in the permutation means. It is preferable for the permutation means to permute the order within the data block corresponding to the code length, but the appropriate data block size varies depending on the quantum channel conditions. Since preparing separate permutations for each data block size is cumbersome, a possible implementation method is to prepare a random permutation table for the largest code length, and for smaller code lengths, determine the permuted position according to the order within that range. The example shown in Figure 5 shows a method for creating a permutation table corresponding to a data block of size 6 from a permutation table corresponding to a data block of size 10. By adopting this method of preparing a random permutation table for the largest code length, and for smaller code lengths, determining the permuted position according to the order within that range, it is not necessary to prepare a table for each code length.
[0034] Fig. 6 is a system diagram showing an outline of the procedure of the error correction method according to the first embodiment. As shown in Fig. 6, the error correction method according to the first embodiment is an error correction method for sharing random numbers that form the basis of a secret key between a first device 10 and a second device 20. It is assumed that the first device 10 and the second device 20 have permutation means 11 and 21 that share a permutation rule for dividing shared candidate random numbers x and y into data blocks of a predetermined length and permuting the order within the data blocks.
[0035] The first device 10 performs a permutation on its own random number x using the permutation means 11 (step S1), generates a syndrome, which is redundant data for error correction, for the permuted data block, and transmits this syndrome to the second device 20 (step S2).
[0036] Meanwhile, the second device 20 performs a permutation on its own random number y using the permutation means 21 (step S3), and performs error correction using the permuted data block and syndrome (step S4). Thereafter, the second device 20 transmits the error correction result to the first device 10 (step S5), and performs an inverse permutation on the error-corrected data block using the permutation means 21 (step S6), thereby obtaining a random number x shared between the first device 10 and the second device 20. The first device 10 discards the data block that failed to be decoded in accordance with the received error correction result (step S7).
[0037] [Second Embodiment] A method is known for protecting data during processing by masking (addition, xor) the data with a random number. For example, this method is also used to counter side channel attacks in cryptographic implementations. Furthermore, since error correction codes have linearity, this type of protection by masking can also be naturally applied to error correction. Note that this data protection process by random masking is completed on the decryption side.
[0038] FIG. 7 is a diagram illustrating a basic configuration of a cryptosystem according to a second embodiment. The cryptosystem illustrated in FIG. 7 only illustrates the processing of the second device 20 (decryption side) related to data protection processing using a random mask. Therefore, the cryptosystem is also considered to include components not illustrated in FIG. 7 , such as a privacy amplification configuration and a first device (transmission side). In other words, the general key distillation configuration already described is considered to be included in the cryptosystem, even if it is not directly illustrated in FIG. 7 .
[0039] 7, the second device 20 divides the shared candidate random numbers x and y into data blocks of a predetermined length, and shares with the first device 10 (not shown) the permutation rule of a permutation means 21 that permutes the order inside the data blocks. The first device 10 (not shown) also has an encoding unit 12 that performs permutation on its own random number x using a permutation means 11, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits this syndrome to the second device 20.
[0040] On the other hand, the second device 20 adds a masking random number r to the permuted data block P(x), generates a masking syndrome S(r) for the masking random number r, adds this to the syndrome S(P(x)), performs error correction using the syndrome S(P(x))+S(r) obtained by adding the permuted data block P(x)+r to which the masking random number r has been added and the masking syndrome S(r), subtracts the masking random number r from the error-corrected data block P(x)+r, and then performs inverse permutation using the permutation means 21. Through this process, the second device 20 can obtain the random number x held by the first device 10 (not shown).
[0041] The cryptosystem according to the second embodiment is more secure because it adds data protection by random masking to the data protection of the cryptosystem according to the first embodiment. For example, if the balance between 0 and 1 in the random number y is disrupted, this information will be leaked even if permutation is performed, but this information can also be kept secret by applying random masking.
[0042] [Third Embodiment] Conventionally, a permutation process of changing the bit order before key distillation has been performed on the transmitting side and the receiving side, but this was intended to provide interleaving as a countermeasure against burst errors or to reduce the impact of eavesdropping on the quantum channel. In interleaving as a countermeasure against burst errors, permutation in large units that span multiple code words is effective, and in order to reduce the impact of eavesdropping on the quantum channel, permutation after the process is not necessary because protection during the key distillation process is not the purpose.
[0043] On the other hand, the permutation process of the present invention aims to prevent information theft during the key distillation process. For this reason, permutation is necessary even after the process, and permutation within a codeword is more suitable than permutation across multiple codewords. Therefore, the permutation process of the present invention is different from the conventional permutation process that shuffles the bit order before key distillation. However, this invention can be combined with the conventional permutation process (interleaving) before key distillation, and the effects of each can be achieved.
[0044] 8 is a diagram illustrating a basic configuration of an encryption system according to the third embodiment. As shown in FIG. 8, the first device 10 and the second device 20 perform permutation across multiple code words on random numbers they hold, and use these permutations as the candidate random numbers to be shared. The subsequent key distillation process is the same as in the first embodiment.
[0045] That is, the first device 10 and the second device 20 have permutation means 11 and 21 that share a permutation rule for dividing shared candidate random numbers x and y into data blocks of a predetermined length and permuting the order within the data blocks. The first device 10 has an encoding unit 12 that performs permutation on its own random number x using the permutation means 11, generates a syndrome, which is redundant data for error correction, for the permuted data block, and transmits this syndrome to the second device 20. Meanwhile, the second device 20 has a decoding unit 22 that performs permutation on its own random number y using the permutation means 21 and performs error correction using the permuted data block and the syndrome, transmits the error correction result to the first device 10, and performs inverse permutation on the error-corrected data block using the permutation means 21 to obtain a random number x shared between the first device 10 and the second device 20.
[0046] In this way, the data protection of the cryptographic system according to the third embodiment can be implemented in natural combination with the substitution process (interleaving) before key distillation, and the effects of each can be exerted independently.
[0047] [Fourth Embodiment] As already mentioned, the error correction process for key distillation is particularly heavy processing, and therefore an accelerator using an external device such as a GPU or FPGA is often used. The cryptographic systems according to the above-described embodiments can also perform error correction by utilizing the computational support of an external device.
[0048] Fig. 9 is a diagram schematically illustrating the basic configuration of a cryptographic system according to the fourth embodiment. Note that Fig. 9 illustrates only the configuration related to decryption processing, but the cryptographic system is also considered to include components not illustrated in Fig. 9 , such as a configuration related to privacy amplification and a first device (transmitter). In other words, the general configuration of key distillation already described is considered to be included in the cryptographic system even if it is not directly illustrated in Fig. 9 .
[0049] As shown in Fig. 9, the second device 20 divides a shared candidate random number y into data blocks of a predetermined length and shares with the first device 10 (not shown) a permutation rule in a permutation means 21 that permutes the order within the data blocks. The first device 10 is equipped with an encoding unit 12 that performs permutation on its own random number x using the permutation means 11, generates a syndrome, which is redundant data for error correction, for the permuted data block, and transmits this syndrome to the second device 20. Meanwhile, the second device 20 is equipped with a decoding unit 22 that performs permutation on its own random number y using the permutation means 21 and performs error correction using the permuted data block and the syndrome. The second device 20 transmits the error correction result to the first device 10 and performs inverse permutation on the error-corrected data block using the permutation means 21 to obtain a random number x shared between the first device 10 and the second device 20.
[0050] Here, the second device 20 utilizes the computational support of the external accelerator 13 in the process of performing error correction using the data block after substitution and the syndrome. The external accelerator 13 performs decryption processing in accordance with the control processing of the second device 20. Furthermore, the external accelerator 13 is an external device of the second device 20, and can be shared with other devices (channel 2, channel 3) without being exclusively used by the second device 20. In this case, in the encryption system according to the embodiment of the present invention, since the data block has been subjected to substitution processing, integrity is ensured even if the external accelerator 13 is an external device.
[0051] [Hardware Configuration Example] Figure 10 is a diagram showing an example of the hardware configuration of the first device and the second device. An information processing device (computer) employing the hardware configuration shown in Figure 10 makes it possible to realize the functions of the first device 10 and the second device 20 described above. However, the hardware configuration example shown in Figure 10 is an example of a hardware configuration that realizes the functions of the first device 10 and the second device 20, and is not intended to limit the hardware configuration of the first device 10 and the second device 20. The first device 10 and the second device 20 may include hardware not shown in Figure 10.
[0052] As shown in FIG. 10, a hardware configuration 40 that can be adopted by the first device 10 and the second device 20 includes a CPU (Central Processing Unit) 41, a main memory device 42, an auxiliary memory device 43, and an IF (Interface) unit 44, which are interconnected by, for example, an internal bus.
[0053] The CPU 41 executes each command included in the program executed by the first device 10 and the second device 20. The main storage device 42 is, for example, a RAM (Random Access Memory), and temporarily stores various programs executed by the first device 10 and the second device 20 for processing by the CPU 41.
[0054] The auxiliary storage device 43 is, for example, a hard disk drive (HDD) and is capable of storing various programs executed by the first device 10 and the second device 20 on a medium- to long-term basis. The various programs can be provided as program products recorded on a non-transitory computer-readable storage medium. The auxiliary storage device 43 can be used to store the various programs recorded on the non-transitory computer-readable storage medium on a medium- to long-term basis. The IF unit 44 provides an interface for communication between the first device 10 and the second device 20.
[0055] An information processing apparatus employing the above-described hardware configuration 40 can realize the functions of the first device 10 and the second device 20 .
[0056] Some or all of the above embodiments may be described as, but are not limited to, the following supplementary notes: [Supplementary Note 1] An encryption system in which a random number serving as a basis for a secret key is shared between a first device and a second device, wherein the first device and the second device have permutation means that divides shared candidate random numbers into data blocks of a predetermined length and shares a permutation rule for permuting the order within the data blocks, the first device has an encoding unit that performs permutation on its own random numbers using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data blocks, and transmits the syndrome to the second device, and the second device has a decoding unit that performs permutation on its own random numbers using the permutation means and performs error correction using the permuted data blocks and the syndrome, and transmits the result of the error correction to the first device and performs inverse permutation on the error-corrected data blocks using the permutation means to obtain the random number to be shared between the first device and the second device. [Supplementary Note 2] The cryptographic system according to Supplementary Note 1, wherein the second device adds a masking random number to the permuted data block, generates a masking syndrome for the masking random number and adds it to the syndrome, performs error correction using the permuted data block to which the masking random number has been added and the syndrome obtained by adding the masking syndrome, subtracts the masking random number from the error-corrected data block, and then performs inverse permutation using the permutation means. [Supplementary Note 3] The cryptographic system according to Supplementary Note 1, wherein the first device and the second device perform permutation across a plurality of the data blocks on a random number held by themselves, and use the result as the shared candidate random number. [Supplementary Note 4] The cryptographic system according to any one of Supplements 1 to 3, wherein the second device performs the error correction using calculation support from an external device.[Supplementary Note 5] An error correction method in which a random number that forms the basis of a secret key is shared between a first device and a second device, wherein the first device and the second device have permutation means that divides shared candidate random numbers into data blocks of a predetermined length and shares a permutation rule that permutes the order inside the data blocks, the first device performs permutation on its own random number using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits the syndrome to the second device, the second device performs permutation on its own random number using the permutation means, performs error correction using the permuted data block and the syndrome, transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data block using the permutation means to obtain the random number to be shared between the first device and the second device. [Supplementary Note 6] The error correction method according to Supplementary Note 5, wherein the second device adds a masking random number to the permuted data block, generates a masking syndrome for the masking random number and adds it to the syndrome, performs error correction using the permuted data block to which the masking random number has been added and the syndrome obtained by adding the masking syndrome, subtracts the masking random number from the error-corrected data block, and then performs inverse permutation using the permutation means. [Supplementary Note 7] The error correction method according to Supplementary Note 5, wherein the first device and the second device perform permutation across a plurality of the data blocks on a random number held by themselves, and use the result as the shared candidate random number. [Supplementary Note 8] The error correction method according to any one of Supplementary Note 5 to Supplementary Note 7, wherein the second device performs the error correction using calculation support from an external device.[Supplementary Note 9] An error correction program to be executed by a first device and a second device in order to share a random number that is the basis of a secret key between the first device and the second device, wherein the first device and the second device have permutation means that divides candidate random numbers to be shared into data blocks of a predetermined length and shares a permutation rule that permutes the order inside the data blocks, the first device performs permutation on the random numbers it holds using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data blocks, and transmits the syndrome to the second device, the second device performs permutation on the random numbers it holds using the permutation means, performs error correction using the permuted data blocks and the syndrome, transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data blocks using the permutation means to obtain the random numbers to be shared between the first device and the second device. [Supplementary Note 10] The error correction program according to Supplementary Note 9, wherein the second device adds a masking random number to the permuted data block, generates a masking syndrome for the masking random number and adds it to the syndrome, performs error correction using the permuted data block to which the masking random number has been added and the syndrome to which the masking syndrome has been added, subtracts the masking random number from the error-corrected data block, and then performs inverse permutation using the permutation means.
[0057] The disclosures of the above-cited patent documents and other documents are incorporated herein by reference. Modifications and adjustments of the embodiments and examples are possible within the scope of the entire disclosure of the present invention (including the claims), and further based on the basic technical concepts thereof. Furthermore, various combinations and selections (including partial deletions) of various disclosed elements (including elements of each claim, each element of each embodiment or example, each element of each drawing, etc.) are possible within the scope of the entire disclosure of the present invention. In other words, the present invention naturally embraces various modifications and alterations that would be possible by a person skilled in the art in accordance with the entire disclosure and technical concepts, including the claims. In particular, with regard to the numerical ranges described herein, any numerical value or subrange within the range should be construed as specifically described, even if not otherwise specified. Furthermore, the disclosures of the above-cited documents, when used in part or in whole in combination with the disclosures herein as part of the disclosure of the present invention, in accordance with the spirit of the present invention, are also deemed to be included in the disclosures of this application.
[0058] REFERENCE SIGNS LIST 10 First device 11, 21 Replacement means 12 Encoding unit 13 External accelerator 20 Second device 22 Decoding unit 40 Hardware configuration 41 CPU 42 Main storage device 43 Auxiliary storage device 44 IF unit
Claims
1. A cryptographic system in which a random number that is the basis of a secret key is shared between a first device and a second device, wherein the first device and the second device have a permutation means that shares a permutation rule for dividing shared candidate random numbers into data blocks of a predetermined length and permuting the order inside the data blocks, the first device has an encoding unit that performs permutation on its own random numbers using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits the syndrome to the second device, and the second device has a decoding unit that performs permutation on its own random numbers using the permutation means and performs error correction using the permuted data block and the syndrome, and transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data block using the permutation means to obtain the random number to be shared between the first device and the second device.
2. The encryption system of claim 1, wherein the second device adds a mask random number to the permuted data block, generates a mask syndrome for the mask random number and adds it to the syndrome, performs error correction using the permuted data block to which the mask random number has been added and the syndrome to which the mask syndrome has been added, subtracts the mask random number from the error-corrected data block, and then performs inverse permutation using the permutation means.
3. The encryption system of claim 1, wherein the first device and the second device use a random number held by the first device and the second device, which is a permutation performed across multiple data blocks, as the candidate random number to be shared.
4. The cryptographic system of claim 1, wherein the second device utilizes computational assistance from an external device to perform the error correction.
5. An error correction method in which a random number that is the basis of a secret key is shared between a first device and a second device, wherein the first device and the second device have a permutation means that divides shared candidate random numbers into data blocks of a predetermined length and shares a permutation rule for permuting the order inside the data blocks, the first device performs permutation on the random numbers it possesses using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits the syndrome to the second device, and the second device performs permutation on the random numbers it possesses using the permutation means, performs error correction using the permuted data block and the syndrome, transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data block using the permutation means to obtain the random numbers to be shared between the first device and the second device.
6. The error correction method according to claim 5, wherein the second device adds a masking random number to the permuted data block, generates a masking syndrome for the masking random number and adds it to the syndrome, performs error correction using the permuted data block to which the masking random number has been added and the syndrome to which the masking syndrome has been added, subtracts the masking random number from the error-corrected data block, and then performs inverse permutation using the permutation means.
7. The error correction method according to claim 5, wherein the first device and the second device apply a permutation across multiple data blocks to a random number held by the first device and the second device to obtain the shared candidate random number.
8. The method of claim 5, wherein the second device performs the error correction with the aid of computation from an external device.
9. An error correction program to be executed by a first device and a second device to share a random number that is the basis of a secret key between the first device and the second device, wherein the first device and the second device have a permutation means that divides candidate random numbers to be shared into data blocks of a predetermined length and shares a permutation rule that permutes the order within the data blocks, the first device performs permutation on the random numbers it possesses using the permutation means, generates a syndrome that is redundant data for error correction for the permuted data block, and transmits the syndrome to the second device, the second device performs permutation on the random numbers it possesses using the permutation means, performs error correction using the permuted data block and the syndrome, transmits the result of the error correction to the first device, and performs inverse permutation on the error-corrected data block using the permutation means to obtain the random numbers to be shared between the first device and the second device.
10. The error correction program of claim 9, wherein the second device adds a mask random number to the permuted data block, generates a mask syndrome for the mask random number and adds it to the syndrome, performs error correction using the permuted data block to which the mask random number has been added and the syndrome to which the mask syndrome has been added, subtracts the mask random number from the error-corrected data block, and then performs inverse permutation using the permutation means.
Citation Information
Patent Citations
Error correction method and device for quantum key distribution system
CN113259101A
Data transmission method
JP1992360438A
Quantum key delivery method and communication equipment
JP2004112278A
Signal processing system, quantum encryption system, signal processing method and quantum encryption method
JP2011166292A
