WO2018110608A1 - 照合システム、方法、装置及びプログラム - Google Patents

照合システム、方法、装置及びプログラム Download PDF

Info

Publication number
WO2018110608A1
WO2018110608A1 PCT/JP2017/044769 JP2017044769W WO2018110608A1 WO 2018110608 A1 WO2018110608 A1 WO 2018110608A1 JP 2017044769 W JP2017044769 W JP 2017044769W WO 2018110608 A1 WO2018110608 A1 WO 2018110608A1
Authority
WO
WIPO (PCT)
Prior art keywords
encrypted data
verification
binary vector
value
data
Prior art date
Application number
PCT/JP2017/044769
Other languages
English (en)
French (fr)
Inventor
春菜 肥後
寿幸 一色
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to US16/469,486 priority Critical patent/US11128462B2/en
Priority to JP2018556722A priority patent/JP7127543B2/ja
Publication of WO2018110608A1 publication Critical patent/WO2018110608A1/ja
Priority to US17/397,431 priority patent/US11882218B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving a third party or a trusted authority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/008Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols involving homomorphic encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/065Encryption by serially and continuously modifying data stream elements, e.g. stream cipher systems, RC4, SEAL or A5/3
    • H04L9/0656Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher
    • H04L9/0662Pseudorandom key sequence combined element-for-element with data sequence, e.g. one-time-pad [OTP] or Vernam's cipher with particular pseudorandom sequence generator
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3066Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy involving algebraic varieties, e.g. elliptic or hyper-elliptic curves
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • H04L9/3231Biological data, e.g. fingerprint, voice or retina
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3271Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using challenge-response

