Method for checking a partially distributed identity

The partially distributed identity verification method addresses inefficiencies in conventional methods by using decryption and masking treatments on participating devices to quickly verify biometric data against encrypted references, enhancing both speed and security within a single database system.

WO2024179861A1PCT designated stage expired Publication Date: 2024-09-06IDEMIA PUBLIC SECURITY FRANCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/054066
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2024-02-16
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional identity verification methods, such as the Colmade process, are inefficient and require excessive execution time due to centralized calculations, and often necessitate the joint use of multiple databases, compromising security and efficiency.

Method used

A partially distributed identity verification method that calculates a score representing the distance between biometric test data and encrypted reference data using a primary encryption key, applying decryption and masking treatments with secondary keys and masks on participating devices to produce partial results without calculating the score in plaintext, thereby reducing execution time and enhancing security.

Benefits of technology

This method significantly reduces execution time while maintaining security by processing biometric data in a decentralized manner, allowing for faster control results with equal computing resources and enabling secure verification without storing plain biometric data in multiple databases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024054066_06092024_PF_FP
    Figure EP2024054066_06092024_PF_FP
Patent Text Reader

Abstract

The invention relates to a method comprising: calculating (204) an encrypted version (c s ) of a score representing a distance between an item of test biometric data (x) and an item of reference data (y u ; performing the following steps by means of a device with an index i=1, 2: performing a processing step for decrypting and masking the encrypted version (c s ) of the score using a secondary decryption key ((sk) i ) with an index i and a secondary mask ((r) i ) with an index i, the processing step producing an item of data (ŝ) representing the score in decrypted form and masked by a primary mask (r) without having calculated the cleartext score, and generating (308) a partial result (o i ) with an index i on the basis of the item of data (ŝ) and an unmasking item of data (k i ) with an index i; wherein the partial results (o 1, o 2) enable a result (o) indicating whether the item of test biometric data corresponds to the item of reference data to be calculated.
Need to check novelty before this filing date? Find Prior Art

Description

Partially distributed identity control method FIELD OF THE INVENTION

[0001] The present disclosure relates to an identity verification method. STATE OF THE ART

[0002] A conventional method for verifying whether an individual is enrolled in a database comprises the following steps. A test biometric data item relating to the individual to be checked is acquired. Then, a score representative of a distance between the test biometric data item and a reference biometric data item contained in the database is calculated. This score is then compared with a threshold. A control result indicating whether or not the test biometric data item corresponds to the reference biometric data item is obtained at the end of this comparison.

[0003] In the paper entitled "Colmade: Collaborative Masking in Auditable Decryption for BFV-based Homomorphic Encryption", a method was described that follows this general principle, but with the following specific features. First, the Colmade method performs the calculation of the score and the comparison with a threshold in the encrypted domain. Second, the Colmade method includes centralized steps, and steps distributed across several entities: these entities perform parallel calculations producing partial results, these partial results then having to be recombined in order to arrive at the audit result.

[0004] However, the execution time of the Colmade process is long.

[0005] An object of the invention is to verify whether an individual is enrolled in a database without requiring excessive execution time and in a secure manner.

[0006] This aim is achieved by a method comprising the following steps:calculation of a score cipher representing a distance between a test biometric data item relating to an individual and a reference biometric data item, the score cipher being previously calculated from the test biometric data item and a cipher of the reference biometric data item, the cipher of the reference biometric data item resulting from an encryption of the reference biometric data item using a primary encryption key, for i being equal to 1 and 2, implementation of the following steps by a device of index i:application of a decryption and masking processing to the score cipher using a secondary decryption key of index i and a secondary mask of index i, the decryption and masking processing producing data item representing the score in a decrypted form masked by a primary mask, and this without having calculated the score in plain text,generation of a partial result of index i from the data and an unmasking data of index i associated with the secondary mask of index i, in which: the devices of respective indices 1 and 2 are distinct, the secondary decryption keys of respective indices 1 and 2 come from a primary decryption key associated with the encryption key, the secondary masks of respective indices 1 and 2 come from the primary mask.,

[0007] In the proposed method, the step of calculating the score code constitutes a centralized step that is much faster to execute than the centralized step carried out in the Colmade method. The inventors were able to observe that this centralized step in combination with the processing distributed on at least one pair of participating devices makes it possible to obtain a control result more quickly than with the Colmade method, with equal computing resources. In particular, the masking carried out provides security because the clear score is never calculated.

[0008] Another advantage of the proposed method is that it can be implemented in a system where the reference biometric data are stored in a single database. This is an advantage over methods requiring the joint use of several different databases.

[0009] The proposed method may also include the following characteristics, taken alone or combined with each other whenever possible.

[0010] Preferably, the decryption and masking processing implemented by the device of index i comprises the following steps: calculation of an intermediate data item of index i from the following data: a first part of the score cipher, the secondary decryption key of index i, the secondary mask of index i, and a random number generated by the device of index i, reception of an intermediate data item of index j sent by the device of index j≠i, calculation of the data item representing the score in a decrypted form using the secondary decryption key of index i then masked by the mask, from the following data: the intermediate data of respective indices 1 and 2, a second part of the score figure.

[0011] Preferably, the intermediate data of index i is calculated as follows:

[0012] in which is the first part of the score number, is the secondary decryption key of index i, is the secondary mask of index i, is the randomness generated by the device with index i.

[0013] Preferably, the data representing the score in a decrypted form using the secondary decryption key of index i then masked using the primary mask is calculated as follows:

[0014] in which is the intermediate data with index 1, is the intermediate data of index 2, is the second part of the score figure, And are two integers constituting parameters of a Brakerski / Fan-Vercauteren encryption scheme, denotes the rounding operator to the nearest integer, denotes the modulo q operator, denotes the modulo t operator.

[0015] Preferably, the control result is equal to the sum of the partial results of respective indices 1 and 2.

[0016] Preferably, at least one of the following data is a single-use data for the biometric test data, or even for the score encryption: the secondary mask of index i, the unmasking data of index i, the secondary decryption key of index i.

[0017] Preferably, the calculation of the score figure is a linear or polynomial calculation.

[0018] Preferably, the calculation of the cipher is implemented by a server separate from the devices of indices 1 and 2, and / or the output result is calculated from the partial results of respective indices 1 and 2 by an output device separate from the devices of indices 1 and 2.

[0019] There is also provided a computer program product comprising program code instructions for executing the steps of the proposed method, when this program is executed by a device or a set of devices. There is further provided a computer-readable memory storing device-executable instructions for executing the steps of the proposed method.

[0020] There is also provided a system comprising:a server configured to calculate an encrypted score representing a distance between a test biometric data item relating to an individual and a reference biometric data item, the encrypted score being previously calculated from the test biometric data item and an encrypted reference biometric data item, the encrypted reference biometric data item resulting from an encryption of the reference biometric data item using a primary encryption key,two devices with respective indices 1 and 2, in which for i being equal to 1 and 2, the device with index i is configured to:apply a decryption and masking processing to the encrypted score item using a secondary decryption key with index i and a secondary mask with index i, the decryption and masking processing producing data item representing the score in a decrypted form masked by a primary mask,and this without having calculated the score in clear, generation of a partial result of index i from the data and an unmasking data of index i associated with the secondary mask of index i, in which: the secondary decryption keys of respective indices 1 and 2 come from a primary decryption key associated with the encryption key, the secondary masks of respective indices 1 and 2 come from the primary mask, the partial results of respective indices 1 and 2 allow the calculation of a control result indicating whether or not the test biometric data corresponds to the reference biometric data., DESCRIPTION OF FIGURES

[0021] Other characteristics, aims and advantages of the invention will emerge from the following description, which is purely illustrative and non-limiting, and which must be read in conjunction with the appended drawings in which:

[0022] They schematically illustrate different devices forming part of a system according to one embodiment, usable for controlling the identity of individuals.

[0023] This is a flowchart of steps of an identity control method according to one embodiment.

[0024] Throughout the figures, similar elements have identical references. DETAILED DESCRIPTION OF THE INVENTION System for controlling the identity of an individual

[0025] With reference to the and to the, a system comprises a control device 1, a storage server 2, and at least one pair of participating devices 3, a trusted server 4 and an enrollment device 6.

[0026] The control device 1 comprises a processor 10, a communication interface 12 for communicating with the storage server 2 and each participating device, a memory 14 and a biometric sensor 16.

[0027] The processor 10 is configured to implement certain steps of a method which will be described later. The processor may have any structure. The processor comprises one or more cores, each core being configured to execute the code instructions of a program so as to implement the aforementioned steps.

[0028] The communication interface 12 is for example of the wireless radio type, and uses any communication protocol (Wi-Fi, Bluetooth, etc.).

[0029] The memory 14 is adapted to store data manipulated or produced by the processor. The memory 14 is of any type. Conventionally, the memory comprises a volatile memory for storing data temporarily, and a non-volatile memory for storing data persistently, that is, in a manner that retains the data when the non-volatile memory is powered down.

[0030] The biometric sensor 16 is configured to acquire biometric data relating to individuals. For example, the biometric sensor comprises a camera configured to acquire images showing the face of an individual, and to extract biometric data from such images. Alternatively or additionally, the biometric sensor comprises a fingerprint sensor and / or an iris sensor.

[0031] In one embodiment, the control device 1 further comprises a gate 18 that can be closed to prevent an individual from accessing a secure area, and opened to allow such access. The processor 10 is in this case configured to control the opening and closing of the gate 18. For example, the control device 1 is located in an airport, and the secure area is a boarding area; in this particular application, the individuals wishing to access the boarding area are the passengers of a flight, whose identity is to be checked before boarding.

[0032] The storage server 2 comprises a processor 20, a communication interface 22 for communicating with the control device 1, and a memory 24. The information provided above about the processor 10 and the communication interface 12 is also applicable to the processor 20 and the communication interface 22.

[0033] Memory 24 stores a confidentially protected biometric database. The database contains biometric data relating to previously enrolled individuals. The biometric data of an enrolled individual is not in clear text in the database, but is instead confidentially protected, i.e., is an encrypted form, using encryption that will be described below.

[0034] Each participating device 3 comprises a processor 30, a communication interface 32 for communicating with the control device 1 and / or the other participating devices 3, and a memory 34. The information provided above about the processor 10 and the communication interface 12 is also applicable to the processor 30 and the communication interface 32. The communications between the interfaces 12, 22 and the communications between the interfaces 12, 32 may use the same or different protocols.

[0035] The participating devices 3 are distinct from each other. In the following, an embodiment will be detailed in which the participating devices 3 are distinct from the control device 1, the storage server 2, the enrollment device 4 and the enrollment device 6, as shown in the. However, in other embodiments, it may be envisaged that the control device 1, the storage server 2, the enrollment device 4 and / or the enrollment device 6 constitutes one of the participating devices 3.

[0036] The trusted server 4 has the function of generating cryptographic keys, some of which are used by other components of the system. The trusted server 4 comprises a processor 40, a communication interface 42 for communicating with the enrollment device 6 and with each participating device 3, and a memory 44. The information provided above about the processor 10, the communication interface 12 and the memory 14 is also applicable to the processor 40, the communication interface 42 and the memory 44.

[0037] The enrollment device 6 comprises a processor 60, a communication interface 62 for communicating with the trusted server 4 and with the storage server 2, a memory 64 and a biometric sensor 66. The information provided above about the processor 10, the communication interface 12, the memory 14 and the biometric sensor 16 is also applicable to the processor 60, the interface 62, the memory 64 and the biometric sensor 66. In the following, an embodiment will be detailed in which the enrollment device 6 is distinct from the control device 1. However, in other embodiments, the control device 1 could be used as an enrollment device. Key Generation

[0038] The following steps are being implemented preliminary within the system.

[0039] Processor 40 of Trusted Server 4 generates an encryption key and a decryption key associated, the two keys forming a cryptographic key pair, typically an asymmetric key pair. The keys are for example randomly generated.

[0040] The keys , are stored in memory 44.

[0041] Trusted server 4 sends the encryption key to the enrollment device , which is therefore a public key. The decryption key is on the contrary a private key specific to the trusted server 4, and which is therefore not communicated outside the trusted server 4. Enrollment

[0042] It is assumed that a reference individual to be enrolled presents himself near the enrollment device 6. In practice, the reference individual may be an individual who has obtained the right to access the secure area discussed previously. When the control device 1 is placed in an airport, the secure area may provide access to an aircraft, in which case the right to access the secure area is conferred by a travel ticket assigned to the reference individual.

[0043] The biometric sensor 66 of the enrollment device 6 acquires a reference biometric data relating to the reference individual.

[0044] Processor 60 encrypts the biometric data reference using the encryption key , so as to obtain a figure biometric data . Noting the encryption function used during this step, we have:

[0045]

[0046] In particular, it is possible to use encryption according to the Brakerski / Fan-Vercauteren (BFV) scheme during this step.

[0047] The cipher is transmitted by the enrollment device 6 to the storage server 2 via the communication interface 62.

[0048] The storage server receives the encrypted via its communication interface 22, and adds it to the database contained in its memory 24. The reference individual is then enrolled.

[0049] The preceding steps are repeated by the enrollment device 6 for several reference individuals to be enrolled, whereby the database contained in the memory 24 stores a plurality of ciphers relating to different reference individuals. Each time, the same encryption key is used by processor 60. Identity check

[0050] With reference to the, a method carried out by means of the system comprises the following steps. When it is mentioned in the following that the control device 1, the server 2, a participating device 3 or the trusted server 4 implements a processing, it will be understood that this processing is more precisely implemented by the corresponding processor 10, 20, 30, 40.

[0051] It is assumed that an individual whose identity is to be checked presents himself near the control device 1. For example, the individual to be checked presents himself at a boarding gate of an airport where the control device 1 has been installed, with the intention of boarding an aircraft.

[0052] In a step 102, the biometric sensor 16 acquires biometric data. relating to the individual to be checked. In the following, this biometric data is called “proof biometric data” to distinguish it from the reference biometric data discussed previously, the respective ciphers of which are stored by the storage server 2.

[0053] In a step 104, the control device 1 sends the biometric test data to the server 2. , via communication interface 12.

[0054] In a step 202, the server 2 receives the biometric test data via the communication interface 22.

[0055] In a step 204, the server 2 applies a processing taking as input the biometric test data and the encrypted , the processing producing the encrypted of a score , this score representing a distance between the test biometric data and the reference biometric data :

[0056]

[0057] Calculating the figure is carried out during this step in the encrypted domain. In other words, this step does not include a calculation of the score in clear. Those skilled in the art can use homomorphic encryption methods known from the state of the art.

[0058] The function is preferably a linear or polynomial function.

[0059] For example, the distance represented by the score is a scalar product between the biometric test data and the reference biometric data . So, the encrypted is the cipher of such a scalar product.

[0060] In the following, we will consider an embodiment in which the cipher of the score is presented in the form of a data pair , These two data constitute two different portions of the cipher.

[0061] In a step 206, the storage server sends the encrypted to device 1 in response to the test biometric data .

[0062] In a step 106, the control device 1 receives the encrypted .

[0063] In a step 108, the control device 1 sends to the trusted server 4 a request associated with the encrypted .

[0064] In a step 110, the control device 1 sends the encrypted to each of the participating devices 3. Steps 108, 110 can be performed in any order or simultaneously.

[0065] In a step 402, the trusted server 4 receives the request sent during step 108.

[0066] In a step 404, the trusted server 4 generates two secondary decryption keys , from the decryption key .

[0067] Furthermore, in a step 406, the trusted server 4 generates a primary mask . The primary mask is generated by a function . The function can for example be the function described in the document “Funshade: Functional Secret Sharing for Two-Party Secure Thresholded Distance Evaluation”.

[0068] In a step 408, the server generates: two secondary masks , from the primary mask , and two unmasking data , associated with them.

[0069] Steps 404 and 406 may be performed in any order. In particular, step 404 may be performed before, during, or after steps 406, 408.

[0070] In a step 410 implemented for i being equal to 1 and 2, the trusted server 4 transmits to the participating device 3 of index i: the secondary decryption key of index i, the secondary mask of index i, and the unmasking data of index i which is associated with the secondary mask of index i.

[0071] On the other hand, any data of index 1 generated by the trusted server 4 in steps 402, 404 is not sent to the participating device 3 of index 2, and vice versa.

[0072] For i being equal to 1 and 2, the participating device 3 of index i implements the following steps.

[0073] In a step 302, the participating device 3 of index i receives the encrypted .

[0074] In a step 304, the participating device 3 of index i receives: the secondary decryption key of index i, the secondary mask of index i, and the unmasking data of index i, which is associated with the secondary mask of index i.

[0075] Steps 302 and 304 may occur in any order, depending on how the control device 1 operates.

[0076] In a step 306, the participating device 3 of index i applies a decryption and masking processing to the encrypted of the score. This processing produces data representing the score in a form decrypted using the primary decryption key and then masked using the mask . We can thus note:

[0077]

[0078] If we deciphered the cipher using the primary decryption key , we would get the score in plain language. If we then applied masking to the score in clear using the primary mask , we would obtain the data .

[0079] Now, the decryption and masking treatment does not work according to this sequence of operations. The decryption and masking processing has the particular property of reaching the data without performing an intermediate calculation of the score in plain language.

[0080] We will now detail an embodiment of the decryption and masking processing. in which this property is obtained. In this embodiment, the encrypted of the score is presented in the form of a data pair , These two data constitute two different portions of the cipher. .

[0081] The participating device 3 of index i calculates an intermediate data of index i from the following data: the part of the encrypted , the secondary decryption key of index i, the mask of index i, and a random number generated by the device with index i.

[0082] This calculation can be as follows:

[0083]

[0084] Participating device 3 of index i sends the intermediate data of index i to the other participating device 3 of index j≠i. Furthermore, the participating device 3 of index i receives an intermediate data of index j≠i produced by the other participating device of index j≠i.

[0085] Ultimately, two intermediate data are exchanged between the two participating devices 3 of respective indices 1 and 2.

[0086] The participating device 3 of index i calculates the data from intermediate data , and from the part of the encrypted ( ) of the score. This calculation can be done as follows:

[0087] in which is the intermediate data with index 1, is the intermediate data of index 2, is the second part of the cipher ( ) of the score, And are two integers constituting parameters of a Brakerski / Fan-Vercauteren encryption scheme, denotes the rounding operator to the nearest integer, denotes the modulo q operator, denotes the modulo t operator.

[0088] In this embodiment, we have:

[0089]

[0090] In this equation, the sign represents an equality. Thus, the data turns out to be equal to the sum of the score in clear and the primary mask . However, it is not this sum calculation that is implemented by the participating device 3 of index i. Moreover, the participating device 3 of index i does not have knowledge of the primary mask r, but only of the secondary mask which came from it.

[0091] In a step 308, the participating device 3 of index i calculates a partial result of index i from the data and the unmasking data of index i:

[0092]

[0093] In a step 310, the participating device 3 of index i sends the partial result to the control device 1.

[0094] The processing implemented by the participating device 3 of index i is completed.

[0095] As previously indicated, the processing constituted by steps 302 to 310 is implemented twice: once by the participating device of index 1 and once by the participating device of index 2. Thus, two partial results , are generated.

[0096] The pair of partial results , has the property of allowing the calculation of a control result indicating whether the biometric test data matches or does not match the reference biometric data . On the other hand, it is not possible to calculate this control result on the basis of only one of the two partial results. , .

[0097] In a step 112, the control device 1 receives the two partial results , respectively generated and sent by the two participating devices 3.

[0098] In a step 114, the control device 1 calculates the control result from the two partial results , received. As indicated above, the control result indicates whether or not the test biometric data matches the reference biometric data.

[0099] In one embodiment, the control result is obtained by summing the partial results, as follows:

[0100]

[0101] Ultimately, the cryptographic processing carried out jointly by the two participating devices 3 and the step of calculating the control result o represent a comparison between a threshold and the distance between the test biometric data and the reference biometric data. The threshold is defined in the FSS.Setup() function used for the generation of the primary mask , secondary decryption keys and unmasking data (the threshold is somehow encoded by this data).

[0102] In practice, the control result can be a boolean.

[0103] If the control result indicates that the test biometric data matches the reference biometric data, then it is considered that the individual to whom the test biometric data relates has previously been enrolled with the server 2. Under these conditions, the processor 10 can command in a step 116 an opening of the gate 18, in order to allow the individual to access a secure area.

[0104] If the result of the check indicates that the test biometric data does not correspond to the reference biometric data, then it is considered that the individual checked is not the reference individual to whom the reference biometric data relates. .

[0105] The preceding steps (in particular those implemented by the participating devices 3) can be implemented U times for different ciphers stored by the storage server 2, and relating to different reference biometric data. . These U implementations can be sequential. Alternatively, we can therefore launch U processes in parallel, each implementing steps 202 to 116 described previously, and aggregate the final results at step 308 (therefore ), or at step 114 (so ).

[0106] The method described above can be subject to other variations.

[0107] It will be noted that in the method embodiment shown in and discussed so far, new masks, new unmasking data and new secondary decryption keys are generated in steps 404, 408 each time a score cipher is generated during an implementation of step 204. Thus, for i being equal to 1 and 2, the secondary mask of index i, the unmasking data of index i and the associated secondary decryption key of index i constitute single-use data for a particular cipher calculated during an implementation of a step 204. This embodiment is particularly robust to replay attacks.

[0108] In another embodiment, it could be envisaged that the data generated in steps 404, 408 are single-use data for a test biometric data. , which implies that this data is reused several times for different reference users referenced in the database of storage server 2, during an identity check of the individual to whom relates. In this other embodiment, the control device 1 can request the generation of new single-use data from the trusted server 4 each time a new biometric test data is acquired.

[0109] Although this is advantageous in terms of security, the secondary mask of index i, the unmasking data of index i and the associated secondary decryption key of index i may not be single-use data.

[0110] Furthermore, it has been assumed so far that the data provided by server 4 (secondary keys, masks, unmasking data) are generated after receiving a biometric data . However, this is not mandatory. Alternatively, these data can be generated during the preliminary phase during which the keys pk and sk are generated and be stored in the respective memories of the participating devices 3 in advance, therefore before the acquisition of the biometric data. . Thus, all or part of steps 404, 406, 408, 410 and 304 may occur before step 102 (in this case, step 108 is not implemented, and neither is step 402).

[0111] In a particularly advantageous embodiment, only one pair of participating devices 3 of respective indices 1 and 2 is used. The inventors have been able to observe that this embodiment is simple to implement, while being reasonably fast and secure. However, it is also possible to use several pairs of participating devices implementing the method described above. participating devices 3 of a pair, are exchanged only between the participating devices 3 of said pair. Furthermore, for each pair of participating devices 3, the sum of the partial results of the pair is equal to the control result . On the other hand, the trusted server 4 can provide different pairs of participants with different secondary keys and masking / unmasking data. The benefit of using multiple pairs of devices 3 is to provide redundancy to ensure that there has not been a calculation error by one pair, for example in the event of attacks.

[0112] In the above, a particular application of the identity control method has been discussed, in which the result of the control conditions access to a secure area. It is however understood that the method described can be used for other applications.

Claims

Method comprising:calculating (204) a cipher ( ) of a score representing a distance between a test biometric data ( ) relating to an individual and a reference biometric data ( ), the cipher ( ) of the score being previously calculated from the biometric test data and a figure ( ) of the reference biometric data, the encrypted reference biometric data resulting from an encryption of the reference biometric data ( ) using a primary encryption key ( ), for i being equal to 1 and 2, implementation of the following steps by a device of index i: application (306) of a decryption and masking treatment to the ciphertext ( ) of the score using a secondary decryption key ( ) of index i and a secondary mask ( ) of index i, the decryption and masking processing producing data ( ) representing the score in a deciphered form and masked by a primary mask ( ), and this without having calculated the score in clear, generation (308) of a partial result ( ) of index i from the data ( ) and an unmasking data ( ) of index i associated with the secondary mask ( ) of index i, in which: the devices of respective indices 1 and 2 are distinct, the secondary decryption keys ( , ) of respective indices 1 and 2 come from a primary decryption key ( ) associated with the encryption key ( ), secondary masks ( ) of respective indices 1 and 2 come from the primary mask ( ), the partial results ( , ) of respective indices 1 and 2 allow the calculation of a control result ( ) indicating whether or not the test biometric data matches the reference biometric data. Method according to the preceding claim, in which the decryption and masking processing implemented by the index device i comprises the following steps: calculation of an intermediate data item ( ) of index i from the following data: a first part ( ) of the encrypted ( ) of the score, the secondary decryption key ( ) of index i, the secondary mask ( ) of index i, and a random number ( ) generated by the device of index i, reception of an intermediate data ( ) of index j sent by the device of index j≠i, calculation of the data ( ) representing the score in a decrypted form using the secondary decryption key of index i then masked by the mask ( ), from the following data: intermediate data ( ) of respective indices 1 and 2, a second part ( ) of the encrypted ( ) of the score. Method according to the preceding claim, in which the intermediate data of index i is calculated as follows: in which is the first part of the cipher ( ) of the score, is the secondary decryption key of index i, is the secondary mask of index i, is the randomness generated by the device with index i. Method according to any one of claims 2 and 3, in which the data ( ) representing the score in a decrypted form using the secondary decryption key of index i then masked using the primary mask ( ) is calculated as follows: in which is the intermediate data with index 1, is the intermediate data of index 2, is the second part of the cipher ( ) of the score, And are two integers constituting parameters of a Brakerski / Fan-Vercauteren encryption scheme, denotes the rounding operator to the nearest integer, denotes the modulo q operator, denotes the modulo t operator. Method according to any one of the preceding claims, in the control result ( ) is equal to the sum of the partial results ( ) of respective indices 1 and 2. Method according to any one of the preceding claims, wherein at least one of the following data is a single-use data for the test biometric data ( ), or even for the encrypted ( ) of the score: the secondary mask of index i, the unmasking data of index i, the secondary decryption key of index i. A method according to any preceding claim, wherein calculating the cipher ( ) of the score is a linear or polynomial calculation. A method according to any preceding claim, wherein calculating the cipher ( ) is implemented by a server separate from the devices with indices 1 and 2, and / or the output result is calculated from the partial results ( ) of respective indices 1 and 2 by an output device separate from the devices of indices 1 and 2. Computer program product comprising program code instructions for executing the steps of the method according to any one of the preceding claims, when this program is executed by a system comprising the devices of respective indices 1 and 2. Computer readable memory storing instructions executable by a device for carrying out the steps of the method according to any one of claims 1 to 8. System comprising: a server (2) configured to calculate a cipher ( ) of a score representing a distance between a test biometric data ( ) relating to an individual and a reference biometric data ( ), the cipher ( ) of the score being previously calculated from the biometric test data and a figure ( ) of the reference biometric data, the encrypted reference biometric data resulting from an encryption of the reference biometric data ( ) using a primary encryption key ( ), two devices (3) of respective indices 1 and 2, in which for i being equal to 1 and 2, the device of index i is configured to: apply a decryption and masking treatment to the ciphertext ( ) of the score using a secondary decryption key ( ) of index i and a secondary mask ( ) of index i, the decryption and masking processing producing data ( ) representing the score in a deciphered form and masked by a primary mask ( ), and this without having calculated the score in clear, generation of a partial result ( ) of index i from the data ( ) and an unmasking data ( ) of index i associated with the secondary mask ( ) of index i, in which: the secondary decryption keys ( , ) of respective indices 1 and 2 come from a primary decryption key ( ) associated with the encryption key ( ), secondary masks ( ) of respective indices 1 and 2 come from the primary mask ( ), the partial results ( , ) of respective indices 1 and 2 allow the calculation of a control result ( ) indicating whether or not the test biometric data matches the reference biometric data.