Partially distributed identity verification method

The distributed identity verification method addresses inefficiencies in existing systems by using encrypted biometric data and secondary decryption keys to produce partial results quickly and securely, reducing execution time and enhancing security in single-database systems.

FR3146361A1Active Publication Date: 2024-09-06IDEMIA PUBLIC SECURITY FRANCE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2023001900
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2024-09-06
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

Existing 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.

Method used

A distributed identity verification method that calculates a numerical score representing a distance between biometric data using encrypted reference data, employing secondary decryption keys and masks on distinct devices to produce partial results without calculating the score in plaintext, allowing for faster and secure verification.

Benefits of technology

The method significantly reduces execution time and enhances security by ensuring the score is never calculated in plaintext, while enabling verification in systems with a single database, providing robustness against attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000
    Figure 00000000_0000
Patent Text Reader

Abstract

A method comprising: calculating (204) a ciphertext ( ) representing a score representing the distance between a test biometric data point ( ) and a reference data point ( ); implementing the following steps by a device with index i=1,2: processing the ciphertext ( ) and masking the score using a secondary decryption key ( ) of index i and a secondary mask ( ) of index i, the processing producing a data point ( ) representing the score in a decrypted form masked by a primary mask ( ) without having calculated the score in plaintext, and generating (308) a partial result ( ) of index i from the data point ( ) and a demasking data point ( ) of index i; wherein the partial results ( , ) allow the calculation of a result ( ) indicating whether the test biometric data point matches the reference data point. Figure for the abstract: Fig. 3
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method for partially checking identity distributed FIELD OF THE INVENTION

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

[0002] — A conventional method for checking whether an individual is enrolled in a database data includes the following steps. Biometric data is acquired test relating to the individual to be tested. Then, a score is calculated repre- indicative of a distance between the test biometric data and a bio- reference metric contained in the database. This score is then compared with a threshold. A control result indicating whether the test biometric data whether or not it corresponds to the reference biometric data is obtained at the end of this comparison.

[0003] — In the document entitled “Colmade: Collaborative Masking in Auditable Decryption for BFV-based Homomorphic Encryption”, a method has been described taking up this general principle, with however the following particularities. Firstly, the Colmade process performs the calculation of the score and the comparison with a threshold in the encrypted domain. Second, the Colmade process includes central steps tralized, and steps distributed over several entities: these entities carry out calculations in parallel producing partial results, these partial results then having to be recombined in order to achieve the control result.

[0004] However, the execution time of the Colmade process turns out to be long. Statement of the invention

