The invention relates to a data processing method applied together by two parties, wherein a function of two variables is evaluated in a secure way by both parties, while having as inputs, vectors respectively held by each party.
The invention is notably applied to the protection of confidentiality of the vectors held by the parties, in a context wherein at least one of the parties is malicious, or malevolent.
From patent FR 2 992 124, a method is known for multiparty secure calculation of a function of several variables, evaluated at data respectively held by the different parties intervening in the calculation. The term “secure” means that at the end of the calculation method for the function, the result is known to at least one of the parties, but no party has learnt any information on the data held by said party or the other parties.
The method described in this patent is applied to the calculation of functions F written as a sum of sub-functions fi of two variables: F=Σi=1nfi, and to values in the set m of the integers comprised between 0 and m−1 wherein m is an integer, n is a positive integer corresponding to the number of sub-functions, and i is a mute index with values from 1 to n.
The method is for example applicable to the calculation of a Hamming distance between two biometric data X,Y each comprising n components xi, yi X=(x1, . . . xn), Y=(y1, . . . , yn), the data being held by two parties.
The calculation of the function is applied as follows.
A first party generates a set of n random values ri selected from the set m, and generates a set comprising the elements ri+fi(0,xi) and ri+fi(1,xi), for each i from 1 to n.
Both parties then execute a procedure called “oblivious transfer” procedure so that the second party recovers, for each i from 1 to n, depending on the value of the components yi of its datum Y, one of the two elements generated by the first party and which corresponds to ri+fi(yi,xi).
Generally, an oblivious transfer is a calculation operation between two parties P1 and P2. In this type of operation, P1 has a list of N indexed elements wherein N is a positive integer, and P2 is aware of the number N of elements of the list and selects an index comprised between 0 and N−1. By oblivious transfer, P2 recovers the ith element of P1, i.e. the element of P1 indexed by i.
P1 does not become aware of any information on the index of the element recovered by P2, and P2 does not recover any information on the other elements of the list held by P1.
There exist several oblivious transfer protocols, which for example are described in the following publications:
The oblivious transfer applied to the protocol described hereinbefore implies that the first party does not become aware of any information on the component yi of the second party, and the second party does not become aware of any information on ri+fi(1−yi, xi).
Next, the second party sums the data which it has received for each i and obtains a value T=Σi(ri+fi(yi, xi))=R+F(X,Y). The first party sums the random values ri which it has generated for obtaining R.
Next, one of the parties sends its result to the other one in order to obtain by a simple calculation the value of F(X,Y).
In order to evaluate the safety of a method in cryptography, the behavior of the parties is modeled. In particular, a “semi-honest” behavior is defined and a “malicious” behavior of the parties is defined to the method.
A semi-honest party is a party which, even if it tries to obtain information on the data held by the other party, will exactly follow the steps of the method. A malicious party is a party which does not necessarily observe the steps of the method, this in order to attempt to obtain information on the data held by the other party.
For example, a malicious party may distort the values of the xi in the elements ri+fi(0,xi) and ri+fi(1,xi).
The method described hereinbefore is secure in the case of a semi-honest adverse party if the procedure applied for the oblivious transfer is itself secure against this type of opponent. Indeed, the first party does not learn anything on the inputs of the other party on the one hand since it plays the role of the sender in the oblivious transfer protocol and therefore does not obtain any output. On the other hand, the second party receives ti=ri+fi(yi,xi) but this does not reveal any information on the fi(yi,xi) since the ti and the fi(yi,xi) belong to m and ri randomly selected by the other party in m. Therefore, ti is uniformly random in m and therefore does not reveal any information on fi(yi,xi).
On the other hand, in the case when the first party is malicious, it may learn information on the datum held by the other party, for example by modifying the calculated function so that f(X,Y)=xi.
Moreover, in the case when the second party is malicious, it cannot normally obtain information on the datum held by the first party by means of the random values ri. However if the selection of the values ri is not really random and that the second party manages to obtain pieces of information on how the ri are generated, then pieces of information on the datum held by the first party may be inferred therefrom.
Thus, in the case when the parties intervening in the calculation are malicious, the calculation method is not secure, even if the oblivious transfer protocol is secure.
The object of the invention is to find a remedy to the problem shown hereinbefore.
In particular, an object of the invention is to propose a multiparty calculation method for a function of data held by several parties which is secure even in the case when the parties are malicious.
Another object of the invention is to propose a method for which the execution time is not considerably increased relatively to the non-secure version in the case of malicious parties.
Another object of the invention is to propose a method for authenticating an individual by a multiparty secure calculation even in the case when one of the processing units intervening in the method is malicious.
In this respect, the object of the invention is a method for executing a cryptographic calculation applied by two processing units, each comprising processing means, and each having a vector comprising a number n of indexed components,
the method comprising a secure evaluation of a function F obtained by applying to n sub-functions fi of several variables of an operation, called first operation with the vectors of each processing unit as inputs of the function,
the method being characterized in that it comprises:
Advantageously, but optionally, the method according to the invention may further comprise one of the following features:
(α(ri+fi(0,Y)), . . . ,α(ri+fi(1,Y)))
α(ri+fi(xi,Y))
((ri·fi(0,Y))α, . . . . (ri·fi(1,Y))α)
(ri·fi(xi,Y))α
The object of the invention is also a computer program product, comprising code instructions for executing, by a processor of a processing unit, a method comprising the application of a series of steps comprising:
According to an embodiment, the invention relates to a method for executing a cryptographic calculation applied by two processing units each comprising processing means, and each having a vector comprising a number n of indexed components, the method comprising a secure evaluation of a function F being written as a sum of n sub-functions fi of several variables, the evaluation being applied with the vectors of each processing unit as inputs of the function,
the method being characterized in that it comprises:
The proposed method is secure even in the case when the parties in the calculation, i.e. the processing units, are malicious, by assuming that the oblivious transfer protocol is itself secure.
Indeed, first the fact of proposing a double execution of the series of steps of the calculation of the function, by reverting the roles between both parties, gives the possibility that each party obtains a portion of the result. The equality test then allows comparison of whether both results are identical without revealing their values in order to be able to stop the protocol without revealing the output in the case of cheating.
Secondly, the method gives the possibility of guarding against a case when a malicious party would distort the result of the equality test or the result of the function F(X,Y) by modifying the values of the result portions T and R obtained at the end of a series of steps. Indeed, the method comprises dual masking which comprises the random generation by each party of an reversible datum which protects these values of T and R. It is thus much more difficult, for a malicious party, to distort the equality test of F(X,Y) since it is not aware of the value of the reversible datum of the other party and therefore cannot adapt its values of T, R, or of its second masking datum for deceiving the equality test.
As both series of steps may be executed in parallel, this method only requires a very limited increase in the execution time as compared with the version of the non-secure method against malicious parties.
The application of the method shown to functions of the Hamming distance types, or a scalar product, on the identity data of individuals such as biometric data, allows secure authentication of individuals.
Other features, objects and advantages of the present invention will become apparent upon reading the detailed description which follows, with reference to the appended figures, given as non-limiting examples and wherein:
With reference to
Each vector is expressed in a base q, wherein q is an integer strictly greater than 1, i.e. the components ai and bi are integers with values comprised between 0 and q−1. The data A and B are not necessarily expressed in the same base so that A may be in a base q and B in a base q′ with q′ being an integer strictly greater than 1 and different from q.
According to a particular and non-limiting embodiment, each vector is binary, and its components are with values equal to 0 or 1.
The vectors A and B respectively held by the portions P1 and P2 are secrets, i.e. the vector A is only known to P1 and the vector B is only known to P2.
Each party is a processing unit, and has processing means, for example a processor 101, 102, adapted for applying the calculations, and for executing a program comprising code instructions installed on the processor. Each party also has a memory 111, 112 and an interface 121, 122 for communication with the other party.
Both parties P1 and P2 may be engaged into a method for executing a cryptographic calculation comprising the calculation of a function F which is obtained by applying to a set of n sub-functions fi of a same mathematical operation, called first operation, wherein the sub-functions fi are with several variables, n is a positive integer corresponding to the number of sub-functions in the function f, and i is a mute index with values from 1 to n.
It may be noted that F=f1opf2op . . . opfn, wherein op is the first operation.
The first operation is for example a sum or a product, i.e. the function F is respectively written either as a sum, or as a product, of n sub-functions fi. In particular, each sub-function fi is a function of two variables X and Y with n components xi, yi.
In the case when F is written as a sum of sub-functions fi, it is noted that:
with xi, yi, being the integer components of the variables X and Y.
In the case when F is written as a product of sub-functions fi, it is noted that:
with xi, yi, being the integer components of the variables X and Y.
The sub-functions of xi, Y and of yi, X may be different so as to be able to have an expression of F such that:
Also, the number of components of xi and yi, and therefore of sub-functions fi and gi may be two different numbers. The method applies in this case in the same way by means of a taking into account of the differences of sub-functions and the number of components.
However, subsequently, the simplified case when the sub-functions are identical, will be assumed, and the numbers of components of the data are also identical.
The function F may also be a fraction for which the numerator and the denominator are each obtained by applying the first operation with n sub-functions. In this case, and as this is seen hereafter, the method is applied twice, once for calculating the numerator, and once for calculating the denominator.
The function F is with values in the set m of the integers comprised between 0 and m−1, wherein m is a positive integer, and is further prime, for the reasons explained hereafter. Further, the function F is with values in the sub-set of m of the invertible elements for the first operation.
This means that, in the case when the function F is written as a product of n sub-functions fi, this function has values in the set m* of the integers comprised between 1 and m−1, with m also being a prime number. In other words, the fi(xi, Y) and the fi(yi,X) are advantageously all different from 0. This gives the possibility of improving the safety of the method for the reasons detailed hereafter.
The data processing method which will be described hereafter may notably be applied to a context of authentication of individuals, notably biometric authentication, when the function F is written as a sum of the sub-functions fi. The authentication system of
An authentication method comprises a comparison of an identity datum of a candidate individual with a datum of a reference individual for detecting matching between the data and detecting that the individual is the reference individual.
In this context, a party P1 may be a control unit of a candidate individual, for example comprising a means 13 for acquiring an identity datum of the individual. This identity datum is advantageously a biometric datum, i.e. a digital datum coded on a biometric trait of an individual.
The relevant biometric traits may typically comprise fingerprints, iris images, shape of the face, etc.
In this case, the means for acquiring an identity datum of the control server is advantageously a biometric datum sensor (for example, but not in a limiting way, a fingerprint sensor) or an identity document reader in which a biometric datum has been recorded beforehand, for example by being stored in memory in an electronic chip integrated to the document or printed on the document.
The other party P2 may be a unit comprising at least one identity datum of a reference individual, for example stored in its memory 112.
The function F may then be a function for comparing identity data of individuals, and in particular may be selected from the following group:
During a method for authenticating an individual, the portions P1 and P2 are engaged into the calculation of the function F selected from among this group by following the method described hereafter for evaluating a similarity level between an identity datum of the individual and an identity datum of the reference individual.
If the similarity level is less than a predetermined threshold, the identity data of the candidate individual and of the reference individual are considered as stemming from the same person and the candidate individual is authenticated.
Data Processing Method With reference to
To do this, the method comprises a first phase 100, illustrated in
Preferably, but not in a limiting way, the application of both series of steps may be achieved simultaneously by the two parties, this in order to shorten the execution period of the method. Alternatively, the series of steps may be applied in succession.
Subsequently, and for the purpose of conciseness, the series of steps will be described relatively to the roles of the server and of the client without detailing the first phase and then the second phase, since they are symmetrical.
The vector held by the party having the role of a client is noted as X and the vector held by the party having the role of a server as Y. It is therefore understood that during the application of the first series of steps 1001, X=A and Y=B, and during the application of the second series of steps 1002, X=B and Y=A. It is also noted with the indexes 1 and 2, that the applied steps or the data are respectively generated during the first or second series of steps.
The implementation of each series of steps with the notations specific to each party and each application of the series of steps is nevertheless detailed in
Each series of steps 1001, 1002 includes a first step 1101, 1102 during which the server randomly generates a set of n first masking data indexed as ri in the set m. The data ri are further selected from among the invertible elements in the set m, for the first operation.
In other words, if F is a sum of the sub-functions fi, the data ri are then invertible for addition, and they are therefore selected from the set m.
It is noted that:
∀iε[1,n],riεRm
On the other hand, if the function F is a product of the sub-functions fi, then the data ri are invertible for multiplication, and they are therefore selected from the set m* (i.e. m without the element 0).
It is noted that:
∀iε[1,n],riεRm*
The server also randomly generates a second masking datum α invertible for a second operation, which is different from the first and distributed relatively to the latter. For example, if the first operation is addition, F is a sum of fi, and the second operation is advantageously multiplication. If the first operation is multiplication, F is a product of fi, the second operation is advantageously raising to a power.
In both of these examples, the second masking datum α should be invertible for multiplication in the set m (since the same inversion criteria apply for multiplication and for raising to a power). It is noted that αεR*m.
In
The fact that m is a prime number implies that all the elements of the set *m are invertible for multiplication. Therefore, when the second datum α is randomly selected, no information may be inferred therefrom on the value of this datum.
As this has been said, in the case of a function F in the form of a fraction of functions, like this is the case, for example, of the normalized Hamming distance (a case not illustrated in
During a step 1201, 1202, the server generates from these data and for each sub-function fi, i.e. for any i from 1 to n, a set of elements, such that each element is formed by a possible result of the function fi evaluated at the datum of the client (which is therefore unknown to it) and the datum of the server fi(xi,Y), masked by a first masking datum ri and by the second masking datum α.
The masking by the first masking datum ri is applied by applying between this datum and the possible result of the function fi the first operation, i.e. for example summation or multiplication, if F is respectively obtained by summation or multiplication of the sub-functions fi.
In the case when F is a sum of fi, each possible result of the function fi evaluated at the datum of the client and the datum of the server is added with a first masking datum ri.
In the case when F is a product of fi, each possible result of the function fi evaluated at the datum of the client and the datum of the server is multiplied by a first masking datum ri.
The masking with the second masking datum α is applied by applying, between the result of the function fi masked by a first masking datum ri and the second masking datum α, the second operation.
In particular, in the case when the first operation is a summation, each element of the set generated by the server is a possible result of the function fi evaluated at the datum of the client and the datum of the server, added with a first masking datum ri, and multiplied by the second masking datum α:
α(r+fi(xi,Y))
For example, if the function is a sum of sub-functions fi with two variables and if the data X and Y are binary, the server therefore generates a doublet as follows:
(α(ri+fi(0,Y)),α(ri+fi(1,Y)))
In the case when the first operation is a multiplication, the second operation is raising to the power of the second masking datum α.
Then, each element of the set generated by the server is a possible result of the function fi evaluated in the datum of the client and the datum of the server, multiplied by a first masking datum τi, and raised to the power α:
(ri·fi(xi,Y))α
For example, when the function is a product of sub-functions fi with two variables, and when the data X and Y are binary, the server generates a doublet as follows:
((ri·fi(0,Y))α,(ri·fi(1,Y))α)
When the function F is a fraction, a set compliant with the preceding description is generated by the server for the numerator, and another one for the denominator.
According to a particular example, in the case when the function to be evaluated is the normalized Hamming distance, each portion has, in addition to its respective binary datum A, B, a respective masking datum of size n, also binary, and for which the bits set to 1 respectively indicate the bits of the vectors A and B to be taken into account for the calculation of the Hamming distance. The masking datum held by the unit having the role of a server is noted as M=(m1, . . . mn) and the masking datum held by the unit having the role of a client is noted as M′=(m′1, . . . m′n).
In
In this case, for each portion, it is possible to reduce it to a datum of length 2n by considering that a bit of the datum associated with a corresponding bit of the mask set to 0 is zero.
Thus a datum obtained from X and M′ with a length of 2n is thus posed as X′ and such that x′i=xi for i=1 to n and x′i=m′i-n for i comprised between n+1 and 2n. The same thing applies mutatis mutandis in order to obtain Y′ from Y and M.
During step 120, the server generates, as regards the numerator, for all the from 1 to 2n, a set of doublets:
(α(ri+finum(0,Y′)),α(ri+finum(1,Y′)))
Wherein finum designates the numerator of the normalized Hamming distance, for which the values are detailed in paragraph 4.2 of the publication of J. Bringer et al., “GSHADE: Faster Privacy-Preserving Distance Computation and Biometric Identification”, in Proceedings of the 2nd ACM workshop on Information hiding and multipedia security, 187-198, 2014.
The server also generates, for the denominator, for all the i from 1 to n, a set of doublets:
(α′r′i,α′(r′i+mi)).
During step 120, the server thus generates a combination of the possible results of the function F evaluated in the datum of the server and of the client, by masking the results with the ri and αi (and if necessary r′i and α′i).
The series of steps then comprises a step 1301, 1302 during which the client and the server engage into an oblivious transfer protocol, wherein the client recovers, for each i from 1 to n, one of the elements of the set generated by the server in step 120, indexed with the value of xi. The oblivious transfer type which is used for this step is preferably a protocol which is secure against malicious parties. This is the case of the oblivious transfer protocols which are described in both of these publications:
In a more general case when the datum of the client is expressed in base q, the server will have generated a q-uplet for each i, and the client recovers by an oblivious transfer of type 1 from q the element of the doublet corresponding to the value of xi between 0 and q−1.
Thus, the client may recover a datum ti called an intermediate datum.
The intermediate datum ti is written as, in the case when the function F is a sum of sub-functions fi:
t
i=α(ri+f(xi,Y))
In the case when the function F is a product of sub-functions fi, it is written as:
t
i=(ri·fi(xi,Y))α
In the example introduced earlier when the function F is the normalized Hamming distance, the client recovers an intermediate datum ti for the numerator, depending on the value of x′i as defined hereinbefore, and an intermediate datum t′i for the denominator, depending on the value of m′i.
In
During a step 1401, 1402, the server generates from all the first masking data ri and from the second masking datum a first result portion noted as R.
This portion R is obtained by applying the first operation—i.e. for example addition or multiplication—to all the first masking data, and by masking them with the second datum α, i.e. by applying to them the second operation with α, for example respectively by multiplying them by α or by raising them to the power α.
As a summary, in the case when the function F is a sum of the sub-functions fi, the server generates a result portion R such that:
In the case when the function F is a product of sub-functions fi, the server generates a result portion R such that:
In the case of the calculation of a function as a fraction, the server carries out this operation for the numerator from the data ri and α in order to obtain a datum R and for the denominator from the data r′i and α′ in order to obtain a datum R′.
The step 140 may be applied at any moment after step 110, but not necessarily after step 130.
Of course, and as visible in
During a step 1501, 1502, the client applies the first operation—i.e. for example addition or multiplication—to all the intermediate data ti so as to obtain a result portion T such that:
As earlier, a result portion T is calculated during each implementation of the phase 100, and in
In the case when the function f is a fraction, this step is applied for the numerator (obtaining a datum T) and for the denominator (obtaining a datum T′) with the respective intermediate data.
By again taking the indexes 1 and 2 related to the first or second implementation of the phase 100, at the end of the first application of the series of steps, the party P1 in the role of the client has a datum T1 and the party P2 in the role of the server has a datum R1 giving the possibility of obtaining together a first evaluation of the function F in the data of the client and of the server, masked by the second masking datum α1, which was randomly generated by the party P2 as a server, and is therefore unknown to the party P1.
In the case when F is a sum of sub-functions, one has
T
1
−R
1=α1F1(X,Y)
In the case when F is a product of sub-functions, one has
T
1
·R
1
−1
=F
1(X,Y)α
At the end of the second application of the series of steps 1002, the party P1 in the role of the server has a datum R2, and the party P2 in the role of the client has a datum T2 giving the possibility of obtaining a second evaluation of the function F in the data of the client and of the server, masked by the second masking datum α2, which was randomly generated by the party P1 as a server, and is therefore unknown to the party P2.
In the case when F is a sum of sub-functions, one has:
T
2
−R
2=α2F2(X,Y)
In the case when F is a product of sub-functions, one has:
T
2
·R
2
−1
=F
2(X,Y)α
The results F1(X,Y) and F2(X,Y) are equal and have the value F(A,B) in the absence of any fraud.
In the case when one of the parties is malicious, for example P1, it therefore cannot, by modifying the values of the data which it holds, for example T1, R2 and α2, ensure that:
α2(T1−R1)=α2α1F1(X,Y)=α1(T2−R2)=α1α2F2(X,Y)
or that:
(T1·R1−1)α
Returning to step 150, for the case of the generalized Hamming distance, the client separately sums the intermediate data ti and t′i obtained for the numerator and the denominator, in order to obtain (indexes 1 and 2 are omitted):
Therefore, subsequently to both implementations of the phase 100, the following relationships are obtained:
As earlier, by means of the multiplication during each series of steps by a value α1, α′1, α2 or α′2 which is random and specific to a party, a malicious party, for example P1 cannot modify the elements which it holds, i.e. T1, T′1, R2, R′2 and α2 and α′2, in order to ensure that:
At the end of the phase 100, the method comprises an equality test 200 for the values of F1(X,Y) and F2(X,Y) which may be inferred from each series of steps of the phase 100. In order that this equality test 200 does not reveal any information on the value of F (X,Y) before having verified the equality, it comprises the two following steps:
During this protocol, the party P1 has as inputs, the data T1, R2 and α2 and the party P2 has as inputs, the data R1, T2 and α1 stemming from the first phase 100.
The protocol comprises a first pledging step 210 during which the party P1 pledges, by means of random keys K1, K2, K3 its data T1, R2 and α2 respectively in order to obtain three tokens c1, c2, c3 respectively defined by:
c
1=Com(T1,K1)
c
2=Com(R2,K2)
c
3=Com(α2,K3)
The party P1 sends the tokens to the party P2. In the case when the calculated function is the generalized Hamming distance, the data T′1, R′2 and α′2 are pledged with other random keys, and the obtained tokens are also send to the other portion.
On its side, the party P2 pledges, by means of random keys K4, K5, K6, its data R1, T2 and α1 respectively in order to obtain three tokens c4, c5, c6 respectively defined by:
c
4=Com(R1,K4)
c
5=Com(T2,K5)
c
6=Com(α1,K6)
The party P2 sends the tokens to the party P1. In the case when the calculated function is the generalized Hamming distance, the data T′2, R′1 and α′1 are pledged with other random keys, and the obtained tokens are also send to the first party P1.
The step 220 for verifying the equality of the values of F1(X,Y) and F2(X,Y) obtained during the phase 1 may then be applied as follows, according to a non-limiting example.
The first party P1 sends to the second party P2, the datum R2 and the key K2. The party P2 may therefore achieve decommitment of the R2 datum, Decom(c2, K2), and verify that it corresponds to the transmitted datum, and therefore that the party P1 has not been modified. If there exists a difference between the datum R2 transmitted by P1 and its decommitment from K2, the protocol stops, a fraud is detected.
Next, the second party P2 sends to the first party P1 the datum R1 and the key K4. The party P1 may achieve decommitment of the datum R1, Decom(c4, K4), and verify that it corresponds to the transmitted datum. If there exists a difference between the datum R1 transmitted by P2 and its decommitment from K4, the protocol stops, a fraud is detected.
In the case of a function F in the form of a fraction of functions, the verification of equality is achieved by separately verifying the equality of the numerators and of the denominators.
In
The following notations are used H1=Hash(α1α2F1(X, Y)) and H2=Hash(α1α2F2(X, Y)) wherein Hash is a hash function.
A portion first sends one of H1 or H2 to the other portion, which compares one of the received H1 or H2 with the other one which it held previously. If H1≠H2, the portion having carried out the comparison stops the protocol. Otherwise, as this portion only has hashed data, it cannot infer therefrom the value of the function F evaluated in X and Y.
Then this portion sends the one which it holds from α1α2F2(X,Y) and α1α2F(X, Y) to the other portion. The portion having for example received α1α2F2(X, Y) compares it with α1α2F(X, Y) which it already held (or vice-versa) in order to check equality between both terms. If this is not the case, the portion stops the protocol.
Otherwise, both parties were able to verify whether F1(X,Y)=F2(X,Y) while ensuring that the portion has not altered the integrity of the data.
In
The following notations are used H′1=Hash((F1(X,Y))α
A portion sends one of H′1 or H′2 to the other portion, which compares H′1 and H′2, and stops the protocol if a difference exists.
Otherwise, it then sends to the other portion one of (F2(X,Y))α
The portion having (F2(X,Y))α
If a portion ascertains that F1(X,Y)≠F2(X,Y), then the protocol stops and a fraud is detected.
At the end of the equality test, if the equality of the values of F1(X,Y) and F2(X,Y) was verified and confirmed, then one of the two portions may calculate F(X,Y) during a step 300.
For example, a portion may either use its datum Ti (T2 respectively) and recover R1 (R2 respectively) and α1 (α2 respectively) from the other portion, or use its data R1 (R2 respectively) and α1 (α2 respectively) and recover the datum T1 (T2 respectively) held by the other portion, in order to infer F(A,B) therefrom.
According to an advantageous alternative in terms of safety, the portion may use a datum of the other portion which it has already received during the method (in this case, R1 or R2), and also use the two other parameters T1, α1 or T2, α2 held by the other party and which it has not recovered.
Indeed, the portion may also recover the pledging tokens of the corresponding parameters and verify the integrity from the tokens.
Inference of F(A,B) is accomplished, when F is a sum of sub-functions, by the operation:
F(A,B)=α1−1(T1−R1)
or
F(A,B)=α2−1(T2−R2)
Inference of F(A,B) is accomplished, when F is a product of sub-functions, by the operation:
In the case when the calculated function is a fraction of functions, the calculation of F(A,B) is accomplished by first calculating the numerator, and then the denominator of the function.
The result of the function evaluated in A and B is therefore held by one of the parties without any portion having revealed any information to the other portion on the datum which it holds.
In
If the result of the comparison indicates that the data A and B stem from the same person, the individual is authenticated as the reference individual during a step 500. Otherwise, warning steps may be applied by one of the parties, for example by means of the display of a message, of the generation of an audio alarm, etc.
Number | Date | Country | Kind |
---|---|---|---|
1650694 | Jan 2016 | FR | national |