Definitions

  • the present invention is based on the priority claim of Japanese patent application: Japanese Patent Application No. 2016-243709 (filed on Dec. 15, 2016), the entire contents of which are incorporated herein by reference. Shall.
  • the present invention relates to a verification system, method, apparatus, and program.
  • a template is created based on biometric information, and the created template is stored in a database as authentication information.
  • an authentication target is accepted when authentication information created based on a biometric subject to authentication and a template stored in a database are similar (or matched).
  • an authentication target is not accepted when the authentication information and the template are not similar (or coincident). Even if a plurality of pieces of authentication information are created from one living body, the plurality of pieces of authentication information do not always match each other. However, when the similarity is measured using a certain distance function, the distance between the plurality of pieces of authentication information is short. On the other hand, the distance between a plurality of pieces of authentication information created from different living bodies is long.
  • the biometric authentication technology collates the template stored in the database with the authentication information created for the authentication target by using the above characteristics.
  • fingerprints, veins, etc. are examples of biometric information, and are data that does not change throughout life.
  • the damage caused when biometric information is leaked outside the verification system is significant.
  • the biometric information is one piece of information that requires confidentiality. Therefore, even if a template leaks outside the verification system, a template protection type biometric authentication technique that prevents biometric information from leaking outside is important.
  • the biometric authentication technology As with other authentication technologies, it is necessary to prevent a living body in which authentication information is registered from impersonating a living body different from the living body (that is, “spoofing”). For example, an authentication technique that succeeds in authentication by sending a specific value to a matching system is not sufficiently resistant to impersonation. Further, in the authentication technology, there is a risk that the communication information is wiretapped (intercepted) as well as the risk of the template leaking. In the authentication technology, even if communication information is wiretapped, it is necessary to prevent spoofing. For example, when a legitimate client succeeds in authenticating the verification system, a method in which authentication is successful by retransmitting data transmitted to the verification system by a different client is likely not to be sufficiently resistant to impersonation. .
  • Patent Document 1 discloses registration information of a user encrypted using an encryption algorithm that can calculate a Hamming distance in an encrypted state, and verification information encrypted using the registration information and the encryption algorithm.
  • the calculation result of the Hamming distance between the verification information and the user is converted to include the Hamming distance between the verification information and the user, and the verification information and a different hamming distance from the user.
  • the Hamming distance between the converted registration information and the Hamming distance between the collation information and the user and the Hamming distance between the collation information and another user included in the calculated Hamming distance are included in the calculated Hamming distance.
  • a method and apparatus for executing a process for determining whether or not the input collation information is illegal based on a comparison result between the threshold value and a preset threshold value It is shown.
  • Patent Document 3 discloses a method for easily canceling encrypted information in an encryption processing system using homomorphic encryption.
  • the first data is converted by using the first conversion polynomial to obtain the first polynomial, and an expression obtained based on the random number corresponding to the first data and the second data is converted into the second conversion.
  • a second polynomial is obtained by conversion using a polynomial, and the random number is obtained by converting the random number using at least one of the first conversion polynomial or the second conversion polynomial, and the first polynomial is obtained.
  • the second polynomial and the random number polynomial are encrypted using a homomorphic encryption method, and an encrypted first polynomial, an encrypted second polynomial, and an encrypted random number polynomial are obtained.
  • a method for collating first data and second data using an encrypted first polynomial, an encrypted second polynomial, and an encrypted random number polynomial is disclosed. .
  • Patent Document 4 discloses a technique configured using a more general homomorphic encryption method in a system in which intervention by a reliable third party is introduced.
  • Patent Document 5 describes a technique in which the size of the template does not depend on the parameter of the range of the acceptable range and the load on the third party is small.
  • the distance from the biometric information that is a target to be compared with the registered biometric information is disclosed to a third party. It is known that a malicious third party can perform an attack (hill climbing attack) by using the distance obtained at the time of collation.
  • Non-Patent Document 1 describes all three security features: the security against attackers collocated by the server and the user, the security against attackers collocated by the decryptor and the user, and the property that an eavesdropper cannot impersonate the user. A method of satisfying has been proposed.
  • the notation such as the encryption algorithm used in this specification will be described.
  • public key cryptography will be described.
  • the public key cryptosystem is represented by three algorithms (Gen, Enc, Dec): key generation, encryption, and decryption.
  • the key generation algorithm (indicated as “Gen”) outputs a public key pk and a secret key sk based on the security parameter 1 ⁇ ⁇ . (pk, sk) ⁇ Gen (1 ⁇ ⁇ )
  • the encryption algorithm receives the public key pk and plaintext m and outputs ciphertext c. c ⁇ Enc (pk, m)
  • the decryption algorithm receives the secret key sk and ciphertext c, and outputs a decryption result m ′.
  • pk and sk may be abbreviated in some cases that are apparent from the context.
  • Homomorphic encryption is public key cryptography that can calculate the ciphertext of the operation result of plaintext from a plurality of ciphertexts. For example, the plaintext m 1, ..., ciphertext Enc of m n (m 1), ... , Enc (m m) ciphertext corresponding to the sum of the plaintext without using the secret key from Enc (m 1 + ... + m n ) Is called “additive homomorphic encryption”.
  • Patent Documents 2 and 3 have a problem in terms of resistance to an impersonation attack by an eavesdropper.
  • Patent Documents 2, 3, and 5 Somewhat homomorphic encryption and pairing calculation are required.
  • Somewhat homomorphic encryption has problems such as a heavy processing load and strong assumptions compared to additive homomorphic encryption.
  • Non-Patent Document 1 when the biological information is a binary vector (binary code string), the present inventors need to increase the degree of defense (resistance) against an impersonation attack by an eavesdropper or the like. I found out. In addition to this, since the present inventors have found a technique that can handle 1: N authentication, the following is proposed.
  • the main object of the present invention is to provide a collation system, method, collation apparatus, and program that can avoid leakage and spoofing and improve safety in collating binary vectors.
  • a verification system generates a random number and obtains a first value related to a first binary vector encrypted with an encryption key by performing an operation with the random number while encrypting the first binary vector.
  • a verification device for transmitting the encrypted data or the encrypted data obtained by encrypting the generated random number with the encryption key to the verification requesting device, and a second verification for verification while encrypting the encrypted data from the verification device.
  • the verification requesting device for transmitting the encrypted data obtained by the calculation with the binary vector element to the verification device.
  • the collation device based on the second value related to the first binary vector encrypted with the encryption key, the cipher data transmitted from the collation request device, and the random number, Encryption data or the encryption data and auxiliary data for verifying the degree of mismatch between the binary vector and the first binary vector is generated and transmitted to the verification device as the query.
  • the collation system is configured to decrypt the encrypted data of the query transmitted from the collation device with a decryption key, or based on the decrypted value and the auxiliary data of the query, the second binary vector and the
  • the verification apparatus determines whether or not the number of mismatched elements of the first binary vector is equal to or less than a predetermined number.
  • the verification device generates a random number and generates encrypted data obtained by calculation with the random number while encrypting the first value related to the first binary vector encrypted with the encryption key, or generation Transmitting encrypted data obtained by encrypting the random number using the encryption key to the verification requesting device;
  • a step in which the verification requesting device transmits the encrypted data obtained by the calculation with the elements of the second binary vector for verification while encrypting the encrypted data from the verification device to the verification device When, (C) based on the second value related to the first binary vector encrypted with an encryption key, the encrypted data transmitted from the verification requesting device, and the random number, Generating encrypted data or the encrypted data and auxiliary data for verifying the degree of mismatch between the second binary vector and the first binary vector, and transmitting the encrypted data to the verification device as the query; (D) based on the value obtained by decrypting the encrypted data of the query transmitted from the verification device with a decryption key, or the decrypted value and the
  • encrypted data obtained by calculation with the random number while generating a random number and encrypting the first value related to the first binary vector encrypted with the encryption key; Or means for transmitting encrypted data obtained by encrypting the generated random number with the encryption key to a verification requesting device, and a second binary vector for verification from the verification requesting device while encrypting the encrypted data.
  • the computer of the verification device includes: A random number is generated and encrypted data obtained by calculation with the random number while the first value related to the first binary vector encrypted with the encryption key is encrypted, or the generated random number is used as the encryption key. Processing to send the encrypted data encrypted in step 1 to the verification request device; A process of receiving encrypted data obtained by calculation with the elements of the second binary vector for verification while encrypting the encrypted data from the verification requesting device; Based on the second value related to the first binary vector encrypted with the encryption key, the encrypted data transmitted from the verification requesting device, and the random number, the second binary vector and the Processing for generating encrypted data or the encrypted data and auxiliary data for verifying the degree of mismatch of the first binary vector, and transmitting the encrypted data to the verification device as the query; Based on a value obtained by decrypting the encrypted data using a decryption key, or on the basis of the decrypted value and the auxiliary data, the number of mismatched elements between the second binary vector and the first binary vector is determined in advance.
  • a semiconductor storage such as a computer-readable recording medium (for example, RAM (Random Access Memory), ROM (Read Only Memory), or EEPROM (Electrically Erasable and Programmable ROM) ROM) storing the above program, HDD (Hard Disk Drive), CD (Compact Disk), DVD (Digital Versatile Disk) and other non-transitory computer computer readable recording media are provided.
  • a computer-readable recording medium for example, RAM (Random Access Memory), ROM (Read Only Memory), or EEPROM (Electrically Erasable and Programmable ROM) ROM) storing the above program, HDD (Hard Disk Drive), CD (Compact Disk), DVD (Digital Versatile Disk) and other non-transitory computer computer readable recording media.
  • FIG. 1 is a diagram illustrating one embodiment of the present invention.
  • ⁇ i is a sum operator for i (i may be omitted in the drawing).
  • the encryption data from the verification requesting device 120 for example, Enc (S ⁇ i (1-2x i ) y i ) in FIG. 4 or the like, or Enc (S ⁇ i A i B i ) in FIG. 14 or the like, or 1: N
  • auxiliary data for example, the hash value H (a i b i r i ) in FIG. 22 or the hash value H (a i b i ) in FIG. ), And generate The generated query is transmitted to the verification device 150.
  • the verification device 150 A value (d H (X, Y)) obtained by decrypting the encrypted data of the query from the verification device 140 (for example, Enc (d H (X, Y)) in FIG. 4, FIG. 19, etc.) with a decryption key (sk).
  • N authentication The encrypted data of the query (for example, Enc (a i (2x i -1)), Enc (b i r i (2y i -1)) in FIG. 22, or Enc (a i b i (2x i in FIG. 26)). -1) (2y i -1))) with the decryption key (sk) (eg, (z a , z b ) in FIG.
  • the verification device 150 outputs a verification result (accepted or rejected).
  • the verification device 150 may return a verification result (acceptance or rejection) to the verification device 140 as a response to the query, and the verification device 140 may transmit the verification result (acceptance or rejection) to the verification request device 120. .
  • the encrypted data obtained by encrypting at least one of A i )) with the encryption key (pk) is transmitted to the storage device 130.
  • the storage device 130 stores the encrypted registration data.
  • the encryption key (public key) and the decryption key (secret key) are preferably public key cryptosystems having homomorphism with respect to addition. Alternatively, a public key cryptosystem having multiplicative homomorphism may be used as the cryptosystem. Or you may use the public key cryptosystem which has homomorphism regarding addition and multiplication, like Somewhat homomorphic encryption scheme.
  • the registration request device 110 and the verification request device 120 may constitute a registration client and an authentication client, respectively.
  • the registration client and the authentication client may have an integrated device configuration in which registration and verification are performed by the same device, or registration and verification may be performed by separate devices.
  • the storage device 130 and the verification device 140 may be configured as a server (database server, authentication server) that performs registration and verification processing in response to a request from a client.
  • the storage device 130 and the verification device 140 may be configured as an integrated server.
  • the storage device 130 stores the first and second templates as registration data.
  • the verification requesting device 120 sends each of the second encrypted data (Enc (pk, S (1 ⁇ 2x 1 )),..., Enc (pk, S (1 ⁇ 2x n ))) transmitted from the verification device 140.
  • the collation device 140 performs a scalar operation on the third encrypted data by the reciprocal number (S ⁇ (-1)) ( ⁇ is a power operator) of the random number (S), and generates a random number (
  • the verification device 140 In response to the verification request from the verification requesting device 120, the verification device 140 Generate a random number (S) Third encrypted data ((Enc (pk, S (1 ⁇ 2x 1 )),..., Enc (pk, S (1 ⁇ ⁇ ) obtained by performing a scalar operation on the random number (S) while the first encrypted data is encrypted. 2x n ))). Then, the collation device 140 transmits the third encrypted data to the collation request device 120.
  • the subsequent processes of the collation device 140 and the verification device 150 are the same as those in the first embodiment.
  • the registration requesting device 110 encrypts each element of the first binary vector for registration with a public key (pk) (Enc (pk, x1)),..., Enc (pk, xn)) are transmitted to the storage device 130.
  • the storage device 130 records the encrypted data of each element of the first binary vector.
  • the collation device 140 further generates a random number (S),
  • the first encrypted data (Enc (pk, (1-2x 1 )), ..., Enc (pk, (1-2x n )) is a third cryptographic data (Enc (pk, S (1-2x 1 )), ..., Enc (pk, S (1-2x n ))).
  • the verification device 140 the third cipher data (Enc (pk, S (1 - 2x n)) - 2x 1)), ..., Enc (pk, S (1) and transmits the collating request device 120.
  • the subsequent processes of the collation device 140 and the verification device 150 are the same as those in the first embodiment.
  • the first conversion function f1 is given as follows, for example.
  • A is an n-dimensional conversion value vector.
  • the second conversion function f2 is given as follows, for example.
  • B is an n-dimensional conversion value vector.
  • the first conversion function f1 may be implemented as a subroutine using the binary vector X as an input parameter and the conversion value vector A as an output parameter.
  • the second conversion function f2 may be implemented as a subroutine using the binary vector Y as an input parameter and the conversion value vector B as an output parameter.
  • the second embodiment will be described with reference to FIG.
  • the registration requesting device 110 obtains a conversion value vector [A 1 ,..., A n ] by applying the first conversion function f 1 to the binary vector X for registration.
  • [A 1 , ..., A n ] T f1 [x 1 , ..., x n ] T
  • T f1 [x 1 , ..., x n ] T
  • the verification device 140 generates a random number (S), For each of the encrypted data (Enc (pk, A 1 ),..., Enc (pk, An )) of the first conversion value, the encrypted data (Enc (pk, SA 1 ), ..., Enc (pk, SA n )) are obtained. Then, the verification device 140 transmits the obtained encrypted data (Enc (pk, SA 1 ),..., Enc (pk, SA n )) to the verification request device 120.
  • S random number
  • This encrypted data is encrypted data Enc (pk, d H (X, Y)) having a Hamming distance d H (X, Y) between vectors X and Y.
  • the collation device 140 transmits the encrypted data Enc (pk, d H (X, Y)) of the Hamming distance d H (X, Y) of the vectors X and Y to the verification device 150.
  • the verification device 150 decrypts the encrypted data Enc (pk, d H (X, Y)) with the secret key sk.
  • the verification device 150 accepts if the Hamming distance d H (X, Y) between the decoded vectors X and Y is equal to or less than the threshold value t.
  • Cipher data second template
  • the addition is encrypted data having a Hamming distance d H (X, Y) between the binary vectors X and Y.
  • the verification device 140 transmits the encrypted data of the Hamming distance between the binary vectors X and Y to the verification device 150.
  • the verification device 150 decrypts the encrypted data of the hamming distance between the binary vectors X and Y with the secret key sk.
  • the verification device 150 determines whether or not the decoded value (Hamming distance) is equal to or less than the threshold value t. If the decoded value (hamming distance) is equal to or less than the threshold value t, the verification device 150 accepts it.
  • the storage device 130 records the encrypted data of each element of the first binary vector.
  • the subsequent processes of the collation device 140 and the verification device 150 are the same as those in the second embodiment.
  • the storage device 130 records the encrypted data of each element of the first binary vector.
  • the subsequent processes of the collation device 140 and the verification device 150 are the same as those in the second embodiment.
  • the verification device 140 uses the third and fourth cipher data (Enc (pk, a i (2x i -1)), Enc (pk, b i r i (2y i -1))) and the above
  • the verification device 150 Using the secret key (sk), the third encrypted data (Enc (pk, a i (2x i -1))) and the fourth encrypted data (Enc (pk, b i r i (2y i ⁇ A first decoding result (z a ) and a second decoding result (z b ) obtained by decoding 1))) are obtained.
  • the verification device 150 calculates a hash value (H (z a z b )) of the product of the first and second decryption results.
  • the verification device 150 determines that the number of mismatches between the hash value H ((z a z b )) and the hash value (H (a i b i r i )) received from the verification device 140 is equal to or less than a predetermined value. It is determined whether or not. The verification device 150 accepts if the number of mismatches is equal to or less than a predetermined value, and rejects otherwise.
  • the subsequent processes of the collation device 140 and the verification device 150 are the same as those in the third embodiment.
  • the storage device 130 includes means for generating a hash value (H (c i ⁇ 2)) of the square (c i ⁇ 2) of each random number c i .
  • the verification device 150 determines whether the hash value (H (z i ⁇ 2)) of each decrypted value (z i ) matches the corresponding hash value (H (c i ⁇ 2)) transmitted from the storage device 130. To do. For example, the verification device 150 rejects if there is any mismatch, and accepts it if all match.
  • the storage device 130 stores the encrypted data of the first operation value when the verification result in the verification device 150 is accepted.
  • the storage device 130 includes means for generating a square hash value H (c i ⁇ 2) of each random number (c i ).
  • the key generation algorithm first receives a security parameter 1 ⁇ ⁇ as input.
  • the encryption algorithm first receives the public key pk and message m as input.
  • M C [1] / (C [0] ⁇ x) is output as the decryption result.
  • the decryption algorithm may return g ⁇ m instead of message m. If Modified-Elgamal cipher is used, ciphertext corresponding to addition of plaintext or constant multiplication can be calculated with encryption.
  • N-dimensional vector for registration data Represented by n represents a predetermined value (natural number).
  • the processing in the verification system is roughly divided into ⁇ Preparation phase, ⁇ Registration phase, and -Includes a verification phase.
  • the verification device 150 generates a public key pk and a secret key sk using the security parameter 1 ⁇ ⁇ , and discloses the public key pk (S100).
  • d E 2 (X, Y) The distance between registration data (n-dimensional vector) and collation data (n-dimensional vector): d E 2 (X, Y) is divided as follows.
  • the storage device 130 Enc (pk, xi) (i 1,..., n), Is stored in correspondence with the registered identifier Id (Identity) or the like.
  • the collation request device 120 transmits a collation request to the collation device 140 (S102).
  • the verification device 140 stores a registered template from the storage device 130: Enc (pk, x 1 ),..., Enc (pk, x n ), Is acquired (S103).
  • the verification device 140 is a random number Preferably, a different number is selected each time.
  • the collation device 140 is Encryption data (second template) Is not transmitted to the verification requesting device 120.
  • Scl ((-2y i ), Enc (pk, Sx i )) (i 1, ..., n)
  • the collation device 140 is a registered template When, And the encrypted data of distance d E 2 (X, Y) by additive homomorphism ... (15) Ask for.
  • the verification device 140 transmits the encrypted data Enc (pk, d E 2 (X, Y)) to the verification device 150 (S107).
  • the decryption result is g ⁇ (d E 2 (X, Y)), and it is determined whether it matches any of g ⁇ 0, g ⁇ 1, ... g ⁇ t. To do.
  • the verification device 150 may return the verification result (acceptance / non-acceptance) to the verification device 140 (S109).
  • Enc (pk, Sx i ⁇ 2) can be calculated from ⁇ Enc (pk, Sx i ) ⁇ received in S106 of FIG.
  • the collation device 140 calculates Enc (pk, D 2 ) by performing a scalar operation of the reciprocal S ⁇ (-1) of Enc (pk, SD 2 ) transmitted from the collation request device 120. Then, Enc (pk, D 1 ) + Enc (pk, D 2 ) is calculated based on the additive homomorphism, and transmitted to the verification device 150 as the encrypted distance Enc (pk, d E 2 (X, Y)).
  • the verification requesting device 120 matches the encrypted data Enc (pk, Sx i ) received from the verification device 140 with Enc (pk, Sx i ⁇ 2).
  • the verification requesting device 120 uses the encrypted data Enc (pk, S) of the random number S received from the verification device 140, ... (17) Is transmitted to the verification device 140. That is, Enc (pk, cS) is obtained from the scalar operation Scl (c, Enc (pk, S)).
  • the verification device 140 is transmitted from the verification request device 120.
  • Enc (pk, SD 2 ) transmitted from the verification requesting device 120 are treated as being Enc (pk, SD 2 ) transmitted from the verification requesting device 120, and a scalar operation of the reciprocal S ⁇ (-1) of S is performed to obtain Enc (pk, D 2 ).
  • Enc (pk, D 2 ) and Enc (pk, D 1 ) as the encryption distance Enc (pk, d E 2 (X, Y)) 150.
  • Enc (pk, d E 2 (X, Y)) transmitted from the verification device 140 to the verification device 150 is given as follows.
  • the verification device 150 decrypts Enc (pk, d E 2 (X, Y)) using the secret key sk. Judge whether the decryption result (g ⁇ c) matches any of g ⁇ 0, g ⁇ 1, ..., g ⁇ t (t is a threshold), and verify the result (if it matches either one, accept) Output as.
  • the distance between the registered biometric information X and the biometric information Y used for authentication is selected by selecting c equal to or less than t.
  • an eavesdropper can impersonate any user.
  • the iris (Iris Code), palm print (Competitive Code), etc. are well known as binary vector biometric information with a very low error rate. Whether or not two pieces of biometric information are extracted from the same person is determined by the Hamming distance between the two pieces of biometric information. That is, if the hamming distance is less than or equal to the threshold value, the same person is determined, and if the hamming distance is greater than the threshold value, it is determined that the person is different.
  • some embodiments will be described with reference to the drawings.
  • FIG. 4 is a diagram for explaining a first exemplary embodiment of the present invention.
  • an n-dimensional binary vector For example, the Hamming distance is divided as follows.
  • D1 does not depend on the value of the matching vector Y.
  • the storage device 130 Enc (pk, 1-2x i ) (i 1,..., n) and Is stored in association with the registration identifier Id.
  • the collation device 140 does not transmit Enc (pk, S) to the collation request device 120. Therefore, the verification requesting device 120 ... (33) Cannot be calculated. For this reason, the client cannot impersonate the Hamming distance.
  • the verification device 140 is transmitted from the verification request device 120. , Scalar operation of reciprocal S ⁇ (-1) of random number S ... (34) by doing, ... (35) Is calculated.
  • the verification device 140 transmits the encrypted Hamming distance Enc (pk, d H (X, Y)) to the verification device 150 (S17).
  • the verification device 150 decrypts Enc (pk, d H (X, Y)) using the secret key sk.
  • the verification device 150 confirms whether the decoding result (d H (X, Y)) matches g ⁇ 0, g ⁇ 1,..., G ⁇ t (t is a threshold value) (S18).
  • the verification device 150 outputs the verification result (accepted if it matches any one) (S19).
  • FIG. 5 is a diagram illustrating the configuration of the first embodiment of the present invention.
  • the collation system 100 includes an information processing system such as a computer system.
  • the collation system 100 according to the first exemplary embodiment includes a registration request device 110, a storage device 130, a collation request device 120, a collation device 140, and a verification device 150.
  • the registration request device 110 includes a registration information extraction unit 111, a template generation unit 112, and a communication unit 113.
  • the storage device 130 includes a storage device that stores information, and also includes a calculation unit that processes information. That is, the storage device 130 includes an identifier management unit 131, a registration data generation unit 132, a registration data storage unit 133, a registration data search unit 134, and a communication unit 135.
  • the verification request device 120 includes a verification request generation unit 121, a verification information extraction unit 122, a response generation unit 123, and a communication unit 124.
  • the collation device 140 includes a registration data acquisition unit 141, a random number generation unit 142, an encrypted data generation unit 143, an encrypted distance calculation unit 144, a query generation unit 145, and a communication unit 146.
  • the verification device 150 includes a key generation unit 151, a decryption key storage unit 152, a query verification unit 153, a verification result generation unit 154, and a communication unit 155.
  • a communication unit (not shown) Communication connection between transmitter (interface) and receiver (interface)) and communication network (for example, local network (Local Area Network: LAN) or wide area network (Wide Area Network: WAN))
  • communication network for example, local network (Local Area Network: LAN) or wide area network (Wide Area Network: WAN)
  • LAN Local Area Network
  • WAN Wide Area Network
  • the registration request device 110, the storage device 130, the verification device 140, and the verification request device 120 include a public key published by the verification device 150 (for example, a pair of an encryption key and a decryption key of the homomorphic encryption method created by the verification device 150). Among the above-mentioned encryption keys).
  • the registration request device 110 and the verification request device 120 may be collectively represented as “first node”.
  • the storage device 130 and the verification device 140 may be collectively referred to as “second node”.
  • the verification device 150 may be represented as “third node”.
  • the registration request device 110 and the verification request device 120 may be configured as a client device, the storage device 130 and the verification device 140 as a server device, and the verification device 150 as a decryption device connected to the server device.
  • the processing in the verification system 100 is roughly classified as follows: ⁇ Preparation phase, ⁇ Registration phase, and -Includes a verification phase.
  • a homomorphic encryption method having homomorphism is used for addition and scalar calculation.
  • the above-mentioned Modified Elgamal encryption is used as the encryption method.
  • elliptic Elgamal encryption or Paillier encryption may be used.
  • the elliptic Elgamal cipher is defined for a group on an elliptic curve over a finite field.
  • a prime number of 128 bits or more is selected for q.
  • the decryption algorithm may return m (*) G instead of the message m.
  • a public key and a secret key are mainly generated using the security parameter 1 ⁇ ⁇ .
  • a template in which the extracted registration vector is encrypted is created and stored mainly using the public key (encryption key) generated in the preparation phase.
  • the distance between the newly extracted verification vector and one registered vector is calculated mainly using the secret key (decryption key) generated in the preparation phase.
  • FIG. 6 is a flowchart illustrating an example of processing executed by the matching system 100 according to the first exemplary embodiment in the preparation phase. With reference to FIG. 6, the process which the collation system 100 which concerns on this embodiment performs in a preparation phase is demonstrated.
  • the key generation unit 151 in the verification device 150 receives the security parameter, and uses the received security parameter to obtain an encryption key (public key) pk and a decryption key (secret key) sk, for example, according to a key generation algorithm. Generate (step A1). Note that the generated encryption key and decryption key conform to a public key encryption method (eg, Modified Elgamal encryption) having homomorphism with respect to addition and scalar multiplication.
  • a public key encryption method eg, Modified Elgamal encryption
  • the key generation unit 151 discloses the generated encryption key pk in the verification system 100 (step A2).
  • the key generation unit 151 stores the generated decryption key sk in the decryption key storage unit 152 (step A3).
  • the processing executed in the preparation phase is not limited to the mode illustrated in FIG.
  • FIG. 7 is a flowchart illustrating an example of processing executed by the matching system 100 according to the first exemplary embodiment in the registration phase. With reference to FIG. 7, the process which the collation system 100 which concerns on 1st Embodiment performs in a registration phase is demonstrated.
  • the registration information extraction unit 111 in the registration request device 110 receives biometric information (referred to as “registration vector”) from the biometric subject to registration.
  • registration vector biometric information
  • X [x [1],..., x [n]] Is extracted (step B1).
  • the ciphertext calculated in step B2 is also referred to as “first template”.
  • the template generation unit 112 in the registration request apparatus 110 generates one template obtained by encrypting x [1] +,... + X [n] using the encryption key pk (step B3).
  • the ciphertext calculated in step B3 is also referred to as a “second template”.
  • template generator 112 a plurality of number rr1 [1] from the Z q, ..., r1 [n ], and to select the rr1.
  • the template generation unit 112 reads the generation source g and the value h from the public key pk, and creates the following ciphertext regarding the binary vector X.
  • the template generation unit 112 in the registration request apparatus 110 collects the first template and the second template, (C1 [1], ..., C1 [n], CC1) (46) (Step B4).
  • the communication unit 113 of the registration request device 110 is a template (C1 [1],..., C1 [n], CC1) Is sent to the storage device 130 (step B5).
  • the communication unit 135 of the storage device 130 receives the template from the registration request device 110. (C1 [1],..., C1 [n], CC1) are received (step B6).
  • the identifier management unit 131 in the storage device 130 determines a registration identifier id that is an identifier unique to the template received from the registration requesting device 110 (step B7).
  • the communication unit 135 of the storage device 130 sends the registration identifier id to the registration request device 110 (step B8).
  • the communication unit 113 of the registration request device 110 receives the registration identifier id from the storage device 130 (step B9).
  • the registration request device 110 displays the received registration identifier id on a user interface (UI) such as a display (step B10).
  • UI user interface
  • the registration request device 110 may store the received registration identifier id in an IC (integrated_circuit) card such as an employee ID card or an identifier card.
  • IC integrated_circuit
  • the registration data generation unit 132 in the storage device 130 collects the template and the registration identifier id to register the registration data. (C1 [1], ..., C1 [n], CC1, id) (47) (Step B11).
  • the registration data is stored in the registration data storage unit 133 in the storage device 130 (step B12).
  • step B11 and step B12 may be executed prior to step B8. That is, the storage device 130 may store the registration data in the registration data storage unit 133 before transmitting the registration identifier id to the registration request device 110.
  • FIG. 8 is a flowchart illustrating an example of processing executed by the verification system 100 according to the first exemplary embodiment in the verification phase. With reference to FIG. 8, FIG. 5, the process which the encryption verification system 100 performs in a verification phase is demonstrated.
  • the collation requesting device 120 receives an identifier (referred to as “collation identifier”) possessed by the collation (authentication) (step C1).
  • the verification request generator 121 in the verification request device 120 generates a verification request including the received verification identifier (step C2).
  • the communication unit 124 of the verification requesting device 120 sends a verification request to the verification device 140 (step C3).
  • the communication unit 146 of the verification device 140 receives the verification request from the verification request device 120 (step C4).
  • the registration data acquisition unit 141 in the verification device 140 generates a registration data request including the verification identifier included in the verification request transmitted from the verification request device 120 (step C5).
  • the communication unit 146 of the verification device 140 sends a registration data request to the storage device 130 (step C6).
  • the communication unit 135 of the storage device 130 receives a registration data request from the verification device 140 (step C7).
  • the registration data search unit 134 in the storage device 130 includes registration data (also referred to as “target template”) including a verification identifier included in the registration data request among one or a plurality of registration data stored in the registration data storage unit 133. (Step C8).
  • the communication unit 146 of the verification device 140 receives the template from the storage device 130 (step C10).
  • the random number generation unit 142 of the verification device 140 is an integer (random number) according to the pseudo random number generation procedure. Is generated (step C11).
  • the random number generation unit 142 preferably generates a different random number S each time a collation request is made.
  • the communication unit 146 of the verification device 140 sends the encrypted data (C2 [1],..., C2 [n]) to the verification request device 120 (step C13).
  • the verification requesting device 120 receives the encrypted data transmitted by the verification device 140 in step C13 (step C14).
  • the response generation unit 123 in the verification requesting device 120 Enc (pk, S (1-2x [1]) (C2 [1]), ..., Enc (pk, S (1-2x [n])) (C2 [n]): Encrypted response from scalar arithmetic and additive homomorphic addition: ... (51) Is generated (step C16). That is, the response generation unit 123 in the verification requesting device 120 uses Enc (pk, S (1-2x [1]) from the scalar operation Scl (y [1], Enc (pk, S (1-2x [1]))). ) y [1]) is generated.
  • the communication unit 124 of the verification requesting device 120 sends the response CC2 to the verification device 140 (step C17).
  • the collation device 140 receives the response CC2 from the collation request device 120 (step C18).
  • the query generation unit 145 in the verification device 140 generates a query including the encrypted distance Enc (pk, d H (X, Y)) (step C20).
  • the communication unit 146 of the verification device 140 sends the query to the verification device 150 (step C21).
  • the communication unit 155 of the verification device 150 receives the query Enc (pk, f) from the verification device 140 (step C24).
  • the query verification unit 153 in the verification device 150 decrypts the encryption distance Enc (pk, d H (X, Y)) of the query using the secret key sk.
  • Dec (sk, Enc (pk, d H (X, Y))) g ⁇ ⁇ d H (X, Y) ⁇ (54)
  • the verification result generation unit 154 in the verification device 150 compares d H (X, Y) with the threshold value t (step C23).
  • the verification device 150 outputs the calculated verification result (step C25).
  • step C11 may be executed prior to steps C5 to C10.
  • the matching system 100 even when authenticating with the same registration vector, the process using the random number selected in step C11 of FIG. 7 is performed. . Therefore, even if the communication content of the verification process is leaked, even if the leaked content is resent or data created using the leaked content is sent, a distance equal to the distance at the time of the verification is calculated. Or a small value cannot be calculated.
  • an attacker who does not know the registered vector is not considered “accepted”, that is, has resistance to spoofing attacks. .
  • the encrypted data (challenge) sent from the verification device 140 to the verification request device 120 does not include the encryption data Enc (pk, S) of the random number S. Therefore, the verification requesting device 120 sends the encrypted data Enc (pk, S (1-2x [1])),..., Enc (pk, S (1-2x [ n])) Enc (pk, (x [1] +... + x [n])), Enc (pk, S ((x [1] + ... + x [n]))) cannot be calculated. Therefore, the hamming distance between X and Y cannot be disguised, and an eavesdropper cannot impersonate the user.
  • the data received by the verification device 150 having the secret key is a ciphertext of the Hamming distance between the registration vector and the verification vector, and the value of the registration vector and the verification vector is not disclosed. Therefore, according to the matching system 100 according to the first exemplary embodiment, values other than the distance between the registered vector and the matching vector are not leaked to devices other than the devices that extract the respective vectors. It is possible to calculate the distance between the registered vector and the matching vector.
  • the verification device 150 having the decryption key can be modified so as not to disclose the Hamming distance between the registered vector and the verification vector.
  • the verification device 150 having a decryption key secret key
  • the verification device 150 having a decryption key can be transformed into a method that cannot calculate the Hamming distance between the registered vector and the collation vector.
  • the method that does not disclose the distance between the registration vector and the verification vector for the verification device 150 having the decryption key prevents the verification device 150 having the decryption key from calculating the value of the registration vector even under special circumstances. Higher safety can be achieved.
  • FIG. 9 is a diagram for explaining a first modification of the first embodiment.
  • the basic configuration is the same as in the first embodiment. The differences are as follows. Note that the notation such as omitting the public key pk in the registration vector X and encryption Enc () follows FIG.
  • Registration request unit 110 as a template, Enc (pk, (1-2x 1 )), ..., Enc (pk, (1-2x n)) instead, Enc (pk, x 1) , ..., Enc (pk , x n ) are sent to the storage device 130 (S11A).
  • the storage device 130 From Enc (pk, x 1 ), ..., Enc (pk, x n ), using additive homomorphic scalar and addition operations, Enc (pk, (1-2x 1 )), ..., Enc (pk, (1-2x n )) (55) Enc (pk, x 1 +, ..., + x n ) (56) Is obtained and stored (S11B).
  • the template generation unit 112 of the registration requesting device 110 generates Enc (pk, x 1 ),..., Enc (pk, x n ).
  • FIG. 10 is a diagram illustrating a second modification of the first embodiment.
  • the basic configuration is the same as in the first embodiment. The differences are as follows. Note that the notation such as omitting the public key pk in the registration vector X and encryption Enc () follows FIG.
  • the registration requesting device 110 sends Enc (pk, x 1 ),..., Enc (pk, x n ) as a template to the storage device 130 as in the first modification (S11A).
  • the storage device 130 includes Enc (pk, x 1 ),..., Enc (pk, x n ) (57) Remember.
  • the verification device 140 Upon receiving a verification request from the inquiry requesting device 120 (S12), the verification device 140 acquires Enc (pk, x 1 ),..., Enc (pk, x n ) from the storage device 130 (S13A), and adds Using homomorphic scalar and addition operations, Enc (pk, (1-2x 1) ), ..., Enc (pk, (1-2x n)), and, Enc (pk, x 1 + , ..., + x n) Request (S13B).
  • the first embodiment described with reference to FIGS. 4 to 9 is safe against a semi-honest attacker, but there is a spoofing attack by the attacker. 4, the collation device 140 transmits Enc (pk, S (1-2x 1 )),..., Enc (pk, S (1-2x n )) to the collation requesting device 120.
  • Enc (pk, Sz) can be transmitted to the verification device 140 in at most two trials for an arbitrary value z.
  • the verification device 140 treats Enc (pk, Sz) received from the verification request device 120 as Enc (pk, D2), and adds Enc (pk, Sz) and Enc (pk, D 1 ) to Enc (pk , Sz + D 1 ) is transmitted to the verification device 150.
  • X [x 1 , ..., x n ]
  • Is a first converted value vector A that takes a value other than the binary value converted by a predetermined conversion formula, and is a second converted value vector Y [y 1 ,..., Y n ].
  • the operation result (inner product A / B) with the conversion value vector B is ...
  • the conversion value Ai of the registration vector X that generates is transmitted to the verification requesting device 120 as a challenge.
  • Enc (pk, S ⁇ [i 1 to n] Ai ⁇ Bi) ... (61)
  • the biological information is a binary vector, a spoofing attack can be avoided. This will be described below.
  • Registration vector Collation vector A 1 that satisfies the following relationship with respect to, ..., A n, B 1 , ..., determine the B n.
  • the constraint equations are n ⁇ 2 for each x i y i coefficient and n for each y i in total, n (n + 1).
  • the unknown is n (2n + 1). ... (65)
  • the verification requesting device 120 ... (67) Is transmitted to the verification device 140.
  • T is a transpose operator.
  • the above equations (62) and (63) are expressed using the following transformation matrix.
  • L is a matrix Is the inverse of the determinant.
  • a 1 and A 2 are different for each value (0,0), (0,1), (1,0), (1,1) of (x 1 , x 2 ) (( b) and (c)).
  • B 1 and B 2 are given below.
  • FIG. 12 is a diagram illustrating the configuration of the registration request apparatus 110 according to the second embodiment.
  • the registration request device 110 uses the binary vector extracted by the registration information extraction unit 111. And preset conversion factors: Is provided with a conversion value generation unit 114 for obtaining conversion values (A 1 ,..., A n ).
  • the other basic configuration is the same as that of the first embodiment shown in FIG. 5 except that the conversion template generation unit 112 of the registration request device 110, the registration data generation unit 132 of the storage device 130, and the verification device 140.
  • the contents of the processes performed by the encrypted data generation unit 143, the encrypted distance calculation unit 144, and the verification requesting device 120 are different from those of the first embodiment.
  • FIG. 13 is a diagram for explaining the registration phase.
  • step B1A added to FIG. 7 will be described.
  • the conversion value generation unit 114 uses the binary vector extracted by the registration information extraction unit 111. And preset conversion factors: Based on the above, conversion values (A 1 ,..., A n ) are obtained (B 1 A).
  • the template generation unit 112 uses the first template as Enc (pk, A 1 ), ..., Enc (pk, A n ) (79) Is generated (B2). Further, the template generation unit 112 serves as a second template. Enc (pk, x 1 ), ..., Enc (pk, x n ) (80) (B3), these templates are combined (B4), and transmitted to the storage device 130 (B5).
  • FIG. 14 is a diagram for explaining the operation sequence of the second embodiment.
  • FIG. 14 corresponds to the notations of FIG. 4 and FIG.
  • the public key and secret key generation (S20) corresponds to S10 in FIGS.
  • the registration request apparatus 110 has n (n + 1) conversion coefficients: Is set in advance. Further, the verification requesting device 120 includes n ⁇ 2 conversion coefficients: Is set.
  • the conversion value generation unit 114 of the registration request apparatus 110 uses the binary vector extracted by the registration information extraction unit 111. And preset conversion factors: Based on the above, conversion values (A 1 ,..., A n ) are obtained.
  • Enc (pk, A 1 ), ..., Enc (pk, A n ) (81) Is generated.
  • the template generation unit 112 serves as a second template. Enc (pk, x 1 ), ..., Enc (pk, x n ) (82) Is generated.
  • the template generation unit 112 of the registration request device 110 uses the first and second templates as templates. ... (83) Is sent to the storage device 130 via the communication unit 113 (S21).
  • the identifier management unit 131 When the storage device 130 receives the template, the identifier management unit 131 generates a registration identifier id, and the registration data generation unit 132 associates the template with the registration identifier id. ... (84) Is stored in the registered data storage unit 133.
  • the registration data acquisition unit 141 reads from the storage device 130. Is received (S23A).
  • the collation device 140 uses the random number generator 142 as the random number. Is generated (S24).
  • the random number generation unit 142 performs a scalar operation on the random number S on the encrypted data Enc (pk, A 1 ),..., Enc (pk, A n ) of the converted value, Enc (pk, SA 1 ), ..., Enc (pk, SA n ) (85) Is transmitted to the verification requesting device 120 via the communication unit 146 (S25).
  • the response generation unit 123 of the verification requesting device 120 passes through the communication unit 124. Is sent to the verification device 140 as a response to the challenge (S26).
  • the encryption distance calculation unit 144 of the verification device 140 uses the obtained D 1 and the second template received from the storage device 130. ... (91) Thus, the encrypted data of the Hamming distance between the binary vectors X and Y is calculated with encryption.
  • the collation device 140 transmits the encryption data Enc (pk, d H (X, Y)) of the Hamming distance between the binary vectors X and Y to the verification device 150 (S27).
  • the verification device 150 decrypts the encrypted data Enc (pk, d H (X, Y)) with the secret key sk (Dec (sk, Enc (pk, d H (X, Y)))), and the decryption result is the threshold value t. It is determined whether or not (S28), and the verification result is output (S29).
  • FIG. 15 is a diagram illustrating a first modification of the second embodiment described above.
  • converted value A 1 registration request unit 110 ..., and calculates the A n, these encrypted data Enc (pk, A 1), ..., Enc (pk, A n) a, had been sent to the storage device 130 as a first template, in the first modification, the template generating unit 112 of the registration request unit 110, the conversion value [a 1, ... a n] of the encrypted data Enc (pk, a 1) ,..., Enc (pk, A n ) is not transmitted to the storage device 130.
  • the template generation unit 112 of the registration requesting device has n pieces of encrypted data of x 1 ,..., X n (first template). Enc (pk, x 1 ), ..., Enc (pk, x n ) Is transmitted to the storage device 130 (S21).
  • the registration request device 110 has the same configuration as that shown in FIG. Other configurations are the same as the configuration of the first embodiment shown in FIG. 5 except that the template generation unit 112 of the registration request device 110, the registration data generation unit 132 of the storage device 130, and the encryption of the verification device 140 The processes performed by the data generation unit 143, the encrypted distance calculation unit 144, and the verification requesting device 120 are different from those in the first embodiment.
  • the communication unit 135 of the storage device 130 receives the first template transmitted from the registration requesting device 110, and the registration data generation unit 132 relates to the registration identifier id assigned by the identifier management unit 131, Is stored in the registered data storage unit 133.
  • the registration data generation unit 132 of the storage device 130 stores the registration data of n elements x 1 ,..., X n of the n-dimensional binary vector X.
  • Enc (pk, x 1 ), ..., Enc (pk, x n ) (93) Encrypted data of the sum of elements ⁇ x i ⁇ Is generated (S21A).
  • the registration data generation unit 132 of the storage device 130 includes a conversion coefficient group set in the storage device 130. From the encrypted data of the converted values A 1 ,..., A n with the n elements x 1 ,. Enc (pk, A 1 ),..., Enc (pk, A n ) Is calculated (S21B).
  • the registration data acquisition unit 141 receives, from the storage device 130, Enc (pk, A 1 ),..., Enc (pk, An ). Encrypted data (second template): Is received (S23).
  • the random number generation unit 142 of the verification device 140 generates a random number S (S24). Then, the encrypted data generation unit 143 uses an additive homomorphic scalar operation rule, Enc (pk, SA 1 ),..., Enc (pk, SA n ) Is transmitted to the verification requesting device 120 via the communication unit 146 (S25).
  • the response generation unit 123 of the verification requesting device 120 uses the set n ⁇ 2 conversion coefficients. And the binary vector extracted by the collation information extraction unit 122 From ... (95) Ask for.
  • the basic configuration of Modification 2 is the same as the configuration of the first embodiment shown in FIG.
  • FIG. 16 is a diagram for explaining the operation of the second modification. With reference to FIGS. 16 and 5, the operation of the second modification will be described.
  • the storage device 130 stores the first and second templates in association with the registration id.
  • the registration data acquisition unit 141 of the verification device 140 receives the verification request from the verification request device 120 (S22), the encrypted data Enc (n of the n elements ⁇ x i ⁇ of the n-dimensional binary vector X is stored from the storage device 130. pk, x 1 ),..., Enc (pk, x n ) Is received (S23A).
  • the encrypted data generation unit 143 of the verification device 140 Enc (pk, x 1 ), ..., Enc (pk, x n ) encrypted, encrypted data of the sum of elements ⁇ xi ⁇ Is generated (S23A).
  • the cipher data generation unit 143 of the verification device 140 includes n pieces of x 1,... , Xn cipher registration data Enc (pk, x 1 ) ,..., Enc (pk, x n ) and a set conversion coefficient group. Then, encrypted data Enc (pk, A1),..., Enc (pk, An) of the converted values A1,... An are generated (S24B).
  • the collation device 140 generates a random number S (S24) and, according to an additive homomorphic scalar operation rule, Enc (pk, SA 1 ),..., Enc (pk, SA n ) Is transmitted to the verification requesting device 120 via the communication unit 146 (S25).
  • the verification requesting device 120 uses the set n ⁇ 2 conversion coefficients And binary vectors From ... (98) Ask for. Furthermore, from Enc (pk, SA1), ..., Enc (pk, SAn) and converted values B1, ..., Bn, ... (99) Is sent to the verification device 140 as a response (S26). Since it is the same as that of the modification 1 of FIG. 14 after this, description is abbreviate
  • the registration request device 110 includes a conversion coefficient. Is not preset.
  • the verification requesting device 120 includes n ⁇ 2 conversion factors Also not set.
  • FIG. 18 is a diagram for explaining the collation phase of the third modification. Differences from FIG. 8 and Modification 1 will be described.
  • the random number generation unit 142 of the verification device 140 generates the random number S and generates the encrypted data Enc (pk, SA1),..., ENc (pk, SAn) by performing the scalar operation on the converted random number data. (C12).
  • FIG. 19 illustrates an overall operation sequence of the third modification.
  • the storage device 130 stores the first template in association with the registration identifier id.
  • the registration data acquisition unit 141 of the verification device 140 receives a verification request from the verification request device 120 (S22), the encrypted data Enc (pk, x) of n elements ⁇ x i ⁇ of the binary vector X from the storage device 130 is received. 1 ),..., Enc (pk, x n ) Is received (S23).
  • the encrypted data generation unit 143 of the verification device 140 encrypts the encrypted data Enc (pk, x 1 ),..., Enc (pk, x n ) of n elements ⁇ x i ⁇ of the binary vector X. , Encryption data of sum of n elements ⁇ xi ⁇ of binary vector X Is generated (S23A).
  • the random number generator 142 of the verification device 140 generates a random number S (S24), calculates Enc (pk, SA 1 ),..., ENc (pk, SA n ), and Enc (pk, SA 1 ),.
  • the verification requesting device 120 receives n ⁇ 2 conversion coefficients transmitted from the verification device 140. And binary vectors From ... (101) Ask for. Furthermore, from Enc (pk, SA 1 ), ..., Enc (pk, SA n ) and converted values B 1 , ..., B n , ... (102) Is sent to the verification device 140 as a response (S26).
  • the processing (S27) in which the collation device 140 that has received the response of the expression (102) transmits a query and the processing (S28 and S29) of the verification device 150 that has received the query from the collation device 140 are the same as in the second modification. The description is omitted.
  • the sum of n elements ⁇ x i ⁇ of the n-dimensional binary vector X for registration in the registration requesting device 110 is the same as in the first embodiment.
  • Encryption data And the encrypted data may be transmitted to the storage device 130.
  • the third embodiment is configured to be compatible with 1: N authentication.
  • FIG. 20 is a diagram illustrating the configuration of the collation device 140 and the verification device 150 in the third embodiment.
  • the basic configuration of the registration request device 110 and the verification request device 120 is the configuration shown in FIG. However, the processing of each part is different from that of the first embodiment.
  • the third embodiment corresponds to 1: N authentication. *
  • the collation device 140 includes a hash value generation unit 148 in addition to the configuration shown in FIG.
  • the random number generation unit 142 of the verification device 140 generates random numbers a i , b i , and r i .
  • the encrypted data transmitted to the verification requesting device 120 does not depend on the registered data (template). For this reason, 1: N authentication can be performed.
  • the hash value generation unit 1532 of the query verification unit 153 of the verification device 150 calculates a hash value H (z a z b ) of the product of z a and z b .
  • the mismatch determination unit 1533 of the query verification unit 153 of the verification device 150 has a calculated H (zazb) that does not match the hash value H (a i b i r i ) received from the verification device 140 by t or less. It is determined whether or not.
  • the verification result generation unit 154 accepts if the number of mismatches is t or less, and accepts it otherwise.
  • the verification device 150 can decrypt it with the secret key sk.
  • the hash value of a i b i r i is transmitted to the verification device 150.
  • it is difficult to reversely calculate the input u from the hash value v (v H (u)). For this reason, even if it is wiretapped, the contents cannot be read.
  • FIG. 21 is a diagram for explaining the processing of the collation phase in the third embodiment.
  • the random number generation unit 142 of the verification device 140 generates random numbers a i , b i , and r i (C11).
  • the data is transmitted to the device 120 (C13).
  • H is a one-way hash function.
  • the hash value generation unit 1532 of the query verification unit 153 of the verification device 150 calculates a hash value H (z a z b ) of the product of z a and z b (C23B).
  • the mismatch determination unit 1533 of the query verification unit 153 of the verification device 150 is configured so that the calculated hash value H (z a z b ) does not match the hash value H (a i b i r i ) received from the verification device 140. It is determined whether or not the number is t or less, and the verification result generation unit 154 accepts if the number of mismatches is t or less, otherwise accepts (C24), and outputs a verification result ( C25).
  • FIG. 22 is a diagram for explaining the operation sequence of the third embodiment.
  • the collation device 140 generates random numbers a i , b i and r i (S34).
  • the verification device 150 Enc the encrypted data by using the secret key sk (pk, a i (2x i -1)), Enc (pk, b i r i (2y i -1)) decoding result z a a, z From b , the hash value H (z a z b ) of the product is calculated (S38A).
  • the verification device 150 determines whether or not the calculated hash value H (z a z b ) does not match the hash value H (a i b i r i ) received from the verification device 140 so that the number of i is equal to or less than t. (S38B). If the number of mismatches is t or less, it is accepted, otherwise it is not accepted. The verification device 150 outputs a detection result (acceptance / nonacceptance) (S39).
  • FIG. 23 is a diagram for explaining the operation sequence of the first modification of the third embodiment.
  • the collation device 140 generates random numbers a i , b i and r i (S34).
  • the collation device 140 generates a hash value H (a i b i r i ) and transmits it to the verification device 150 (S37).
  • the verification device 150 Enc the encrypted data by using the secret key sk (pk, a i (2x i -1)), Enc (pk, b i r i (2y i -1)) decoding result z a a, z From b , the hash value H (z a z b ) of the product is calculated (S38A).
  • the verification device 150 determines whether or not the number of i that does not match the calculated H (z a z b ) with the hash value H (a i b i r i ) received from the verification device 140 is t or less ( S38B). If the number of mismatches is t or less, it is accepted, otherwise it is not accepted.
  • the verification device 150 outputs a detection result (acceptance / nonacceptance) (S39).
  • FIG. 24 is a diagram for explaining a modification of the third embodiment.
  • the storage device 130 further includes a random number generation unit 136, an encrypted data generation unit 137, and a hash value generation unit 138 in addition to the configuration of the storage device 130 of FIG. 5.
  • the verification apparatus 150 further includes a registration data check unit 156 including a decryption unit 1561, a hash value generation unit 1562, and a match determination unit 1563.
  • FIG. 25 is a diagram illustrating an operation sequence of a registration phase according to a modification.
  • the registration request device 110 is a binary vector (2x 1 -1), ..., (2x n -1) is calculated from the data encrypted with the public key pk (first template) Enc (pk, (2x 1 -1)), ..., Enc (pk, (2x n -1)) (113) Is transmitted to the storage device 130 (S31).
  • the random number generation unit 136 of the storage device 130 generates random numbers c 1 ,..., C n (S31A).
  • the encryption data generation unit 137 of the storage device 130 is calculated from the scalar operation Scl (ci, Enc (pk, (2xi-1))). Enc (pk, c 1 (2x 1 -1)), ..., Enc (pk, c n (2x n -1)) (114) Is generated.
  • the hash value generation unit 138 of the storage device 130 calculates a hash value H (c 1 ⁇ 2),..., H (c n ⁇ 2) using the hash function H.
  • the storage device 130 transmits Enc (pk, c1 (2x 1 -1)), ..., Enc (pk, cn (2x n -1)) and hash value H (c 1 ⁇ 2), via the communication unit 135. ..., H (c n ⁇ 2) is transmitted to the verification device 150 (S31B).
  • the verification device 150 notifies the storage device 130 of the verification result (S31E).
  • the storage device 130 Enc (pk, (2x 1 ⁇ 1)),..., Enc (pk, (2x n ⁇ 1)) Is stored in the registration data storage unit 133 in association with the registration identifier id (S31G).
  • decryption unit 1561 and the hash value generation unit 1562 may use the decryption unit 1531 and the hash value generation unit 1532 of the query verification unit 153 in common.
  • the registration requesting device 110 is a binary vector.
  • Enc (pk, x 1 ),..., Enc (pk, x n ) is generated and transmitted to the storage device 130.
  • Enc (pk, (2x 1 -1)),. (pk, (2x n -1)) is calculated, random numbers c1, ..., cn are generated, and from the scalar operation Scl (c i , Enc (pk, (2x i -1))), Enc (pk , c 1 (2x 1 -1)), ..., Enc (pk, c n (2x n -1)) may be generated.
  • a product of messages obtained by the verification device decrypting the ciphertext is obtained.
  • a cipher in which the product of decrypted values is not defined cannot be used.
  • the modified Elgamal cipher that outputs Dec (sk, Enc (pk, m)) g ⁇ m, where the decryption algorithm is not a message, or Dec (sk, Enc (pk, m)) where the decryption algorithm is not a message
  • the modified Elgamal cipher and ECElgamal cipher are generally difficult to construct a decryption algorithm that outputs a message.
  • a binary vector can be handled as biometric information, resistant to spoofing attacks, and Somewhat homomorphic encryption and pairing operations are not required.
  • Patent Documents 2 and 3 described above there is a problem in terms of resistance to a spoofing attack, and somewhat homomorphic encryption and pairing calculation are required.
  • Patent Document 5 there is a problem in terms of resistance to a spoofing attack, and Somewhat homomorphic encryption and pairing calculation are required.
  • a binary vector can be handled as biometric information, it is resistant to spoofing attacks, and there is no need for Somewhat homomorphic encryption or pairing operation. : N authentication can be supported.
  • a fourth embodiment of the present invention will be described.
  • the basic configuration of the fourth embodiment of the present invention is the same as FIG. 20 referred to in the description of the third embodiment.
  • an encryption method having an additive homomorphism is used.
  • a multiplicative homomorphic encryption method such as ElGamal encryption or RSA encryption is used.
  • (h, g, q) be a public key and x be a secret key.
  • the random number generation unit 142 of the verification device 140 generates random numbers a i and b i .
  • the request is transmitted to the requesting device 120 (S45).
  • the encrypted data transmitted to the verification requesting device 120 does not depend on the registered data (template). For this reason, 1: N authentication can be performed.
  • the verification result generation unit 154 accepts if the number of mismatches is t or less, and accepts it otherwise.
  • FIG. 26 is a diagram illustrating an operation sequence according to the fourth embodiment.
  • the collation device 140 generates random numbers a i and b i (S44).
  • the verification device 150 uses the secret key sk to convert the encrypted data from the decryption result z i of Enc (pk, a i b i r (2x i ⁇ 1) (2y i ⁇ 1)) to the hash value H (z i ). Is calculated (S48A).
  • the verification device 150 determines whether the calculated H (z i ) does not match the hash value H (a i b i ) received from the verification device 140 so that the number of i is equal to or less than t (S48B). If the number of mismatches is t or less, it is accepted, otherwise it is not accepted.
  • the verification device 150 outputs a detection result (acceptance / nonacceptance) (S49).
  • a function for checking whether or not x i ⁇ ⁇ 0, 1 ⁇ is satisfied may be implemented.
  • the configuration of the modification of the fourth embodiment is the configuration of the storage device 130 and the verification device 150 of FIG.
  • a multiplicative homomorphic system such as RSA encryption or ElGamal encryption may be used.
  • FIG. 27 is a diagram illustrating an operation sequence of a registration phase according to a modification. Note that FIG. 27 has the same sequence as FIG. 25, but is different in the cryptographic data calculation process in that a multiplicative homomorphic method is used.
  • the registration request device 110 is a binary vector for registration. (2x 1 -1), ..., (2x n -1) is calculated from the data encrypted with the public key pk (first template) Enc (pk, (2x 1 -1)), ..., Enc (pk, (2x n -1)) (123) Is transmitted to the storage device 130 (S41).
  • the random number generation unit 136 of the storage device 130 generates random numbers c 1 ,..., C n (S41A).
  • the hash value generation unit 138 of the storage device 130 calculates a hash value H (c 1 ⁇ 2),..., H (c n ⁇ 2) using the hash function H.
  • the storage device 130 transmits Enc (pk, c1 (2x 1 -1)), ..., Enc (pk, cn (2x n -1)) and hash value H (c 1 ⁇ 2), via the communication unit 135. ..., H (c n ⁇ 2) is transmitted to the verification device 150 (S41B).
  • the verification device 150 notifies the storage device 130 of the verification result (S41E).
  • the storage device 130 Enc (pk, (2x 1 ⁇ 1)),..., Enc (pk, (2x n ⁇ 1)) Is stored in the registration data storage unit 133 in association with the registration identifier id (S41G).
  • decryption unit 1561 and the hash value generation unit 1562 may use the decryption unit 1531 and the hash value generation unit 1532 of the query verification unit 153 in common.
  • the storage device 130 stores Enc (pk, (2x1-1)),..., Enc (pk, (2xn-1)) in the registration data storage unit in association with the registration identifier id.
  • z i c i (2x i -1) is a value other than + c i and -c i , And it will be rejected.
  • the secret key of ElGamal encryption is x
  • the public key is (h, g, q)
  • the ciphertext for plaintext m is (c1, c2).
  • (C1 ⁇ t, c2) calculated for a random number t randomly selected from ⁇ 0,1, ..., q-1 ⁇ is a secret key x / t
  • a public key (h, g ⁇ t, q) Is a ciphertext of plaintext m corresponding to.
  • the verification device 140 receives a verification request from the verification request device 120 (S42), and generates a different random number t each time.
  • the public key (h, g ⁇ t, q) Send ciphertext and public key (h, g ⁇ t, q) corresponding to.
  • the verification requesting device 120 sends the ciphertext corresponding to the public key (h, g ⁇ t, q) received from the verification device 140 to the verification device 140 (S46).
  • the collation device 140 can return the ciphertext received from the collation requesting device 120 in step S46 to the ciphertext corresponding to the original public key (h, g, q) by using t.
  • the encryption method is not limited to multiplicative homomorphic encryption such as RSA encryption and ElGamal encryption, but a public key cryptosystem (Somewhat homomorphism) having homomorphism with respect to addition and multiplication.
  • a fully homomorphic cipher using Gentry's ideal lattice eg "Fully Homomorphic Encryption Using Ideal Lattices," In Symposium on Theroy of Computing -STOC 2009, ACM, 169-178, Etc.
  • a computer system 10 such as a server computer includes a processor (CPU (Central Processing Unit), data processing device) 11, a semiconductor memory (for example, RAM (Random Access Memory), ROM (Read Only Memory), or A storage device 12 including at least one of an EEPROM (Electrically Erasable and Programmable ROM), an HDD (Hard Disk Drive), a CD (Compact Disc), a DVD (Digital Versatile Disc), a display device 13, and a communication interface 14 It has.
  • CPU Central Processing Unit
  • data processing device for example, RAM (Random Access Memory), ROM (Read Only Memory), or
  • a storage device 12 including at least one of an EEPROM (Electrically Erasable and Programmable ROM), an HDD (Hard Disk Drive), a CD (Compact Disc), a DVD (Digital Versatile Disc), a display device 13, and a communication interface 14 It has.
  • EEPROM Electrically Erasable and Programmable ROM
  • HDD Hard Disk Drive
  • the communication interface 14 is communicatively connected to the registration request device 110, the verification request device 120, the storage device 130, and the verification device 150.
  • the storage device 12 stores a program that realizes the function of the collation device 140 described in each of the above-described embodiments, and the processor 11 reads and executes the program, whereby the collation device of each of the above-described embodiments. 140 may be realized.
  • the storage device 12 and, for example, the registration data storage unit 133 of the storage device 130 shown in FIG. 5 are the same storage device, and the processor 11 uses the identifier management unit 131 and the registration data generation unit 132 of the storage device 130 shown in FIG.
  • the processing of the registration data search unit 134 may be further executed.
  • the computer system 10 may be implemented as a cloud server provided to a client as a cloud service.
  • the registration request device 110 of each of the above embodiments may also be mounted on the computer system 10 as shown in FIG. Further, the verification requesting device 120 of each of the above embodiments may be implemented as the computer system 10.
  • the registration request device 110 and the verification request device 120 may be separate computer systems, or may be configured to perform registration and verification at the same location.
  • Programs for realizing the functions of the registration requesting device 110 and the verification requesting device 120 in FIG. 5 and the like are stored in the storage device 12, and the processor 11 reads and executes the programs so that each of the embodiments described above can be obtained. You may make it implement
  • the processor 11 of the registration requesting device 110 and the verification requesting device 120 acquires biometric information such as a fingerprint from a sensor (not shown) via the interface 14 and extracts binary vectors X and Y from the acquired information. Also good.
  • the verification apparatus 150 of each of the embodiments may be realized by a program executed on a computer, as in FIG.
  • Patent Documents 1-5 and Non-Patent Document 1 are incorporated herein by reference.
  • the embodiments and examples can be changed and adjusted based on the basic technical concept.
  • Various combinations or selections of various disclosed elements are possible within the scope of the claims of the present invention. . That is, the present invention of course includes various variations and modifications that could be made by those skilled in the art according to the entire disclosure including the claims and the technical idea.
  • a random number is generated and encrypted data obtained by calculation with the random number while the first value related to the first binary vector encrypted with the encryption key is encrypted, or the generated random number is used as the encryption key.
  • a verification device that transmits the encrypted data encrypted in step 1 to the verification request device; The verification requesting device for transmitting the cryptographic data obtained by the calculation with the elements of the second binary vector for verification while encrypting the encrypted data from the verification device to the verification device; With The collation device, based on the second value related to the first binary vector encrypted with the encryption key, the cipher data transmitted from the collation request device, and the random number, For generating the encryption data or the encryption data and the auxiliary data for verifying the degree of mismatch between the binary vector of the first binary vector and Based on a value obtained by decrypting the encrypted data of the query transmitted from the verification device with a decryption key, or based on the decrypted value and the auxiliary data of the query, the second binary vector and the first two
  • a collation system comprising: the verification device that
  • Appendix 2 A registration requesting device for transmitting encrypted data obtained by encrypting each element of the first binary vector for registration and at least one of a predetermined calculation result for each element with the encryption key; A storage device that receives at least one encrypted data of each element of the first binary vector and the predetermined calculation result for each element transmitted from the registration requesting device, and stores it as registration data;
  • a first random number is generated, and a first operation value related to each element of the first binary vector encrypted with the encryption key is encrypted with the encryption key.
  • a collation device that obtains second cipher data obtained by calculating the random number for each cipher data, and transmits the second cipher data to the collation request device; While obtaining each of the second encrypted data from the collating device, the third cipher data, which is the sum of values obtained by performing a scalar operation on each element of the second binary vector for collation, is obtained, and the collation
  • the verification requesting device to be transmitted to the device; With The verification device is The fourth cryptographic data from which the random number included in the third cryptographic data transmitted from the verification requesting device is deleted, and the second calculation value relating to each element of the first binary vector are used as the cryptographic key.
  • the verification device includes: Based on a comparison between a distance between the first and second binary vectors obtained by decrypting the sixth encrypted data of the query transmitted from the verification device with the decryption key and a predetermined threshold value, A verification system characterized by outputting acceptance / rejection.
  • the encrypted data of each element of the first binary vector is received from the registration requesting device, a first calculation value and a second calculation value for each element of the first binary vector are calculated, and the first calculation value is calculated.
  • the encrypted data and the fifth encrypted data are recorded as registration data,
  • the storage device for recording the encrypted data of each element of the first binary vector;
  • the verification device is
  • the first and second ciphers are calculated by calculating first and second operation values for each element of the first binary vector while encrypting encrypted data of each element of the first binary vector.
  • a verification request device that obtains encrypted data obtained by multiplying a value obtained by calculating the random number by the second conversion value, and sends the total of the encrypted data to the verification device as third encrypted data;
  • the verification device is The fourth encrypted data, which is a sum of values obtained by deleting the random number included in the third encrypted data transmitted from the verification requesting device and multiplying the first converted value and the second converted value, is obtained.
  • the verification device includes: Based on a comparison between a distance between the first and second binary vectors obtained by decrypting the sixth encrypted data of the query transmitted from the verification device with the decryption key and a predetermined threshold value, A verification system characterized by outputting acceptance / rejection.
  • the first n-dimensional binary vector for registration is subjected to the first transformation to obtain n first transformation values, and the n first transformation values are encrypted with an encryption key.
  • a registration requesting device for generating the first encrypted data and sending the first encrypted data and the encrypted data of each element of the first binary vector for registration to the storage device; Generating the fifth encrypted data obtained by encrypting the sum of the elements of the first binary vector;
  • the storage device for recording the first and fifth encrypted data as registration data and transmitting the first and fifth encrypted data to the verification device;
  • the verification system according to appendix 7, characterized by comprising:
  • a registration requesting device that sends encrypted data of each element of the first binary vector of n dimensions for registration to a storage device; Means for obtaining encrypted data of n first converted values obtained by performing the first conversion on the first binary vector while encrypting the encrypted data of each element of the first binary vector When, Means for generating fifth encrypted data obtained by encrypting the sum of the elements of the first binary vector, the first encrypted data of the n first converted values, and the first two The storage device for recording the fifth encrypted data obtained by encrypting the sum of the elements of the value vector; With The verification device is Upon receipt of an inquiry request from the verification requesting device, the encrypted data of the n first converted values is obtained from the storage device, a random number is generated, and the random number is converted into the n first converted values Each of the first encrypted data is calculated to obtain second encrypted data, transmitted to the verification requesting device, The verification requesting device includes: The second conversion value obtained by subjecting the second binary vector to the second conversion is obtained, and each second conversion value is calculated
  • the verification device is From the third encrypted data transmitted from the verification requesting device, the fourth encrypted data is obtained as a sum of values obtained by deleting the random number and multiplying the first converted value and the second converted value.
  • the verification device is Generate encrypted data of the sum of the elements while encrypting the elements of the first binary vector, and encrypt the encrypted data of the elements of the first binary vector Means for obtaining first encrypted data of n first converted values obtained by performing the first conversion on a vector; Means for generating fifth encrypted data obtained by encrypting a sum of elements of the first binary vector; Generating a random number, calculating the random number to the first encrypted data of the n first conversion values to obtain the second encrypted data, and transmitting the second encrypted data to the verification requesting device;
  • the verification requesting device includes: N second conversion values obtained by performing the second conversion on the second binary vector are obtained, and the second conversion values are calculated for each of the second encrypted data, Obtaining encrypted data obtained by multiplying the first converted value by the second converted value to the value obtained by calculating the random number, and sending the third encrypted data of the total of the encrypted data to the verification device;
  • the verification device is From the third encrypted data transmitted from the verification requesting device, the random number is deleted, and
  • the verification device is When receiving a query request from the verification requesting device, obtain encrypted data of each element of the first binary vector, Means for generating fifth encrypted data obtained by encrypting a sum of elements of the first binary vector; Means for generating a first group of transform coefficients constituting the first transform; Means for obtaining n first converted values obtained by performing the first conversion on the first binary vector while encrypting encrypted data of each element of the first binary vector; A random number is generated, and the random number is calculated for the first encrypted data composed of the n first converted values to obtain the second encrypted data, and is transmitted to the verification requesting device And Further, the second group of transform coefficients used in the generation of the first group of transform coefficients is transmitted to the verification requesting device.
  • the verification requesting device includes: The second conversion value obtained by applying the second conversion defined by the conversion coefficient of the second group from the verification device to the second binary vector is obtained, and the second conversion value is determined as the verification Calculating each of the second encrypted data received from the device, multiplying the first converted value by the random number and the second converted value to obtain encrypted data, and summing up the encrypted data Sending the third encrypted data consisting of The verification device is The random number is deleted from the third encrypted data transmitted from the verification requesting device, and the encrypted data of the sum of values obtained by multiplying the first converted value and the second converted value is obtained.
  • Appendix 12 A registration requesting device that generates encrypted data of each element of the first binary vector of n dimensions for registration and sends it to a storage device; 11. The collation system according to appendix 9 or 10, wherein encrypted data of each element of the first binary vector from the registration requesting device is stored.
  • a verification device that receives the verification request from the verification requesting device, generates first to third random numbers, and transmits the first encrypted data obtained by encrypting the first random number with the encryption key to the verification requesting device;
  • the first operation value of each element of the second binary vector for verification and the second encrypted data which is the first operation result of the encrypted data of the first random number are obtained and transmitted to the verification device A verification requesting device,
  • the verification device is Third cipher data obtained by calculating the second random number to the second cipher data from the collation request device, and the collation request device, 4th encryption data which is the operation result of the encryption data of the 1st operation value of each element of the 1st binary vector, and the 3rd random number, and the hash based on the generated 1st thru / or 3rd random number Send the value (auxiliary data for verification) to the verification device,
  • the verification device includes: Decrypting the third and fourth cipher data from the collation device with a decryption key, calculating a hash
  • a collation device that, upon receiving a collation request from the collation request device, generates first and second random numbers, and transmits the first encrypted data obtained by encrypting the first random number with the encryption key to the collation request device; , The first operation value of each element of the second binary vector for verification and the second encrypted data that is the first operation result of the encrypted data of the first random number are obtained and transmitted to the verification device.
  • the verification requesting device With The verification device is The second encrypted data from the verification requesting device, the encrypted data of the first operation value of each element of the first binary vector for registration encrypted with the encryption key, and the second random number
  • the third encrypted data that is the result of the calculation and the hash value (auxiliary data for verification) based on the generated first and second random numbers are transmitted to the verification device,
  • the verification device includes: The third encrypted data from the verification device is decrypted with a decryption key, a hash value of the decrypted value is calculated, and the number of mismatches between the hash value and the has
  • the storage device for storing encrypted data transmitted from the registration requesting device;
  • a storage device comprising means for transmitting the cryptographic data obtained by calculating the random numbers and the hash value to the verification device;
  • the verification device decrypts each encrypted data transmitted from the storage device with the decryption key, obtains a hash value of each decrypted value, and each hash value corresponds to a corresponding hash value transmitted from the storage device If there is at least one mismatch, it is rejected. If all match, it is accepted. If the verification result at the verification device is accepted, the storage device receives the first operation value. 15.
  • the verification system according to appendix 13 or 14, characterized in that the encrypted data is stored.
  • the verification device generates a random number and generates encrypted data obtained by calculation with the random number while encrypting the first value related to the first binary vector encrypted with the encryption key, or generation Transmitting encrypted data obtained by encrypting the random number using the encryption key to the verification requesting device; (B) a step in which the verification requesting device transmits the encrypted data obtained by the calculation with the elements of the second binary vector for verification while encrypting the encrypted data from the verification device to the verification device When, (C) based on the second value related to the first binary vector encrypted with an encryption key, the encrypted data transmitted from the verification requesting device, and the random number, Generating encrypted data or the encrypted data and auxiliary data for verifying the degree of mismatch between the second binary vector and the first binary vector, and transmitting the encrypted data to the verification device as the query; (D) based on the value obtained by decrypting the encrypted data of the query transmitted from the verification device with a decryption key, or the decrypted value and the auxiliary data
  • the collation device generates a random number in response to the collation request from the collation requesting device, and uses a first operation value relating to each element of the first binary vector encrypted with the encryption key as the encryption key. Obtaining the second encrypted data obtained by calculating the random number for each of the first encrypted data encrypted in step, and transmitting the second encrypted data to the verification requesting device;
  • the collation requesting device is a third cipher that is a sum of values obtained by calculating the values of the second binary vector for collation for each of the second cipher data transmitted from the collating device.
  • the collation device includes a second cipher data obtained by deleting the random number included in the third cipher data transmitted from the collation request device, and a second element relating to each element of the first binary vector.
  • the sixth encrypted data having the distance between the first and second binary vectors is obtained by adding the fifth encrypted data encrypted with the encryption key while being encrypted to obtain the sixth encrypted data having the distance between the first and second binary vectors.
  • the verification device decrypts the sixth encrypted data with the decryption key, and accepts based on a comparison between a distance between the first and second binary vectors of the decryption result and a predetermined threshold value.
  • a collation method characterized by outputting a rejection.
  • the registration requesting device includes the first encrypted data obtained by encrypting the first operation value related to the first binary vector with the encryption key, and the elements related to the elements of the first binary vector. Generating the fifth encrypted data obtained by encrypting the second calculated value with the encryption key, and transmitting the first encrypted data and the fifth encrypted data to a storage device;
  • the storage device receives the first encrypted data and the fifth encrypted data from the registration requesting device and stores them as registered data;
  • step (E) Before the step (a), (E) the registration requesting device encrypting each element of the first binary vector with an encryption key and transmitting it to the storage device; (F) the storage device recording encrypted data of each element of the first binary vector; Including In the step (a), The collation device calculates first and second operation values for each element of the first binary vector while encrypting encrypted data of each element of the first binary vector, and The matching method according to appendix 19, characterized in that it is obtained as fifth encrypted data.
  • the collation device deletes the random number included in the third encrypted data transmitted from the collation request device, and sums the values obtained by multiplying the first conversion value and the second conversion value.
  • the fourth encrypted data is obtained, and the fourth encrypted data is added to the fourth encrypted data while encrypting the fifth encrypted data obtained by encrypting the sum of the elements of the first binary vector with the encryption key.
  • the verification device decrypts the sixth encrypted data with the decryption key, and accepts based on a comparison between a distance between the first and second binary vectors of the decryption result and a predetermined threshold value.
  • a collation method characterized by outputting a rejection.
  • a registration requesting device performs the first transformation on the first n-dimensional binary vector for registration to obtain n first transformation values; Sending the first encrypted data obtained by encrypting the n first converted values with an encryption key to a storage device; (F) the storage device generates fifth encrypted data obtained by encrypting a sum of elements of the first binary vector; 24.
  • the verification device When receiving the inquiry request from the verification requesting device, the verification device obtains n pieces of encrypted data of the first conversion values from the storage device, generates a random number, and generates the random number as the n number of random numbers.
  • Each of the encrypted data of the first conversion value is calculated to obtain the second encrypted data, transmitted to the verification requesting device,
  • the verification requesting device obtains the second conversion value obtained by performing the second conversion on the second binary vector, and receives the second conversion value from the verification device.
  • a cryptographic operation is performed on each of the encrypted data, and the encrypted data obtained by multiplying the first converted value by the random number and the second converted value is obtained, and a third encrypted data of the sum of the encrypted data is obtained.
  • Send to the verification device In the step (c), The verification device deletes the random number from the third encrypted data transmitted from the verification requesting device, and calculates the first sum of values obtained by multiplying the first conversion value and the second conversion value. 4 cipher data is obtained, and sixth cipher data obtained by adding the fourth cipher data and the fifth cipher data registered in the storage device is obtained and transmitted to the verification device.
  • the verification method according to attachment 23 The verification method according to attachment 23.
  • step (a) The collation device encrypts the encrypted data of each element of the first binary vector, and the n first converted values obtained by performing the first conversion on the first binary vector.
  • a process for obtaining encrypted data The verification device generates fifth encrypted data obtained by encrypting a sum of elements of the first binary vector; Generating a random number, calculating the second random data by calculating the random number to the first encrypted data of the n first converted values, and transmitting the second encrypted data to the verification requesting device;
  • Including The verification requesting device obtains n second conversion values obtained by performing the second conversion on the second binary vector, and uses the second conversion values as the second encrypted data.
  • the verification device deletes the random number from the third encrypted data transmitted from the verification requesting device, and calculates a fourth sum of values obtained by multiplying the first converted value and the second converted value.
  • Obtaining encrypted data obtaining a value obtained by adding the fourth encrypted data and the fifth encrypted data registered in the storage device, and transmitting the encrypted data to the verification device as an encrypted Hamming distance.
  • step (a) The collation device, upon receiving an inquiry request from the collation request device, obtaining encrypted data of each element of the first binary vector; Generating a first group of transform coefficients constituting the first transform; Obtaining n first converted values obtained by performing the first conversion on the first binary vector while encrypting the encrypted data of each element of the first binary vector; A step of generating a random number, calculating the second random data by calculating the random number on the first encrypted data including the n first converted values, and transmitting the second encrypted data to the verification requesting device; , A step of transmitting the second group of transform coefficients constituting the second transform used to generate the first group of transform coefficients to the verification requesting device; Including In the step (b), The collation requesting device obtains the second conversion value obtained by subjecting the second binary vector to the second transformation defined by the second group of transform coefficients from the collating device, and obtaining the second conversion value.
  • the collation device deletes the random number from the third cipher data transmitted from the collation request device, and obtains cipher data of a sum of values obtained by multiplying the first conversion value and the second conversion value.
  • the sixth encrypted data obtained by adding the fifth encrypted data obtained by encrypting the first calculated value related to each element of the total encrypted data and the first binary vector with the encryption key to the verification device.
  • (Appendix 29) (A) Upon receiving a verification request from the verification requesting device, the verification device generates first to third random numbers, and requests the verification request for the first encrypted data obtained by encrypting the first random number with the encryption key. Transmitting to the device; (B) The collation requesting device includes a first computation value of each element of the second binary vector for collation and second cipher data that is a first computation result of the cipher data of the first random number. And sending to the verification device; (C) The collation device includes a third cipher data obtained by calculating the second random number on the second cipher data from the collation request device, and a first registration data encrypted with the cipher key.
  • the verification device decrypts the third and fourth encrypted data from the verification device with a decryption key, calculates a hash value obtained by multiplying the decrypted value, and the hash value is the verification value It is determined whether or not the number of mismatches with the hash value received from the device is equal to or smaller than a predetermined value. If the number of mismatches is equal to or smaller than the predetermined value, the acceptance is accepted.
  • the collation method characterized by this.
  • (Appendix 30) (A) Upon receiving a verification request from the verification requesting device, the verification device generates first and second random numbers, and requests the verification request for the first encrypted data obtained by encrypting the first random number with the encryption key. Transmitting to the device; (B) The collation requesting device includes a first computation value of each element of the second binary vector for collation and second cipher data that is a first computation result of the cipher data of the first random number. And transmitting to the verification device, (C) The verification device is a calculation result of each element of the second encrypted data from the verification requesting device and the first binary vector for registration encrypted with the encryption key.
  • the verification device decrypts the fourth encrypted data from the verification device with a decryption key, calculates a hash value of the decrypted value, and the hash value is the hash value received from the verification device. It is determined whether or not the number of mismatches is less than or equal to a predetermined value, and if the number of mismatches is less than or equal to a predetermined value, it is accepted, otherwise it is rejected .
  • step (E) the registration requesting device transmitting encrypted data obtained by encrypting the first operation value of each element of the previous first binary vector with an encryption key to the storage device;
  • the storage device generating random numbers for the encrypted data of the first operation value of each element of the first binary vector;
  • the storage device generating a hash value of each random number;
  • the storage device transmits the encrypted data obtained by calculating the random numbers and the hash value to the verification device;
  • the verification device decrypts each encrypted data transmitted from the storage device with the decryption key, obtains a hash value of each decrypted value, and each hash value is transmitted from the storage device.
  • the storage device stores the encrypted data of the first operation value when the verification result in the verification device is accepted;
  • a random number is generated and encrypted data obtained by calculation with the random number while the first value related to the first binary vector encrypted with the encryption key is encrypted, or the generated random number is used as the encryption key.
  • a first conversion value obtained by performing a first conversion set in advance on a first binary vector for registration encrypted with an encryption key is used as the cipher.
  • the fourth encrypted data which is a sum of values obtained by deleting the random number included in the third encrypted data transmitted from the verification requesting device and multiplying the first converted value and the second converted value, is obtained.
  • a verification device that outputs a verification result based on a comparison between a distance between the first and second binary vectors obtained by decrypting the sixth encrypted data of the query with the decryption key and a predetermined threshold value
  • (Appendix 35) Means for generating first to third random numbers upon receiving a verification request from the verification requesting device, and transmitting first encrypted data obtained by encrypting the first random number with the encryption key to the verification requesting device; The first request value of each element of the second binary vector for verification and the second encrypted data that is the first calculation result of the encrypted data of the first random number are received from the verification requesting device.
  • Means Third cipher data obtained by computing the second random number on the second cipher data from the verification requesting device, cipher data of a first computed value of each element of the first binary vector for registration, Means for transmitting, to the verification device, fourth encrypted data that is a calculation result of the third random number and a hash value (auxiliary data for verification) based on the generated first to third random numbers;
  • a hash value of a value obtained by decrypting the third and fourth encrypted data with a decryption key and multiplying the decrypted value is calculated, and the number of mismatches between the hash value and the hash value transmitted from the verification device is It is determined whether or not the value is equal to or less than a predetermined value, and if the number of mismatches is equal to or less than the predetermined value, the verification result is received. Otherwise, the verification result is received from the verification device that is not accepted.
  • Means A collation device characterized by comprising:
  • (Appendix 36) Means for generating first and second random numbers upon receiving a verification request from the verification requesting device, and transmitting first encrypted data obtained by encrypting the first random number with the encryption key to the verification requesting device; The first request value of each element of the second binary vector for verification and the second encrypted data that is the first calculation result of the encrypted data of the first random number are received from the verification requesting device.
  • the third encrypted data is decrypted with a decryption key, a hash value of the decrypted value is calculated, and the number of mismatches between the hash value and the hash value transmitted from the verification device is equal to or less than a predetermined value.
  • a collation device characterized by comprising:
  • a random number is generated and encrypted data obtained by calculation with the random number while the first value related to the first binary vector encrypted with the encryption key is encrypted, or the generated random number is used as the encryption key.
  • Based on a value obtained by decrypting the encrypted data using a decryption key, or on the basis of the decrypted value and the auxiliary data the number of mismatched elements between the second binary vector and the first binary vector is determined in advance.
  • the fourth cryptographic data from which the random number included in the third cryptographic data transmitted from the verification requesting device is deleted, and the second calculation value relating to each element of the first binary vector are used as the cryptographic key.
  • Processing Third cipher data obtained by computing the second random number on the second cipher data from the verification requesting device, cipher data of a first computed value of each element of the first binary vector for registration, A process of transmitting the fourth encrypted data, which is a calculation result of the third random number, and a hash value based on the generated first to third random numbers to the verification device; A hash value of a value obtained by decrypting the third and fourth encrypted data with a decryption key and multiplying the decrypted value is calculated, and the number of mismatches between the hash value and the hash value transmitted from the verification device is It is determined whether or not the value is equal to or less than a predetermined value, and if the number of mismatches is equal to or less than the predetermined value, the verification result is received. Processing, A program that executes
  • the second encrypted data from the verification requesting device, the encrypted data of the first operation value of each element of the first binary vector for registration encrypted with the encryption key, and the second random number A process of transmitting to the verification device the third encrypted data that is the result of the calculation and a hash value based on the generated first and second random numbers;
  • the third encrypted data is decrypted with a decryption key, a hash value of the decrypted value is calculated, and the number of mismatches between the hash value and the hash value transmitted from the verification device is equal to or less than a predetermined value.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Algebra (AREA)
  • Power Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

二値のベクトルに関して漏洩やなりすまし等を回避可能とし安全性を高める。照合装置は、乱数を生成し暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する。照合要求装置は、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算で得た暗号データを前記照合装置に送信する。照合装置は、前記暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、照合要求装置から送信された前記暗号データと前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして、検証装置に送信する。検証装置は、前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるかを否か判定する。

Description

照合システム、方法、装置及びプログラム
[関連出願についての記載]
 本発明は、日本国特許出願:特願2016-243709号(2016年12月15日出願)の優先権主張に基づくものであり、同出願の全記載内容は引用をもって本書に組み込み記載されているものとする。
 本発明は照合システム、方法、装置及びプログラムに関する。
 クラウドコンピューティングサービス等、通信ネットワークに通信接続している計算機資源を用いてデータを管理するサービスが広く普及している。この種のサービスは機密性の高いデータを管理することから、データの安全性を保証する必要がある。ネットワーク環境において、データを暗号化されたままの状態で管理し、データを復号することなく、検索や統計処理等を行う技術の研究開発が行われている。また、例えば静脈等の生体が有する特徴(生体情報)に基づいた認証情報を用いて、安全性の高い認証を実現する生体認証技術が注目を集めている。
 生体認証技術においては、生体情報に基づきテンプレートが作成され、作成されたテンプレートが認証情報としてデータベースに保管される。生体認証技術においては、認証対象である生体に基づき作成された認証情報と、データベースに保管されているテンプレートとが類似(または、一致)している場合に、認証対象が受理される。生体認証技術においては、該認証情報と、該テンプレートとが類似(または、一致)していない場合に、認証対象は受理されない。一つの生体から作成された複数の認証情報であっても、該複数の認証情報は、相互に一致するとは限らない。しかし、類似しているか否かを、ある距離関数を用いて測定した場合に、該複数の認証情報間の距離は短い。これに対して、異なる生体から、それぞれ、作成された複数の認証情報間の距離は長い。生体認証技術は、上記の特質を利用することによって、データベースに保管されているテンプレートと、認証対象に関して作成された認証情報との照合を行う。例えば、指紋、静脈等は、生体情報の一例であり、生涯不変のデータとされている。生体情報が照合システムの外部に漏洩された場合の被害が甚大である。このため、該生体情報は、機密性が要求される情報の一つである。したがって、テンプレートが照合システムの外部に漏洩したとしても、生体情報が外部に漏洩しないテンプレート保護型の生体認証技術が重要である。
 また、生体認証技術では、他の認証技術と同様に、認証情報を登録した生体に、該生体と異なる生体がなりすますこと(すなわち、「なりすまし」)を防ぐ必要がある。例えば、特定の値を照合システムに送信することによって認証に成功する認証技術は、該なりすましへの耐性が十分でない。さらに、認証技術においては、テンプレートが漏洩してしまうリスクだけでなく、通信情報が盗聴(傍受)されるリスクもある。認証技術においては、通信情報が盗聴されたとしても、なりすましを防ぐ必要がある。例えば、正規のクライアントが照合システムに対する認証に成功した場合に、該照合システムへ送信したデータを、異なるクライアントが再送することによって認証に成功する方式は、なりすましへの耐性が十分でない可能性が高い。
 例えば、特許文献1には、暗号化した状態でハミング距離を算出可能な暗号アルゴリズムを用いて暗号化されたユーザの登録情報を、当該登録情報と前記暗号アルゴリズムを用いて暗号化された照合情報との間のハミング距離の計算結果に前記照合情報と前記ユーザとのハミング距離及び前記照合情報と前記ユーザとは異なる他人とのハミング距離が含まれるように変換し、入力された前記照合情報と、前記変換された登録情報とのハミング距離を計算し、前記計算されたハミング距離に含まれる、前記照合情報と前記ユーザとのハミング距離及び前記照合情報と前記ユーザとは異なる他人とのハミング距離と予め設定された閾値との比較結果に基づいて前記入力された照合情報が不正なものか否かを判定する処理を実行する方法、装置が開示されている。
 また、特許文献2には、準同型暗号を利用した秘匿生体認証システム・秘匿タグ検索システムにおいて、ベクトルデータA=(a1、a2、…)を準同型暗号で暗号化する場合、各成分aiを暗号化し、暗号ベクトルデータE(A)=(E(a1)、E(a2)、…)を生成し、さらに、2つの暗号ベクトルデータE(A)=(E(a1)、E(a2)、…)とE(B)=(E(b1)、E(b2)、…)の距離を暗号化したまま計算する(距離の例には、ハミング距離がある)が、このようにベクトルデータの各成分を準同型暗号化する場合、暗号ベクトルデータE(A)=(E(a1)、E(a2)、…)、E(B)=(E(b1)、E(b2)、…)などのサイズが巨大になり、さらに秘匿距離計算に多大な計算時間を要するという問題があることが記載され、暗号ベクトルデータのサイズと秘匿距離計算の時間の両方を削減する構成が開示されている。
 特許文献3には、準同型暗号を利用した暗号処理システムにおいて、暗号化された情報を簡便にキャンセルする方法が開示されている。第1のデータを第1の変換多項式を用いて変換して第1の多項式を取得し、第1のデータに対応する乱数と第2のデータとを基に得られる式を、第2の変換多項式を用いて変換して第2の多項式を取得し、第1の変換多項式または前記第2の変換多項式のうち少なくとも一方を用いて前記乱数を変換して乱数多項式を取得し、第1の多項式と第2の多項式と乱数多項式とを、準同型暗号方式を用いて暗号化して、暗号化された第1の多項式と暗号化された第2の多項式と暗号化された乱数多項式とを取得し、暗号化された第1の多項式と暗号化された第2の多項式と暗号化された乱数多項式とを用いて、第1のデータと第2のデータとの照合を行う方法が開示されている。
 さらに、特許文献4には、信頼できる第三者による介入を導入したシステムにおいて、より一般的な準同型暗号方式を用いて構成される技術が開示されている。
 さらにまた、特許文献5には、テンプレートのサイズが、受理可能な範囲の広さのパラメータに依存せず、かつ、第三者の負荷が小さい技術が記載されている。しかし、この方式では、第三者に対し、登録された生体情報と照合する対象である生体情報との距離が明かされる。悪意を有した第三者が、照合時に得られる距離を利用することによる攻撃(ヒルクライミング攻撃)が可能であることが知られている。
 また、非特許文献1には、サーバとユーザが結託する攻撃者に対する安全性、復号者及びユーザが結託する攻撃者に対する安全性、盗聴者がユーザになりすましをできない性質の三つの安全性をすべて満たす方式が提案されている。
 本明細書で用いられる暗号アルゴリズム等の記法に関して説明しておく。まず公開鍵暗号について説明する。公開鍵暗号方式は、鍵生成、暗号化、復号の三つのアルゴリズム(Gen, Enc, Dec)で表される。
 鍵生成アルゴリズム(「Gen」と表記する)はセキュリティパラメータ1^κに基づき、公開鍵pkと、秘密鍵skを出力する。
(pk, sk) ← Gen(1^κ)
 暗号化アルゴリズム(「Enc」と表記する)は公開鍵pkと平文mを入力とし暗号文cを出力する。
c ← Enc(pk, m)
 復号アルゴリズム(「Dec」と表記する)は、秘密鍵sk,暗号文cを入力とし、復号結果m'を出力する。
m’ ← Dec(sk, c)
 なお、本明細書、図面等では、文脈から明らかな場合等、pk, skは略記される場合がある。準同型暗号は、複数の暗号文から、その平文の演算結果の暗号文を計算可能な公開鍵暗号である。例えば、平文m1,…,mnの暗号文Enc(m1),…,Enc(mm)から秘密鍵を用いずに平文の和に対応する暗号文Enc(m1+…+mn)を計算できるものを「加法準同型暗号」と呼ぶ。
特開2016-131335号公報 特開2014-126865号公報 特開2016-12111号公報 国際公開第2014/185447号 国際公開第2012/114452号
肥後、一色、森、尾花、"認証時の情報開示の少ない秘匿生体認証方式"、暗号と情報セキュリティシンポジウム(SCIS2016)、2016.
 以下に関連技術の分析を与える。
 特許文献2、3では、盗聴者によるなりすまし攻撃に対する耐性の点で問題がある。また、特許文献2、3、5では、Somewhat準同型暗号やペアリング演算が必要とされる。Somewhat準同型暗号は、加法準同型暗号よりも計算の処理負荷が重い、仮定が強い等の課題を有する。
 また、非特許文献1の開示において、生体情報が二値ベクトル(二値符号列)の場合、盗聴者等によるなりすまし攻撃に対する防御度(耐性)を高める必要があることを、本発明者らは知見した。これに加えて、1:N認証にも対応可能な技術を本発明者らは知見したので、以下に提案する。
 本発明の主たる目的は、二値のベクトルの照合に関して漏洩やなりすまし等を回避可能とし安全性を高める照合システム、方法、照合装置、プログラムを提供することである。
 本発明の一つの側面によれば、照合システムは、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する照合装置と、前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算で得た暗号データを前記照合装置に送信する前記照合要求装置と、を備えている。前記照合装置は、前記暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する。照合システムは、前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置を備えている。
 本発明の別の側面によれば、
(a)照合装置が、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する工程と、
(b)前記照合要求装置が、前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、前記照合装置に送信する工程と、
(c)前記照合装置が、暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する工程と、
(d)前記検証装置が、前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する工程と、を含む照合方法が提供される。
 本発明の別の側面によれば、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する手段と、前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する手段と、暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する手段と、復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置から、検証結果を受信する手段と、を備えた照合装置が提供される。
 本発明のさらに別の一つの側面によれば、照合装置のコンピュータに、
 乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する処理と、
 前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する処理と、
 暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する処理と、
 復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置から、検証結果を受信する処理と、を実行させるプログラムが提供される。
 本発明によれば、上記プログラムを記憶したコンピュータ読み出し可能な記録媒体(例えばRAM(Random Access Memory)、ROM(Read Only Memory)、又は、EEPROM(Electrically Erasable and Programmable ROM))等の半導体ストレージ、HDD(Hard Disk Drive)、CD(Compact Disc)、DVD(Digital Versatile Disc)等のnon-transitory computer readable recording mediumが提供される。
 本発明によれば、二値のベクトルの照合に関して二値のベクトルの漏洩やなりすまし等を回避可能とし、安全性を高めることを可能としている。
本発明の例示的な実施形態の構成を説明する図である。 比較例を説明する図である。 比較例における問題点(なりすまし攻撃)の一例を説明する図である。 本発明の例示的な第1の実施形態の動作シーケンスを説明する図である。 本発明の例示的な第1の実施形態の構成例を説明する図である。 本発明の例示的な第1の実施形態における準備フェーズを説明する図である。 本発明の例示的な第1の実施形態における登録フェーズを説明する図である。 本発明の例示的な第1の実施形態における照合フェーズを説明する図である。 本発明の例示的な第1の実施形態の変形例1の動作シーケンスを説明する図である。 本発明の例示的な第1の実施形態の変形例2の動作シーケンスを説明する図である。 本発明の例示的な第2の実施形態を説明する図である。 本発明の例示的な第2の実施形態における登録要求装置の構成例を説明する図である。 本発明の例示的な第2の実施形態における登録フェーズを説明する図である。 本発明の例示的な第2の実施形態の動作シーケンスを説明する図である。 本発明の例示的な第2の実施形態の変形例1の動作シーケンスを説明する図である。 本発明の例示的な第2の実施形態の変形例2の動作シーケンスを説明する図である。 本発明の例示的な第2の実施形態の変形例3における照合装置の構成例を説明する図である。 本発明の例示的な第2の実施形態の変形例3における照合フェーズを説明する図である。 本発明の例示的な第2の実施形態の変形例3の動作シーケンスを説明する図である。 本発明の例示的な第3の実施形態の構成例を説明する図である。 本発明の例示的な第3の実施形態における照合フェーズを説明する図である。 本発明の例示的な第3の実施形態の動作シーケンスを説明する図である。 本発明の例示的な第3の実施形態の変形例1の動作シーケンスを説明する図である。 本発明の例示的な第3の実施形態の変形例2の構成を説明する図である。 本発明の例示的な第3の実施形態の変形例2の登録フェーズの動作シーケンスを説明する図である。 本発明の例示的な第4の実施形態の登録フェーズの動作シーケンスを説明する図である。 本発明の例示的な第4の実施形態の変形例1の登録フェーズの動作シーケンスを説明する図である。 本発明の例示的な第5の実施形態の構成を説明する図である。
<基本形態>
 図1は、本発明の一形態を説明する図である。図1を参照すると、本発明の一形態の照合システム100において、
 照合装置140は、照合要求装置120からの照合要求に対して、
乱数(例えば図4、図9、図10、図14~図16、図19のS)を生成し、
暗号鍵(公開鍵pk)で暗号化されて記憶されている第1の二値ベクトル(X=[x1,…,xn])に関する第1の評価値(例えば図4、図9、図10のEnc(1-2xi) (i=1,…,n)、又は図14のEnc(Ai))と、前記乱数(S)との演算で得た暗号データ(図4等のEnc(S(1-2xi)、又は、図14のEnc(SAi) (i=1,…,n) )を生成し、照合要求装置120に送信する。1:N認証の場合には、
 照合装置140は、照合要求装置120からの照合要求に対して、
乱数(例えば図22のai,bi,ri、又は、図26のai, bi)を生成し、
該乱数の暗号鍵(公開鍵pk)によって暗号化した暗号データ(例えば図22や図26のEnc(bi) (i=1,…,n))を生成し、照合要求装置120に送信する。
 照合要求装置120は、
照合装置140からの前記暗号データ(例えば図4等のEnc(pk,S(1-2xi))、又は、図14のEnc(SAi)、又は、1:N認証の場合、図22や図26のEnc(bi) (i=1,…,n))を暗号化したまま、
照合用の第2の二値ベクトル(Y=[y1,…,yn])の要素{yi}(i=1,…,n)、又は、前記要素{yi}(i=1,…,n)に関する演算結果(例えば図14のBi)との演算により得た暗号データ(例えば図4等のEnc(SΣi (1-2xi)yi)、又は、図14等のEnc(SΣi AiBi)、又は、1:N認証の場合、図22、図26のEnc(bi(2yi-1)) (i=1,…,n))を、照合装置140に送信する。なお、Σiはiに関する総和の演算子である(図面ではiが省略される場合もある)。
 照合装置140は、
暗号鍵(pk)で暗号化されている前記第1の二値ベクトル(X=[x1,…,xn])に関する第2の評価値の暗号データ(図4等のEnc(Σixi)、又は、1:N認証の場合、図22のEnc(2xi-1) )、
照合要求装置120からの前記暗号データ(例えば図4等のEnc(SΣi (1-2xi)yi)、又は、図14等のEnc(SΣiAiBi)、又は、1:N認証の場合、図22のEnc(bi(2yi-1)))、及び、前記乱数(例えば図4、図14等のS、又は、1:N認証の場合、図22のai,ri、又は、図26のai
に基づき、
前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するためのクエリとして、
暗号データ(例えば図4、図14等のEnc(dH(X,Y)))を生成するか、又は、
1:N認証の場合、暗号データ(例えば図22のEnc(ai(2xi-1)),Enc(biri(2yi-1))、又は、図26のEnc(aibi(2xi-1)(2yi-1)))と、補助データ(例えば図22のハッシュ値H(aibiri)、又は、図26のハッシュ値H(aibi))と、を生成し、
 生成した前記クエリを、検証装置150に送信する。
 検証装置150は、
照合装置140からの前記クエリの前記暗号データ(例えば図4、図19等のEnc(dH(X,Y)))を復号鍵(sk)で復号した値(dH(X,Y))に基づき、又は、1:N認証の場合、
前記クエリの暗号データ(例えば図22のEnc(ai(2xi-1)), Enc(biri(2yi-1))、又は、図26のEnc(aibi(2xi-1)(2yi-1)))を復号鍵(sk)で前記復号した値(例えば図22の(za,zb)、又は、図26のzi)から生成した補助データ(例えば図22のH(zazb)、又は、図26のH(zi))と、前記クエリの前記補助データ(例えば図22のH(aibiri)、又は、図26のH(aibi))とに基づき、
前記第2の二値ベクトル(Y)と前記第1の二値ベクトル(X)の不一致の要素の個数が予め定められた個数以下であるか否かを判定する。検証装置150は、検証結果(受理又は不受理)を出力する。検証装置150は、検証結果(受理又は不受理)をクエリに対する応答として照合装置140に返し、照合装置140は、検証結果(受理又は不受理)を照合要求装置120に送信するようにしてもよい。
 登録要求装置110は、登録用の第1の二値ベクトルXの各要素{xi}(i=1,…,n)の暗号データ(Enc(xi) (i=1,…,n))と、前記各要素に関する第1の評価値(演算結果)(例えば図4、図9、図10のEnc(1-2xi) (i=1,…,n)、又は図14のEnc(Ai))の少なくとも一方を、前記暗号鍵(pk)で暗号化した暗号データを記憶装置130に送信する。記憶装置130は、暗号化された登録データを記憶する。なお、暗号鍵(公開鍵)、復号鍵(秘密鍵)は、好ましくは、加法に関して準同型性を有する公開鍵暗号方式が用いられる。あるいは、暗号方式として、乗法準同型性を有する公開鍵暗号方式を用いてもよい。あるいは、Somewhat準同型(somewhat homomorphic encryption scheme)のように、加法と乗法に関して準同型性を有する公開鍵暗号方式を用いてもよい。
 登録要求装置110と照合要求装置120は、それぞれ、登録用クライアントと認証用クライアントを構成してもよい。登録用クライアントと認証用クライアントは、登録と照合を同一の装置で行う一体型の装置構成としてもよいし、あるいは登録と照合を別々の装置で行うようにしてもよい。記憶装置130と照合装置140は、クライアントからの要求を受けて登録、照合の処理を行うサーバ(データベースサーバ、認証サーバ)として構成してもよい。記憶装置130と照合装置140は一体のサーバとして構成してもよい。
<第1形態(First Mode)>
 本発明の一形態において、図4を参照すると、登録要求装置110は、登録用のn次元の第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}(i=1,…,n)に関する第1の演算値(1 - 2xi) (i=1,…,n)を、公開鍵(pk)を用いた加法準同型暗号で暗号化した第1の暗号データ(第1のテンプレート)(Enc(pk, (1 - 2x))) (i=1,…,n)と、
各要素{xi}(i=1,…,n)の第2の演算値(Σ[i=1 to n] xi)を公開鍵(pk)で暗号化した第5の暗号データ(第2のテンプレート)(Enc(pk, Σ[i=1 to n] xi))
を記憶装置130に送信するようにしてもよい。記憶装置130は、前記第1、第2のテンプレートを登録データとして記憶する。なお、演算子Σ[i=1 to n]はiが1からnまでの総和演算を表し、
Σ[i=1 to n] O(i)=O(1)+…+O(n)
である。
 照合装置140は、照合要求装置120からの照合要求に対して、
乱数(S)を生成し、
前記第1の暗号データ(Enc(pk, (1 - 2xi))) (i=1,…,n)を暗号化したまま、スカラー演算により、乱数Sを乗算した第2の暗号データ(Enc(pk, S(1 - 2x1)),…,Enc(pk, S(1 - 2xn)))を求めるようにしてもよい。
 照合装置140は、第2の暗号データ(Enc(pk, S(1 - 2x1)),…,Enc(pk, S(1 - 2xn)))を、照合要求装置120に送信するようにしてもよい。
 照合要求装置120は、照合装置140から送信された第2の暗号データ(Enc(pk, S(1 - 2x1)),…,Enc(pk,S(1 - 2xn)))の各々に、登録用のn次元の第2の二値ベクトルY=[y1,…,yn]の各要素{yi}(i=1,…,n)をスカラー演算で乗算した値の総和である第3の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))を求める。そして、照合要求装置120は、第3の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))を照合装置140に送信する。
 照合装置140は、照合要求装置120から送信された第3の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))から、乱数(S)を削除した第4の暗号データ(Enc(pk, Σ[i=1 to n] (1 - 2xi)yi))を求める。
 その際、照合装置140は、第3の暗号データに、乱数(S)の逆数(S^(-1))(^は冪乗演算子)をスカラー演算して第3の暗号データから乱数(S)を除去した第4の暗号データ(Enc(pk, Σ[i=1 to n] (1 - 2xi)yi))を求める。
 照合装置140は、第4の暗号データ(Enc(pk, Σ[i=1 to n] (1 - 2xi)yi))と、記憶装置130に登録された前記第5の暗号データ(Enc(pk, Σ[i=1 to n] xi))とを暗号化したまま加算することで(準同型加算)、前記第1、第2の二値ベクトルの距離の暗号データ(=Enc(pk, dH(X,Y))=Enc(pk, (Σ[i=1 to n] xi) + (Σ[i=1 to n] (1 - 2xi)yi))を求める。そして、照合装置140は、前記第1、第2の二値ベクトルの距離の暗号データ(=Enc(pk, dH(X,Y))を、クエリとして、検証装置150に送信する。
 検証装置150は、暗号データ(Enc(pk, dH(X,Y)))を、秘密鍵(sk)を用いて、復号する(Dec(sk, Enc(pk, dH(X,Y))))。
 そして、検証装置150は、復号の結果得られた前記第1、第2の二値ベクトルのハミング距離(dH(X,Y))と、閾値tとの比較に基づき(dH(X,Y))<=t)、受理、不受理を出力する。
<第1形態(First Mode):変形例1>
 あるいは、本発明の一形態においては、図9を参照すると、登録要求装置110は、前記登録用の第1の二値ベクトルX=[x1,…,xn]の各要素{xi}(i=1,…,n)を公開鍵(pk)で暗号化した暗号データEnc(pk, x1), …,Enc(pk, xn)を記憶装置130に送信する。記憶装置130は、前記第1の二値ベクトルXの各要素{xi}の前記暗号データ(Enc(pk, xi))(i=1,…,n)を暗号化したまま、前記第1の二値ベクトルXの各要素{xi}に関する第1の演算値(Enc(pk, S(1 - 2xi)))(i=1,…,n)、第2の演算値(Enc(pk, Σ[i=1 to n] xi))を計算し、それぞれ、第1の暗号データ(テンプレート)(Enc(pk, S(1 - 2xi)) (i=1,…,n))、第2の暗号データ(テンプレート)(Enc(pk, Σ[i=1 to n] xi))として記録する。
 照合装置140は、照合要求装置120からの照合要求に対して、
乱数(S)を生成し、
前記第1の暗号データを暗号化したまま、乱数(S)をスカラー演算した第3の暗号データ((Enc(pk, S(1 - 2x1)), …,Enc(pk, S(1 - 2xn)))を求める。
そして、照合装置140は、第3の暗号データを照合要求装置120に送信する。
 照合要求装置120は、照合装置140からの前記第3の暗号データの各々を暗号化したまま、登録用の第2の二値ベクトルの各要素をスカラー演算で乗算した値の総和である第4の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))を求める。