[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 figure of a score representing a distance between a bio- data test metric relating to an individual and biometric data of reference, the score figure being previously calculated from the data biometric test and an encrypted version of the reference biometric data, the cipher of the 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 of decryption and masking processing to the encrypted score using a secondary decryption key of index i and a secondary mask of index i, the processing of de- encryption and masking 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 of an unmasking data of index i associated with the mask se- secondary of index i, in which: the respective index devices 1 and 2 are distinct, the secondary decryption keys of respective indices 1 and 2 are from a primary decryption key associated with the key of encryption, the secondary masks of respective indices 1 and 2 come from the primary mask. 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 performed 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. 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. The proposed method may also include the following characteristics, taken alone or combined with each other whenever possible. Preferably, 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 score figures, the secondary decryption key of index i, the secondary mask of index i, and a hazard 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 representing the score in a deciphered form using the secondary decryption key (sk) 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. Preferably, the intermediate data (ca, ) of index i is calculated as follows: sf; {ea} =c,(sk) + (r),+e in which €s, is the first part of the score number, (sk}, is the secondary decryption key of index i, (r) is the secondary mask of index i, ; € is the risk generated by the index device i. Preferably, the data representing the score in a form decrypted using the secondary decryption key {sk} of index i then masked using the primary mask î is calculated as follows: :=|| 5[e…+ (ca,} + (es, hi d, in which (ce, ) is the intermediate data of index 1, 3 is the intermediate data of index 2, (es, ), This is the second part of the score figure, ! and À are two integers constituting parameters of a scheme of Brakerski / Fan-Vercauteren encryption, Las Î denotes the rounding operator to the nearest integer, 1 … $ denotes the modulo q operator, Lars 1, denotes the modulo t operator. Preferably, the control result is equal to the sum of the partial results of respective indices 1 and 2. Preferably, at least one of the following data is single-use data for the biometric test data, or even for the score code: the secondary mask of index i, the unmasking data of index i, the secondary decryption key of index 1. Preferably, the calculation of the score figure is a linear or polynomial calculation. 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 index results respective 1 and 2 by an output device separate from the index devices 1 and 2. Also provided is 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. Also provided is a computer-readable memory storing device-executable instructions for executing the steps of the proposed method. Also provided is a system comprising: a server configured to calculate a number of a score representing a distance between a biometric test data relating to an individual and a reference biometric data, the score figure being pre- possibly calculated from the biometric test data and a code of the reference biometric data, the encrypted biometric data of reference resulting from an encryption of the reference biometric data to using a primary encryption key, two devices 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 decryption and masking processing to the ciphertext of the score using a secondary decryption key of index i and of a secondary mask of index 1, the decryption processing and masking producing data representing the score under a form deciphered 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 of an unmasking data of index i associated with the mask se- secondary of index i, in which: the secondary decryption keys of respective indices 1 and 2 are from a primary decryption key associated with the key of encryption, 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 the biometric data test data corresponds or not to the reference biometric data. DESCRIPTION OF FIGURES 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: [Fig.1] and [Fig.2] schematically illustrate different devices forming part of a system according to one embodiment, usable for controlling the identity of individuals. [Fig.3] is a flowchart of steps of an identity control method according to one embodiment. Throughout the figures, similar elements bear identical references. DETAILED DESCRIPTION OF THE INVENTION System for controlling the identity of an individual Referring to [Fig.1] and [Fig.2], 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. 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. 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. The communication interface 12 is for example of the wireless radio type, and uses any communication protocol (Wi-Fi, Bluetooth, etc.). 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. 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. 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. 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. The memory 24 stores a database of confidentially protected biometric data. The database contains biometric data relating to previously enrolled individuals. The biometric data of an enrolled individual are not in clear text in the database, but are instead confidentially protected, i.e., are in encrypted form, using encryption that will be described below. 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. 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 [Fig. 1]. 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 constitute one of the participating devices 3. 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 are also applicable to the processor 40, the communication interface 42 and the memory 44, 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 The following steps are being implemented preliminary within the system. The processor 40 of the trusted server 4 generates an encryption key PX and an associated decryption key sk, the two keys forming a pair of cryptographic keys, typically an asymmetric key pair. The keys are for example generated randomly. The keys pk, Sk are stored in memory 44, The trusted server 4 sends the encryption key PX to the enrollment device, which is therefore a public key. The decryption key sK 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 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. The biometric sensor 66 of the enrollment device 6 acquires a reference biometric data item}, relating to the reference individual. The processor 60 encrypts the reference biometric data Y using the encryption key pk, so as to obtain an encrypted version ©. of the biometric data Y,. Denoting BF V.encr() the encryption function used during this step, we have: cy, = BFVencr(y, pk) In particular, it is possible to use encryption according to the Brakerski / Fan-Vercauteren (BFV) scheme during this step. The encrypted “>. is transmitted by the enrollment device 6 to the storage server 2 via the communication interface 62. 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. 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 PX is used by the processor 60. Identity check With reference to [Fig. 3], 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. 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. 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 “test biometric data” in order to distinguish it from the reference biometric data discussed previously, the respective encrypted values ​​of which are stored by the storage server 2. In a step 104, the control device 1 sends the biometric test data Ÿ to the server 2, via the communication interface 12. In a step 202, the server 2 receives the biometric test data via the communication interface 22. In a step 204, the server 2 applies a BFV.dist( ) processing taking as input the test biometric data * and the encrypted ©“, the processing producing the encrypted ©s of a score *, this score * representing a distance between the test biometric data * and the reference biometric data Ÿ,: c,= BFV dist(x, c») The calculation of the ciphertext ©s is carried out during this step in the encrypted domain. In other words, this step does not include a calculation of the score * in plaintext. A person skilled in the art can use homomorphic encryption methods known from the state of the art. technical. The BFV.disr( ) function is preferably a linear or polynomial function. For example, the distance represented by the score is a scalar product between the test biometric data * and the reference biometric data Yy. Thus, the cipher ©s is the cipher of such a scalar product. In the following, we will consider an embodiment in which the ciphertext 's of the score is presented in the form of a pair of data '©s., 's,, These two data constitute two different portions of the ciphertext. In a step 206, the storage server sends the encrypted “s to the device 1 in response to the biometric test data *, In a step 106, the control device 1 receives the encrypted “s. In a step 108, the control device 1 sends to the trusted server 4 a request associated with the cipher “s. In a step 110, the control device 1 sends the ciphertext 's to each of the participating devices 3. Steps 108, 110 can be performed in any order or simultaneously. In a step 402, the trusted server 4 receives the request sent during step 108. In a step 404, the trusted server 4 generates two secondary decryption keys (sk) > (sk), derived from the decryption key sk, Furthermore, in a step 406, the trusted server 4 generates a primary mask F. The primary mask “is generated by a function FSS.Seru®). The function FSS.Setu]X) can for example be the function Funshade.Setuzx) described in the document “Funshade: Functional Secret Sharing for Two-Party Secure Thresholded Distance Evaluation”. In a 408 step, the server generates: two secondary masks Çr) > {r), from the primary mask ”, and two unmasking data Æ,, Æ+ associated with them. Steps 404 and 406 may be implemented in any order. In particular, step 404 may be performed before, during, or after steps 406, 408. 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 (sk) ÿ of index i, the secondary mask (r), of index i, and the unmasking data Æ; of index i which is associated with the secondary mask {r), of index i. On the other hand, any data of index 1 generated by the trusted server A in steps 402, 404 is not sent to the participating device 3 of index 2, and vice versa. For i being equal to 1 and 2, the participating device 3 of index i implements the following steps. In a step 302, the participating device 3 of index i receives the encrypted “s, In a step 304, the participating device 3 of index i receives: the secondary decryption key { sk) of index i, x the secondary mask (») of index i, and i the unmasking data Æ; of index i, which is associated with the secondary mask (r); of index i. Steps 302 and 304 may occur in any order, depending on how the control device 1 operates. In a step 306, the participating device 3 of index i applies a decryption and masking process ColMasKDecr{ ) to the encrypted data of the score. This process produces a data item 3 representing the score in a form decrypted using the primary decryption key and then masked using the mask ”. We can thus note: 2 ColMaskDecr(c, (sk), (r).) If we decrypted the ciphertext ©» using the primary decryption key sk, we would obtain the plaintext score *. If we then applied masking to the plaintext score * using the primary mask ”, we would obtain the data *. However, the decryption and masking process ColMaskDecr( ) does not work according to this sequence of operations. The decryption and masking process ColMaskDeecr{ ) has the particular property of arriving at the data $ without performing an intermediate calculation of the plaintext score *. We will now detail an embodiment of the decryption and masking processing Co!MaskDecr{ ) in which this property is obtained. In this embodiment, the ciphertext “s of the score is presented in the form of a pair of data €s,, ©s,, These two data constitute two different portions of the ciphertext ©s. The participating device 3 of index i calculates an intermediate data (ci ) of index Se 14 i from the following data: the part * of the cipher s, the secondary decryption key (sk) of index i, the mask () of index i, and a random number 'i generated by the ii device of index i. This calculation can be as follows: (en, ) #04 (sk) + 07) +6 The participating device 3 of index i sends the intermediate data (cs, ) of index i sh; to the other participating device 3 of index j#i . Furthermore, the participating device 3 of index i receives an intermediate data (es ) of index j#i produced by the other 5 1; y of index i receives an intermediate data (cz ) of index j#i produced by the other 5}; # participating device of index j#i. Ultimately, two intermediate data ( %, ) ; (ce, ) are exchanged between the two participating devices 3 of respective indices 1 and 2. The participating device 3 with index i calculates the data $ from the intermediate data (cz ) ; (ce ) , and from the part “s of the number (©s) of the score. This calculation big \% / 2 can be carried out as follows: :=|| 5[eu+ (es ) + (a, hi Ji in which (cs, to is the intermediate data of index 1, is the intermediate data of index 2, (ea,}, Es is the second part of the cipher (C5) of the score, " and Ÿ are two integers constituting parameters of a scheme of Brakerski / Fan-Vercauteren encryption, The Î denotes the rounding operator to the nearest integer, 1-—k denotes the operator modulo q, Êree |, denotes the modulo t operator. In this embodiment, we have: ?=<+r In this equation, the sign 7 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 { r); which is derived from it. In a step 308, the participating device 3 of index i calculates a partial result 9 of index i from the data and the unmasking data &; of index i: 0;=FSS.eval(3, k;) In a step 310, the participating device 3 of index i sends the partial result © to the control device 1. The processing implemented by the participating device 3 of index i is completed. As indicated previously, 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 °I, 2 are generated. The pair of partial results °i, 2 has the property of allowing the calculation of a control result ° indicating whether the test biometric data * corresponds or not to 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 O1, O2. In a step 112, the control device 1 receives the two partial results °i, °2 respectively generated and sent by the two participating devices 3. In a step 114, the control device 1 calculates the control result ° from the two partial results °I, 2 received. As indicated above, the control result indicates whether the test biometric data corresponds or not to the reference biometric data. In one embodiment, the control result ° is obtained by summing the partial results, as follows: 0=0;+05 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 ”, the secondary decryption keys and the unmasking data (the threshold is in some way encoded by these data). In practice, the control result ° can be a Boolean. If the control result ° indicates that the test biometric data corresponds to 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. If the control result indicates that the test biometric data does not correspond to the reference biometric data, then it is considered that the individual controlled is not the reference individual to whom the reference biometric data relates. 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 Y1 ---3u--- "y. These U implementations can be sequential. As a variant, it is therefore possible to launch U processes in parallel, each implementing the steps 202 to 116 described previously, and to aggregate the final results at step 308 (therefore 0; = Read or at step 114 (so p = L2n0iu" The method described above may be subject to other variants. It will be noted that in the method embodiment shown in [Fig. 3] 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. 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 these data are reused several times for different reference users referenced in the database of the storage server 2, during an identity check of the individual to which * 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 that a new test biometric data is acquired. 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. Furthermore, it has been assumed so far that the data provided by the server 4 (secondary keys, masks, unmasking data) are generated after the reception of a biometric data item *. 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 item *. Thus, all or part of steps 404, 406, 408, 410 and 304 can occur before step 102 (in this case, step 108 is not implemented, and neither is step 402). 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. The (6, L, of the participating devices 3 of a pair, are only exchanged between the participating devices 3 of said pair. Furthermore, for each pair of par- participants 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. 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