そして、照合要求装置120は、第4の暗号データを照合装置140に送信する。これ以降の照合装置140、検証装置150の処理は上記した第1形態と同一である。
<第1形態(First Mode):変形例2>
 あるいは、本発明のさらなる一形態においては、図10を参照すると、登録要求装置110は、前記登録用の第1の二値ベクトルの各要素を公開鍵(pk)で暗号化した暗号データ(Enc(pk, x1)), …,Enc(pk, xn))を記憶装置130に送信する。記憶装置130は、前記第1の二値ベクトルの各要素の暗号データを記録する。
 照合装置140は、照合要求装置120からの照合要求に対して、
前記第1の二値ベクトルの各要素{xi}の暗号データ(Enc(pk,xi))(i=1,…,n)を暗号化したまま、前記第1の二値ベクトルの各要素{xi}に関する第1の演算値(1 - 2xi)(i=1,…,n)、第2の演算値(Σ[i=1 to n] xi)の第1の暗号データ(Enc(pk, (1 - 2x1)), …,Enc(pk, (1 - 2xn)))、第2の暗号データ(Enc(pk, Σ[i=1 to n] xi))を求める。
 照合装置140は、さらに、乱数(S)を生成し、
第1の暗号データ(Enc(pk, (1 - 2x1)), …,Enc(pk, (1 - 2xn))に乱数(S)をスカラー演算した第3の暗号データ(Enc(pk, S(1 - 2x1)), …,Enc(pk, S(1 - 2xn)))を求める。
そして、照合装置140は、第3の暗号データ(Enc(pk, S(1 - 2x1)), …,Enc(pk, S(1 - 2xn)))を照合要求装置120に送信する。
 照合要求装置120は、照合装置140からの前記第3の暗号データの各々(Enc(pk, S(1 - 2xi)))(i=1,…,n)を暗号化したまま、照合用の第2の二値ベクトルY=[y1,…,yn]の各要素{yi}(i=1,…,n)をスカラー演算で乗算した値の総和である第4の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))を求める。
そして、照合要求装置120は、第4の暗号データ(Enc(pk, S Σ[i=1 to n] (1 - 2xi)yi))を照合装置140に送信する。これ以降の照合装置140、検証装置150の処理は上記した第1形態と同一である。
<第2形態(Second Mode)>
 本発明の第2の形態において、登録要求装置110に、登録用のn次元の二値ベクトルX=[x1,…,xn]に対して作用させる第1の変換関数f1が予め設定されているものとする。また、照合要求装置120には、照合用のn次元の二値ベクトルY=[y1,…,yn]に対して作用させる第2の変換関数f2が設定されているものとする。
 第1の変換関数f1は、例えば以下で与えられる。
 A=f1(X)=FX+d
 ここで、Aはn次元の変換値ベクトルである。Fは、変換係数{ai,j}(i=1,…,n,j=1,…,n)をi行、j列の要素(成分)とするn×nの変換行列である。dは変換係数{ai,n+1}(i=1,…,n)を有するn次元ベクトル(オフセット)である。
 第2の変換関数f2は、例えば以下で与えられる。
 B=f2(Y)=EY
 ここで、Bはn次元の変換値ベクトルである。Eは、変換係数{bi,j}(i=1,…,n,j=1,…,n)をi行、j列の要素(成分)とするn×nの変換行列である。登録要求装置110において、第1の変換関数f1は、二値ベクトルXを入力パラメータとし、変換値ベクトルAを出力パラメータとするサブルーチンとして実装するようにしてもよい。照合要求装置120において、第2の変換関数f2は二値ベクトルYを入力パラメータとし、変換値ベクトルBを出力パラメータとするサブルーチンとして実装するようにしてもよい。以下、図14を参照して、第2の形態について説明する。
 登録要求装置110は、登録用の二値ベクトルXに対して第1の変換関数f1を施すことで、変換値ベクトル[A,…,An]を求める。
 [A,…,An]T=f1[x1,…,xn]T
 なお、上付き文字(Supescript)Tは、転置(transpose)演算子である。
 登録要求装置110は、第1のテンプレートとして、第1の変換値Ai(i=1,…,n)を公開鍵(pk)で暗号化した暗号データEnc(pk,A1),…,Enc(pk,An)を生成する。登録要求装置110は、暗号データEnc(pk,A1),…,Enc(pk,An)を記憶装置130に送付する。また登録要求装置110は第1の二値ベクトルX=[x1,…,xn]の各要素{xi}(i=1,…,n)を公開鍵(pk)で暗号化した暗号データ(Enc(pk, x1), …,Enc(pk, xn))を記憶装置130に送信する。
 照合装置140は、照合要求装置120から照会要求を受けると、
記憶装置130から第1の変換値の暗号データ(Enc(pk,A1),…,Enc(pk,An))を取得する。また、照合装置140は、記憶装置130から暗号データ(Enc(pk, x1), …,Enc(pk, xn))を取得する。
照合装置140は、第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))を求める。
また、照合装置140は、乱数(S)を生成し、
前記第1の変換値の暗号データ(Enc(pk, A1),…,Enc(pk, An))の各々に対して、乱数(S)のスカラー演算により、暗号データ(Enc(pk, SA1),…,Enc(pk, SAn))を求める。
そして、照合装置140は、求めた暗号データ(Enc(pk, SA1),…,Enc(pk, SAn))を照合要求装置120に送信する。
 照合要求装置120は、抽出された照合用のn次元の二値ベクトルY=[y1,…,yn]に対して第2の変換関数f2を演算することで第2の変換値(B,…,Bn)を求める。
さらに、照合要求装置120は、照合装置140から受信した暗号データEnc(pk, SAi) (i=1,…,n)を暗号化したまま、第2の変換値(Bi) (i=1,…,n)との演算により、n個の前記第1の変換値(変換ベクトル)[A1,…,An]に乱数を乗算した値[SA1,…,SAn]と、第2の変換値(変換ベクトル)[B1,…,Bn]の要素を互いに乗算した値の総和の暗号データ(Enc(pk, Σ[i=1 to n] SAB))を求める。
そして、照合要求装置120は、暗号データ(Enc(pk, Σ[i=1 to n] SAB))をレスポンスとして照合装置140に送付する。
 照合装置140は、前記レスポンス(暗号データ)(Enc(pk, Σ[i=1 to n] SAB))に、前記乱数(S)の逆数(S^(-1))をスカラー演算し、前記レスポンスから前記乱数(S)を除去して、n個の前記第1の変換値(変換ベクトル)[A1,…,An]と第2の変換値(変換ベクトル)[B1,…,Bn]の要素を互いに乗算した値の総和の暗号データ(Enc(pk, Σ[i=1 to n] AB))(ベクトルAとBの内積の暗号データ)を求める。
照合装置140は、
暗号データ(Enc(pk, Σ[i=1 to n] AB))と、
記憶装置130に登録された暗号データ(第2テンプレート)(Enc(pk, Σ[i=1 to n] xi))と、を暗号化したまま加算した暗号データを求める。この暗号データは、ベクトルXとYのハミング距離dH(X,Y)の暗号データEnc(pk, dH(X,Y))である。
 第1の変換関数f1におけるn(n+1)個の変換係数{ai,j}(i=1,…,n,j=1,…,n+1)と、第2の変換関数f2におけるn^2個の変換係数{bi,j}(i,j=1,…,n)は、第1、第2の変換値Ai, Bi(i=1,…,n)が、
Σ[i=1 to n] AB = Σ[i=1 to n] (1-2x)yi 
が成り立つように設定されている。すなわち、ベクトルAとBの内積とΣ[i=1 to n] xiとを加算した値(Σ[i=1 to n] AB+Σ[i=1 to n] xi)は、
Σ[i=1 to n] (1-2x)yi+Σ[i=1 to n] xi
となり、ベクトルXとYのハミング距離dH(X,Y)である。すなわち、Σ[i=1 to n] ABは、二値ベクトルXとYのハミング距離dH(X,Y)の第1分割値、Σ[i=1 to n] xiは該ハミング距離dH(X,Y)の第2分割値である。
 照合装置140は、前記ベクトルXとYのハミング距離dH(X,Y)の暗号データEnc(pk, dH(X,Y))を、検証装置150に送信する。
検証装置150は、暗号データEnc(pk, dH(X,Y))を秘密鍵skで復号する。
検証装置150、復号したベクトルXとYのハミング距離dH(X,Y)が閾値t以下であれば受理する。
<第2形態(Second Mode):変形例1>
 あるいは、本発明のさらなる一形態においては、図15を参照すると、登録要求装置110は、登録用のn次元の第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の暗号データ(Enc(pk, xi))(i=1,…,n)を記憶装置130に送付する。
 記憶装置130は、第1の二値ベクトルX=[x1,…,xn]の各要素{xi}(i=1,…,n)の暗号データ(Enc(pk, xi))(i=1,…,n)を取得し、第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))を求める。また、記憶装置130は、第1の二値ベクトルXの各要素{xi}(i=1,…,n)を暗号化したまま第1の二値ベクトルXに第1の変換関数f1を施すことで、n個の第1の変換値{Ai} (i=1,…,n)の暗号データEnc(pk, Ai) (i=1,…,n)を求める手段を備えている。記憶装置130は、前記n個の第1の変換値の暗号データ(Enc(pk, Ai) (i=1,…,n))と、前記第1の二値ベクトルの要素の総和を暗号化した暗号データ(Enc(pk, Σ[i=1 to n] xi))を記録する。
 照合装置140は、照合要求装置120から照会要求を受けると、記憶装置130からn個の第1の変換値の暗号データを取得し、乱数(S)を生成する。
照合装置140は、前記乱数Sを前記n個の第1の変換値の暗号データにそれぞれスカラー演算して暗号データ(Enc(pk, SAi) (i=1,…,n))を求める。
そして、照合装置140は、暗号データ(Enc(pk, SAi) (i=1,…,n))を照合要求装置120に送信する。
 照合要求装置120は、照合用のn次元の第2の二値ベクトルY=[y1,…,yn]に対して、第2の変換関数f2を作用させることで、n個の第2の変換値(変換ベクトル)[B,…,Bn]を求める。
また、照合要求装置120は、照合装置140から受信した暗号データ(Enc(pk, SAi))(i=1,…,n)を暗号化したままスカラー演算することで、前記第1の変換値(Ai)の乱数(S)を乗算した値に第2の変換値(Bi)を乗じた値の暗号データEnc(pk, SAB) (i=1,…,n) を求める。
そして、照合要求装置120は、これらの暗号データの総和(Enc(pk, Σ[i=1 to n] SAB))をレスポンスとして照合装置140に送付する。
 照合装置140は、前記レスポンス(Enc(pk, Σ[i=1 to n] SAB))に、前記乱数Sの逆数をスカラー演算し前記レスポンスから前記乱数Sを除去して、n個の前記第1の変換値(変換ベクトル)[A1,…,An]と第2の変換値(変換ベクトル)[B1,…,Bn]を互いに乗算した値の総和の暗号データ(Enc(pk, Σ[i=1 to n] AB))(ベクトルAとBの内積の暗号データ)を求める。
照合装置140は、
前記ベクトルAとBの内積の暗号データ(Enc(pk, Σ[i=1 to n] AB))と、
記憶装置130に登録された暗号データ(第2テンプレート)(Enc(pk, Σ[i=1 to n] xi))と、を加算(準同型加算)した暗号データを求める。
(Σ[i=1 to n] AB)+(Σ[i=1 to n] xi)=(Σ[i=1 to n] (1-2x)yi)+(Σ[i=1 to n] xi)
が成り立つ。
 すなわち、暗号データ(Enc(pk, Σ[i=1 to n] AB))と暗号データ(第2テンプレート)(Enc(pk, Σ[i=1 to n] xi))との加算は、二値ベクトルXとYのハミング距離dH(X,Y)の暗号データとなる。照合装置140は、二値ベクトルXとYのハミング距離の暗号データを、検証装置150に送信する。検証装置150は、二値ベクトルXとYのハミング距離の暗号データを秘密鍵skで復号する。検証装置150は、復号値(ハミング距離)が閾値t以下であるか否か判定し、閾値t以下であれば、受理し、tを超える場合、不受理とする。
<第2形態(Second Mode):変形例2>
 あるいは、本発明のさらなる一形態においては、図16を参照すると、登録要求装置110は、登録用のn次元の第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の暗号データ(Enc(pk, xi)(i=1,…,n))を記憶装置130に送付する。記憶装置130は、第1の二値ベクトルの各要素の暗号データを記録する。
 照合装置140は、照合要求装置120から照会要求を受けると、記憶装置130から第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の暗号データ(Enc(pk, xi))(i=1,…,n)を取得し、第1の二値ベクトルXの各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))を求める。なお、第1の二値ベクトルXの各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))は記憶装置130で求める構成としてもよい。
 照合装置140は、第1の二値ベクトルX=[x1,…,xn]の要素{xi}の暗号データ(Enc(pk, xi))(i=1,…,n)を暗号化したまま第1の変換関数f1を作用させ、n個の第1の変換値{Ai} (i=1,…,n)の暗号データEnc(pk, Ai) (i=1,…,n)を求める手段を備えている。さらに、乱数(S)を生成し、前記乱数(S)を前記n個の第1の変換値の暗号データにそれぞれスカラー演算して暗号データEnc(pk, SAi) (i=1,…,n)を求める。
そして、照合装置140は、暗号データEnc(pk, SAi) (i=1,…,n)を照合要求装置120に送信する。
 照合要求装置120は、照合用のn次元の第2二値ベクトルY=[y1,…,yn]に対して第2の変換関数f2を作用させてn個の第2の変換値(変換ベクトル)[B,…,Bn]を求める。
照合要求装置120は、照合装置140から受信した暗号データEnc(pk, SAi) (i=1,…,n)を暗号化したままスカラー演算し、前記第1の変換値(Ai)に乱数(S)を乗算した値に第2の変換値(Bi)(i=1,…,n)を乗じた値の暗号データ(Enc(pk, SAB)) (i=1,…,n) を求める。
そして、照合要求装置120は、暗号データ(Enc(pk, SAB)) (i=1,…,n)の総和(Enc(pk, Σ[i=1 to n] SAB))を、レスポンスとして照合装置140に送付する。これ以降の照合装置140と検証装置150の処理は、前記第2の形態と同一である。
<第2形態(First Mode):変形例3>
 あるいは、本発明のさらなる一形態においては、図19を参照すると、登録要求装置110は、登録用のn次元の第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の暗号データ(Enc(pk, xi))(i=1,…,n)を記憶装置130に送付する。記憶装置130は、第1の二値ベクトルの各要素の暗号データを記録する。
 照合装置140は、照合要求装置120から照会要求を受けると、
記憶装置130からn次元の第1の二値ベクトルの各要素の暗号データ(Enc(pk, xi))(i=1,…,n)を取得し、第1の二値ベクトルXの各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))を求める。なお、第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の総和の暗号データ(Enc(pk, Σ[i=1 to n] xi))は記憶装置130で求める構成としてもよい。
照合装置140は、第1の変換関数f1の第1群の変換係数{ai,j}(i=1,…,n,j=1,…,n+1)を生成する。
照合装置140は、前記n(n+1)個の第1群の変換係数{ai,j}(i=1,…,n,j=1,…,n+1)と第1の二値ベクトルX=[x1,…,xn]の各要素{xi}の暗号データに基づき、n個の第1の変換値{Ai} (i=1,…,n)の暗号データEnc(pk, Ai) (i=1,…,n)を求める。
照合装置140は、さらに、乱数(S)を生成し、前記乱数(S)を前記n個の第1の変換値{Ai} (i=1,…,n)の暗号データEnc(pk, Ai) (i=1,…,n)にそれぞれスカラー演算して暗号データEnc(pk, SAi) (i=1,…,n)を求める。
そして、照合装置140は、暗号データEnc(pk, SAi) (i=1,…,n)を照合要求装置120に送信する。
照合装置140は、さらに、前記n(n+1)個の第1群の変換係数{ai,j}(i=1,…,n,j=1,…,n+1)の生成に用いたn×n個の第2群の変換係数{bi,j} (i,j=1,…,n)を照合要求装置120に送信する。
 照合要求装置120は、照合装置140から送信されたn×n個の第2群の変換係数{bi,j}(i,j=1,…,n)からなる第2の変換関数f2を、照合用のn次元の第2の二値ベクトルY=[y1,…,yn]に作用させた演算結果であるn個の第2の変換値(B,…,Bn)を求める。
照合要求装置120は、照合装置140から受信した暗号データEnc(pk, SAi) (i=1,…,n)を暗号化したままスカラー演算し、前記第1の変換値{Ai} (i=1,…,n)の乱数(S)倍に第2の変換値(Bi) (i=1,…,n)を乗じた値の暗号データ(Enc(pk, SAB)) (i=1,…,n)を求める。
そして、照合要求装置120は、これらの暗号データ(Enc(pk, SAB)) (i=1,…,n)の総和(Enc(pk, Σ[i=1 to n] SAB))を、レスポンスとして照合装置140に送付する。これ以降の照合装置140と検証装置150の処理は、前記第2の形態と同一である。
<第3形態(Thrid Mode)>
 本発明の第3形態において、図22を参照すると、登録要求装置110は、前記登録用のn次元の第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}(i=1,…,n)に関する第1の演算値(2xi-1)を公開鍵(pk)を用いた加法準同型暗号で暗号化した第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶装置130に送信する。記憶装置130は、前記第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶する。
 照合要求装置120から照合要求を受けた照合装置140は、第1乃至第3の乱数(bi, ai, ri) (i=1,…,n)を生成する。
照合要求装置120は、第1の乱数{bi} (i=1,…,n)の暗号データを、照合要求装置120に送信する。
照合要求装置120は、照合用の二値ベクトルY=[y1,…,yn]の各要素{yi}を、前記第1の乱数{bi} の暗号データ(Enc(pk,bi)) (i=1,…,n)にスカラー演算して、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を求める。
そして、照合要求装置120は、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を照合装置140に送信する。
 照合装置140は、
照合要求装置120からの前記第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)と、
記憶装置130からの前記第1の暗号データ(Enc(pk, (2xi-1)))(i=1,…,n)と、
前記第1乃至第3の乱数(bi, ai, ri) (i=1,…,n)と、
に基づき、
前記第1の暗号データ(Enc(pk, (2xi-1)))に、前記第2の乱数{ai}をスカラー演算で乗算した値の第3の暗号データ(Enc(pk, ai(2xi-1))) (i=1,…,n)と、
前記第2の暗号データ(Enc(pk, bi(2yi-1)))に、第3の乱数(ri)をスカラー演算した値の第4の暗号データ(Enc(pk, biri(2yi-1))) (i=1,…,n)と、を求める。
さらにm照合装置140は、前記第1乃至第3の乱数(bi, ai, ri)の積のハッシュ値(H(aibiri)) (i=1,…,n)を生成する。
照合装置140は、
前記第3の暗号データ(Enc(pk, ai(2xi-1))) (i=1,…,n)と、
前記第4の暗号データ(Enc(pk, biri(2yi-1))) (i=1,…,n)と、
前記ハッシュ値(H(aibiri)) (i=1,…,n)を検証装置150に送信する。その際、照合装置140では、前記第3、第4の暗号データ(Enc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1)))と前記ハッシュ値(H(aibiri))(i=1,…,n)は、インデクスiに関する順序をシャッフルして送信するようにしてもよい。
 検証装置150は、
秘密鍵(sk)を用いて前記第3の暗号データ(Enc(pk, ai(2xi-1)))と、前記第4の暗号データ(Enc(pk, biri(2yi-1)))を復号した第1復号結果(za)と第2の復号結果(zb)を求める。
検証装置150は、前記第1、第2の復号結果の積のハッシュ値(H(za))を計算する。
そして、検証装置150は、前記ハッシュ値H((za))と、照合装置140から受信したハッシュ値(H(aibiri))とについて、不一致の個数が所定値以下であるか否かを判定する。
検証装置150は、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする。
<第3形態(Thrid Mode);変形例1>
 第3形態の変形例として、図23を参照すると、登録要求装置110は、前記登録用のn次元の第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}(i=1,…,n)を公開鍵(pk)で暗号化した第1の暗号データ(Enc(pk, xi)) (i=1,…,n)を記憶装置130に送信する。記憶装置130は、前記第1の暗号データ(Enc(pk, xi)) (i=1,…,n)を記憶する。
 照合要求装置120から照合要求を受けた照合装置140は、第1乃至第3の乱数(bi, ai, ri) (i=1,…,n)を生成する。
また、照合装置140は、記憶装置130から、暗号データ(Enc(pk, xi)) (i=1,…,n)を受け取り、これらを暗号化したまま、スカラー演算、加法準同型演算により、第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を生成する。
照合装置140は、第1の乱数{bi} (i=1,…,n)の暗号データ(Enc(pk,bi)) (i=1,…,n)を照合要求装置120に送信する。
照合要求装置120は、照合用の二値ベクトルY=[y1,…,yn]の各要素{yi}の演算結果(2yi-1) (i=1,…,n)を、前記第1の乱数の暗号データ(Enc(pk,bi)) (i=1,…,n)にスカラー演算して、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を求める。
そして、照合要求装置120は、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を照合装置140に送信する。これ以降の照合装置140、検証装置150の処理は上記第3形態と同様である。あるいは、記憶装置130が、登録要求装置110から暗号データ(Enc(pk, xi)) (i=1,…,n)を受け取り、これらを暗号化したまま、スカラー演算、加法準同型演算により、第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を生成し、登録データとして記憶する構成としてもよい。
<第3形態(Third Mode):変形例2>
 本発明の第3の形態の変形例2において、図25を参照すると、登録要求装置110は、n次元の第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}(i=1,…,n)に関する第1の演算値(2xi-1)を公開鍵(pk)を用いた加法準同型暗号で暗号化した第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶装置130に送信する。
 記憶装置130は、前記第1の二値ベクトルX=[x1,…,xn]の各要素{xi}(i=1,…,n)の第1の演算値の暗号データ(Enc(pk, (2xi-1)))(i=1,…,n)に対して、乱数(ci)(i=1,…,n)(ci∈Fq)をそれぞれ生成し、前記各暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)に前記各乱数ci(i=1,…,n)をスカラー演算した暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)を生成する手段を備えている。
また、記憶装置130は、前記各乱数ciの2乗(ci^2)のハッシュ値(H(ci^2))を生成する手段を備えている。
記憶装置130は、前記各乱数ciをスカラー演算した暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)と前記ハッシュ値(H(ci^2))(i=1,…,n)を検証装置150に送信する。
 検証装置150は、記憶装置130から送信された各暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)を、秘密鍵(sk)を用いて復号して各復号値(zi)のハッシュ値(H(zi^2))を求める。
検証装置150は、各復号値(zi)のハッシュ値(H(zi^2)が、記憶装置130から送信された対応するハッシュ値(H(ci^2))と一致するか判定する。
検証装置150は、例えば、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とする。記憶装置130は、検証装置150での検証結果が受理の場合、前記第1の演算値の暗号データを記憶する。
<第4形態(Fourth Mode)>
 本発明の第4形態において、図26を参照すると、登録要求装置110は、前記登録用の第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}に関する第1の演算値(2xi-1)を公開鍵(pk)を用いた加法準同型暗号で暗号化した第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶装置130に送信する。記憶装置130は、前記第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶する。
 照合要求装置120から照合要求を受けた照合装置140は、第1、第2の乱数(bi, ai)(i=1,…,n)を生成する。
照合装置140は、第1の乱数{bi} (i=1,…,n)を、公開鍵(pk)を用いて暗号化した暗号データ(Enc(pk, bi)) (i=1,…,n)を照合要求装置120に送信する。
 照合要求装置120は、照合用の二値ベクトルY=[y1,…,yn]の各要素{yi}について演算値(2yi-1) (i=1,…,n)を、公開鍵(pk)を用いて暗号化した暗号データ(Enc(pk, (2yi-1))) (i=1,…,n)を求める。
さらに、照合要求装置120は、前記第1の乱数{bi} の暗号データEnc(pk,bi) (i=1,…,n)を暗号化したまま乗算して、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を求める。
そして、照合要求装置120は、第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)を照合装置140に送信する。
 照合装置140は、生成した第2の乱数{ai} (i=1,…,n)と、記憶装置130からの第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)とを乗算して、暗号データ(Enc(pk,ai(2xi-1)))(i=1,…,n)を求める。
照合装置140は、
該暗号データ(Enc(pk,ai(2xi-1))) (i=1,…,n)と、
照合要求装置120から送信された前記第2の暗号データ(Enc(pk, bi(2yi-1))) (i=1,…,n)とを、例えば暗号化したまま乗算して(乗法準同型)、
暗号データ(Enc(pk, aibi(2xi-1)(2yi-1)))を求める。
照合装置140は、さらに前記第1、第2の乱数の積(aibi)(i=1,…,n)のハッシュ値(H(aibi))を生成する。
そして、照合装置140は、算出した該暗号データ(Enc(pk, aibi(2xi-1)(2yi-1)))と、該ハッシュ値(H(aibi))を、検証装置150に送信する。その際、照合装置140は、該暗号データ(Enc(pk, aibi(2xi-1)(2yi-1)))と該ハッシュ値(H(aibi)) (i=1,…,n)について、インデクスiに関する順序をシャッフルして送信するようにしてもよい。
 検証装置150は、秘密鍵(sk)を用いて、前記暗号データ(Enc(pk, aibi(2xi-1)(2yi-1)))(i=1,…,n)を復号して復号結果(zi)(i=1,…,n)を求める。
検証装置150は、復号値(zi)(i=1,…,n)のハッシュ値(H(zi))を計算する。
検証装置150は、
該ハッシュ値(H(zi))(i=1,…,n)と、
照合装置140から受信したハッシュ値(H(aibi))(i=1,…,n)と、
について、不一致の個数が所定値以下であるか否かを判定する。
検証装置150は、例えば不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする。
<第4形態(Fourh Mode):変形例>
 本発明の第4の形態の変形例において、図27を参照すると、登録要求装置110は、第1の二値ベクトルX=[x1,…,xn]について、各要素{xi}に関する第1の演算値(2xi-1)を公開鍵(pk)を用いた乗法準同型暗号方式で暗号化した第1の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶装置130に送信する。
 記憶装置130は、前記第1の二値ベクトルX=[x1,…,xn]の各要素xiの第1の演算値の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)に対して乱数(ci)(i=1,…,n)(ci∈Fq)をそれぞれ生成し、前記各暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)に、乱数(ci)の暗号データEnc(pk,ci)を乗算した暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)を生成する手段を備えている。
また、記憶装置130は、前記各乱数(ci)の2乗のハッシュ値H(ci^2)を生成する手段を備えている。
記憶装置130は、暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)と前記ハッシュ値(H(ci^2))(i=1,…,n)を検証装置150に送信する。
 検証装置150は、記憶装置130から送信された各暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)を、秘密鍵(sk)を用いて復号する。
そして、検証装置150は、各暗号データ(Enc(pk, ci(2xi-1))) (i=1,…,n)の復号値(zi)のハッシュ値(H(zi^2))(i=1,…,n)を求める。
検証装置150は、前記各ハッシュ値(H(zi^2))(i=1,…,n)が、記憶装置130から送信された対応するハッシュ値(H(ci^2))(i=1,…,n)と一致するか判定する。
検証装置150は、例えば、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とする。
記憶装置130は、検証装置150での検証結果が受理の場合、前記第1の演算値の暗号データ(Enc(pk, (2xi-1))) (i=1,…,n)を記憶する。
 以下では、本発明の実施形態の説明の前に比較例を説明しておく。
 まず、Modified-Elgamal暗号の各アルゴリズムの動作について説明する。鍵生成アルゴリズムは、まず、入力としてセキュリティパラメータ1^κを受け取る。
 次に、位数がκビットの素数qである群Gとその生成元gを生成する。
Figure JPOXMLDOC01-appb-I000001
をランダムに選び、h=g^xとする(^は冪乗演算子)。
 最後に、公開鍵pk=(g, h=g^x)及び秘密鍵sk=xを出力する。
 暗号化アルゴリズムは、まず、公開鍵pk及びメッセージmを入力として受け取る。
 次に、乱数r
Figure JPOXMLDOC01-appb-I000002
をランダムに選ぶ。
 次に、C[0]=g^r、C[1]=h^r・g^mを計算する。
 最後に、暗号文C=(C[0], C[1])を出力する。
 復号アルゴリズムは、まず、秘密鍵sk=x及び暗号文C=(C[0], C[1])を入力として受け取る。
 次に、復号結果として、M=C[1]/(C[0]^x)を出力する。
 あるメッセージmの暗号文
Enc(pk,m)=(C[0],C[1])=(g^r,h^r・g^m)
に対し、
Dec(sk, (c[0], c[1]))=c[1]/(c[0]^x)=g^m
となる。
 復号アルゴリズムは、メッセージmではなくg^mを返すものであってもよい。Modified-Elgamal暗号を用いると、暗号化したまま平文の加算や定数倍に対応する暗号文を計算できる。
 加算の場合、公開鍵pk=(g, h=g^x)と2つのメッセージm及びm'の暗号文