Claims

1. A method comprising: calculation (204) of a figure (€s) of a score representing a distance between a test biometric data (*) relating to an individual and biometric data of reference (>), the figure (€s) of the score being previously calculated from the biometric test data and a encrypted (€) of the reference biometric data, the encrypted of the reference biometric data resulting from a encryption of the reference biometric data (y) to using a primary encryption key (PK), for i being equal to 1 and 2, implementation of the following steps by a device of index i: application (306) of a decryption treatment and of masking the encrypted ('s) of the score using a secondary decryption key ( ( sk) ) of index i and i of a secondary mask ({}) of index i, the decryption and masking processing producing a data (9) representing the score in a form deciphered and masked by a primary mask (”), and this without having calculated the score clearly, generation (308) of a partial result (°;) of index i at from the data ({*) and an unmasking data () of index i associated with the secondary mask (( rs) of index i, in which: the respective index devices 1 and 2 are distinct, secondary decryption keys ( (sk) > (sk) of respective indices 1 and 2 come from a de- primary encryption (sÆ) associated with the key of encryption (pk), the secondary masks ( { r) ? r}9 of indices respective 1 and 2 are from the primary mask (”), the partial results (°1, 2) of respective indices 1 and 2 allow the calculation of a control result (°) indicating whether the biometric test data matches or not the biometric data of reference.

2. Method according to the preceding claim, in which the treatment of decryption and masking implemented by the index device It includes the following steps: calculation of an intermediate data item “Ca) ) of index i to i from the following data: a first part ('5) of the number (“s) of the score, the secondary decryption key (sk) .) of index i, the secondary mask r)) of index i, and a random factor (Éi) generated by the device with index i, reception of an intermediate data ic G} ) of index j 9 j sent by the jxi index device, calculation of the data (*) representing the score in a de- encrypted using the secondary decryption key (sk) of index i then masked by the mask (”), from the data following: intermediate data es, ), (cs, )) of respective indices 1 and 2, a second part ('5:) of the number (€s) of the score.