C=Enc(pk,m) = (C[0], C[1]) = (g^r, h^r・g^m)、及び、
C'=Enc(pk,m') = (C'[0], C'[1]) = (g^r', h^r'・g^m')
に対し、
(C[0]・C'[0], C[1]・C'[1])= (g^{r+r'}, h^{r+r'}・g^{m+m'}) = Enc(pk,m+m')が成り立つ。
 また、定数倍の場合、公開鍵pk=(g, h=g^x)、任意の定数z、及び暗号文c= Enc(pk,m)= (c[0], c[1]) = (g^r, h^r・g^m)に対し、
(c[0]^z, c[1]^z) = (g^{zr}, h^{zr}・g^{zm})=Enc(pk,zm)
が成り立つ。
 すなわち、Enc(pk, x) = C, Enc(pk, x') = C'、整数zに対し、
加算を
Add(C, C') = (C[0]・C'[0], C[1]・C'[1])
スカラー演算を
Scl(z, C) = (C[0]^z, C[1]^z)
と定めると、
Add(C, C') = Enc(pk, x+x' mod q)
Scl(z, C) = Enc(pk, zx mod q)
 ただし、x+x' mod q、zx mod qは、x+x'、zxを体Fq上で計算した結果である。
<比較例>
 以下の比較例は、非特許文献1の開示に基づく。
 登録用のデータをn次元ベクトル:
Figure JPOXMLDOC01-appb-I000003
で表す。nは所定の値(自然数)を表す。xi(i=1,…,n)は0乃至lのいずれかの値(例えば整数)をとる。
 照合(認証)対象を表す対象データを
Figure JPOXMLDOC01-appb-I000004
とする。{yi}(i=1,…,n)は0乃至lのいずれかの値(例えば整数)をとる。
 照合システムにおける処理は、大別して、
・準備フェーズ、
・登録フェーズ、及び、
・照合フェーズを含む。図2を参照すると、準備として、例えば検証装置150は、セキュリティパラメータ1^κを用いて、公開鍵pk、秘密鍵skを生成し、公開鍵pkを公開する(S100)。
 登録データ(n次元ベクトル)と照合データ(n次元ベクトル)の距離:dE 2(X,Y)を、以下のように分割する。
Figure JPOXMLDOC01-appb-I000005
    ・・・(1)
Figure JPOXMLDOC01-appb-I000006
    ・・・(2)
Figure JPOXMLDOC01-appb-I000007
    ・・・(3)
 登録要求装置110は、登録データX=[x1,…,xn]に関して、テンプレートとして、
n個の要素x(i=1,…,n)の暗号データ:
Enc(pk, xi)    (i=1,…,n)
とn個の要素xの2乗の総和
Figure JPOXMLDOC01-appb-I000008
の暗号データ:
Figure JPOXMLDOC01-appb-I000009
を記憶装置130に送信する(S101)。
 記憶装置130は、
Enc(pk, xi)    (i=1,…,n),
Figure JPOXMLDOC01-appb-I000010
を登録識別子Id(Identity)等に対応して記憶する。
 照合要求装置120は、照合用データY=[y1,…,yn]を照合する場合、照合要求を照合装置140に送信する(S102)。
 照合装置140は、ユーザIDに基づき記憶装置130から登録テンプレート:
Enc(pk, x1),…, Enc(pk, xn),

Figure JPOXMLDOC01-appb-I000011
を取得する(S103)。
 照合装置140は乱数Sを生成し(S104)、登録されたテンプレートEnc(pk, xi) (i=1,…,n)をスカラー演算則でS倍した暗号データ
Enc(pk, Sx1),…, Enc(pk, Sxn
を作成し、これらの暗号データを照合要求装置120に送信する(S105)。
 照合装置140は、乱数
Figure JPOXMLDOC01-appb-I000012
として、好ましくは、毎回異なる数を選択する。なお、照合装置140は、
Figure JPOXMLDOC01-appb-I000013
に関する暗号データ(第2テンプレート)
Figure JPOXMLDOC01-appb-I000014
は照合要求装置120に送信しない。
 照合要求装置120は、照合用データY=[y1,…,yn]から、
Figure JPOXMLDOC01-appb-I000015
を計算する。そして、照合要求装置120は、受信したEnc(pk, S)に対して、スカラー演算
Figure JPOXMLDOC01-appb-I000016
      ・・・(4)
により、
Figure JPOXMLDOC01-appb-I000017
        ・・・(5)
を生成する。すなわち、照合要求装置120が受け取った乱数Sの暗号データを、
Enc(pk, S) = C = (g^r, g^S・h^r) = (C[0], C[1])      ・・・(6)
とする。
 照合要求装置120は、Enc(pk, S) = C = (C[0], C[1])に対して、
Figure JPOXMLDOC01-appb-I000018
               ・・・(7)
を計算する。これは、式(5)の
Figure JPOXMLDOC01-appb-I000019
と等価である。
 また、照合要求装置120は、照合装置140から受け取ったn個の{Enc(pk, Sxi)}i(i=1,…,n)に対して、照合ベクトルの要素{y}のスカラー演算
Scl((-2y), Enc(pk, Sxi)) (i=1,…,n)により、n個の
Enc(pk, (-2yi)Sxi)=Enc(pk, -2Sxiyi)(i=1,…,n)         ・・・(8)
を求める。そして、準同型暗号の加法演算により、
Figure JPOXMLDOC01-appb-I000020
                    ・・・(9)
を求め
Figure JPOXMLDOC01-appb-I000021
                   ・・・(10)
との準同型加算により、
Figure JPOXMLDOC01-appb-I000022
        ・・・(11)
を求め、照合装置140に送信する(S106)。
 照合装置140は、受け取った暗号データEnc(pk, SD2)に対して、Sの逆数(S^(-1)=S^(q-2) mod q)のスカラー演算
Scl(S^(-1), Enc(pk, SD2))           ・・・(12)
を施し、
Scl(S^(-1), Enc(pk, SD2)) = Enc(pk, S^(-1)SD2) = Enc(pk, D2)   ・・・(13)
により、
Figure JPOXMLDOC01-appb-I000023
        ・・・(14)
を算出する。
 照合装置140は登録されたテンプレート

Figure JPOXMLDOC01-appb-I000024
と、
Figure JPOXMLDOC01-appb-I000025
とから、加法準同型により、距離dE 2(X,Y)の暗号データ

Figure JPOXMLDOC01-appb-I000026
 ・・・(15)

を求める。照合装置は140は、暗号データEnc(pk,dE 2(X,Y))を検証装置150に送信する(S107)。
 検証装置は150、秘密鍵skを用いて距離の暗号データEnc(pk,dE 2(X,Y))を復号し、
Dec(sk,Enc(pk,dE 2(X,Y)))=dE 2(X,Y)
を求め、該距離dE 2(X,Y)が所定の閾値=t以下であるか否かを判定する(S108)。Modified Elgamal暗号では、復号結果はg^(dE 2(X,Y))であり、これが、g^0、g^1、・・・g^tのいずれかに一致するか否かを判定する。
 検証装置150は、検証結果(受理・不受理)を、照合装置140に返すようにしてもよい(S109)。
<比較例の問題点>
 二値ベクトルのハミング距離は多値ベクトルのユークリッド距離と同じ方法で算出できることから、上記した多値ベクトル型の生体情報をユークリッド距離dE 2(X,Y)によって照合するシステムは二値ベクトル型の生体情報も扱えそうに思われる。
 二値ベクトル
Figure JPOXMLDOC01-appb-I000027
の各要素xiは、
xi^2=xi (i==1,…,n)  ・・・(16)
が成り立つ。
 したがって、図2のS106で受信した{Enc(pk, Sxi)} からEnc(pk, Sxi^2)が計算できることになる。
 前述したように、照合装置140では、照合要求装置120から送信されたEnc(pk,SD2)に対してSの逆数S^(-1)のスカラー演算により、Enc(pk,D2)を求め、加法準同型に基づきEnc(pk, D1)+Enc(pk, D2)を計算し、暗号化距離Enc(pk、dE 2(X,Y))として検証装置150に送信する。ここで、二値ベクトル型である場合、
Figure JPOXMLDOC01-appb-I000028
ならば、xi^2=xiであることから,照合要求装置120は、照合装置140から受け取った暗号データEnc(pk, Sxi)はEnc(pk, Sxi^2)と一致する。
 さらに、図3に示すように、S106において、照合要求装置120は、照合装置140から受け取った乱数Sの暗号データEnc(pk, S)を利用して、
Figure JPOXMLDOC01-appb-I000029
           ・・・(17)
を計算し、照合装置140に送信する。すなわち、スカラー演算Scl(c, Enc(pk,S))より、Enc(pk, cS)を求める。
 また、
Figure JPOXMLDOC01-appb-I000030
     ・・・(18)
より、
Figure JPOXMLDOC01-appb-I000031
     ・・・(19)
を求め、スカラー演算
Figure JPOXMLDOC01-appb-I000032
    ・・・(20)

より、
Figure JPOXMLDOC01-appb-I000033
          ・・・(21)
を求める。上式(21)をEnc(pk, cS)と暗号化したまま加算することで、以下が求まる。
Figure JPOXMLDOC01-appb-I000034
    ・・・(22)
 照合装置140は、照合要求装置120から送信された

Figure JPOXMLDOC01-appb-I000035
を、照合要求装置120から送信されたEnc(pk,SD2)であるものとして扱い、Sの逆数S^(-1)のスカラー演算を施してEnc(pk,D2)を求める。そして、加法準同型を用いて、Enc(pk,D2)とEnc(pk,D1)を加算したものを、暗号化距離Enc(pk、dE 2(X,Y))として、検証装置150に送信する。
 この場合、照合装置140が検証装置150に送信するEnc(pk、dE 2(X,Y))は以下で与えられる。
Figure JPOXMLDOC01-appb-I000036
                          ・・・(23)
 検証装置150は、秘密鍵skを用いてEnc(pk、dE 2(X,Y))を復号する。復号結果(g^c)がg^0, g^1,…, g^t (tは閾値)のいずれかに一致するか判定し、判定結果を検証結果(いずれかに一致すれば受理)として出力する。
 このため、照合要求装置120において、t以下のcを選択することで、登録された生体情報Xと認証に用いられる生体情報Yの間の距離は、
D1+D2=c<=t           ・・・(24)
と算出される。したがって、図2の例の場合、必ず受理されるクエリを検証装置150に送付することができる。
 上記のとおり、生体情報が二値ベクトルの場合、盗聴者は、任意のユーザになりすまし可能である。
 虹彩(Iris Code)、掌紋(Competitive Code)などはエラー率が非常に低い二値ベクトル型の生体情報としてよく知られている。二つの生体情報が同一人物から抽出されたかどうかは二つの生体情報の間のハミング距離によって判定する。すなわち,ハミング距離が閾値以下ならば、同一人物、閾値よりも大きければ、違う人物と判定する。以下、図面を参照して、いくつかの実施形態について説明する。
<第1の実施形態>
 図4は、本発明の例示的な第1の実施形態を説明する図である。本実施形態では、n次元の二値ベクトル
Figure JPOXMLDOC01-appb-I000037

Figure JPOXMLDOC01-appb-I000038
のハミング距離を例えば以下のように分割する。
Figure JPOXMLDOC01-appb-I000039
    ・・・(25)
Figure JPOXMLDOC01-appb-I000040
              ・・・(26)
Figure JPOXMLDOC01-appb-I000041
           ・・・(27)
 上記のとおり、D1は照合用ベクトルYの値に依らない。
 準備フェーズにおける公開鍵、秘密鍵の生成(S10)は、前述した通りである。
 登録要求装置110は、二値ベクトルX=[x1, …,xn]∈{0,1}nから
Enc(pk, 1-2x1),…,Enc(pk, 1-2xn)   ・・・(28)
と、
Figure JPOXMLDOC01-appb-I000042
        ・・・(29)
を記憶装置130に送信する(S11)。
 記憶装置130は、
Enc(pk, 1-2xi)  (i=1,…,n)と
Figure JPOXMLDOC01-appb-I000043
を登録識別子Idに対応させて記憶する。
 照合装置140は、照合要求装置120から照合要求を受け取る(S12)。照合装置140、記憶装置130からIdに関連して記憶された暗号データEnc(pk, 1-2x1),…,Enc(pk, 1-2xn)を受け取る(S13)。照合装置140は、乱数Sを生成する(S14)。そして、照合装置140は、乱数Sのスカラー演算
Scl(S, Enc(pk, 1-2xi)) (i=1,…,n)により、
暗号データEnc(pk, S(1-2xi)) (i=1,…,n)    ・・・(30)
を求める。照合装置140は、該暗号データEnc(pk, S(1-2xi)) (i=1,…,n)を照合要求装置120に送信する(S15)。
 照合要求装置120は、Y=[y1, ….,yn]∈{0,1}nと、照合装置140から受け取った
暗号データEnc(pk, S(1-2xi)) (i=1,…,n)
から、スカラー演算Scl(yi, Enc(pk, S(1-2xi)))より、
Enc(pk, S(1-2xi)yi) (i=1,…,n)     ・・・(31)
を求め、これらを加算することで、
Figure JPOXMLDOC01-appb-I000044
   ・・・(32)
を計算する。照合要求装置120は、Enc(pk,SD2)を照合装置140に送信する(S16)。
 照合装置140は、照合要求装置120にEnc(pk,S)を送信しない。よって、照合要求装置120は、

Figure JPOXMLDOC01-appb-I000045
  ・・・(33)
を算出することはできない。このため、クライアントはハミング距離を偽装できない。
 照合装置140は、照合要求装置120から送信された
Figure JPOXMLDOC01-appb-I000046
に対して、乱数Sの逆数S^(-1)をスカラー演算
Figure JPOXMLDOC01-appb-I000047
  ・・・(34)

することで、
Figure JPOXMLDOC01-appb-I000048
   ・・・(35)
を算出する。
 照合装置140は、式(35)のEnc(pk,D2)に記憶装置130に登録されたテンプレート
Figure JPOXMLDOC01-appb-I000049
   ・・・(36)
を加算して、暗号化ハミング距離
Enc(pk,dH(X,Y))=Enc(pk,D1)+Enc(pk,D2)    ・・・(37)
を求める。照合装置140は、暗号化ハミング距離Enc(pk,dH(X,Y))を検証装置150に送信する(S17)。
 検証装置150は、秘密鍵skを用いてEnc(pk、dH(X,Y))を復号する。検証装置150は、復号結果(dH(X,Y))が、g^0, g^1,…, g^t (tは閾値)に一致するか確認する(S18)。検証装置150は、検証結果(いずれかに一致すれば受理)として出力する(S19)。
 図5は、本発明の第1の実施形態の構成を例示する図である。照合システム100は、コンピュータシステム等による情報処理システムから構成される。第1の例示的な実施形態に係る照合システム100は、登録要求装置110と、記憶装置130と、照合要求装置120と、照合装置140と、検証装置150とを有する。
 登録要求装置110は、登録情報抽出部111と、テンプレート生成部112、通信部113とを有する。
 記憶装置130は、情報を記憶するストレージデバイスを備えるほか、情報を処理する演算部を備えている。すなわち、記憶装置130は識別子管理部131と、登録データ生成部132と、登録データ記憶部133と、登録データ検索部134と、通信部135を有する。
 照合要求装置120は、照合要求生成部121と、照合情報抽出部122と、レスポンス生成部123と、通信部124を有する。
 照合装置140は、登録データ取得部141と、乱数生成部142と、暗号データ生成部143と、暗号化距離計算部144と、クエリ生成部145と、通信部146を有する。
 検証装置150は、鍵生成部151と、復号鍵記憶部152と、クエリ検証部153と、検証結果生成部154と、通信部155を有する。
 例えば、登録要求装置110と記憶装置130間、記憶装置130と照合装置140間、照合要求装置120と照合装置140間、照合装置140と検証装置150間は、各装置の通信部(不図示の送信機(インタフェース)と受信機(インタフェース)を備える)と、通信網(例えば、構内ネットワーク(Local Area Network : LAN)、あるいは、広域ネットワーク(Wide Area Network :WAN)等)を介して通信接続する構成としてもよい。あるいは、登録要求装置110、記憶装置130、照合装置140、照合要求装置120、検証装置150のうち、複数の装置を一つのユニットに実装し、各装置をユニット内のバス(装置間バスや装置内バス)で結合する構成としてもよい。また、登録要求装置110、記憶装置130、照合装置140、照合要求装置120は、検証装置150が公開した公開鍵(例えば検証装置150が作成した準同型暗号方式の暗号化鍵と復号鍵のペアのうちの前記暗号化鍵)を取得可能に構成されている。
 なお、照合システム100においては、登録要求装置110と、照合要求装置120とをまとめて、「第1ノード」と表してもよい。照合システム100においては、記憶装置130と、照合装置140とをまとめて、「第2ノード」と表してもよい。また、照合システム100においては、検証装置150を、「第3ノード」と表してもよい。例えば登録要求装置110と照合要求装置120はクライアント装置、記憶装置130と照合装置140はサーバ装置、検証装置150はサーバ装置に通信接続する復号装置として構成してもよい。
 本実施形態に係る照合システム100の動作について説明する。本発明の第1の例示的な実施形態に係る照合システム100における処理について説明する。
 照合システム100における処理は、大別して、
・準備フェーズ、
・登録フェーズ、及び、
・照合フェーズを含む。
 まず、各フェーズにおける処理の概要について説明する。本発明の第1の例示的な実施形態に係る照合システム100では、加法、スカラー演算について準同型性を持つ準同型暗号方式を用いる。説明の便宜上、暗号方式は上記したModified Elgamal暗号を用いる。あるいは楕円Elgamal暗号、あるいは、Paillier暗号を用いてもよい。
 楕円Elgamal暗号は、有限体上の楕円曲線上の群に対して定義される。
<鍵生成>:楕円曲線のパラメータa,b,p,q及び楕円曲線上の基点Gを入力として受け取り、公開鍵pk=G, H=x(*)G及び秘密鍵sk=xを出力する。ただし、メッセージ空間は体F=0,1,…,q-1である。一般的に、qは128ビット以上の素数が選択される。
<暗号化>:公開鍵pk及びメッセージm∈Fqを入力として受け取り、乱数
Figure JPOXMLDOC01-appb-I000050
を選択し、暗号文を、
C = (C[0] = R(*)G, C[1] = (m (*) G) (+) (r (*) H))    ・・・(38)
を出力する。すなわち、
C[1] = (m + rx) (*) G                 ・・・(39)
を満たす。
<復号>:秘密鍵sk及び暗号文C = (C[0], C[1])を入力として受け取り、
M = C[1] (-) (sk (*) C[0])を出力する。         ・・・(40)
すなわち、
C[1] (-) (sk (*) C[0]) = (m + rx) (*) G (-) x (*) (r (*) G) = m (*)G ・・・(41)
を満たす。復号アルゴリズムは、メッセージmではなくm(*)Gを返すもので構わない。
 上記の各アルゴリズムでは、次の記法を用いている。
 楕円曲線上の点AとBの加算:A (+) B
 楕円曲線上の点AとBの減算:A (-) B
 楕円曲線上の点Aのz倍:z (*) A
 準備フェーズにおいては、主として、セキュリティパラメータ1^κを用いて、公開鍵、及び、秘密鍵が生成される。
 登録フェーズにおいては、主として、準備フェーズで生成された公開鍵(暗号化鍵)を用いて、抽出された登録ベクトルが暗号化されたテンプレートが作成され、保存される。
 照合フェーズにおいては、主として、準備フェーズで生成された秘密鍵(復号鍵)を用いて、新たに抽出された照合ベクトルと一つの登録ベクトルとの間の距離が算出される。
 次に、照合システム100が、上述した各フェーズにて実行する処理について詳細に説明する。
 図6は、準備フェーズにおいて、第1の例示的な実施形態に係る照合システム100が実行する処理の一例を示すフローチャートである。図6を参照して、本実施形態に係る照合システム100が、準備フェーズにて実行する処理について説明する。
 検証装置150における鍵生成部151は、セキュリティパラメータを受信し、受信したセキュリティパラメータを用いて、例えば、鍵生成アルゴリズムに従い、暗号化鍵(公開鍵)pk、及び、復号鍵(秘密鍵)skを生成する(ステップA1)。なお、生成される暗号化鍵、及び、復号鍵は、加法及びスカラー乗算に関して準同型性を有する公開鍵暗号方式(例えばModified Elgamal暗号)に準拠する。
 鍵生成部151は、生成した暗号化鍵pkを、照合システム100において公開する(ステップA2)。
 鍵生成部151は、生成した復号鍵skを、復号鍵記憶部152に格納する(ステップA3)。
 なお、本実施形態に係る照合システム100において、準備フェーズにて実行する処理は、図6に例示した様態に制限されるものでないことは勿論である。
 図7は、登録フェーズにおいて、第1の例示的な実施形態に係る照合システム100が実行する処理の一例を示すフローチャートである。図7を参照して、第1の実施形態に係る照合システム100が登録フェーズにて実行する処理について説明する。
 登録要求装置110における登録情報抽出部111は、登録対象の生体から生体情報(「登録ベクトル」と呼ぶ)
 X=[x[1],…,x[n]]
を抽出する(ステップB1)。なお、ここでは、単に演算式の明確化のため、xi (i=1,…,n)の添え字iを角括弧内とした表記x[i](i=1,…,n)で表す。
 次に、登録要求装置110におけるテンプレート生成部112は、暗号化鍵pkを用いて、1-2xi(i=1,…,n)を暗号化したn個のテンプレートを生成する。
Enc(pk, 1-2x[1]),…, Enc(pk, 1-2x[n])    ・・・(42)
(ステップB2)。ステップB2で計算した暗号文を「第1テンプレート」とも呼ぶ。
 次に、登録要求装置110におけるテンプレート生成部112は、暗号化鍵pkを用いて、x[1]+,…+x[n]を暗号化した1個のテンプレートを生成する(ステップB3)。
Enc(pk, x[1]+,…+x[n])            ・・・(43)
 ステップB3で計算した暗号文を「第2テンプレート」とも呼ぶ。
Enc(pk,1-2x[1])(=C1[1]と表す),
    …,
Enc(pk,1-2x[n])(=C1[n]と表す),
Enc(pk, x[1]+…+x[n])(CC1と表す)     ・・・(44)
 Modified-Elgamal暗号では、テンプレート生成部112はZの中から複数の数rr1[1],…,r1[n]、及び、rr1を選ぶ。
 テンプレート生成部112は公開鍵pkから、生成元gと、値hとを読み取り、二値ベクトルXに関して以下の暗号文を作成する。
(g^{r1[1]}, g^{1-2x[1]}×h^{r1[1]})=(C1[1][0], C1[1][1]) (=C1[1])
   …,
(g^{r1[n]}, g^{1-2x[n]}×h^{r1[n]}) =(C1[n][0], C1[n][1])(=C1[n])}})
(g{rr1}, g{x[1]++x[n]}×h{rr1}))=(CC1[0],CC1[1]) (=CC1)
                         ・・・(45)
 次に、登録要求装置110におけるテンプレート生成部112は、第1テンプレートと第2テンプレートをまとめ、テンプレート
(C1[1],…, C1[n], CC1)             ・・・(46)
とする(ステップB4)。
 登録要求装置110の通信部113は、テンプレート
(C1[1],…,C1[n],CC1)
を記憶装置130に送付する(ステップB5)。
 記憶装置130の通信部135は、登録要求装置110から、該テンプレート
(C1[1],…,C1[n],CC1)を受け取る(ステップB6)。
 記憶装置130における識別子管理部131は、登録要求装置110から受け取ったテンプレートに固有の識別子である登録識別子idを決定する(ステップB7)。
 記憶装置130の通信部135は、登録識別子idを登録要求装置110に送付する(ステップB8)。
 次に、登録要求装置110の通信部113は、記憶装置130から登録識別子idを受け取る(ステップB9)。
 登録要求装置110は、受信した登録識別子idを、ディスプレイ等のユーザインターフェース(UI)に表示する(ステップB10)。あるいは、登録要求装置110は、社員証や、識別子カード等の、IC(integrated_circuit)カードに、受信した登録識別子idを格納してもよい。
 次に、記憶装置130における登録データ生成部132は、テンプレートと登録識別子idをまとめ、登録データ
(C1[1],…,C1[n],CC1, id)          ・・・(47)
とする(ステップB11)。
 記憶装置130における登録データ記憶部133に、上記登録データを格納する(ステップB12)。
 なお、本実施形態に係る照合システム100が登録フェーズにて実行する処理は、図3に例示された様態に限定されない。例えば、ステップB8に先だってステップB11とステップB12とが実行されてもよい。すなわち、記憶装置130は、登録識別子idを登録要求装置110に送信する前に、登録データを登録データ記憶部133に、上記登録データを格納するようにしてもよい。
 図8は、照合フェーズにおいて、第1の例示的な実施形態に係る照合システム100が実行する処理の一例を示すフローチャートである。図8、図5を参照して暗号照合システム100が、照合フェーズにて実行する処理について説明する。
 照合要求装置120は、照合(認証)対象の持つ識別子(「照合識別子」と呼ぶ)を受け取る(ステップC1)。
 次に、照合要求装置120における照合要求生成部121は、受け取った照合識別子を含む照合要求を生成する(ステップC2)。
 照合要求装置120の通信部124は、照合要求を照合装置140に送付する(ステップC3)。
 照合装置140の通信部146は、照合要求装置120から照合要求を受け取る(ステップC4)。
 次に、照合装置140における登録データ取得部141は、照合要求装置120から送信された照合要求に含まれる照合識別子を含む登録データ要求を生成する(ステップC5)。
 照合装置140の通信部146は、登録データ要求を記憶装置130に送付する(ステップC6)。
 次に、記憶装置130の通信部135は、照合装置140から登録データ要求を受け取る(ステップC7)。
 記憶装置130における登録データ検索部134は、登録データ記憶部133に格納されている、一つまたは複数の登録データのうち、登録データ要求に含まれる照合識別子を含む登録データ(「対象テンプレート」ともいう)を特定する(ステップC8)。
 記憶装置130の通信部135は、当該テンプレート:
Enc(pk,1-2x[1])(=C1[1]),
     …,
Enc(pk,1-2x[n])(=C1[n])
Enc(pk, x[1]+…+x[n])(=CC1)            ・・・(48)
を照合装置140に送付する(ステップC9)。
 照合装置140の通信部146は、記憶装置130から該テンプレートを受け取る(ステップC10)。
 照合装置140の乱数生成部142は、疑似乱数生成手順に従い整数(乱数)
Figure JPOXMLDOC01-appb-I000051
を生成する(ステップC11)。
 乱数生成部142は、好ましくは、照合要求のたびに毎回異なる乱数Sを生成する。
 次に、照合装置140における暗号データ生成部143は、加法準同型のスカラー演算則から、n個の第1のテンプレート:
Enc(pk,1-2x[1])(=C1[1]),
     …,
Enc(pk,1-2x[n])(=C1[n])
に対するSのスカラー演算Scl(S, Enc(pk,1-2x[1])),…, Scl(S, Enc(pk,1-2x[n]))
より、n個の暗号データ(「チャレンジ」ともいう):
Enc(pk,S(1-2x[1]))(C2[1]と表す),
    …
Enc(pk,S(1-2x[n]))(C2[n]と表す)        ・・・(49)
を生成する(ステップC12)。
すなわち、
C1[1]=(g^{r1[1]}, g^{(1-2x[1])}×h^{r1[1]})=(C1[1][0], C1[1][1])に対して、
(C1[1][0]^S,C1[1][1]^S) =C2[1],
   …,
C1[n]= (g^{r1[n]}, g^{(1-2x[n])}×h^{r1[n]}) =(C1[n][0], C1[n][1])(=C1[n])に対して、
(C1[n][0]^S,C1[n][1]^S) =C2[n]
                         ・・・(50)
 照合装置140の通信部146は、暗号データ (C2[1],…,C2[n])を照合要求装置120に送付する(ステップC13)。
 照合要求装置120は、照合装置140がステップC13で送信した暗号データを受け取る(ステップC14)。
 次に、照合要求装置120における照合情報抽出部122は、認証対象の生体から照合ベクトル
  Y=(y[1],y[2],…,y[n])
を抽出する(ステップC15)。
 次に、照合要求装置120におけるレスポンス生成部123は、
Enc(pk,S(1-2x[1]))(C2[1]),
     …,
Enc(pk,S(1-2x[n]))(C2[n])より、スカラー演算則と加法準同型の加法とから、暗号化したレスポンス:
Figure JPOXMLDOC01-appb-I000052
    ・・・(51)
を生成する(ステップC16)。すなわち、照合要求装置120におけるレスポンス生成部123は、スカラー演算Scl(y[1], Enc(pk,S(1-2x[1])))よりEnc(pk,S(1-2x[1])y[1])を生成する。以下同様に、Scl(y[n], Enc(pk,S(1-2x[n])))より、Enc(pk,S(1-2x[n])y[n])を生成する。そして、これらを加算することで、
Enc(pk,S((1-2x[1])y[1]+,…,+(1-2x[n])y[n]))(=CC2)を求める。
 次に、照合要求装置120の通信部124は上記レスポンスCC2を照合装置140に送付する(ステップC17)。
 次に、照合装置140は、照合要求装置120から、上記レスポンスCC2を受け取る(ステップC18)。
 次に、照合装置140における暗号化距離計算部144は、
Enc(pk,S((1-2x[1])y[1]+,…, (1-2x[n])y[n]))に対してS^-1でスカラー演算する。
Scl(S^(-1), Enc(pk,S((1-2x[1])y[1]+,…, (1-2x[n])y[n])))
この結果、
Enc(pk,((1-2x[1])y[1]+,…, (1-2x[n])y[n]))  ・・・(52)
を取得する。これと、記憶装置130より受信した第2のテンプレート:Enc(pk, x[1],…,x[n])=Enc(pk,D1)より、暗号化ハミング距離を得る。
Figure JPOXMLDOC01-appb-I000053
                  ・・・(53)
 次に、照合装置140におけるクエリ生成部145は、暗号化距離Enc(pk, dH(X,Y))を含むクエリを生成する(ステップC20)。
 照合装置140の通信部146は、上記クエリを検証装置150に送付する(ステップC21)。
 次に、検証装置150の通信部155は、照合装置140から、上記クエリEnc(pk,f)を受け取る(ステップC24)。
 次に、検証装置150におけるクエリ検証部153は、秘密鍵skを用いてクエリの暗号化距離Enc(pk, dH(X,Y))を復号する。
 Dec(sk, Enc(pk, dH(X,Y)))=g^{dH(X,Y)}  ・・・(54)
 次に、検証装置150における検証結果生成部154は、dH(X,Y)を閾値tと比較する(ステップC23)。検証結果生成部154は、g^{dH(X,Y)}がg^0, g^1, g^tのいずれかに一致するか判定する。いずれかに一致すれば、dH(X,Y)<=tであり、受理、いずれかにも一致しなれれば、dH(X,Y)>tであり、不受理の検証結果を生成する(ステップC24)。
 検証装置150は、算出した照合結果を出力する(ステップC25)。
 なお、本実施形態に係る照合システム100が照合フェーズにて実行する処理は、図8に例示された様態に限定されない。例えば、ステップC5~C10に先だってステップC11が実行されてもよい。
 また、第1の例示的な実施形態に係る照合システム100によれば、同じ登録ベクトルとの認証を行う際であっても、図7のステップC11で選ばれた乱数を用いた処理が行われる。したがって、照合処理の通信内容が漏洩したとしても、漏洩した内容を再送したり、漏洩した内容を利用して作成したデータを送付したりしても、漏洩した照合時の距離と等しい距離を算出したり、小さい値を算出したりすることはできない。登録ベクトルと認証ベクトルの間の距離が閾値より小さいときに「受理」とする認証に利用する場合、登録ベクトルを知らない攻撃者が「受理」とされない性質、すなわち、なりすまし攻撃への耐性を有する。
 特に、照合装置140から照合要求装置120に送る暗号データ(チャレンジ)に、乱数Sの暗号データEnc(pk,S)は含まれない。このため、照合要求装置120は、照合装置140から照合要求装置120に送られた暗号データEnc(pk,S(1-2x[1])), …,Enc(pk,S(1-2x[n]))からは、
Enc(pk,(x[1]+…+x[n]))、 
Enc(pk, S((x[1]+…+x[n])))を算出することはできない。したがって、XとYのハミング距離の偽装はできず、盗聴者によるユーザのなりすましはできない。
 また、秘密鍵を持つ検証装置150が受け取るデータは、登録ベクトルと照合ベクトルの間のハミング距離の暗号文であり、登録ベクトルや照合ベクトルの値は開示されない。したがって、第1の例示的な実施形態に係る照合システム100によれば、それぞれのベクトルを抽出する装置以外の装置には、登録ベクトルと照合ベクトルの距離以外の値は漏洩せず、検証装置において、登録ベクトルと照合ベクトルの間の距離を算出することが可能である。
 さらに、第1の例示的な実施形態に係る照合システム100では、復号鍵を持つ検証装置150に対して、登録ベクトルと照合ベクトルの間のハミング距離を開示しないように変形可能である。例えば、非特許文献1に記載された方式と同じ方法を適用することにより、復号鍵(秘密鍵)を持つ検証装置150が、登録ベクトルと照合ベクトルの間のハミング距離を算出できない方式に変形できる。復号鍵を持つ検証装置150に対して、登録ベクトルと照合ベクトルの間の距離を開示しない方式は、特別な状況下においても復号鍵を持つ検証装置150が登録ベクトルの値を算出することを防ぐことができるため、より高い安全性を達成できる。
<変形例1>
 図9は、第1の実施形態の変形例1を説明する図である。基本構成は、第1の実施形態と同様である。相違点は以下のとおりである。なお、登録ベクトルX、暗号化Enc()において公開鍵pkを省略等の表記は図4に従う。
 登録要求装置110は、テンプレートとして、Enc(pk, (1-2x1)),…,Enc(pk, (1-2xn))ではなく、Enc(pk,x1),…,Enc(pk,xn)を記憶装置130に送付する(S11A)。
 記憶装置130は、
Enc(pk,x1),…,Enc(pk,xn)から、加法準同型のスカラー演算、加算演算を用いて、
Enc(pk, (1-2x1)),…,Enc(pk, (1-2xn))  ・・・(55)
Enc(pk,x1+,…,+xn)          ・・・(56)
を求め、記憶する(S11B)。
 照合装置140は、照会要求装置120からの照合要求を受けると(S12)、記憶装置130から、
Enc(pk, (1-2x1)),…,Enc(pk, (1-2xn))、
及び
Enc(pk,x1+,…,+xn)を取得する(S13)。これ以降の処理は、図4と同一であるため、説明は省略する。
 図5において、登録要求装置110のテンプレート生成部112は、Enc(pk,x1),…,Enc(pk,xn)を生成する。記憶装置130の登録データ生成部132は、Enc(pk,x1),…,Enc(pk,xn)から、
Enc(pk, (1-2x1))=C1[1],
…,
Enc(pk, (1-2xn))=C1[n]、及び、Enc(pk,x1+,…,+xn)=CC1を求め、登録識別子idと関連付けた登録データ
(C1[1],…,C1[n],CC1, id)
を生成して登録データ記憶部133に格納する。この変形例1によれば、登録要求装置110の処理負荷を軽減している。
<変形例2>
 図10は、第1の実施形態の変形例2を説明する図である。基本構成は、第1の実施形態と同様である。相違点は以下のとおりである。なお、登録ベクトルX、暗号化Enc()において公開鍵pkを省略等の表記は図4に従う。
 登録要求装置110は、テンプレートとして、変形例1と同様、Enc(pk,x1),…,Enc(pk,xn)を記憶装置130に送付する(S11A)。
 記憶装置130は、Enc(pk,x1),…,Enc(pk,xn)     ・・・(57)
を記憶する。
 照合装置140は、照会要求装置120からの照合要求を受けると(S12)、記憶装置130から、Enc(pk,x1),…,Enc(pk,xn)を取得し(S13A)、加法準同型のスカラー演算、加算演算を用いて、
Enc(pk, (1-2x1)),…,Enc(pk, (1-2xn))、及び、Enc(pk,x1+,…,+xn)を求める(S13B)。
 これ以降の処理は、図4と同一であるため、説明は省略する。
<第2の実施形態>
 図4乃至図9を参照して説明した第1の実施形態は、Semi-honestな攻撃者に対しては安全であるが、攻撃者によるなりすまし攻撃が存在する。図4のステップS15では、照合装置140がEnc(pk,S(1-2x1)),…,Enc(pk,S(1-2xn))を照合要求装置120に送信している。
 登録ベクトル
Figure JPOXMLDOC01-appb-I000054
の各要素は二値であることから、Enc(pk,S(1-2x1)),…,Enc(pk,S(1-2xn))は、
Enc(pk,S)、Enc(pk,-S)            ・・・(58)
のいずれかである。任意の値zについて高々2回の試行でEnc(pk, Sz)を照合装置140に送信することができる。照合装置140は照合要求装置120から受信したEnc(pk, Sz)をEnc(pk, D2)として扱い、Enc(pk, Sz)とEnc(pk,D1)を加算して得たEnc(pk, Sz+D1)を検証装置150に送信する。
 この場合、
Figure JPOXMLDOC01-appb-I000055
            ・・・(59)
であれば、受理される。
 そこで、第2の実施形態では、照合装置140がEnc(pk,S(1-2x1)),…,Enc(pk,S(1-2xn))を照合要求装置120に送信する登録テンプレートに乱数を乗算した暗号データEnc(pk,S(1-2xi)) (i=1,…,n)を送信するかわりに、登録用の二値ベクトルX=[x1,…,xn]を所定の変換式で変換した二値以外の値をとる第1の変換値ベクトルAであって、照合用の二値ベクトルY=[y1,…,yn]を変換した第2の変換値ベクトルBとの演算結果(内積A・B)が
Figure JPOXMLDOC01-appb-I000056
            ・・・(60)
を生成する登録ベクトルXの変換値Aiを、チャレンジとして照合要求装置120に送信する。照合要求装置120は、変換値Aiの暗号データEnc(pk,Ai)と照合用の二値ベクトルY=[y1,…,yn]に関する変換値Biとの加法準同型演算から、Enc(pk,SΣ[i=1 to n] Ai・Bi)を照合装置140に送信する。Enc(pk,SΣ[i=1 to n] Ai・Bi)は
Figure JPOXMLDOC01-appb-I000057
       ・・・(61)
と等価であり、生体情報が二値ベクトルの場合において、なりすまし攻撃を回避可能としている。以下に説明する。
登録ベクトル
Figure JPOXMLDOC01-appb-I000058
照合ベクトル
Figure JPOXMLDOC01-appb-I000059
に対して以下の関係を満たすA1,…,An、B1,…,Bnを求める。
Figure JPOXMLDOC01-appb-I000060
                     ・・・(62)
Figure JPOXMLDOC01-appb-I000061
                      ・・・(63)
Figure JPOXMLDOC01-appb-I000062
                      ・・・(64)
 制約式は各xiyiの係数に関するn^2個と、各yiに関するn個の計n(n+1)個である。未知数はn(2n+1)である。
Figure JPOXMLDOC01-appb-I000063
                         ・・・(65)
 ここで、bi,j(i=1,…,n, j=1,…,n)を固定すると、未知数は
Figure JPOXMLDOC01-appb-I000064
             ・・・(66)
 のn(n+1)個である。
(未知数の個数)>=(制約式の個数)
であるため、解が存在する、特に、各bi,j(i=1,…,n,j=1,…,n)を固定すると、各ai,j(i=1,…,n,j=1,…,n+1)は一意に定まる。
 本実施形態では、照合装置140は、Enc(pk, SAi) (i=1,…,n)を照合要求装置120に送信する。照合要求装置120は、
Figure JPOXMLDOC01-appb-I000065
  ・・・(67)
を照合装置140に送信する。
 説明をみやすくするため、2次元の場合の登録ベクトル、照合ベクトル
Figure JPOXMLDOC01-appb-I000066

Figure JPOXMLDOC01-appb-I000067
を例に説明する。なお、Tは転置演算子(Transpose operator)である。上記式(62)、(63)は以下のような変換行列を用いて表させる。

Figure JPOXMLDOC01-appb-I000068
    ・・・(68)

Figure JPOXMLDOC01-appb-I000069
        ・・・(69)
上記式(64)は以下で与えられる。
Figure JPOXMLDOC01-appb-I000070
 ・・・(70)
 これを解くと、各係数は以下で与えられる。
Figure JPOXMLDOC01-appb-I000071
                            ・・・(71)
ただし、Lは行列
Figure JPOXMLDOC01-appb-I000072
の行列式(determinant)の逆数である。
Figure JPOXMLDOC01-appb-I000073
                 ・・・(72)
 したがって、以下のように表せる。
Figure JPOXMLDOC01-appb-I000074
                           ・・・(73)
なお、上式において、b1,1=b2,2=1, b1,2=b2,1=0の場合、
Figure JPOXMLDOC01-appb-I000075
                        ・・・(74)
となり、これは前記第1の実施形態のn=2の場合に対応する。
 簡単な具体例として、q=13の場合(メッセージ空間:Fq)について説明する。
Figure JPOXMLDOC01-appb-I000076
             ・・・(75)
とすると、
Figure JPOXMLDOC01-appb-I000077
である(フェルマーの小定理よりqが素数ならばg^(q-1)=1  mod qが成り立つため、g・g^(q-2)=1 mod q、したがって、逆元は
g^(-1)=g^(q-2) mod q          ・・・(76)
である)。
 したがって、
Figure JPOXMLDOC01-appb-I000078
                    ・・・(77)
が、制約式をみたすことになる。
Figure JPOXMLDOC01-appb-I000079
                 ・・・(78)
 この場合、A1、A2は、(x1,x2)の値(0,0), (0,1), (1,0), (1,1)毎に異なる(図11の(b)と(c)参照)。なお、B1、B2は以下で与えられる。
Figure JPOXMLDOC01-appb-I000080
 図12は、第2の実施形態の登録要求装置110の構成を説明する図である。登録要求装置110は、登録情報抽出部111で抽出された二値ベクトル
Figure JPOXMLDOC01-appb-I000081
と、予め設定された変換係数:
Figure JPOXMLDOC01-appb-I000082
に基づき、変換値(A,…,An)を求める変換値生成部114を備えている。その他の基本構成は、図5に示した前記第1の実施形態の構成と同様とされるが、登録要求装置110の変換テンプレート生成部112、記憶装置130の登録データ生成部132、照合装置140の暗号データ生成部143、暗号化距離計算部144、照合要求装置120で行われる処理の内容が、前記第1の実施形態と相違している。
 図13は、登録フェーズを説明する図である。以下では、図7に追加されたステップB1Aについて説明する。ステップB1Aでは、変換値生成部114が、登録情報抽出部111で抽出された二値ベクトル
Figure JPOXMLDOC01-appb-I000083
と、予め設定された変換係数:
Figure JPOXMLDOC01-appb-I000084
に基づき、変換値(A,…,An)を求める(B1A)。
 テンプレート生成部112は、第1のテンプレートとして、
 Enc(pk, A1),…,Enc(pk, An)            ・・・(79)
を生成する(B2)。また、テンプレート生成部112は、第2のテンプレートとして、
Enc(pk,x1),…,Enc(pk, xn)            ・・・(80)
を生成し(B3)、これらのテンプレートを合わせ(B4)、記憶装置130に送信する(B5)。
 図14は、第2の実施形態の動作シーケンスを説明する図である。図14は、図4、図9等の表記に対応している。なお、公開鍵と秘密鍵の生成(S20)は、図4、図9等のS10に対応している。
 前述したように、第2の実施形態では、登録要求装置110に、n(n+1)個の変換係数:
Figure JPOXMLDOC01-appb-I000085
が予め設定されているものとする。また、照合要求装置120には、n^2個の変換係数:
Figure JPOXMLDOC01-appb-I000086
が設定されているものとする。
 登録要求装置110の変換値生成部114は、登録情報抽出部111で抽出された二値ベクトル
Figure JPOXMLDOC01-appb-I000087
と、予め設定された変換係数:
Figure JPOXMLDOC01-appb-I000088
に基づき、変換値(A,…,An)を求める。
 次に登録要求装置110のテンプレート生成部112は、第1のテンプレートとして、Ai(i=1,…,n)の暗号データ
Enc(pk,A1),…,Enc(pk,An)      ・・・(81)
を生成する。
 またテンプレート生成部112は、第2のテンプレートとして、
Enc(pk,x1),…,Enc(pk, xn)           ・・・(82)
を生成する。
 そして、登録要求装置110のテンプレート生成部112は、第1、第2のテンプレートからテンプレート
Figure JPOXMLDOC01-appb-I000089
     ・・・(83)
を生成し、通信部113を介して記憶装置130に送付する(S21)。
 記憶装置130は、該テンプレートを受け取ると、識別子管理部131は、登録識別子idを生成し、登録データ生成部132は登録識別子idに関連させて

Figure JPOXMLDOC01-appb-I000090
                  ・・・(84)
を登録データ記憶部133に記憶する。
 照合装置140において、通信部146が照合要求装置120から照会要求を受けると(S22)、登録データ取得部141は、記憶装置130から
Figure JPOXMLDOC01-appb-I000091
を受け取る(S23A)。
 照合装置140は、Enc(pk,x1),,…,Enc(pk, xn)を暗号化したまま、要素{xi}の総和の暗号データEnc(pk,Σ[i=1 to n]xi)を生成する(S23B)。
 照合装置140は、乱数生成部142は乱数
Figure JPOXMLDOC01-appb-I000092
を生成する(S24)。
 そして、乱数生成部142は、変換値の暗号データEnc(pk, A1),…,Enc(pk, An)に対して乱数Sをスカラー演算して、
Enc(pk, SA1),…,Enc(pk, SAn)      ・・・(85)
を求め、通信部146を介して、照合要求装置120に送信する(S25)。
 Enc(pk, Ai) (i=1,…,n)は、(x1,…xn)の値の組み合わせに応じて値が異なる。このため、攻撃者にとって、照合装置140から照合要求装置120に送信されるEnc(pk,S・Ai) (i=1,…,n)から、Enc(pk, S)を推測することは困難であり、なりすまし攻撃を困難とする。
 照合要求装置120のレスポンス生成部123は、{bi,j}(i,j=1,…,n)と、照合情報抽出部122で抽出された二値ベクトル
Figure JPOXMLDOC01-appb-I000093
から、
Figure JPOXMLDOC01-appb-I000094
      ・・・(86)
  
を求める。
 照合要求装置120のレスポンス生成部123は、加法準同型の加算、及びスカラー演算則を用いて、照合装置140から受信した暗号データ(チャレンジ)Enc(pk, Ai) (i=1,…,n)を暗号化したまま、スカラー演算Scl(Bi, Enc(pk, SAi)) (i=1,…,n)により、
Enc(pk, SA1・B1),…,Enc(pk, SAn・Bn)     ・・・(87)
を計算し、これらを暗号化したまま加算することで、
Figure JPOXMLDOC01-appb-I000095
                   ・・・(88)
を求める。照合要求装置120のレスポンス生成部123は、通信部124を介して、
Figure JPOXMLDOC01-appb-I000096

をチャレンジに対するレスポンスとして照合装置140に送付する(S26)。
 照合装置140の暗号化距離計算部144では、
Figure JPOXMLDOC01-appb-I000097
に対して、乱数Sの逆数S^(-1)(S^(q-2) mod q)をスカラー演算し、

Figure JPOXMLDOC01-appb-I000098
          ・・・(89)

 を求める。
 ここで、
Figure JPOXMLDOC01-appb-I000099
    ・・・(90)
である。
 照合装置140の暗号化距離計算部144は、求めたDと、記憶装置130から受け取った第2のテンプレート
Figure JPOXMLDOC01-appb-I000100
       ・・・(91)
より、暗号化したまま、二値ベクトルXとYのハミング距離の暗号データを計算する。
Figure JPOXMLDOC01-appb-I000101
                           ・・・(92)
 照合装置140は、二値ベクトルXとYのハミング距離の暗号データEnc(pk, dH(X,Y))を検証装置150に送信する(S27)。検証装置150は暗号データEnc(pk, dH(X,Y))を秘密鍵skで復号し(Dec(sk, Enc(pk, dH(X,Y))))、復号結果が閾値t以下であるか否か判定し(S28)、検証結果を出力する(S29)。
<変形例1>
 図15は、上記した第2の実施形態の変形例1を説明する図である。上記した第2の実施形態では、登録要求装置110が変換値A1,…,Anを計算し、これらの暗号データEnc(pk, A1),…,Enc(pk, An)を、第1テンプレートとして記憶装置130に送付していたが、変形例1では、登録要求装置110のテンプレート生成部112は、変換値[A1,…An]の暗号データEnc(pk, A1),…,Enc(pk, An)を記憶装置130に送信しない。登録要求装置のテンプレート生成部112は、前記第1の実施形態と同様に、n個のx,…,xの暗号データ(第1のテンプレート)
Enc(pk, x),…,Enc(pk, x)
を記憶装置130に送信する(S21)。
 登録要求装置110は、図5に示した構成と同様とされる。その他の構成も、図5に示した前記第1の実施形態の構成と同様とされるが、登録要求装置110のテンプレート生成部112、記憶装置130の登録データ生成部132、照合装置140の暗号データ生成部143、暗号化距離計算部144、照合要求装置120で行われる処理が、前記第1の実施形態と相違している。
 記憶装置130の通信部135は、登録要求装置110から送信された第1のテンプレートを受け取り、登録データ生成部132は、識別子管理部131が付与した登録識別子idに関連して、第1のテンプレートを登録データ記憶部133に記憶する。
 さらに、記憶装置130の登録データ生成部132は、n次元二値ベクトルXのn個の要素x1,…,xnの登録データ
Enc(pk, x1),…,Enc(pk, xn)  ・・・(93)
を暗号化したまま、要素{xi}の総和の暗号データ
Figure JPOXMLDOC01-appb-I000102
を生成する(S21A)。
 記憶装置130の登録データ生成部132は、記憶装置130に設定された変換係数群
Figure JPOXMLDOC01-appb-I000103
から、n次元二値ベクトルXのn個の要素x1,…,xnを暗号化したまま、変換値A1,…,Anの暗号データ
Enc(pk, A1),…, Enc(pk, An)  
を計算する(S21B)。
 ここで、Enc(pk, ai,jx) (j=1,…,n)は、暗号データEnc(pk, x)に対するスカラー演算Scl(ai,j,Enc(pk, x))(j=1,…,n)で求まる。さらに記憶装置130の登録データ生成部132はEnc(pk, ai, n+1)を求め、これらを暗号化したまま加算することで、暗号データEnc(pk, Ai)(i=1,…,n)を計算し、登録データ記憶部133に記憶する(S21B)。
Enc(pk, A1)= Enc(pk, a1,1・x1)+,…, Enc(pk, a1,n・x) + Enc(pk, a1,n+1)
  …,
Enc(pk, An)= Enc(pk, an,1・x1)+,…, Enc(pk, an,n・x) + Enc(pk, an,n+1)
                ・・・(94)
 照合装置140は、照合要求装置120から照合要求を受けると、登録データ取得部141は、記憶装置130から、Enc(pk, A1),…, Enc(pk, An)と、
Figure JPOXMLDOC01-appb-I000104
の暗号データ(第2のテンプレート):
Figure JPOXMLDOC01-appb-I000105
を受け取る(S23)。
 照合装置140の乱数生成部142は、乱数Sを生成する(S24)。そして、暗号データ生成部143は、加法準同型のスカラー演算則により、
Enc(pk, SA1),…, Enc(pk, SAn)
を計算し、通信部146を介して照合要求装置120に送信する(S25)。
 照合要求装置120のレスポンス生成部123は、設定されたn^2個の変換係数
Figure JPOXMLDOC01-appb-I000106
と照合情報抽出部122で抽出された二値ベクトル
Figure JPOXMLDOC01-appb-I000107
から、
Figure JPOXMLDOC01-appb-I000108
                ・・・(95)
を求める。
 照合要求装置120のレスポンス生成部123は、照合装置140から送信されたEnc(pk, SA1),…, Enc(pk, SAn)と、変換値B,…,Bからスカラー演算、加法演算により、
Figure JPOXMLDOC01-appb-I000109
                ・・・(96)
を求め、レスポンスとして、通信部124を介して照合装置140に送付する(S26)。これ以降の動作シーケンスは、図14と同様であるため、説明は省略する。
<変形例2>
 上記変形例1では、記憶装置130が、登録要求装置110から送信された第1テンプレートのEnc(pk,xi) (i=1,…,n)から変換値A1,…Anの暗号データEnc(pk, Ai)(i=1,…,n)を生成しているが、変形例2では、照合装置140が、チャレンジ作成時に、変換値A1,…Anの暗号データEnc(pk, Ai)(i=1,…,n)を作成する。変形例2の基本構成は、図5に示した前記第1の実施形態の構成と同様とされるが、登録要求装置110のテンプレート生成部112、記憶装置130の登録データ生成部132、照合装置140の暗号データ生成部143、暗号化距離計算部144、照合要求装置120で行われる処理が、前記第1の実施形態と相違している。
 図16は、変形例2の動作を説明する図である。図16及び図5を参照して、変形例2の動作を説明する。
 登録要求装置110は、前記第1の実施形態と同様、n次元の二値ベクトルXのn個の要素{x}(i=1,…,n)の暗号データEnc(pk, xi) (i=1,…,n)(第1のテンプレート)を記憶装置130に送信する(S21)。
 記憶装置130は第1及び第2のテンプレートを登録idに関連して記憶する。
 照合装置140の登録データ取得部141は、照合要求装置120から照合要求を受けると(S22)、記憶装置130からn次元の二値ベクトルXのn個の要素{x}の暗号データEnc(pk, x1),…,Enc(pk, xn)
を受け取る(S23A)。
 照合装置140の暗号データ生成部143は、
 Enc(pk, x1),…,Enc(pk, xn)を暗号化したまま、要素{xi}の総和の暗号データ
Figure JPOXMLDOC01-appb-I000110
 を生成する(S23A)。
 照合装置140の暗号データ生成部143は、n個のx1,…,xnの暗号登録データEnc(pk, x),…, Enc(pk, xn)と、設定された変換係数群
Figure JPOXMLDOC01-appb-I000111
から、変換値A1,…Anの暗号データEnc(pk, A1),…, Enc(pk, An)を生成する(S24B)。
Enc(pk,A1)= Enc(pk, a1,1・x1)+,…, +a1,nEnc(pk, a1,n・x)+Enc(pk,a1,n+1)
   …,
Enc(pk,An)= Enc(pk, an,1・x1)+,…, +an,nEnc(pk, an,n・x)+Enc(pk,an,n+1)
                       ・・・(97)
 照合装置140は、乱数Sを生成し(S24)、加法準同型のスカラー演算則により、
Enc(pk, SA1),…, Enc(pk, SAn)
を計算し、通信部146を介して照合要求装置120に送信する(S25)。
 照合要求装置120は、設定されたn^2個の変換係数
Figure JPOXMLDOC01-appb-I000112
と二値ベクトル
Figure JPOXMLDOC01-appb-I000113
から、
Figure JPOXMLDOC01-appb-I000114
           ・・・(98)
を求める。さらに、Enc(pk, SA1),…, Enc(pk, SAn)と変換値B1.,…,Bnから、
Figure JPOXMLDOC01-appb-I000115
           ・・・(99)
を求め、レスポンスとして照合装置140に送付する(S26)。これ以降は、図14の変形例1と同様であるため、説明を省略する。
<変形例3>
 変形例3では、登録要求装置110には、変換係数

Figure JPOXMLDOC01-appb-I000116

は予め設定されていない。また照合要求装置120には、
n^2個の変換係数
Figure JPOXMLDOC01-appb-I000117
も設定されていない。
 変形例3では、照合装置140が、チャレンジ作成時に、変換係数{ai,j}(i=1,…,n,j=1,…,n+1)をその都度作成する。
 図17は、変形例3の照合装置140の構成例を示す図である。図17に示すように、照合装置140は、チャレンジ作成時に、変換係数{ai,j}(i=1,…,n,j=1,…,n+1)を生成する変換係数生成部147をさらに備えている。
 暗号データ生成部143は、登録データ取得部141で取得したn個のxの暗号データEnc(pk,xi) (i=1,…,n)と、作成した変換係数{ai,j}(i=1,…,n,j=1,…,n+1)に基づき、変換値A,…,Anを計算し、暗号化したデータをチャレンジとして照合要求装置120に送信する。
 また、照合装置140は、照合要求装置120に対するチャレンジの送信時に、変換係数(第1群の変換係数){ai,j}(i=1,…,n,j=1,…,n+1)の計算に用いた変換係数(第2群の変換係数){bi,j}(i, j=1,…,n)を照合要求装置120に送信する。
 図18は、変形例3の照合フェーズを説明する図である。図8及び変形例1との相違点を説明する。
 照合装置140の変換係数生成部147は、チャレンジを生成する度に、変換係数{ai,j}(i=1,…,n,j=1,…,n+1)を生成する(C11A)。
 照合装置140の暗号データ生成部143は変換係数{ai,j}(i=1,…,n,j=1,…,n+1)と、Enc(pk, x1),…, Enc(pk, xn)とに基づき、各要素{xi}を暗号化したまま、変換値の暗号データEnc(pk, A1),…,ENc(pk, An)を生成する(C11B)。
 照合装置140の乱数生成部142は、乱数Sを生成し、変換値の暗号データに乱数Sをスカラー演算することで、暗号データEnc(pk, SA1),…,ENc(pk, SAn)を生成する(C12)。照合装置140は、生成した暗号データEnc(pk, SA1),…,ENc(pk, SAn)と、n^2個の変換係数{bi,j}(i,j=1,…,n)を照合要求装置120に送信する(C13)。
 図19は、変形例3の全体の動作シーケンスを説明する。登録要求装置110は、登録用の二値ベクトルX=[x1,…,xn]のn個の要素{x}の暗号データEnc(pk, xi) (i=1,…,n)からなる第1のテンプレートを記憶装置130に送信する(S21)。
 記憶装置130は第1のテンプレートを登録識別子idに関連して記憶する。
 照合装置140の登録データ取得部141は、照合要求装置120から照合要求を受けると(S22)、記憶装置130から二値ベクトルXのn個の要素{x}の暗号データEnc(pk, x1),…, Enc(pk, xn)
を受け取る(S23)。
 照合装置140の暗号データ生成部143は、ら二値ベクトルXのn個の要素{x}の暗号データEnc(pk, x1),…,Enc(pk, xn)を暗号化したまま、二値ベクトルXのn個の要素{xi}の総和の暗号データ
Figure JPOXMLDOC01-appb-I000118
を生成する(S23A)。
 照合装置140の変換係数生成部147は、チャレンジを生成する度に、変換係数{ai,j}(i=1,…,n,j=1,…,n+1)を生成する(S24A)。したがって、チャレンジ毎に異なる値となる場合もある。変換係数{ai,j}(i=1,…,n,j=1,…,n+1)は、{bi,j} (i=1,…,n)に基づき、計算される。照合装置140の変換係数生成部147は、チャレンジを生成する度に、変換係数{bi,j} (i=1,…,n)を異なる値に設定するようにしてもよい。
 照合装置140の暗号データ生成部143は、変換係数{ai,j}(i=1,…,n,j=1,…,n+1)と、登録暗号データEnc(pk, x1),…, Enc(pk, xn)とに基づき、Enc(p,xi)(i=1,…,n)を暗号化したまま、
Enc(pk, A1),…,ENc(pk, An)        ・・・(100)
を生成する(S24B)。
 照合装置140の乱数生成部142は、乱数Sを生成し(S24)、Enc(pk, SA1),…,ENc(pk, SAn)を計算し、Enc(pk, SA1),…,Enc(pk, SAn)とn^2個の変換係数{bi,j}(i,j=1,…,n)を照合要求装置120に送信する(S25)。
 照合要求装置120は、照合装置140から送信されたn^2個の変換係数
Figure JPOXMLDOC01-appb-I000119
と二値ベクトル
Figure JPOXMLDOC01-appb-I000120
から、
Figure JPOXMLDOC01-appb-I000121
      ・・・(101)
を求める。さらに、Enc(pk, SA1),…, Enc(pk, SAn)と、変換値B1,…,Bnから、
Figure JPOXMLDOC01-appb-I000122
        ・・・(102)
を求め、レスポンスとして照合装置140に送付する(S26)。式(102)のレスポンスを受信した照合装置140がクエリを送信する処理(S27)と、照合装置140からクエリを受信した検証装置150の処理(S28、S29)は変形例2と同じであるため、説明を省略する。
 なお、前記第2の実施形態及び各変形例において、前記第1の実施形態と同様に、登録要求装置110で登録用のn次元二値ベクトルXのn個の要素{xi}の総和の暗号データ
Figure JPOXMLDOC01-appb-I000123
を生成し、暗号データを記憶装置130に送信するようにしてもよい。
<第3の実施形態>
 上記第1、第2の実施形態では、復号者が受け取った距離の暗号文を復号し、距離が閾値t以下であるか否かを確認する。modified Elgamal暗号を用い、復号アルゴリズムがメッセージではなく、Dec(sk, Enc(pk, m))=g^mを出力する場合、復号者は、復号値が1、g、g^2,g^3,…,g^tのいずれかと一致するか否かを確認する。
 楕円Elgamal暗号を用い、復号アルゴリズムがメッセージではなく、Dec(sk, Enc(pk, m))=m(*)Gを出力する場合、復号者は、復号値がO,G, 2(*)G,3(*)G, …,t(*)Gのいずれかと一致するか否かを確認すればよい。復号アルゴリズムがメッセージを出力する場合、復号者は復号値が0,1,2,3,…,tのいずれかと一致するか否かを確認すればよい。
 照合(認証)時に、y1,…,ynとして、y1,…,yi-1,yi+1,…,yn=0,yi=αを用いると、算出されるハミング距離は、
Figure JPOXMLDOC01-appb-I000124
・・・(103)
となる。
 各xi (i=1,…,n)が約1/2の確率で0または1を取ると仮定すると、
Figure JPOXMLDOC01-appb-I000125
     ・・・(104)
が成り立つためである。
Figure JPOXMLDOC01-appb-I000126
 を

Figure JPOXMLDOC01-appb-I000127
   ・・・(105)
を満たすように定めれば,xiの値によって約1/2の確率で受理される。さらに、検証装置150における受理/不受理の結果から、xiの値が判定できる。すなわち、
 受理されれば、xi=1,
 不受理であれば、xi=0と判定される。
 このため、攻撃者はこの試行を各i=1,…,nに対して繰り返すことにより、登録された生体情報x1,…,xnを知ることができる。以上から、第1、第2の実施形態では、1:N認証を行うことができない。第3の実施形態では、1:N認証に対応可能に構成される。
 また、第3の実施形態では、照合フェーズにおいて、照合用のベクトルY=[y1,…,yn]として0,1以外の値を入力された場合、これを検知する機能を具備する。
Figure JPOXMLDOC01-appb-I000128
               ・・・(106)
 また、以下に示すように、(2yi-1)を用いて、xi=yiであるか否かを判定できる。
Figure JPOXMLDOC01-appb-I000129
               ・・・(107)
 (2xi-1)(2yi-1)は、
xi=yiであり、yiが0又は1のときは、1、
i=0且つxi=1、又はyi=1且つxi=0のときは、-1、
iが0、1以外のときは、1、-1以外の値となる。
xi=yiでないiの個数(ベクトルXとYの同一番目の要素xiとyiが不一致の個数)をハミング距離dH(X,Y)とすればよい。
 図20は、第3の実施形態における照合装置140と検証装置150の構成を説明する図である。登録要求装置110、照合要求装置120の基本構成は、図5に示した構成とされる。ただし、各部の処理は前記第1の実施形態と相違している。第3の実施形態は1:N認証に対応している。 
 照合装置140は、図5に示した構成に加えてハッシュ値生成部148を備えている。
 照合要求装置120から照合要求を受けた照合装置140の登録データ取得部141は、記憶装置130から登録識別子idに関連して記憶された暗号データ{Enc(pk, (2xi-1))} (i=1,…,n)を受信する。
 照合装置140の乱数生成部142は、乱数a,b,rを生成する。
 照合装置140の暗号データ生成部143は乱数bi(i=1,…,n)の暗号データEnc(pk, bi) (i=1,…,n)を照合要求装置120に送信する。照合要求装置120に送信する暗号データは登録データ(テンプレート)に依存しない。このため、1:N認証を行うことができる。
 照合要求装置120のレスポンス生成部123は、記憶装置130から受信したEnc(pk, (2xi-1))と、照合要求装置120から送信されたEnc(pk, bi(2yi)-1)  (i=1,…,n)と、乱数ai,bi,riから、
Enc(pk, ai(2xi-1)) (i=1,…,n),
Enc(pk, biri(2yi-1)) (i=1,…,n)
                     ・・・(108)
を生成する。
 ハッシュ値生成部148は、乱数a,b,r(i=1,…,n)の積abr(mod q)のハッシュ値
H(aiii)    ・・・(109)
を計算する。
 クエリ生成部145は、暗号データEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1))(i=1,…,n)とハッシュ値H(abr) (i=1,…,n)を含むクエリを生成し、通信部146を介して検証装置150に送信する。Hは一方向性ハッシュ関数である。なお、暗号データEnc(pk, ai(2xi-1)),Enc(pk, biri(2yi-1)) (i=1,…,n)を送信する順番として、iをシャフルして送信するようにしてもよい。
 検証装置150のクエリ検証部153の復号部1531は、秘密鍵skを用いて暗号データEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1)) (i=1,…,n)を復号する。
a=Dec(sk, Enc(pk, ai(2xi-1))) 
b=Dec(sk, Enc(pk, biri(2yi-1)))
             ・・・(110)
を計算する。
 さらに検証装置150のクエリ検証部153のハッシュ値生成部1532は、zaとzの積のハッシュ値H(za)を計算する。
 検証装置150のクエリ検証部153の不一致判定部1533は、計算したH(zazb)が照合装置140から受信したハッシュ値H(abr)と不一致のiの個数がt以下であるか否かを判定する。
 検証結果生成部154は、不一致の個数がt以下であれば、受理、それ以外の場合、不受理とする。
 za=abr(2xi-1)(2yi-1)    ・・・(111)

yiが0又は1であり、yi=xiの場合、za=abr
yiが0又は1であり、yi≠xiの場合、za=-abr
yiが0,1以外の場合、zaはabr、-abr以外の値である。
したがって、
H(zazb)=H(abr)  ・・・(112)
が成り立つときは、yi=xiであり、yi=0又は1の値である。これ以外(ハッシュ値H(za)≠H(abr))の場合、yiは0又は1であるがxiと異なるか、yiが0、1以外の値の場合である。このように、i=1,…,nに関する式(112)について、不一致の個数が閾値t以下であれば、受理する。
 なお、照合装置140で生成した乱数の積abrを公開鍵pkで暗号化して検証装置150に送信しても、検証装置150では秘密鍵skで復号化することができる。そこの、abrのハッシュ値が検証装置150に送信される。一方、ハッシュ値v(v=H(u))から入力uの逆算は困難である。このため、盗聴されても、中身は読み取れない。
 図21は、第3の実施形態における照合フェーズの処理を説明する図である。照合要求装置120から照合要求を受けると(C4)、照合装置140の登録データ取得部141は、記憶装置130からIdに関連して記憶された暗号データEnc(pk, (2xi-1)) (i=1,…,n)を受信する(C4~C10)。照合装置140の乱数生成部142は、乱数a,b,rを生成する(C11)。
 照合装置140の暗号データ生成部143は乱数bi(i=1,…,n)の暗号データEnc(pk, bi) (i=1,…,n)を生成し(C12)、照合要求装置120に送信する(C13)。
 照合要求装置120は、照合装置140からEnc(pk, bi) (i=1,…,n)を受け取り(C14)、照合ベクトル
Figure JPOXMLDOC01-appb-I000130
を抽出し(C15)、レスポンス生成部123は、照合装置140から受け取ったEnc(pk,bi) (i=1,…,n)から、スカラー演算によってScl(2yi-1, Enc(bi))= Enc(bi(2yi-1)) (i=1,…,n)を求める(C16)。照合要求装置120は、Enc(pk, bi(2yi-1)) (i=1,…,n)を照合装置140に送信する(C17)。
 照合装置140は、Enc(pk, bi(2yi-1)) (i=1,…,n)を受け取り(C18)、記憶装置130から受信したEnc(pk, (2xi-1))と、照合要求装置120から送信されたEnc(pk, bi(2yi-1))  (i=1,…,n)と、乱数ai,bi,riから、
Enc(pk, ai(2xi-1)) (i=1,…,n),
Enc(pk, biri(2yi-1)) (i=1,…,n)
を生成する(C19A)。またハッシュ値生成部148は、乱数a,b,r(i=1,…,n)の積abr(mod q)のハッシュ値H(aibiri)を計算する(C19B)。
 クエリ生成部145は、暗号データEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1))(i=1,…,n)とハッシュ値H(abr)(i=1,…,n)を含むクエリを生成し(C20)、通信部146を介して検証装置150に送信する(C21)。Hは一方向性ハッシュ関数である。
 検証装置150の通信部155がクエリを受けると、クエリ検証部153の復号部1531は、秘密鍵skを用いて暗号データEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1)) (i=1,…,n)を復号する(C23A)。すなわち、クエリ検証部153の復号部1531は
a=Dec(sk, Enc(pk, ai(2xi-1))) 
b=Dec(sk, Enc(pk, biri(2yi-1)))
を計算する。
 さらに検証装置150のクエリ検証部153のハッシュ値生成部1532は、zaとzの積のハッシュ値H(za)を計算する(C23B)。
 検証装置150のクエリ検証部153の不一致判定部1533は、計算したハッシュ値H(zazb)が、照合装置140から受信したハッシュ値H(abr)と不一致のiの個数がt以下であるか否かを判定し、検証結果生成部154は、不一致の個数がt以下であれば、受理、それ以外の場合、不受理とし(C24)、検証結果を出力する(C25)。
 図22は、第3の実施形態の動作シーケンスを説明する図である。登録要求装置110は、登録ベクトルX=[x1, …,xn]を抽出し、要素{xi}(i=1,…,n)の演算結果(2xi-1)の暗号データEnc(pk, (2xi-1)) (i=1,…,n)を記憶装置130に送信し(S31)、記憶装置130は、登録識別子Idに関連して記憶する。
 照合要求装置120から照合要求を受けると(S32)、照合装置140は、記憶装置130からIdに関連して記憶された暗号データEnc(pk, (2xi-1)) (i=1,…,n)を受信する(S33)。
 照合装置140は乱数a,b,rを生成する(S34)。照合装置140は乱数bi(i=1,…,n)の暗号データEnc(pk, bi) (i=1,…,n)を照合要求装置120に送信する(S35)。
 照合要求装置120は、照合ベクトルY=[y1, ….,yn]を抽出し、照合装置140から受け取ったEnc(pk, bi) (i=1,…,n)から、Enc(bi(2yi-1)) (i=1,…,n)を求め照合装置140に送信する(S36)。
 照合装置140は、照合要求装置120からのEnc(pk, bi(2yi-1)) (i=1,…,n)と、記憶装置130からの暗号データEnc(pk, (2xi-1))と乱数ai,bi,riから暗号データ
Enc(pk, ai(2xi-1)) (i=1,…,n),
Enc(pk, biri(2yi-1)) (i=1,…,n)を生成する。照合装置140は、さらに、ハッシュ値H(aibiri)を生成する。照合装置140は、これらを検証装置150に送信する(S37)。
 検証装置150は、秘密鍵skを用いて暗号データをEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1))の復号結果za、zから、その積のハッシュ値H(za)を計算する(S38A)。
 検証装置150は、計算したハッシュ値H(zazb)が照合装置140から受信したハッシュ値H(abr)と不一致のiの個数がt以下であるか否かを判定する(S38B)。不一致の個数がt以下であれば、受理、それ以外の場合、不受理とする。検証装置150は検出結果(受理・不受理)を出力する(S39)。
<変形例1>
 図23は、第3の実施形態の変形例1の動作シーケンスを説明する図である。登録要求装置110は、登録ベクトルX=[x1, ….,xn]を抽出し、要素{xi}(i=1,…,n)の暗号データEnc(pk, xi) (i=1,…,n)を記憶装置130に送信し(S31)、記憶装置130は、登録識別子Idに関連して記憶する。
 照合要求装置120から照合要求を受けると(S32)、照合装置140は、記憶装置130からIdに関連して記憶された暗号データEnc(pk, xi) (i=1,…,n)を受信する(S33)。
 照合装置140は乱数a,b,rを生成する(S34)。照合装置140は、暗号データEnc(pk, xi) (i=1,…,n)を暗号化したままEnc(pk, 2xi-1) (i=1,…,n)を求める。照合装置140は乱数bi(i=1,…,n)の暗号データEnc(pk, bi) (i=1,…,n)を照合要求装置120に送信する(S35)。
 照合要求装置120は、照合ベクトルY=[y1,…,yn]を抽出し、照合装置140から受け取ったEnc(pk, bi) (i=1,…,n)から、Enc(pk, biyi) (i=1,…,n)を求め、照合装置140に送信する(S36)。
 照合装置140は、照合要求装置120からのEnc(pk, biyi) (i=1,…,n)を受け、暗号化したままEnc(pk, bi(2yi-1)) (i=1,…,n)を生成する。照合装置140は、Enc(pk, (2xi-1))と乱数aiiから、Enc(pk, ai(2xi-1)) (i=1,…,n)を生成し、Enc(pk,bi(2yi-1))と乱数rからEnc(pk, biri(2yi-1)) (i=1,…,n)を生成する。
 照合装置140は、ハッシュ値H(aibiri)を生成し、検証装置150に送信する(S37)。なお、照合要求装置120は、照合ベクトルY=[y1,…,yn]を抽出し、照合装置140から受け取ったEnc(pk,bi) (i=1,…,n)から、Enc(pk, bi(2yi-1)) (i=1,…,n)を生成し照合装置140に送信するようにしてもよい。
 検証装置150は、秘密鍵skを用いて暗号データをEnc(pk, ai(2xi-1))、Enc(pk, biri(2yi-1))の復号結果za、zから、その積のハッシュ値H(za)を計算する(S38A)。
 検証装置150は、計算したH(zazb)が照合装置140から受信したハッシュ値H(abr)と不一致のiの個数がt以下であるか否かを判定する(S38B)。不一致の個数がt以下であれば、受理、それ以外の場合、不受理とする。検証装置150は検出結果(受理・不受理)を出力する(S39)。
<変形例2>
 第3の実施形態の変形例1では、照合装置140が記憶装置130から暗号データEnc(pk, xi) (i=1,…,n)を受け取ると、暗号化したままEnc(pk, 2xi-1) (i=1,…,n)を求めているが、記憶装置130が、登録要求装置110から登録ベクトルX=[x1, …,xn]を抽出し、要素{xi}(i=1,…,n)の暗号データEnc(pk, xi) (i=1,…,n)を受け取ると、暗号化したままEnc(pk, 2xi-1) (i=1,…,n)を求め、登録データ記憶部133に記憶する構成としてもよい。
<変形例3>
 第3実施形態の変形例3において、登録ベクトルX=[xi,…,xn]の各データxi(i=1,…,n)がxi∈{0,1}であるか否かのチェックを行う機能を実装するようにしてもよい。
 図24は、第3の実施形態の変形例を説明する図である。図24を参照すると、記憶装置130は、図5の記憶装置130の構成に加えて、さらに、乱数生成部136、暗号データ生成部137、ハッシュ値生成部138を備えている。
 検証装置150は、復号部1561と、ハッシュ値生成部1562と、一致判定部1563を備えた登録データチェック部156を更に備えている。
 図25は、変形例の登録フェーズの動作シーケンスを説明する図である。登録要求装置110は、二値ベクトル
Figure JPOXMLDOC01-appb-I000131
から、(2x1-1),…, (2xn-1)を計算し、公開鍵pkで暗号化したデータ(第1のテンプレート)
Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))   ・・・(113)
を記憶装置130に送信する(S31)。
 記憶装置130の乱数生成部136は、乱数c1,…,cnを生成する(S31A)。
 記憶装置130の暗号データ生成部137は、スカラー演算Scl(ci, Enc(pk, (2xi-1)))から、
Enc(pk, c1(2x1-1)),…,Enc(pk, cn(2xn-1))   ・・・(114)
を生成する。
 記憶装置130のハッシュ値生成部138は、ハッシュ関数Hを用いてハッシュ値H(c1^2),…,H(cn^2)を計算する。記憶装置130は、通信部135を介して、Enc(pk, c1(2x1-1)),…,Enc(pk, cn(2xn-1))とハッシュ値H(c1^2),…,H(cn^2)を検証装置150に送信する(S31B)。
 検証装置150の復号部1561は、秘密鍵skを用いて、Enc(pk, cn(2xi-1)) (i=1,…,n)を復号する(S31C)。
 zi=Dec(sk,Enc(pk, ci(2xi-1)))=ci(2xi-1) (i=1,…,n) ・・・(115)
 そして、検証装置150のハッシュ値生成部1562はハッシュ値H(zi^2)(i=1,…,n)を求める。
 検証装置150の一致判定部1563は、i=1,…,nのすべてについて
H(zi^2)=H(ci^2)      ・・・(116)
であれば、受理し、H(zi^2)=H(ci^2)を満たさないiが一つでもあれば不受理とする(S31D)。
 検証装置150は検証結果を記憶装置130に通知する(S31E)。
 記憶装置130は、検証装置150での検証結果が「受理」の場合(S31FのYes分岐)、Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))を登録識別子idと関連付けて登録データ記憶部133に記憶する(S31G)。
 なお、復号部1561、ハッシュ値生成部1562は、クエリ検証部153の復号部1531、ハッシュ値生成部1532を共通に用いてもよい。
 zi=ci(2xi-1) (i=1,…,n)は、