3. Method according to the preceding claim, in which the data inter- median (ca, ) of index i is calculated as follows: î (a, ) =eulsk) + (r),e in which €s, is the first part of the number (Cs) of the score, (sk) ;is the secondary index decryption key (7) , is the secondary mask of index i, 7 test the randomness generated by the device with index i.

4. A method according to any one of claims 2 and 3, wherein the data() representing the score in a decrypted form using the secondary decryption key (sk), index i then masked using Î of the primary mask (7) is calculated as follows: =|| #|en+ (ea )+ (a, AN 4 in which (cs, ) is the intermediate data with index 1, 1 is the intermediate data of index 2, (ea), 'a is the second part of the number (€s) of the score, * and Ÿ are two integers constituting parameters of a Brakerski encryption scheme / Fan-Vercauteren, Las 1 denotes the integer rounding operator closer, 1-1 denotes the modulo q operator, Lass J, denotes the modulo t operator.

5. A method according to any preceding claim, in which control result (°) is equal to the sum of the partial results (C1 2) of respective indices 1 and 2.

6. A method according to any preceding claim, in which at least one of the following data is a data for use unique for the biometric test data (*), or even for the encrypted data ( €s) of the score: the secondary mask of index i, the unmasking data of index 1, the secondary decryption key with index i.