iが0のとき、-ci
iが1のとき、ci
               ・・・(117)
である。
 したがって、
Figure JPOXMLDOC01-appb-I000132
の場合、ハッシュ値H(zi^2)=H(ci^2)が成り立つ。H(z^2)=H(c^2),…,H(z^2)=H(c^2)が成立する場合は受理される。この場合、記憶装置130は、Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))を登録識別子idと関連付けて登録データ記憶部に記憶する。
 一方、xiが0又は1でない場合、zi=ci(2xi-1) は+ci、-ci以外の値となり、
Figure JPOXMLDOC01-appb-I000133
となり、不受理とする。 
 これ以降の照合フェーズは、図16を参照して説明したものと同様である。
 なお、登録要求装置110は、二値ベクトル
Figure JPOXMLDOC01-appb-I000134
からEnc(pk, x1),…,Enc(pk, xn)を生成して、記憶装置130に送信し、記憶装置130において、 Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))を計算し、さらに、 乱数c1,…,cnを生成し、スカラー演算Scl(ci, Enc(pk, (2xi-1)))から、Enc(pk, c1(2x1-1)),…,Enc(pk, cn(2xn-1))を生成するようにしてもよい。この場合、第1の実施形態にも登録ベクトルX=[x,…,xn]の各データxi(i=1,…,n)が
Figure JPOXMLDOC01-appb-I000135
であるか否かのチェックを行うことができる。
 第3の実施形態では、検証装置が暗号文を復号して得たメッセージ同士の積を求める。このため,復号値同士の積が定義されていない暗号は使用できない。例えば、復号アルゴリズムがメッセージではなく、Dec(sk,Enc(pk,m))=g^mを出力するmodified Elgamal暗号や、復号アルゴリズムがメッセージではなく、Dec(sk, Enc(pk,m))=m(*)Gを出力するECElgamal暗号は使用できない。modified Elgamal暗号及びECElgamal暗号のメッセージ空間Fq、Paillier暗号のメッセージ空間はZN={0,1,…,N-1}上では積が定義されているため、復号アルゴリズムがメッセージを出力する場合、復号者は復号値が0,1,2,3,…,tのいずれかと一致するか否かを確認すればよい。ただし,modified Elgamal暗号及びECElgamal暗号は、一般的にメッセージを出力する復号アルゴリズムの構成は難しい。
 前記第1、第2の実施形態によれば、生体情報として二値ベクトルを扱うことができ、なりすまし攻撃に耐性を有し、さらに、Somewhat準同型暗号やペアリング演算が不要とされる。上記した特許文献2、3では、なりすまし攻撃に対する耐性の点で問題があり、Somewhat準同型暗号やペアリング演算が必要とされる。また、特許文献5では、なりすまし攻撃に対する耐性の点で問題があり、Somewhat準同型暗号やペアリング演算が必要とされる。
 また、前記第3の実施形態によれば、生体情報として二値ベクトルを扱うことができ、なりすまし攻撃に耐性を有し、さらに、Somewhat準同型暗号やペアリング演算が不要とされるほか、1:N認証に対応可能である。
<第4の実施形態>
 本発明の第4の実施形態について説明する。本発明の第4の実施形態の基本構成は、前記第3の実施形態の説明で参照した図20と同一とされる。前記第3の実施形態では、加法準同型を有する暗号方式を用いているが、第4の実施形態では、例えばElGamal暗号やRSA暗号等、乗法準同型の暗号方式を用いる。
 ElGamal暗号の鍵生成は、位数q(ビット数はセキュリティパラメータk)が素数である群G(乗法群Z )で生成元gを選び、xを{0,1,…,q-1}から選び、h=g^xとする。(h, g, q)を公開鍵とし、xを秘密鍵とする。暗号化は、平文mに対して乱数rを{0,1,…,q-1}からランダムに選び、
c1=g^r mod q, 
c2=m・h^r mod q
を計算し、(c1, c2)を暗号文とする。
 復号化は、受け取った暗号文に対して、
m = c2(c1^x)^(-1)
とする。ここで、平文m1、m2∈Gでの暗号文は、
Enc(pk, m1)=(g^r1, m1・h^r1)、
Enc(pk, m2)=(g^r2, m2・h^r2
となり、これら二つの暗号文を掛け合わると、 
(g^(r1+r2), (m1×m2)h^(r1+r2))=Enc(pk, m1×m2)
となり、
 Enc(pk, (m1×m2))=Enc(pk, m1)×Enc(pk, m2)
が成り立つ。
 RSA暗号では、適当な正整数eを選択し、大きな2つの素数{p ,q}を生成し、その積n (=pq)をeとともに公開鍵{e, n}とし、d= e^(-1) ( mod(p-1)(q-1) )を秘密鍵とする。平文mの暗号化は、
c=m^e mod n 
で与えられ、復号化は、
m=c^d mod n
で与えられる。二つの平文m1、m2∈Z の二つの暗号文
Enc(pk, m1)=m1^e mod n、
Enc(pk, m2)=m2^e mod n 
を掛け合わると、
(m1×m2)^e mod n=Enc(pk, (m1×m2))となり、
Enc(pk, (m1×m2))=Enc(pk, m1)×Enc(pk, m2)が成り立つ。
 図20を参照すると、第4の実施形態において、照合要求装置120から照合要求を受けた照合装置140の登録データ取得部141は、記憶装置130から登録識別子idに関連して記憶された暗号データ{Enc(pk, (2xi-1))} (i=1,…,n)を受信する。
 照合装置140の乱数生成部142は、乱数a,bを生成する。
 照合装置140の暗号データ生成部143は乱数bi(i=1,…,n)を公開鍵pkで暗号化した暗号データEnc(pk, bi) (i=1,…,n)を照合要求装置120に送信する(S45)。照合要求装置120に送信する暗号データは登録データ(テンプレート)に依存しない。このため、1:N認証を行うことができる。
 照合要求装置120のレスポンス生成部123は、照合ベクトルY=[y1,…,yn]の各要素{yi}の演算結果(2yi-1)を公開鍵pkで暗号化しEnc(pk, (2yi-1) ) (i=1,…,n)を生成する。照合要求装置120のレスポンス生成部123は、照合装置140から受信したEnc(pk, bi)と、Enc(pk, (2yi-1)) (i=1,…,n)を暗号化したまま乗算して(乗法準同暗号)、Enc(pk, bi(2yi-1) )を生成し、照合装置140に送信する。
 照合装置140は、乱数ai(i=1,…,n)を公開鍵pkで暗号化した暗号データEnc(pk, ai) (i=1,…,n)を求め、Enc(pk, (2xi-1))と、照合要求装置120からのEnc(pk, bi(2yi-1) )より乗法準同型を用いて、
Enc(pk, aibi(2xi-1)(2yi-1)) (i=1,…,n)       ・・・(118)
を生成する。
 ハッシュ値生成部148は、乱数a,b(i=1,…,n)の積ab(mod q)のハッシュ値
H(aibi)    ・・・(119)
を計算する。
 クエリ生成部145は、暗号データEnc(pk, aibi (2xi-1) (2yi-1))(i=1,…,n)とハッシュ値H(ab)(i=1,…,n)を含むクエリを生成し、通信部146を介して検証装置150に送信する(S47)。Hは一方向性ハッシュ関数である。なお、暗号データEnc(pk, aibi (2xi-1) (2yi-1))(i=1,…,n)を送信する順番として、iに関してシャフルして送信するようにしてもよい。
 検証装置150のクエリ検証部153の復号部1531は、秘密鍵skを用いて暗号データEnc(pk, aaibi (2xi-1) (2yi-1)) (i=1,…,n)を復号する。
i=Dec(sk, Enc(pk, aibi (2xi-1) (2yi-1)) (i=1,…,n)    ・・・(120)
を計算する。
 さらに検証装置150のクエリ検証部153のハッシュ値生成部1532は、ziのハッシュ値H(zi)(i=1,…,n)を計算する。
 検証装置150のクエリ検証部153の不一致判定部1533は、計算したH(zi)(i=1,…,n)が照合装置140から受信したハッシュ値H(ab)と不一致のiの個数がt以下であるか否かを判定する。
 検証結果生成部154は、不一致の個数がt以下であれば、受理、それ以外の場合、不受理とする。
 z=ab(2xi-1)(2yi-1)    ・・・(121)
yiが0又は1であり、yi=xiの場合、z=ab
yiが0又は1であり、yi≠xiの場合、z=-ab
yiが0、1以外の場合、zはab、-ab以外の値である。
したがって、
H(z)=H(ab)  ・・・(122)
が成り立つときは、yi=xiであり、yi=0又は1の値である。これ以外(ハッシュ値H(z)≠H(ab))の場合、yiは0又は1であるがxiと異なるか、yiが0、1以外の値の場合である。このような、xiと不一致の個数がt以下であれば、受理する。
 図26は、第4の実施形態の動作シーケンスを説明する図である。登録要求装置110は、登録ベクトルX=[x1, ….,xn]を抽出し、要素{xi}(i=1,…,n)の演算結果(2xi-1)の暗号データEnc(pk, (2xi-1)) (i=1,…,n)を記憶装置130に送信し(S41)、記憶装置130は、登録識別子Idに関連して記憶する。
 照合要求装置120から照合要求を受けると(S42)、照合装置140は、記憶装置130からIdに関連して記憶された暗号データEnc(pk, (2xi-1)) (i=1,…,n)を受信する(S43)。
 照合装置140は乱数a,bを生成する(S44)。照合装置140は乱数bi(i=1,…,n)の暗号データEnc(pk, bi) (i=1,…,n)を照合要求装置120に送信する(S45)。
 照合要求装置120は、照合用の二値ベクトルY=[y1, ….,yn]を抽出し、各要素{yi}の演算結果(2yi-1)の暗号データEnc(pk, (2yi-1)) (i=1,…,n)を求め、照合装置140から受け取ったEnc(pk, bi) (i=1,…,n)と、Enc(pk, (2yi-1)) (i=1,…,n)から、Enc(pk, bi(2yi-1)) (i=1,…,n)を求め照合装置140に送信する(S46)。
 照合装置140は、照合要求装置120からのEnc(pk, bi(2yi-1)) (i=1,…,n)と、記憶装置130からのEnc(pk, (2xi-1))と乱数ai,bi,から、Enc(pk, aibi (2xi-1) (2yi-1)) (i=1,…,n)を生成し、ハッシュ値H(aibii)を生成し、検証装置150に送信する(S47)。
 検証装置150は、秘密鍵skを用いて暗号データをEnc(pk, aibir (2xi-1) (2yi-1))の復号結果ziから、ハッシュ値H(zi)を計算する(S48A)。
 検証装置150は、計算したH(zi)が照合装置140から受信したハッシュ値H(ab)と不一致のiの個数がt以下であるか否かを判定する(S48B)。不一致の個数がt以下であれば、受理、それ以外の場合、不受理とする。検証装置150は検出結果(受理・不受理)を出力する(S49)。
<変形例1>
 前記第3の実施形態の変形例3と同様、第4の実施形態においても、登録ベクトルX=[xi,…,xn]の各要素{xi}(i=1,…,n)がxi∈{0,1}であるか否かのチェックを行う機能を実装するようにしてもよい。第4の実施形態の変形例の構成は、図24の記憶装置130と検証装置150の構成とされる。第4の実施形態の変形例1では、例えばRSA暗号、ElGamal暗号等、乗法準同型号方式を用いてもよい。
 図27は、変形例の登録フェーズの動作シーケンスを説明する図である。なお、図27は、図25とシーケンスは同じであるが、乗法準同型号方式を用いている点で暗号データの演算処理が相違している。登録要求装置110は、登録用の二値ベクトル
Figure JPOXMLDOC01-appb-I000136
から、(2x1-1),…, (2xn-1)を計算し、公開鍵pkで暗号化したデータ(第1のテンプレート)
Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))   ・・・(123)
を記憶装置130に送信する(S41)。
 記憶装置130の乱数生成部136は、乱数c1,…,cnを生成する(S41A)。
 記憶装置130の暗号データ生成部137は、乱数c1,…,cnを公開鍵pkで暗号化した円号データEnc(pk,ci) (i=1,…,n)と、Enc(pk, (2xi-1))(i=1,…,n)から、
Enc(pk, c1(2x1-1)),…,Enc(pk, cn(2xn-1))   ・・・(124)
を生成する。
 記憶装置130のハッシュ値生成部138は、ハッシュ関数Hを用いてハッシュ値H(c1^2),…,H(cn^2)を計算する。記憶装置130は、通信部135を介して、Enc(pk, c1(2x1-1)),…,Enc(pk, cn(2xn-1))とハッシュ値H(c1^2),…,H(cn^2)を検証装置150に送信する(S41B)。
 検証装置150の復号部1561は、秘密鍵skを用いて、Enc(pk, cn(2xi-1)) (i=1,…,n)を復号する(S41C)。
 zi=Dec(sk,Enc(pk, ci(2xi-1)))=ci(2xi-1) (i=1,…,n)  ・・・(125)
 そして、検証装置150のハッシュ値生成部1562はハッシュ値H(zi^2)(i=1,…,n)を求める。
 検証装置150の一致判定部1563は、i=1,…,nのすべてについて
H(zi^2)=H(ci^2)      ・・・(126)
であれば、受理する。
H(zi^2)=H(ci^2)を満たさないiが一つでもあれば、検証装置150の一致判定部1563は不受理とする(S41D)。
 検証装置150は検証結果を記憶装置130に通知する(S41E)。
 記憶装置130は、検証装置150での検証結果が「受理」の場合(S41FのYes分岐)、Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))を登録識別子idと関連付けて登録データ記憶部133に記憶する(S41G)。
 なお、復号部1561、ハッシュ値生成部1562は、クエリ検証部153の復号部1531、ハッシュ値生成部1532を共通に用いてもよい。
 zi=ci(2xi-1) (i=1,…,n)は、
iが0のとき、-ci
iが1のとき、ci
    ・・・(127)
である。
 したがって、
Figure JPOXMLDOC01-appb-I000137
の場合、ハッシュ値
H(zi^2)=H(ci^2)    ・・・(128)
が成り立つ。
 すなわち、H(z^2)=H(c^2),…,H(z^2)=H(c^2)が成立する場合は、受理される。この場合、記憶装置130は、Enc(pk, (2x1-1)),…,Enc(pk, (2xn-1))を登録識別子idと関連付けて登録データ記憶部に記憶する。一方、xiが0又は1でない場合、zi=ci(2xi-1) は+ci、-ci以外の値となり、