7. A method according to any preceding claim, in which the calculation of the number (Cs) of the score is a linear or po- calculation lynomial.

8. A method according to any preceding claim, in which the calculation of the figure (C5) is implemented implemented by a server separate from index devices 1 and 2, and / or the output result is calculated from the partial results ( 2» 2) of respective indices 1 and 2 by an output device distinct from index devices 1 and 2.

9. Computer program product comprising code instructions of program for executing the steps of the method according to one any of the preceding claims, when this program is executed by a system comprising the respective index devices 1 and 2.

10. Computer readable memory storing instructions executable by a device for carrying out the steps of the method according to one any of claims 1 to 8.

11. | System comprising: a server (2) configured to calculate a cipher(s) of a score representing a distance between a biometric data test (*) relating to an individual and bio-data reference metric (*',:), the number (€s) of the score being pre- possibly calculated from the biometric test data and an encrypted (€*«) of the reference biometric data, the encrypted reference biometric data resulting from a encryption of the reference biometric data (>) to using a primary encryption key (PK), two devices (3) of respective indices 1 and 2, in which for i being equal to | and 2, the device with index i is configured For: apply decryption and encryption processing masking the score using a key secondary decryption (sk) ) of index i and Î of a secondary mask ({ >) ) of index i, the decryption and masking processing producing a data (*) representing the score in a form deciphered and masked by a primary mask (”), and this without having calculated the score clearly, generation of a partial result (?#) of index i from of data (3) and of an unmasking data (k;) of index i associated with the secondary mask ({ r)) of index i, which : secondary decryption keys ( {sk ) e (sk) of respective indices 1 and 2 come from a de- primary encryption (sk) associated with the key of encryption (PK), secondary masks ({#) > {r).) of indices respective 1 and 2 are from the primary mask (”), the partial results (Pi, 2) of respective indices 1 and 2 allow the calculation of a control result (°) indicating whether the biometric test data matches or not the biometric data of reference.