Figure JPOXMLDOC01-appb-I000138
となり、不受理とする。
<変形例2>
 第4の実施形態において、例えば検証装置150が、図26のステップS45及びS46における通信内容を手に入れられる場合、秘密鍵を用いて照合用の二値ベクトルの各要素{yi}(i=1,…,n)の値を知ることができてしまう。そこで、第4の実施形態の変形例2では、例えば、非特許文献1に記載の方法と同様の方法を用いて、これを防ぐ。すなわち、照合装置140と照合要求装置120の間の通信を、検証装置150の持つ鍵とは異なる鍵に対応する暗号文とする。
 例えば、ElGamal暗号の秘密鍵をx、公開鍵を(h, g, q)、平文mに対する暗号文を(c1, c2)とする。{0,1,…,q-1}からランダムに選んだ乱数tに対して計算される(c1^t, c2)は、秘密鍵x/t、公開鍵(h, g^t, q)に対応する平文mの暗号文である。ElGamal暗号を用いる場合、照合装置140は、照合要求装置120から照合要求を受け取ると(S42)、そのたびに異なる乱数tを生成し、ステップS45では、公開鍵(h, g^t, q)に対応する暗号文及び公開鍵(h, g^t, q)を送付する。
 照合要求装置120は、照合装置140から受け取った公開鍵(h,g^t,q)に対応する暗号文を照合装置140に送付する(S46)。
 照合装置140は、tを用いることにより、ステップS46で照合要求装置120から受け取った暗号文を元の公開鍵(h,g,q)に対応する暗号文に戻すことができる。
 なお、第4の実施形態において、暗号化方式は、RSA暗号、ElGamal暗号等の乗法準同型暗号に制限されるものでなく、加法と乗法に関して準同型性を有する公開鍵暗号方式(Somewhat準同型(somewhat homomorphic encryption scheme)、Gentryによるイデアル格子を利用した完全準同型暗号(例えばC.Gentryによる"Fully Homomorphic Encryption Using Ideal Lattices," In Symposium on Theroy of Computing -STOC 2009,  ACM, 169-178, 2009等が参照される)を用いてもよい。
<第5の実施形態>
 図28に示すように、照合装置140は、コンピュータシステムに実装してもよい。図28を参照すると、サーバコンピュータ等のコンピュータシステム10は、プロセッサ(CPU(Central Processing Unit)、データ処理装置)11、半導体メモリ(例えばRAM(Random Access Memory)、ROM(Read Only Memory)、又は、EEPROM(Electrically Erasable and Programmable ROM)等)、HDD(Hard Disk Drive)、CD(Compact Disc)、DVD(Digital Versatile Disc)等の少なくともいずれかを含む記憶装置12と、表示装置13と、通信インタフェース14を備えている。通信インタフェース14は、登録要求装置110、照合要求装置120、記憶装置130、検証装置150と通信接続する。記憶装置12に、上記した各実施形態で説明した照合装置140の機能を実現するプログラムを記憶しておき、プロセッサ11が、該プログラムを読み出して実行することで、上記した各実施形態の照合装置140を実現するようにしてもよい。あるいは、記憶装置12と、例えば図5等の記憶装置130の登録データ記憶部133を同一の記憶装置とし、プロセッサ11で、図5等の記憶装置130の識別子管理部131、登録データ生成部132、登録データ検索部134の処理をさらに実行するようにしてもよい。コンピュータシステム10はクラウドサービスとしてクライアントに提供するクラウドサーバとして実装するようにしてもよい。
 前記各実施形態の登録要求装置110も、図28に示すように、コンピュータシステム10に実装してもよい。また前記各実施形態の照合要求装置120も、コンピュータシステム10として実装してもよい。登録要求装置110と照合要求装置120は別々のコンピュータシステムであってもよいし、登録と照合を同一箇所で行う構成としてもよい。記憶装置12に、図5等の登録要求装置110、照合要求装置120の機能を実現するプログラムを記憶しておき、プロセッサ11が、該プログラムを読み出して実行することで、上記した各実施形態の登録要求装置110、照合要求装置120を実現するようにしてもよい。登録要求装置110、照合要求装置120のプロセッサ11は、インタフェース14を介して不図示のセンサから指紋等の生体情報を取得し、取得した情報から二値のベクトルX、Yを抽出するようにしてもよい。なお、前記各実施形態の検証装置150も、図28と同様、コンピュータ上で実行されるプログラムで実現してもよいことは勿論である。
 なお、上記の特許文献1-5、非特許文献1の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(請求の範囲を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の請求の範囲の枠内において種々の開示要素(各請求項の各要素、各実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ乃至選択が可能である。すなわち、本発明は、請求の範囲を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。
 上記した実施形態は、以下のように付記される(ただし、以下に制限されない)。
(付記1)
 乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する照合装置と、
 前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算で得た暗号データを前記照合装置に送信する前記照合要求装置と、
 を備え、
 前記照合装置は、前記暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、クエリとして検証装置に送信し、
 前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置を備えた、ことを特徴とする照合システム。
(付記2)
 登録用の前記第1の二値ベクトルの各要素と前記各要素に対する所定の演算結果の少なくとも一方を前記暗号鍵で暗号化した暗号データを送信する登録要求装置と、
 前記登録要求装置から送信された前記第1の二値ベクトルの各要素と前記各要素に対する前記所定の演算結果の少なくとも一方の暗号データを受け、登録データとして記憶する記憶装置と、
 をさらに備えたことを特徴とする付記1記載の照合システム。
(付記3)
 照合要求装置からの照合要求に対して、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、照合要求装置に送信する照合装置と、
 前記照合装置からの前記第2の暗号データの各々を暗号化したまま、照合用の第2の二値ベクトルの各要素をスカラー演算した値の総和である第3の暗号データを求め、前記照合装置に送信する前記照合要求装置と、
 を備え、
 前記照合装置は、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信し、
 前記検証装置は、
 前記照合装置から送信された前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする照合システム。
(付記4)
 前記第1の二値ベクトルに関する前記第1の演算値を前記暗号鍵で暗号化した前記第1の暗号データと、前記第1の二値ベクトルの各要素に関する前記第2の演算値を前記暗号鍵で暗号化した前記第5の暗号データと、を生成し、前記第1の暗号データ及び前記第5の暗号データを記憶装置に送信する登録要求装置と、
 前記登録要求装置から前記第1の暗号データと前記第5の暗号データを受け、登録データとして記憶し、さらに、前記第1の暗号データと前記第5の暗号データを前記照合装置に供給する前記記憶装置と、
 を備えたことを特徴とする付記3に記載の照合システム。
(付記5)
 前記第1の二値ベクトルの各要素を前記暗号鍵で暗号化した暗号データを記憶装置に送信する登録要求装置と、
 前記登録要求装置から前記第1の二値ベクトルの各要素の暗号データを受け、前記第1の二値ベクトルの各要素に関する第1の演算値と第2の演算値を計算して前記第1の暗号データ及び前記第5の暗号データを求め、登録データとして記録し、
 さらに、前記第1の暗号データと前記第5の暗号データを前記照合装置に供給する前記記憶装置を備えた、ことを特徴とする付記3に記載の照合システム。
(付記6)
 前記第1の二値ベクトルの各要素を暗号鍵で暗号化して記憶装置に送信する登録要求装置と、
 前記第1の二値ベクトルの各要素の暗号データを記録する前記記憶装置と、
 を備え、
 前記照合装置は、
 前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルの各要素に関する第1、第2の演算値を計算して前記第1及び第5の暗号データとして求める、ことを特徴とする付記3に記載の照合システム。
(付記7)
 照合要求装置から照会要求を受けると、暗号鍵で暗号化されている第1の二値ベクトルに対して予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、生成した乱数を演算して得た第2の暗号データを求め、照合要求装置に送信する照合装置と、
 第2の二値ベクトルに予め設定された第2の変換を施してなる第2の変換値を、前記照合装置から送信された前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和を第3の暗号データとして前記照合装置に送付する照合要求装置と、
 を備え、
 前記照合装置は、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信し、
 前記検証装置は、
 前記照合装置から送信された前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする照合システム。
(付記8)
 前記登録用のn次元の前記第1の二値ベクトルに前記第1の変換を施してn個の前記第1の変換値を求め、n個の前記第1の変換値を暗号鍵で暗号化した前記第1の暗号データを生成し、前記第1の暗号データと、登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを記憶装置に送付する登録要求装置と、
 前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを生成し、
 前記第1、第5の暗号データを登録データとして記録し、前記第1、第5の暗号データを前記照合装置に送信する前記記憶装置と、
 を備えた、ことを特徴とする付記7に記載の照合システム。
(付記9)
 登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを記憶装置に送付する登録要求装置と、
 前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求める手段と、
 前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段を備え、前記n個の第1の変換値の前記第1の暗号データと、前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを記録する前記記憶装置と、
 を備え、
 前記照合装置は、
 前記照合要求装置から照会要求を受けると、前記記憶装置からn個の前記第1の変換値の暗号データを取得し、乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して第2の暗号データを求め、前記照合要求装置に送信し、
 前記照合要求装置は、
 前記第2の二値ベクトルに前記第2の変換を施してなる前記第2の変換値を求め、前記各第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
 前記照合装置は、
 前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して前記第1の変換値と前記第2の変換値を乗算した値の総和の前記第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする付記7に記載の照合システム。
(付記10)
 前記照合装置は、
 前記第1の二値ベクトルの要素を暗号化したまま前記要素の総和の暗号データを生成し、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の第1の暗号データを求める手段と、
 前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段を備え、
 乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信し、
 前記照合要求装置は、
 前記第2の二値ベクトルに前記第2の変換を施してなるn個の前記第2の変換値を求め、前記各第2の変換値を、前記第2の暗号データの各々に演算し、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
 前記照合装置は、
 前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和の第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする付記7に記載の照合システム。
(付記11)
 前記照合装置は、
 前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルの各要素の暗号データを取得し、
 前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段と、
 前記第1の変換を構成する第1群の変換係数を生成する手段と、
 前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施してなるn個の前記第1の変換値を求める手段と、
 を備え、さらに乱数を生成し、前記乱数を、前記n個の第1の変換値からなる前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信し、
 さらに、前記第1群の変換係数の生成に用いた、前記第2の変換を構成する第2群の変換係数を前記照合要求装置に送信し、
 前記照合要求装置は、
 前記照合装置からの第2群の変換係数で規定される前記第2の変換を前記第2の二値ベクトルに施してなる前記第2の変換値を求め、前記第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和からなる第3の暗号データを前記照合装置に送付し、
 前記照合装置は、
 前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除し、前記第1の変換値と第2の変換値を乗算した値の総和の暗号データを求め、前記総和の暗号データと前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする付記7に記載の照合システム。
(付記12)
 前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する登録要求装置と、
 前記登録要求装置からの前記第1の二値ベクトルの各要素の暗号データを記憶する、ことを特徴とする付記9又は10記載の照合システム。
(付記13)
 照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する照合装置と、 照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求め、前記照合装置に送信する照合要求装置と、
 を備え、
 前記照合装置は、
 前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、前記照合要求装置は、
第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数に基づくハッシュ値を(検証用の補助データ)を検証装置に送信し、
 前記検証装置は、
 前記照合装置からの前記第3、第4の暗号データを復号鍵で復号し、復号した値を乗算した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする照合システム。
(付記14)
 照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する照合装置と、
 照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求めて、前記照合装置に送信する前記照合要求装置と、
 を備え、
 前記照合装置は、
 前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている登録用の第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第2の乱数の演算結果である第3の暗号データと、前記生成した第1及び第2乱数に基づくハッシュ値(検証用の補助データ)とを検証装置に送信し、
 前記検証装置は、
 前記照合装置からの前記第3の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする照合システム。
(付記15)
 前記第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを前記記憶装置に送信する登録要求装置と、
 前記登録要求装置から送信された暗号データを記憶する前記記憶装置と、
 を備えた、ことを特徴とする付記13又は14に記載の照合システム。
(付記16)
 前記第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを前記記憶装置に送信する登録要求装置と、
 前記第1の二値ベクトルの各要素の前記第1の演算値の暗号データに対して乱数をそれぞれ生成する手段と、
 前記各乱数のハッシュ値を生成する手段と、
 を備え、
 前記各乱数を演算した暗号データと前記ハッシュ値を前記検証装置に送信する手段を
備えた記憶装置と、
 を備え、
 前記検証装置は、前記記憶装置から送信された各暗号データを前記復号鍵で復号し、復号した各値のハッシュ値を求め、前記各ハッシュ値が、前記記憶装置から送信された対応するハッシュ値と一致するか判定し、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とし
 前記記憶装置は、前記検証装置での検証結果が受理の場合、前記第1の演算値の暗号データを記憶する、ことを特徴とする付記13又は14に記載の照合システム。
(付記17)
(a)照合装置が、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する工程と、
(b)前記照合要求装置が、前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、前記照合装置に送信する工程と、
(c)前記照合装置が、暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する工程と、
(d)前記検証装置が、前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する工程と、
 を含む、ことを特徴とする照合方法。
(付記18)
 前記工程(a)の前に、
(e)登録要求装置が、登録用の前記第1の二値ベクトルの各要素と前記各要素に対する演算結果の少なくとも一方を前記暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
(f)前記記憶装置が、前記登録要求装置から送信された前記第1の二値ベクトルの各要素と前記各要素に対する演算結果の少なくとも一方の暗号データを受け、登録データとして記憶する工程と、
 をさらに含む、ことを特徴とする付記17に記載の照合方法。
(付記19)
(a)照合装置は、照合要求装置からの照合要求に対して、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信する工程と、
(b)前記照合要求装置は、前記照合装置から送信された前記第2の暗号データの各々に、照合用の第2の二値ベクトルの各値を演算した値の総和である第3の暗号データを求め、前記照合装置に送信する工程と、
(c)前記照合装置は、前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、検証装置に送信する工程と、
(d)前記検証装置は、前記第6の暗号データを前記復号鍵で復号し、復号結果の前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする照合方法。
(付記20)
 前記工程(a)の前に、
(e)登録要求装置が、前記第1の二値ベクトルに関する前記第1の演算値を前記暗号鍵で暗号化した前記第1の暗号データと、前記第1の二値ベクトルの各要素に関する前記第2の演算値を前記暗号鍵で暗号化した前記第5の暗号データと、を生成し、前記第1の暗号データ及び前記第5の暗号データを記憶装置に送信する工程と、
(f)前記記憶装置が、前記登録要求装置から前記第1の暗号データと前記第5の暗号データを受け、登録データとして記憶する工程と、
 を含む、ことを特徴とする付記19に記載の照合方法。
(付記21)
 前記工程(a)の前に、
(e)登録要求装置が、前記第1の二値ベクトルの各要素を前記暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
(f)前記記憶装置が、前記登録要求装置から前記第1の二値ベクトルの各要素の暗号データを受け、前記第1の二値ベクトルの各要素に関する第1の演算値及び第2の演算値を計算して前記第1の暗号データ及び前記第5の暗号データを求め、登録データとして記録する工程を含む、ことを特徴とする付記19に記載の照合方法。
(付記22)
 前記工程(a)の前に、
(e)登録要求装置が、前記第1の二値ベクトルの各要素を暗号鍵で暗号化して記憶装置に送信する工程と、
(f)前記記憶装置が、前記第1の二値ベクトルの各要素の暗号データを記録する工程と、
 を含み、
 前記工程(a)において、
 前記照合装置は、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルの各要素に関する第1、第2の演算値を計算して前記第1及び第5の暗号データとして求める、ことを特徴とする付記19に記載の照合方法。
(付記23)
(a)照合装置は、前記照合要求装置から照会要求を受けると、暗号化されている登録用の第1の二値ベクトルに予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信する工程と、
(b)前記照合要求装置は、照合用の第2の二値ベクトルに第2の変換を施してなる第2の変換値を、前記照合装置から受信した前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に第2の変換値を乗じた暗号データを求め、前記暗号データの総和を第3の暗号データとして前記照合装置に送付する工程と、
(c)前記照合装置は、前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、前記検証装置に送信する工程と、
(d)前記検証装置は、前記第6の暗号データを前記復号鍵で復号し、復号結果の前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする照合方法。
(付記24)
 前記工程(a)の前に、
(e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルに前記第1の変換を施しn個の第1の変換値を求め、
 前記n個の第1の変換値を暗号鍵で暗号化した第1の暗号データを記憶装置に送付する工程と、
(f)前記記憶装置が、前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成し、
 前記第1、第5の暗号データを登録データとして記録する工程とを含む、ことを特徴とする付記23に記載の照合方法。
(付記25)
 前記工程(a)の前に、
(e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する工程と、
(f)前記記憶装置が、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求め、
 前記第1の二値ベクトルの要素を暗号化したまま前記要素の総和を暗号化した第5の暗号データを生成し、
 前記n個の第1の変換値の前記第1の暗号データと、前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを記録する工程と、
 を含み、
 前記工程(a)において、
 前記照合装置は、前記照合要求装置から照会要求を受けると、前記記憶装置からn個の前記第1の変換値の暗号データと、を取得し、乱数を生成し、前記乱数を前記n個の第1の変換値の暗号データにそれぞれ演算して第2の暗号データを求め、前記照合要求装置に送信し、
 前記工程(b)において、
 前記照合要求装置は、前記第2の二値ベクトルに前記第2の変換を施してなる前記第2の変換値を求め、前記各第2の変換値を前記照合装置から受信した前記第2の暗号データの各々にスカラー演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
 前記工程(c)において、
 前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と前記第2の変換値を乗算した値の総和の前記第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする付記23に記載の照合方法。
(付記26)
 前記工程(a)において、
 前記照合装置が、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求める工程と、
 前記照合装置が、前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成し、
 乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信する工程と、
 を含み、
 前記工程(b)において、
 前記照合要求装置は、前記第2の二値ベクトルに前記第2の変換を施してなるn個の前記第2の変換値を求め、前記各第2の変換値を、前記第2の暗号データの各々に演算し、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
 前記工程(c)において、
 前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和の第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した値を求め、暗号化したハミング距離として前記検証装置に送信する、ことを特徴とする付記23に記載の照合方法。
(付記27)
 前記工程(a)において、
 前記照合装置は、前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルの各要素の暗号データを取得する工程と、
 前記第1の変換を構成する第1群の変換係数を生成する工程と、
 前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施してなるn個の前記第1の変換値を求める工程と、
 さらに乱数を生成し、前記乱数を、前記n個の第1の変換値からなる前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信する工程と、
 さらに、前記第1群の変換係数の生成に用いた、前記第2の変換を構成する第2群の変換係数を前記照合要求装置に送信する工程と、
 を含み、
 前記工程(b)において、
 前記照合要求装置は、前記照合装置からの第2群の変換係数で規定される前記第2の変換を前記第2の二値ベクトルに施してなる前記第2の変換値を求め、前記第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和からなる第3の暗号データを前記照合装置に送付し、
 前記工程(c)において、
 前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除し、前記第1の変換値と第2の変換値を乗算した値の総和の暗号データを求め、前記総和の暗号データと前記第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した前記第5の暗号データを加算した第6の暗号データを前記検証装置に送信する、ことを特徴とする付記23に記載の照合方法。
(付記28)
 前記工程(a)の前に、
(e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する工程と、
(f)前記記憶装置が、前記登録要求装置からの前記第1の二値ベクトルの各要素の暗号データを記憶する工程と、
 を含む、ことを特徴とする付記26又は27に記載の照合方法。
(付記29)
(a)照合装置は、照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する工程と、
(b)前記照合要求装置は、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求め、前記照合装置に送信する工程と、
(c)前記照合装置は、前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、前記暗号鍵で暗号化されている登録用の第1の二値ベクトルの各要素の演算結果である暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数に基づくハッシュ値(検証用の補助データ)を検証装置に送信する工程と、
(d)前記検証装置は、前記照合装置からの前記第3、第4の暗号データを復号鍵で復号し、復号した値を乗算した値のハッシュ値を計算し、前記ハッシュ値が、前記照合装置から受信したハッシュ値と不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする照合方法。
(付記30)
(a)照合装置は、照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する工程と、
(b)前記照合要求装置は、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求めて、前記照合装置に送信する工程と、
(c)前記照合装置は、前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている登録用の第1の二値ベクトルの各要素の演算結果である第3の暗号データと、前記第2の乱数の演算結果である第4の暗号データと、前記生成した第1及び第2乱数に基づくハッシュ値(検証用の補助データ)とともに検証装置に送信する工程と、
(d)前記検証装置は、前記照合装置からの前記第4の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値が、前記照合装置から受信したハッシュ値と不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする照合方法。
(付記31)
 前記工程(a)の前に、
(e)登録要求装置が、前第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
(f)前記記憶装置が、前記第1の二値ベクトルの各要素の前記第1の演算値の暗号データに対して乱数をそれぞれ生成する工程と、
(g)前記記憶装置が、前記各乱数のハッシュ値を生成する工程と、
(h)前記記憶装置が、前記各乱数を演算した暗号データと前記ハッシュ値を前記検証装置に送信する工程と、
(i)前記検証装置は、前記記憶装置から送信された各暗号データを前記復号鍵で復号し、復号した各値のハッシュ値を求め、前記各ハッシュ値が、前記記憶装置から送信された対応するハッシュ値と一致するか判定し、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とする工程と、
(j)前記記憶装置は、前記検証装置での検証結果が受理の場合、前記第1の演算値の暗号データを記憶する工程と、
 を含む、ことを特徴とする付記29又は30に記載の照合方法。
(付記32)
 乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する手段と、
 前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する手段と、
 暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する手段と、
 復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置から、検証結果を受信する手段と、
 を備えた、ことを特徴とする照合装置。
(付記33)
 照合要求装置からの照合要求に対して、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、照合要求装置に送信する手段と、
 前記照合要求装置から、前記第2の暗号データの各々を暗号化したまま、照合用の第2の二値ベクトルの各要素をスカラー演算した値の総和である第3の暗号データを受信する手段と、
 を備え、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信する手段と、
 前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、検証結果を出力する検証装置から検証結果を受信する手段と、
 を備えたことを特徴とする照合装置。
(付記34)
 照合要求装置から照会要求を受けると、暗号鍵で暗号化されている登録用の第1の二値ベクトルに対して予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、生成した乱数を演算して得た第2の暗号データを求め前記照合要求装置に送信する手段と、
 前記照合要求装置から、照合用の第2の二値ベクトルに予め設定された第2の変換を施してなる第2の変換値を前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データの総和である第3の暗号データを受信する手段と、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信する手段と、
 前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、検証結果を出力する検証装置から検証結果を受信する手段と、
 を備えたことを特徴とする照合装置。
(付記35)
 照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する手段と、
 前記照合要求装置から、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを受信する手段と、
 前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、登録用の第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数に基づくハッシュ値(検証用の補助データ)とを検証装置に送信する手段と、
 前記第3、第4の暗号データを復号鍵で復号し、復号した値を乗算した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、検証結果として、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする検証装置から検証結果を受信する手段と、
 を備えたことを特徴とする照合装置。
(付記36)
 照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する手段と、
 前記照合要求装置から、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを受信する手段と、
 前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている登録用の第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第2の乱数の演算結果である第3の暗号データと、前記生成した第1及び第2乱数に基づくハッシュ値(検証用の補助データ)とを検証装置に送信する手段と、
 前記第3の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、検証結果として、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする検証装置から検証結果を受信する手段と、
 を備えたことを特徴とする照合装置。
(付記37)
 照合装置のコンピュータに、
 乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する処理と、
 前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する処理と、
 暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、前記クエリとして検証装置に送信する処理と、
 復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置から、検証結果を受信する処理と、
 を実行させるプログラム。
(付記38)
 照合装置のコンピュータに、
 照合要求装置からの照合要求に対して、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、照合要求装置に送信する処理と、
 前記照合要求装置から、前記第2の暗号データの各々を暗号化したまま、照合用の第2の二値ベクトルの各要素をスカラー演算した値の総和である第3の暗号データを受信する処理と、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信する処理と、
 前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、検証結果を出力する検証装置から検証結果を受信する処理と、
 を実行させるプログラム。
(付記39)
 照合要求装置から照会要求を受けると、暗号鍵で暗号化されている登録用の第1の二値ベクトルに対して予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、生成した乱数を演算して得た第2の暗号データを求め前記照合要求装置に送信する処理と、
 前記照合要求装置から、照合用の第2の二値ベクトルに予め設定された第2の変換を施してなる第2の変換値を前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データの総和である第3の暗号データを受信する処理と、
 前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、クエリとして検証装置に送信する処理と、
 前記クエリの前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、検証結果を出力する検証装置から検証結果を受信する処理と、
 を実行させるプログラム。
(付記40)
 照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する処理と、
 前記照合要求装置から、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを受信する処理と、
 前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、登録用の第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数に基づくハッシュ値とを検証装置に送信する処理と、
 前記第3、第4の暗号データを復号鍵で復号し、復号した値を乗算した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、検証結果として、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする検証装置から検証結果を受信する処理と、
 を実行させるプログラム。
(付記41)
 照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信する処理と、
 前記照合要求装置から、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを受信する処理と、
 前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている登録用の第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第2の乱数の演算結果である第3の暗号データと、前記生成した第1及び第2乱数に基づくハッシュ値とを検証装置に送信する処理と、
 前記第3の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、検証結果として、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする検証装置から検証結果を受信する処理と、
 を実行させるプログラム。
100 照合システム
10、20 コンピュータシステム(コンピュータ装置)
11、21 プロセッサ
12、22 記憶装置
13、23 表示装置
14、24 インタフェース
25 センサ
110 登録要求装置
111 登録情報抽出部
112 テンプレート生成部
113 通信部
114 変換値生成部
120 照合要求装置
121 照合要求生成部
122 照合情報抽出部
123 レスポンス生成部
124 通信部
130 記憶装置
131 識別子管理部
132 登録データ生成部
133 登録データ記憶部
134 登録データ検索部
135 通信部
136 乱数生成部
137 暗号データ生成部
138 ハッシュ値生成部
140 照合装置
141 登録データ取得部
142 乱数生成部
143 暗号データ生成部
144 暗号化距離計算部
145 クエリ生成部
146 通信部
147 変換係数生成部
148 ハッシュ値生成部
150 検証装置
151 鍵生成部
152 復号鍵記憶部
153 クエリ検証部
154 検証結果生成部
155 通信部
156 登録データチェック部
1531 復号部
1532 ハッシュ値生成部
1533 不一致判定部
1561 復号部
1562 ハッシュ値生成部
1563 一致判定部

Claims (33)

  1.  乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する照合装置と、
     前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算で得た暗号データを前記照合装置に送信する前記照合要求装置と、
     を備え、
     前記照合装置は、前記暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、クエリとして検証装置に送信し、
     前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるかを否か判定する前記検証装置を備えた、ことを特徴とする照合システム。
  2.  登録用の前記第1の二値ベクトルの各要素と前記各要素に対する所定の演算結果の少なくとも一方を前記暗号鍵で暗号化した暗号データを送信する登録要求装置と、
     前記登録要求装置から送信された前記第1の二値ベクトルの各要素と前記各要素に対する前記所定の演算結果の少なくとも一方の暗号データを受け、登録データとして記憶する記憶装置と、
     をさらに備えたことを特徴とする請求項1記載の照合システム。
  3.  前記照合装置は、
     前記照合要求装置からの照合要求に対して、前記第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信し、
     前記照合要求装置は、
     前記照合装置からの前記第2の暗号データの各々を暗号化したまま、前記第2の二値ベクトルの各要素をスカラー演算した値の総和である第3の暗号データを求め、前記照合装置に送信し、
     前記照合装置は、
     前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、前記検証装置に送信し、
     前記検証装置は、
     前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする請求項1に記載の照合システム。
  4.  前記第1の二値ベクトルに関する前記第1の演算値を前記暗号鍵で暗号化した前記第1の暗号データと、前記第1の二値ベクトルの各要素に関する前記第2の演算値を前記暗号鍵で暗号化した前記第5の暗号データと、を生成し、前記第1の暗号データ及び前記第5の暗号データを記憶装置に送信する登録要求装置と、
     前記登録要求装置から前記第1の暗号データと前記第5の暗号データを受け、登録データとして記憶し、さらに、前記第1の暗号データと前記第5の暗号データを前記照合装置に供給する前記記憶装置と、
     を備えたことを特徴とする請求項3に記載の照合システム。
  5.  前記第1の二値ベクトルの各要素を前記暗号鍵で暗号化した暗号データを記憶装置に送信する登録要求装置と、
     前記登録要求装置から前記第1の二値ベクトルの各要素の暗号データを受け、前記第1の二値ベクトルの各要素に関する第1の演算値と第2の演算値を計算して前記第1の暗号データ及び前記第5の暗号データを求め、登録データとして記録し、
     さらに、前記第1の暗号データと前記第5の暗号データを前記照合装置に供給する前記記憶装置を備えた、ことを特徴とする請求項3に記載の照合システム。
  6.  前記第1の二値ベクトルの各要素を暗号鍵で暗号化して記憶装置に送信する登録要求装置と、
     前記第1の二値ベクトルの各要素の暗号データを記録する前記記憶装置と、
     を備え、
     前記照合装置は、
     前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルの各要素に関する第1、第2の演算値を計算して前記第1及び第5の暗号データとして求める、ことを特徴とする請求項3に記載の照合システム。
  7.  前記照合装置は、
     前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルに対して予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信し、
     前記照合要求装置は、
     前記第2の二値ベクトルに予め設定された第2の変換を施してなる第2の変換値を、前記照合装置から送信された前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和を第3の暗号データとして前記照合装置に送付し、
     前記照合装置は、
     前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、前記検証装置に送信し、
     前記検証装置は、
     前記第6の暗号データを前記復号鍵で復号して得た前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする請求項1に記載の照合システム。
  8.  前記登録用のn次元の前記第1の二値ベクトルに前記第1の変換を施してn個の前記第1の変換値を求め、n個の前記第1の変換値を暗号鍵で暗号化した前記第1の暗号データを生成し、前記第1の暗号データと、登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを記憶装置に送付する登録要求装置と、
     前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを生成し、
     前記第1、第5の暗号データを登録データとして記録し、前記第1、第5の暗号データを前記照合装置に送信する前記記憶装置と、
     を備えた、ことを特徴とする請求項7に記載の照合システム。
  9.  登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを記憶装置に送付する登録要求装置と、
     前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求める手段と、
     前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段を備え、
     前記n個の第1の変換値の前記第1の暗号データと、前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを記録する前記記憶装置と、
     を備え、
     前記照合装置は、
     前記照合要求装置から照会要求を受けると、前記記憶装置からn個の前記第1の変換値の暗号データを取得し、乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して第2の暗号データを求め、前記照合要求装置に送信し、
     前記照合要求装置は、
     前記第2の二値ベクトルに前記第2の変換を施してなる前記第2の変換値を求め、前記各第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
     前記照合装置は、
     前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と前記第2の変換値を乗算した値の総和の前記第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする請求項7に記載の照合システム。
  10.  前記照合装置は、
     前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルの各要素の暗号データを取得し、
     前記第1の二値ベクトルの要素を暗号化したまま前記要素の総和の暗号データを生成する手段と、
     前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の第1の暗号データを求める手段と、
     前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段を備え、
     乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信し、
     前記照合要求装置は、
     前記第2の二値ベクトルに前記第2の変換を施してなるn個の前記第2の変換値を求め、前記各第2の変換値を、前記第2の暗号データの各々に演算し、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
     前記照合装置は、
     前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和の第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする請求項7に記載の照合システム。
  11.  前記照合装置は、
     前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルの各要素の暗号データを取得し、
     前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成する手段と、
     前記第1の変換を構成する第1群の変換係数を生成する手段と、
     前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施してなるn個の前記第1の変換値を求める手段と、
     を備え、さらに乱数を生成し、前記乱数を、前記n個の第1の変換値からなる前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信し、
     さらに、前記第1群の変換係数の生成に用いた、前記第2の変換を構成する第2群の変換係数を前記照合要求装置に送信し、
     前記照合要求装置は、
     前記照合装置からの第2群の変換係数で規定される前記第2の変換を前記第2の二値ベクトルに施してなる前記第2の変換値を求め、前記第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和からなる第3の暗号データを前記照合装置に送付し、
     前記照合装置は、
     前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除し、前記第1の変換値と第2の変換値を乗算した値の総和の暗号データを求め、前記総和の暗号データと前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする請求項7に記載の照合システム。
  12.  前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する登録要求装置と、
     前記登録要求装置からの前記第1の二値ベクトルの各要素の暗号データを記憶する、ことを特徴とする請求項9又は10に記載の照合システム。
  13.  前記照合装置は、
     前記照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信し、
     前記照合要求装置は、
     照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求め、前記照合装置に送信し、
     前記照合装置は、
     前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、前記暗号鍵で暗号化されている前記第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数に基づくハッシュ値とを、前記検証装置に送信し、
     前記検証装置は、
     前記照合装置からの前記第3、第4の暗号データを復号鍵で復号し、復号した値に基づきハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする請求項1に記載の照合システム。
  14.  前記照合装置は、
     前記照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信し、
     前記照合要求装置は、
     照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求めて、前記照合装置に送信し、
     前記照合装置は、
     前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている前記第1の二値ベクトルの各要素の第1の演算値の暗号データと前記第2の乱数の演算結果である第3の暗号データと、前記生成した第1及び第2の乱数に基づくハッシュ値とを前記検証装置に送信し、
     前記検証装置は、
     前記照合装置からの前記第3の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値と、前記照合装置から送信されたハッシュ値との不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする請求項1に記載の照合システム。
  15.  前記第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを前記記憶装置に送信する登録要求装置と、
     前記登録要求装置から送信された暗号データを記憶する前記記憶装置と、
     を備えた、ことを特徴とする請求項13又は14に記載の照合システム。
  16.  前記第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを前記記憶装置に送信する登録要求装置と、
     前記第1の二値ベクトルの各要素の前記第1の演算値の暗号データに対して乱数をそれぞれ生成する手段と、
     前記各乱数のハッシュ値を生成する手段と、
     を備え、
     前記各乱数を演算した暗号データと前記ハッシュ値を前記検証装置に送信する手段を
    備えた記憶装置と、
     を備え、
     前記検証装置は、前記記憶装置から送信された各暗号データを前記復号鍵で復号し、復号した各値のハッシュ値を求め、前記各ハッシュ値が、前記記憶装置から送信された対応するハッシュ値と一致するか判定し、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とし、
     前記記憶装置は、前記検証装置での検証結果が受理の場合、前記第1の演算値の暗号データを記憶する、ことを特徴とする請求項13又は14に記載の照合システム。
  17. (a)照合装置が、乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する工程と、
    (b)前記照合要求装置が、前記照合装置からの前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、前記照合装置に送信する工程と、
    (c)前記照合装置が、暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、クエリとして検証装置に送信する工程と、
    (d)前記検証装置が、前記照合装置から送信された前記クエリの前記暗号データを復号鍵で復号した値、又は、前記復号した値と前記クエリの前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する工程と、
     を含む、ことを特徴とする照合方法。
  18.  前記工程(a)の前に、
    (e)登録要求装置が、登録用の前記第1の二値ベクトルの各要素と前記各要素に対する演算結果の少なくとも一方を前記暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
    (f)前記記憶装置が、前記登録要求装置から送信された前記第1の二値ベクトルの各要素と前記各要素に対する演算結果の少なくとも一方の暗号データを受け、登録データとして記憶する工程と、
     をさらに含む、ことを特徴とする請求項17に記載の照合方法。
  19.  前記工程(a)において、
     前記照合装置は、前記照合要求装置からの照合要求に対して、前記第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した第1の暗号データの各々に、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信し、
     前記工程(b)において、
     前記照合要求装置は、前記照合装置から送信された前記第2の暗号データの各々に、前記第2の二値ベクトルの各値を演算した値の総和である第3の暗号データを求め、前記照合装置に送信し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除した第4の暗号データと、前記第1の二値ベクトルの各要素に関する第2の演算値を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、前記検証装置に送信し、
     前記工程(d)において、
     前記検証装置は、前記第6の暗号データを前記復号鍵で復号し、復号結果の前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする請求項17に記載の照合方法。
  20.  前記工程(a)の前に、
    (e)登録要求装置が、前記第1の二値ベクトルに関する前記第1の演算値を前記暗号鍵で暗号化した前記第1の暗号データと、前記第1の二値ベクトルの各要素に関する前記第2の演算値を前記暗号鍵で暗号化した前記第5の暗号データと、を生成し、前記第1の暗号データ及び前記第5の暗号データを記憶装置に送信する工程と、
    (f)前記記憶装置が、前記登録要求装置から前記第1の暗号データと前記第5の暗号データを受け、登録データとして記憶する工程と、
     を含む、ことを特徴とする請求項19に記載の照合方法。
  21.  前記工程(a)の前に、
    (e)登録要求装置が、前記第1の二値ベクトルの各要素を前記暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
    (f)前記記憶装置が、前記登録要求装置から前記第1の二値ベクトルの各要素の暗号データを受け、前記第1の二値ベクトルの各要素に関する第1の演算値及び第2の演算値を計算して前記第1の暗号データ及び前記第5の暗号データを求め、登録データとして記録する工程を含む、ことを特徴とする請求項19に記載の照合方法。
  22.  前記工程(a)の前に、
    (e)登録要求装置が、前記第1の二値ベクトルの各要素を暗号鍵で暗号化して記憶装置に送信する工程と、
    (f)前記記憶装置が、前記第1の二値ベクトルの各要素の暗号データを記録する工程と、
     を含み、
     前記工程(a)において、
     前記照合装置は、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルの各要素に関する第1、第2の演算値を計算して前記第1及び第5の暗号データとして求める、ことを特徴とする請求項19に記載の照合方法。
  23.  前記工程(a)において、
     前記照合装置は、前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルに予め設定された第1の変換を施してなる第1の変換値を前記暗号鍵で暗号化した第1の暗号データに対して、前記乱数を演算して得た第2の暗号データを求め、前記照合要求装置に送信し、
     前記工程(b)において、
     前記照合要求装置は、
     前記第2の二値ベクトルに予め設定された第2の変換を施してなる第2の変換値を、前記照合装置から受信した前記第2の暗号データに演算することで、前記第1の変換値に前記乱数を演算した値に第2の変換値を乗じた暗号データを求め、前記暗号データの総和を第3の暗号データとして前記照合装置に送付し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置から送信された前記第3の暗号データに含まれる前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和である第4の暗号データを求め、前記第4の暗号データに、前記第1の二値ベクトルの各要素の総和を前記暗号鍵で暗号化した第5の暗号データとを暗号化したまま加算することで、前記第1、第2の二値ベクトルの距離の第6の暗号データを求め、前記検証装置に送信し、
     前記工程(d)において、
     前記検証装置は、前記第6の暗号データを前記復号鍵で復号し、復号結果の前記第1、第2の二値ベクトルの距離と予め定められた閾値との比較に基づき、受理、不受理を出力する、ことを特徴とする請求項17に記載の照合方法。
  24.  前記工程(a)の前に、
    (e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルに前記第1の変換を施しn個の第1の変換値を求め、
     前記n個の第1の変換値を暗号鍵で暗号化した第1の暗号データを記憶装置に送付する工程と、
    (f)前記記憶装置が、前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成し、
     前記第1、第5の暗号データを登録データとして記録する工程とを含む、ことを特徴とする請求項23に記載の照合方法。
  25.  前記工程(a)の前に、
    (e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する工程と、
    (f)前記記憶装置が、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求め、
     前記第1の二値ベクトルの要素を暗号化したまま前記要素の総和を暗号化した第5の暗号データを生成し、
     前記n個の第1の変換値の前記第1の暗号データと、前記第1の二値ベクトルの要素の総和を暗号化した前記第5の暗号データを記録する工程と、
     を含み、
     前記工程(a)において、
     前記照合装置は、前記照合要求装置から照会要求を受けると、前記記憶装置からn個の前記第1の変換値の暗号データと、を取得し、乱数を生成し、前記乱数を前記n個の第1の変換値の暗号データにそれぞれ演算して第2の暗号データを求め、前記照合要求装置に送信し、
     前記工程(b)において、
     前記照合要求装置は、前記第2の二値ベクトルに前記第2の変換を施してなる前記第2の変換値を求め、前記各第2の変換値を前記照合装置から受信した前記第2の暗号データの各々にスカラー演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して前記第1の変換値と前記第2の変換値を乗算した値の総和の前記第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した第6の暗号データを求め、前記検証装置に送信する、ことを特徴とする請求項23に記載の照合方法。
  26.  前記工程(a)において、
     前記照合装置が、前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施したn個の前記第1の変換値の暗号データを求める工程と、
     前記照合装置が、前記第1の二値ベクトルの要素の総和を暗号化した第5の暗号データを生成し、
     乱数を生成し、前記乱数を前記n個の第1の変換値の前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信する工程と、
     を含み、
     前記工程(b)において、
     前記照合要求装置は、前記第2の二値ベクトルに前記第2の変換を施してなるn個の前記第2の変換値を求め、前記各第2の変換値を、前記第2の暗号データの各々に演算し、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和の第3の暗号データを前記照合装置に送付し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除して、前記第1の変換値と第2の変換値を乗算した値の総和の第4の暗号データを求め、前記第4の暗号データと前記記憶装置に登録された前記第5の暗号データを加算した値を求め、暗号化したハミング距離として前記検証装置に送信する、ことを特徴とする請求項23に記載の照合方法。
  27.  前記工程(a)において、
     前記照合装置は、前記照合要求装置から照会要求を受けると、前記第1の二値ベクトルの各要素の暗号データを取得する工程と、
     前記第1の変換を構成する第1群の変換係数を生成する工程と、
     前記第1の二値ベクトルの各要素の暗号データを暗号化したまま、前記第1の二値ベクトルに前記第1の変換を施してなるn個の前記第1の変換値を求める工程と、
     さらに乱数を生成し、前記乱数を、前記n個の第1の変換値からなる前記第1の暗号データにそれぞれ演算して前記第2の暗号データを求め、前記照合要求装置に送信する工程と、
     さらに、前記第1群の変換係数の生成に用いた、前記第2の変換を構成する第2群の変換係数を前記照合要求装置に送信する工程と、
     を含み、
     前記工程(b)において、
     前記照合要求装置は、前記照合装置からの第2群の変換係数で規定される前記第2の変換を前記第2の二値ベクトルに施してなる前記第2の変換値を求め、前記第2の変換値を前記照合装置から受信した前記第2の暗号データの各々に演算して、前記第1の変換値に前記乱数を演算した値に前記第2の変換値を乗じた暗号データを求め、前記暗号データの総和からなる第3の暗号データを前記照合装置に送付し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置から送信された前記第3の暗号データから、前記乱数を削除し、前記第1の変換値と第2の変換値を乗算した値の総和の暗号データを求め、前記総和の暗号データと前記第1の二値ベクトルの各要素に関する第1の演算値を前記暗号鍵で暗号化した前記第5の暗号データを加算した第6の暗号データを前記検証装置に送信する、ことを特徴とする請求項23に記載の照合方法。
  28.  前記工程(a)の前に、
    (e)登録要求装置が、前記登録用のn次元の前記第1の二値ベクトルの各要素の暗号データを生成して記憶装置に送付する工程と、
    (f)前記記憶装置が、前記登録要求装置からの前記第1の二値ベクトルの各要素の暗号データを記憶する工程と、
     を含む、ことを特徴とする請求項26又は27に記載の照合方法。
  29.  前記工程(a)において、
     前記照合装置は、前記照合要求装置から照合要求を受けると、第1乃至第3の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信し、
     前記工程(b)において、
     前記照合要求装置は、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求め、前記照合装置に送信し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置からの前記第2の暗号データに前記第2の乱数を演算した第3の暗号データと、前記暗号鍵で暗号化されている前記第1の二値ベクトルの各要素の演算結果である暗号データと前記第3の乱数との演算結果である第4の暗号データと、前記生成した第1乃至第3の乱数のハッシュ値を前記検証装置に送信し、
     前記工程(d)において、
     前記検証装置は、前記照合装置からの前記第3、第4の暗号データを復号鍵で復号し、復号した値に基づくハッシュ値を計算し、前記ハッシュ値が、前記照合装置から受信したハッシュ値と不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする請求項17に記載の照合方法。
  30.  前記工程(a)において、
     前記照合装置は、前記照合要求装置から照合要求を受けると、第1、第2の乱数を生成し、前記第1の乱数を前記暗号鍵で暗号化した第1の暗号データを前記照合要求装置に送信し、
     前記工程(b)において、
     前記照合要求装置は、照合用の第2の二値ベクトルの各要素の第1の演算値と、前記第1の乱数の暗号データの第1の演算結果である第2の暗号データを求めて、前記照合装置に送信し、
     前記工程(c)において、
     前記照合装置は、前記照合要求装置からの前記第2の暗号データと、前記暗号鍵で暗号化されている前記第1の二値ベクトルの各要素の演算結果である第3の暗号データと、前記第2の乱数の演算結果である第4の暗号データと、前記生成した第1及び第2の乱数のハッシュ値とともに前記検証装置に送信し、
     前記工程(d)において、
     前記検証装置は、前記照合装置からの前記第4の暗号データを復号鍵で復号し、復号した値のハッシュ値を計算し、前記ハッシュ値が、前記照合装置から受信したハッシュ値と不一致の個数が予め定められた所定値以下であるか否かを判定し、不一致の個数が所定値以下であれば、受理、それ以外の場合、不受理とする、ことを特徴とする請求項17に記載の照合方法。
  31.  前記工程(a)の前に、
    (e)登録要求装置が、前記第1の二値ベクトルの各要素の第1の演算値を暗号鍵で暗号化した暗号データを記憶装置に送信する工程と、
    (f)前記記憶装置が、前記第1の二値ベクトルの各要素の前記第1の演算値の暗号データに対して乱数をそれぞれ生成する工程と、
    (g)前記記憶装置が、前記各乱数のハッシュ値を生成する工程と、
    (h)前記記憶装置が、前記各乱数を演算した暗号データと前記ハッシュ値を前記検証装置に送信する工程と、
    (i)前記検証装置は、前記記憶装置から送信された各暗号データを前記復号鍵で復号し、復号した各値のハッシュ値を求め、前記各ハッシュ値が、前記記憶装置から送信された対応するハッシュ値と一致するか判定し、不一致のものが一つでもあれば不受理とし、全て一致する場合、受理とする工程と、
    (j)前記記憶装置は、前記検証装置での検証結果が受理の場合、前記第1の演算値の暗号データを記憶する工程と、
     を含む、ことを特徴とする請求項29又は30に記載の照合方法。
  32.  乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する手段と、
     前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する手段と、
     暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、クエリとして検証装置に送信する手段と、
     復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるかを否か判定する前記検証装置から、検証結果を受信する手段と、
     を備えた、ことを特徴とする照合装置。
  33.  照合装置のコンピュータに、
     乱数を生成し、暗号鍵で暗号化されている第1の二値ベクトルに関する第1の値を暗号化したまま前記乱数との演算で得た暗号データ、又は、生成した前記乱数を前記暗号鍵で暗号化した暗号データを照合要求装置に送信する処理と、
     前記照合要求装置から、前記暗号データを暗号化したまま照合用の第2の二値ベクトルの要素との演算により得た暗号データを、受信する処理と、
     暗号鍵で暗号化されている前記第1の二値ベクトルに関する第2の値と、前記照合要求装置から送信された前記暗号データと、前記乱数とに基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の程度を検証するための、暗号データ、又は、前記暗号データと補助データを生成し、クエリとして検証装置に送信する処理と、
     復号鍵を用いて前記暗号データを復号した値、又は前記復号した値と前記補助データ、に基づき、前記第2の二値ベクトルと前記第1の二値ベクトルの不一致の要素の個数が予め定められた個数以下であるか否かを判定する前記検証装置から、検証結果を受信する処理と、
     を実行させるプログラム。
PCT/JP2017/044769 2016-12-15 2017-12-13 照合システム、方法、装置及びプログラム WO2018110608A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US16/469,486 US11128462B2 (en) 2016-12-15 2017-12-13 Matching system, method, apparatus, and program
JP2018556722A JP7127543B2 (ja) 2016-12-15 2017-12-13 照合システム、方法、装置及びプログラム
US17/397,431 US11882218B2 (en) 2016-12-15 2021-08-09 Matching system, method, apparatus, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-243709 2016-12-15
JP2016243709 2016-12-15

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/469,486 A-371-Of-International US11128462B2 (en) 2016-12-15 2017-12-13 Matching system, method, apparatus, and program
US17/397,431 Continuation US11882218B2 (en) 2016-12-15 2021-08-09 Matching system, method, apparatus, and program

Publications (1)

Publication Number Publication Date
WO2018110608A1 true WO2018110608A1 (ja) 2018-06-21

Family

ID=62558877

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/044769 WO2018110608A1 (ja) 2016-12-15 2017-12-13 照合システム、方法、装置及びプログラム

Country Status (3)

Country Link
US (2) US11128462B2 (ja)
JP (1) JP7127543B2 (ja)
WO (1) WO2018110608A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020121461A1 (ja) * 2018-12-12 2020-06-18 日本電気株式会社 照合システム、クライアントおよびサーバ
WO2020121460A1 (ja) * 2018-12-12 2020-06-18 日本電気株式会社 照合システム、クライアントおよびサーバ

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019014425A1 (en) * 2017-07-13 2019-01-17 Pindrop Security, Inc. SAFE PARTY WITH SEVERAL PARTIES KNOWING NO VOICE IMPRESSIONS
EP3493460A1 (en) * 2017-12-01 2019-06-05 Gemalto Sa Cryptography device having secure provision of random number sequences
US10665244B1 (en) 2018-03-22 2020-05-26 Pindrop Security, Inc. Leveraging multiple audio channels for authentication
US11093446B2 (en) * 2018-10-31 2021-08-17 Western Digital Technologies, Inc. Duplicate request checking for file system interfaces
KR102570070B1 (ko) * 2018-12-27 2023-08-23 삼성전자주식회사 일반화된 사용자 모델을 이용한 사용자 인증 방법 및 장치
CN109861820B (zh) * 2019-02-18 2021-05-25 吉林大学珠海学院 基于随机散列和位运算的加密解密方法和装置
WO2020216875A1 (en) * 2019-04-23 2020-10-29 Onespan Nv Methods and systems for privacy preserving evaluation of machine learning models
US20220321363A1 (en) * 2019-06-05 2022-10-06 Nec Corporation Collation system, client, and server
US11444774B2 (en) * 2020-01-08 2022-09-13 Tata Consultancy Services Limited Method and system for biometric verification
US11528134B2 (en) * 2020-03-24 2022-12-13 International Business Machines Corporation Authentication using transformation verification
EP3993308A1 (en) * 2020-10-29 2022-05-04 Zama SAS Fully homomorphic cryptography with improved data item representation
US11799643B2 (en) * 2021-01-19 2023-10-24 Bank Of America Corporation Collaborative architecture for secure data sharing
CN114610606B (zh) * 2022-02-25 2023-03-03 中国人民解放军国防科技大学 基于到达-定值分析的二进制模块相似性匹配方法及装置
US20230344632A1 (en) * 2022-04-22 2023-10-26 Vmware, Inc. Distributed registration and authentication via threshold secret sharing and additively homomorphic encryption

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012114452A1 (ja) * 2011-02-22 2012-08-30 三菱電機株式会社 類似度算出システム及び類似度算出装置及びコンピュータプログラム及び類似度算出方法
JP2016111594A (ja) * 2014-12-09 2016-06-20 日本電気株式会社 暗号文照合システム、方法、およびプログラム
JP2016114692A (ja) * 2014-12-12 2016-06-23 富士通株式会社 暗号処理装置、暗号処理方法、及び暗号処理プログラム
JP2016167037A (ja) * 2015-03-10 2016-09-15 富士通株式会社 暗号処理装置、暗号処理方法、および暗号処理プログラム

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4422981B2 (ja) * 2003-06-12 2010-03-03 パナソニック株式会社 暗号通信システム
US8392708B2 (en) * 2007-10-30 2013-03-05 Hewlett-Packard Development Company, L. P. Auditing data integrity
JP4526574B2 (ja) * 2008-03-31 2010-08-18 富士通株式会社 暗号データ管理システム、および暗号データ管理方法
CN102081727B (zh) * 2009-11-30 2014-04-30 中兴通讯股份有限公司 一种射频识别安全认证方法及系统
JP2014126865A (ja) 2012-12-27 2014-07-07 Fujitsu Ltd 暗号処理装置および方法
US10211986B2 (en) 2013-05-15 2019-02-19 Nec Corporation Program collation system, node, collation method, and computer-readable medium
JP2016012111A (ja) 2014-06-30 2016-01-21 富士通株式会社 暗号処理方法、暗号処理装置、および暗号処理プログラム
JP2016131335A (ja) 2015-01-14 2016-07-21 富士通株式会社 情報処理方法、情報処理プログラムおよび情報処理装置
KR102450295B1 (ko) * 2016-01-04 2022-10-04 한국전자통신연구원 암호 데이터의 중복 제거 방법 및 장치
JP6589051B2 (ja) * 2016-03-28 2019-10-09 株式会社日立製作所 データベースシステム及びデータ検索方法
JP6260067B1 (ja) * 2016-08-09 2018-01-17 Kddi株式会社 管理システム、鍵生成装置、車載コンピュータ、管理方法、及びコンピュータプログラム
US11178122B2 (en) * 2016-08-31 2021-11-16 I.X Co., Ltd. Data encryption and decryption method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012114452A1 (ja) * 2011-02-22 2012-08-30 三菱電機株式会社 類似度算出システム及び類似度算出装置及びコンピュータプログラム及び類似度算出方法
JP2016111594A (ja) * 2014-12-09 2016-06-20 日本電気株式会社 暗号文照合システム、方法、およびプログラム
JP2016114692A (ja) * 2014-12-12 2016-06-23 富士通株式会社 暗号処理装置、暗号処理方法、及び暗号処理プログラム
JP2016167037A (ja) * 2015-03-10 2016-09-15 富士通株式会社 暗号処理装置、暗号処理方法、および暗号処理プログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HIGO, HARUNA ET AL.: "Hidden Body Verification Method for Handling Binary-Vector Bioinformation. Abstracts of the 2017 Symposium on Cryptography and Information Security", INFORMATION AND COMMUNICATION ENGINEERS, 24 January 2017 (2017-01-24), pages 1 - 7 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020121461A1 (ja) * 2018-12-12 2020-06-18 日本電気株式会社 照合システム、クライアントおよびサーバ
WO2020121460A1 (ja) * 2018-12-12 2020-06-18 日本電気株式会社 照合システム、クライアントおよびサーバ
JPWO2020121460A1 (ja) * 2018-12-12 2021-10-21 日本電気株式会社 照合システム、クライアントおよびサーバ
JPWO2020121461A1 (ja) * 2018-12-12 2021-10-21 日本電気株式会社 照合システム、クライアントおよびサーバ
JP7259868B2 (ja) 2018-12-12 2023-04-18 日本電気株式会社 システムおよびクライアント
JP7302606B2 (ja) 2018-12-12 2023-07-04 日本電気株式会社 システムおよびサーバ
US12063293B2 (en) 2018-12-12 2024-08-13 Nec Corporation Collation system, client and server

Also Published As

Publication number Publication date
US20210367783A1 (en) 2021-11-25
JP7127543B2 (ja) 2022-08-30
US11882218B2 (en) 2024-01-23
US11128462B2 (en) 2021-09-21
US20190394039A1 (en) 2019-12-26
JPWO2018110608A1 (ja) 2019-10-24

Similar Documents

Publication Publication Date Title
JP7127543B2 (ja) 照合システム、方法、装置及びプログラム
JP6459658B2 (ja) 暗号処理装置、暗号処理方法、および暗号処理プログラム
JP7259868B2 (ja) システムおよびクライアント
JP6931247B2 (ja) 暗号文照合システム、方法、およびプログラム
JP2017076839A (ja) 暗号処理方法、暗号処理装置、および暗号処理プログラム
Maitra et al. An enhanced multi‐server authentication protocol using password and smart‐card: cryptanalysis and design
JP2016131335A (ja) 情報処理方法、情報処理プログラムおよび情報処理装置
JP7302606B2 (ja) システムおよびサーバ
JP7231023B2 (ja) 照合システム、クライアントおよびサーバ
JP2016114692A (ja) 暗号処理装置、暗号処理方法、及び暗号処理プログラム
WO2014185450A1 (ja) 照合システム、ノード、照合方法およびプログラム
JP6229716B2 (ja) 照合システム、ノード、照合方法およびプログラム
JP7323004B2 (ja) データ抽出システム、データ抽出方法、登録装置及びプログラム
JP6738061B2 (ja) 暗号文照合システム、方法、および記録媒体
Barman et al. A novel secure key-exchange protocol using biometrics of the sender and receiver
Abidin On privacy-preserving biometric authentication
Chen et al. Privacy-aware smart card based biometric authentication scheme for e-health
Sarkar et al. A novel session key generation and secure communication establishment protocol using fingerprint biometrics
WO2018174063A1 (ja) 照合システム、方法、装置及びプログラム
JP5799635B2 (ja) 暗号データ検索システム、装置、方法及びプログラム
TWI381696B (zh) 基於利用個人化秘密的rsa非對稱式密碼學之使用者認證
Irshad et al. A secure mutual authenticated key agreement of user with multiple servers for critical systems
De Lacerda Filho et al. Improving Data Security, Privacy, and Interoperability for the IEEE Biometric Open Protocol Standard
Tan et al. On the realization of fuzzy identity‐based identification scheme using fingerprint biometrics
Joshi et al. Multifactor Authentication Scheme for Privacy Preserved Data Security

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17882132

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018556722

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17882132

Country of ref document: EP

Kind code of ref document: A1