Authentication methods and equipment
By adopting multi-step verification operations and encrypted data transmission methods in electronic device authentication, the problem of insufficient reliability of existing authentication methods is solved, security and complexity are improved, and the possibility of malicious devices and the risk of secret data exposure are reduced. .
Patent Information
- Application Number
- CN202210363510.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-09
- Filing Date
- 2022-04-07
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-04-07
AI Technical Summary
Existing electronic device authentication methods have insufficient reliability in preventing malicious devices from accessing data and functions. In particular, validator/certifier authentication methods lack effectiveness.
Adopt an authentication method that includes at least two consecutive verification operations. Each operation ensures information security by generating and exchanging different data, using encryption keys for data transmission, and deciding whether to perform the verification operation after the identification operation.
Increases the complexity and security of authentication methods, reduces the possibility of rogue devices, and reduces the risk of secret data exposure for subsequent verification operations during encrypted data transmission.
Smart Images

Figure CN115208608B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of French Patent Application No. 2103602, filed on April 8, 2021, which is incorporated herein by reference. Technical Field
[0003] The present disclosure generally relates to electronic devices or circuits. More specifically, the present disclosure is applied to authentication between two electronic devices or circuits, for example, prior to a communication method between the two electronic devices or circuits. Background Art
[0004] Communication between two electronic devices or circuits is usually preceded by an authentication phase. During this phase, an authentication method implemented by the two devices verifies whether the two devices are authorized to communicate with each other.
[0005] Authentication methods are often used for communication between a terminal device, such as a computer, printer or payment terminal, and a peripheral electronic device or device, such as a consumable or accessory. In this case, the authentication method enables the peripheral device to verify access to the data and / or functions of the terminal device. The authentication method is the main means of preventing malicious devices from attempting to access the data and / or functions of other devices.
[0006] For example, a common example of an authentication method used between a computer and a user is the use of a user ID and a password.
[0007] It would be desirable to be able to at least partially improve known authentication methods for electronic devices. Summary of the invention
[0008] A more reliable authentication method is needed.
[0009] In particular, more reliable verifier / prover authentication methods are needed.
[0010] One embodiment addresses all or some of the disadvantages of known authentication methods, in particular some or all of the disadvantages of known verifier / prover authentication methods.
[0011] One embodiment provides a method for authenticating a first device to a second device, including at least two consecutive authentication operations, each operation including the following consecutive steps: the second device generates first data based on second data generated in a previous authentication operation, and sends the first data to the first device; the first device generates third data and fourth data used by a subsequent authentication operation by applying a first function with at least the first data and fourth data generated in the previous authentication operation as input, and sends the third data to the second device; and the second device verifies the third data using a second function, the second function takes the first data and third data as input and outputs information indicating whether the authentication is successful, and the second data is used by the subsequent authentication operation. If for each authentication operation, the information indicates that the authentication is successful, and if the fourth data of the first device and the second data of the second device of the last authentication operation are correct, the first device is authenticated to the second device.
[0012] According to one embodiment, during implementation of the first verification operation, the second device generates the first data using the fifth data, and the first device generates the third data and the fourth data using the sixth data.
[0013] According to one embodiment, the fifth data is different for each verification operation, and the sixth data is different for each verification operation.
[0014] According to one embodiment, during implementation of each verification operation, the second device generates the first data using the fifth data, and the first device generates the third data and the fourth data using the sixth data.
[0015] According to one embodiment, the second device generates the first data based on the second data and the fifth data generated in the previous verification operation, and the first function takes the first data, the fourth data generated in the previous verification operation, and the sixth data as input.
[0016] According to one embodiment, the method also includes an identification operation before the at least two verification operations, wherein the first device and the second device exchange identification numbers, and if each of the first device and the second device recognizes the identification number of the other device, the at least two verification operations are not performed, and the first device is authenticated to the second device, otherwise the at least two verification operations are implemented.
[0017] According to one embodiment, at least a first functionality of the at least two verification operations is different from at least a first functionality of another verification operation of the at least two verification operations.
[0018] According to one embodiment, at least a second function of the at least two verification operations is different from at least a second function of another verification operation of the at least two verification operations.
[0019] According to one embodiment, the first device and the second device send data to each other in an encrypted manner.
[0020] According to one embodiment, during implementation of each of the at least two authentication operations, the first device and the second device send data to each other in an encrypted manner using a first encryption key.
[0021] According to one embodiment, the first encryption key is different for each implementation of each of the at least two authentication operations.
[0022] According to one embodiment, the first encryption key depends on the first encryption key of a previous authentication operation.
[0023] According to one embodiment, among the at least two verification operations, there is at least a first verification operation, wherein the application of the second function further generates seventh data sent to the second device, and among the at least two verification operations, there is at least a second verification operation, which is subsequent to the first verification operation. By applying the first function to the seventh data, the second device also generates eighth data, and sends the eighth data to the first device, and the first device uses the eighth data to decrypt the ninth data to generate the third data.
[0024] In one embodiment, the first device uses the eighth data to decrypt the ninth data, and the first function also uses the ninth data as input to generate the third data.
[0025] Another embodiment provides a device suitable for implementing the above method as a first device.
[0026] According to one embodiment, the device includes a memory in which data showing first data, second data, third data and fourth data and information are stored.
[0027] Another embodiment provides a device suitable for implementing the above method as a second device.
[0028] According to one embodiment, the device includes a memory in which data showing first data, second data, third data and fourth data and information are stored. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The foregoing features and advantages and other features and advantages will be presented by way of illustration and not limitation in the following description of specific embodiments with reference to the accompanying drawings, in which:
[0030] Figure 1 An electronic device to which the following embodiments may be applied is schematically shown in the form of a block diagram;
[0031] Figure 2Two electronic devices to which the following embodiments may be applied are schematically shown;
[0032] Figure 3 An example of an authentication method is schematically shown in block diagram form;
[0033] Figure 4 An embodiment of an authentication method is schematically shown in block diagram form;
[0034] Figure 5 Another embodiment of the authentication method is schematically shown in block diagram form;
[0035] Figure 6 Another embodiment of the authentication method is schematically shown in the form of a block diagram; and
[0036] Figure 7 Another embodiment of the authentication method is schematically shown in the form of a block diagram. DETAILED DESCRIPTION
[0037] The same features are indicated by the same reference numerals in the various drawings. In particular, the common structural and / or functional features of the various embodiments may have the same reference numerals and may be provided with the same structures, dimensions and material properties.
[0038] For the sake of clarity, only the operations and elements that can be used to understand the embodiments described herein are described in detail. In particular, the authentication method can be applied to a general communication process.
[0039] Unless otherwise stated, when referring to two elements being connected together, this means a direct connection without any intermediate elements except conductors, and when referring to two elements being coupled together, this means the two elements may be connected or they may be coupled via one or more other elements.
[0040] In the following disclosure, unless otherwise stated, when referring to absolute position qualifiers, such as the terms "front", "back", "top", "bottom", "left", "right", etc., or when referring to relative position qualifiers, such as the terms "upper", "lower", "higher", "lower", etc., or when referring to orientation qualifiers, such as "horizontal", "vertical", etc., it refers to the orientation shown in the figure.
[0041] Unless otherwise indicated, the expressions "about", "approximately", "substantially" and "on the order of" mean within 10%, preferably within 5%.
[0042] Figure 1 An exemplary architecture of electronic device 10 is schematically shown in block diagram form.
[0043] The electronic device 10 includes a processor 11 (CPU) adapted to implement various instructions to process data stored in a memory of the device 10 and / or provided to the device 10 by other circuitry.
[0044] The electronic device 10 also includes different types of memory, including non-volatile memory 12 (NVM), volatile memory 13 (RAM) and / or read-only memory 14 (ROM). Each memory is suitable for storing different types of data. According to one embodiment, the device 10 can have one or more of these different types of memory, and / or have only one or two of these types of memory.
[0045] The electronic device 10 also includes different circuits 15 (FCT) suitable for performing different functions. For example, the circuit 15 may include a measurement circuit, a data conversion circuit, an encryption circuit, etc.
[0046] The electronic device 10 may also include an interface circuit 16 (IN / OUT) adapted to send and / or receive data from outside the device 10. The interface circuit device 16 may also be adapted to enable data display such as a display screen. The electronic device 10 is also particularly adapted to communicate with other electronic devices and implement authentication methods to authorize such communication.
[0047] The electronic device 10 also includes one or more data buses 17 suitable for transferring data between its various components. In particular, the bus 17 is used to transfer data stored in the memories 12 to 14 to the processor 11, the circuit 15 and / or the interface circuit 16.
[0048] Figure 2 The block diagram schematically shows the combination Figure 1 Communication between two devices 21 and 22 of the type of device 10 is described.
[0049] Devices 21 and 22 are combined Figure 1 Device 10 is a device of the type described. Device 21 is a terminal type device. Figure 2 In the embodiment, device 21 is, for example, a printer. Device 22 is a peripheral device, more specifically, a consumable item suitable for use by device 21. Figure 2 In the embodiment, device 22 is, for example, an ink cartridge suitable for use by device 21.
[0050] When device 22 is installed in device 21, devices 21 and 22 implement a verification method to verify that they are authorized to be used together. According to one example, the verification method can verify the hardware and / or software compatibility of devices 21 and 22. According to another example, the verification method can prevent malicious devices from accessing secret data stored in devices 21 and 22.
[0051] Combination Figures 3 to 7Examples of implementation and authentication method embodiments are described.
[0052] Figure 3 A schematic diagram is shown in the form of a block diagram for combining Figure 2 The device 22 described is of the type of device P in combination with Figure 2 An example embodiment of a method for authenticating an electronic device V of the type of device 21 is described.
[0053] The example described herein is a verifier / prover type authentication method, in which a verifier device (in this case, a V device) sends data to a prover device (in this case, a P device) so that it applies a transformation to it. The prover device then sends the result of the transformation back to the verifier device for verification. If the result of the verification is correct, the prover device authenticates the verifier device. The exemplary authentication method is described in more detail below.
[0054] Figure 3 Divided into two halves longitudinally by an imaginary line; Figure 3 The left side of involves device V, while Figure 3 The right side of relates to device P.
[0055] The authentication method may start with an optional ID operation, during which devices V and P exchange identification information. In practice, devices V and P each have a single or multiple identification information, such as at least a single identification information v for device V and at least a single identification information p for device P. According to one example, the information v and p are binary words representing identification numbers.
[0056] Each device V, P then implements a function 101 ("ID check" block) which allows them to know, based on the received identification information p, v, whether they have already communicated with the other device P, V. According to one example, function 101 is a search function in a memory space which stores the identification information of all electronic devices with which the device V or P has communicated, i.e. the identification information of electronic devices for which the authentication method has been successfully implemented. According to one example, this memory space can be emptied periodically. If function 101 indicates that the devices V and P have recently communicated with each other, the devices V and P can start communicating without implementing the authentication method ( Figure 3 However, if function 101 indicates that devices V and P have never communicated with each other, the remainder of the authentication method is implemented.
[0057] The authentication method also includes a GEN operation after the identification operation, during which devices V and P use the same function 102 ("data generation" block) to generate DataV0 and DataP0 data, respectively. Devices V and P do not communicate with each other to generate data DataV0 and DataP0. According to one embodiment, if devices V and P are intended to communicate with each other, they are suitable for generating data DataV0 and DataP0 that are identical or related to each other. According to one example, if the authentication method uses a symmetric encryption key as data DataV0 and DataP0, the data DataV0 and DataP0 are identical. However, if the authentication method uses an asymmetric encryption key as data DataV0 and DataP0, the data DataV0 and DataP0 are not identical, but are related to each other. Function 102 can be a function for searching for data DataV0 and DataP0 in the memory space of devices V and P.
[0058] The GEN operation is directly followed by a VP0 verification operation, during which devices V and P exchange transformed data. The VP0 operation includes the following steps: device V implements function 103 (block "fC0"), taking data DataV0 and optionally identification information v and p as input to generate data C0; device V sends data C0 to device P; device V implements function 104 (block "fR0"), taking data C0 and data DataP0 and optionally identification information v and p as input to generate data R0 and secret data sP0; device P sends data R0 to device V; and device V implements function 105 (block "fV0"), which takes data C0 and R0 and optionally identification information v and p and data DataV0 as input to generate result data vf0 and secret data sV0.
[0059] The verification operation VP0 is followed by a final operation F, during which devices V and P decide whether they can communicate with each other. In this operation, device V implements function 106 ("Pairing?" block), which takes as input the identification data v and p, the result data vf0 and the secret data sv0. Device P implements function 107 ("Pairing?" block), which takes as input the identification data v and p and the secret data sP0. The purpose of function 106 is to verify the result data vf0 and the secret data sV0. The purpose of function 107 is to verify the secret data sP0. In addition, and optionally, functions 106 and 107 can use identification information v and p. If functions 106 and 107 consider the verification to be successful, devices V and P can communicate with each other and their identification information can be registered. Otherwise, no communication is started between devices V and P.
[0060] Figure 4 The block diagram schematically shows the combination Figure 2Embodiments of the device authentication method for device type 22 described and combined Figure 2 Device type 21 is described as an electronic device.
[0061] Figure 4 The method includes and combines Figure 3 The same elements are described in the same way. The common elements are not described again and only the Figure 3 and Figure 4 The differences between the methods in .
[0062] Similar to Figure 3 The method in Figure 4 The method includes the following consecutive operations: an ID operation, during which devices V and P exchange their identification information v and p, and implement function 101 to check whether they have not yet authenticated each other; a GEN operation, during which devices V and P implement function 102 to generate data DataV0 and DataP0; a verification operation VP0, during which devices V and P implement functions 103, 104 and 105 to generate and / or exchange data C0, R0, sV0, sP0 and vf0; and an operation F, during which devices V and P implement functions 106 and 107 to infer whether they can communicate with each other.
[0063] and Figure 3 The methods are different. Figure 4 The method does not include a single verification operation VP0, but includes N+1 consecutive verification operations VP0, VP1,…, VPN, where N is a natural number greater than 1.
[0064] Each operation VPi where i is a natural number varying from 1 to N is similar to Figure 3 The verification operation VP0 described is described, and includes the following consecutive steps: device V implements function 203-i (block "fCi"), similar to function 103, function 203-i takes data DataV0, optionally identification information v and p, and secret data sVi-1 of a previous verification operation VPi-1 as input to generate data Ci; device V sends data Ci to device P; device V implements function 204-i (block "fRi"), similar to function 104, function 204-i takes data Ci and data DataP0 from a previous verification operation VPi-1, optionally identification information v and p, and secret data sPi-1 as input to generate data Ri and secret data sPi; device P sends data Ri to device V; and device V implements function 205-i (block "fVi"), similar to function 105, function 205-i takes data Ci and Ri, optionally identification information v and p, and secret data sVi-1 as input to generate result data vfi and secret data sVi.
[0065] According to one embodiment, the functions 103, 203-1, ..., 203-N are data generation functions such as random data generation functions. According to one example, the functions 103, 203-1, ..., 203-N may also be encryption functions, for example, using data DataV0 as an encryption key to encrypt random data. According to a variant, the functions 103, 203-1, ..., 203-N are functions for obtaining data from the memories of the devices V and P. According to another embodiment, the functions 103, 203-1, ..., 203-N may also be verification functions to verify data received from a previous verification operation, in which case the functions 103, 203-1, ..., 203-N are, for example, signature functions.
[0066] According to one embodiment, the functions 104, 204-1, ..., 204-N are encryption functions, such as permutations, using the data DataP0 as encryption keys. According to another example, the functions 104, 204-1, ..., 204-N are signature functions.
[0067] According to one embodiment, functions 105, 205-1, ..., 205-N provide data vf0, ..., vfN as outputs showing the comparison results of data C0, ..., CN and corresponding data R0, ..., RN. Data vf0, ..., vfN are flags showing, for example, true states and false states. The true state means that the verification has taken effect, and the false state means the opposite. According to one embodiment, secret data sV0, ..., sVN are used as decryption keys by functions 105, 205-1, ..., 205-N. Device V decrypts data R0, ..., RN with secret data sV0, ..., sVN, and then checks whether it corresponds to the expected data. According to another example, functions 105, 205-1, ..., 205-N do not need to decrypt data R0, ..., RN.
[0068] According to one example of implementation, the secret data sVi and sPi are both dependent on the secret data sV0, ..., sVi-1 and the secret data sP0, ..., sPi-1 generated in the previous operation VP0, ..., VPi-1, respectively. Therefore, the result of the function 205-1, ..., 205-N always depends on the previous verification operation, and an electronic device that tries to circumvent one or more verification operations will not be able to perform subsequent verification operations.
[0069] According to one example of implementation, at least one of the functions 103, 203-1, ..., 203-N is different from the others, and preferably, all of the functions 103, 203-1, ..., 203-N are different from each other. Similarly, at least one of the functions 104, 204-1, ..., 204-N is different from the others, and preferably, all of the functions 104, 204-1, ..., 204-N are different from each other. Similarly, at least one of the functions 105, 205-1, ..., 205-N is different from the others, and preferably, all of the functions 105, 205-1, ..., 205-N are different from each other.
[0070] An advantage of this embodiment is that it makes the authentication method more complex and therefore more difficult to replicate.
[0071] Another advantage of this embodiment is that it also reduces the exposure of secret data of subsequent authentication operations if the device P (or V) participating in the exchange is not trusted.
[0072] Figure 5 The block diagram schematically shows the combination Figure 2 Another embodiment of the device authentication method of the device type 22 described above is directed to a device that is combined with Figure 2 Device type 21 is described as an electronic device.
[0073] Figure 5 The method includes and combines Figure 4 The same elements are described in the same way. The common elements are not described again and only the Figure 4 and 5 The differences between the methods in .
[0074] Figure 5 The methods and Figure 4 The method in differs in that, during the implementation of the authentication operations VP0,…,VPN, all data exchanges between devices V and P are performed in an encrypted manner. Figure 5 , all data exchanges of the verification operations VP, ..., VPN are performed in an encrypted manner, but in a variant, the data exchanges of at least one verification operation VPi are performed in an encrypted manner. Thus, for i varying from 0 to N, each operation VPi comprises the following consecutive steps: the device V implements the function 103 or 203-i to generate data Ci; the device V sends the data Ci to the device P in an encrypted form as described below; the device V implements the function 104 or 204-i to generate data Ri and secret data sPi; the device P sends the data Ri to the device V in an encrypted form as described below; the device V implements the function 105 or 205-i to generate result data vfi and secret data sVi.
[0075] In order to exchange data in an encrypted manner, device V implements encryption and decryption functions 308-i ("EVi" block), and device P implements encryption and decryption functions 309-i ("EVi" block).
[0076] Function 308-i uses encryption and decryption keys pskVi and is adapted to: encrypt data Ci sent to the device P by using the pskVi key as the encryption key; the encrypted data Ci is represented as EVi(Ci); and decrypt data sent by the device P using the key pskVi as the decryption key.
[0077] Similarly, function 309-i uses the pskPi encryption and decryption keys, and is suitable for: using the pskPi key as the decryption key to decrypt the data sent by the device V; using the key pskPi as the encryption key to encrypt the data Ri sent to the device V; the encrypted data Ri is represented as EPi(Ri).
[0078] Function 308-i, function 309-i are further adapted to provide encryption and decryption key pskVi+1, encryption and decryption key pskPi+1, respectively, for subsequent verification operation VPi+1. According to a preferred embodiment, function 308-i, function 309-i use encryption and decryption key pskVi, encryption and decryption key pskPi to generate encryption and decryption key pskVi+1, encryption and decryption key pskPi+1, respectively. Therefore, all encryption and decryption keys pskV0, ..., pskVN, encryption and decryption keys pskP0, ..., pskPN, respectively, are related to each other.
[0079] According to an exemplary embodiment, the encryption functions 308-i and 309-i implement a symmetric encryption algorithm in which the encryption key is identical to the decryption key. In this case, if the devices V and P are adapted to communicate with each other, the keys pskVi and pskPi are therefore identical for each implementation of the authentication operation VPi.
[0080] According to an alternative embodiment, the encryption functions 308-i and 309-i implement an asymmetric encryption algorithm in which the encryption key is different from the decryption key. In this case, the keys pskVi and pskPi are therefore different for each implementation of the authentication operation VPi.
[0081] Figure 5 The methods and Figure 4 The difference between the methods in the above example is that the identification operation Id is followed by a combination of Figure 3 and Figure 4The GEN operation described above is similar to the GEN' operation. As during the GEN operation, during the GEN' operation, devices V and P use the same function 102 ("DataGen" block) to generate data DataV0 and data DataP0, respectively. However, during the GEN' operation, devices V and P also independently of each other implement a function 302 ("Start" block) for generating encryption and decryption keys pskV0 and pskP0. Function 302 takes as input the data DataV0, data DataP0, respectively, and is operable to take as input the identification data v and p, and provides as output the keys pskV0, pskP0, respectively.
[0082] One advantage of this embodiment is that it protects the data exchanged by devices V and P. A device that could intercept the data would not be able to implement the method without access to the encryption and decryption keys that have never been exchanged.
[0083] Another advantage of this embodiment is that it also reduces the exposure of secret data exchanged or generated in a VPi operation to devices that have not performed previous VP0, VP1, ..., VPi-1 operations.
[0084] Figure 6 Schematically and in block diagram form, a method for utilizing Figure 2 Describes the type of electronic device 21 used to authenticate the Figure 2 Another embodiment of a method of a device of the type of device 22 is described.
[0085] Figure 6 The method includes and combines Figure 4 The same elements are described in the same way. The common elements are not described again and only the Figure 4 and 6 The differences between the methods in .
[0086] Figure 6 The methods and Figure 4 The difference between the method in is that, among the N+1 verification operations VP0,…,VPN, at least one pair of verification operations is linked. Figure 6 In the present invention, the operations VP1 and VPN are considered to form a pair of linked authentication operations, but a person skilled in the art will know how to adapt the described embodiment to another pair of linked authentication operations. In addition, an embodiment of the authentication method may include more than one pair of linked authentication operations. It should also be noted that in combination with Figure 6 Described methods and combinations Figure 5 The methods described are compatible, but they have not been combined so as not to impair Figure 6 clarity.
[0087] As mentioned earlier, in Figure 6In the authentication method of , the verification operation VP1 and the VPN are linked. More specifically, during the implementation of the verification operation VP1, data A is generated by the device P and then stored in the device V to be used only for the VPN verification operation.
[0088] More precisely, during the implementation of the verification operation VP1, the function 304-1 of the device P (block "fR1") is adapted not only to generate data R1 and secret data sP1, but also to generate data A. Data A is then sent to the device V simultaneously with data R1. The device V stores data A. In the verification operation VPN, the function 203-N (block "fCN") takes as input the data DataV0, optionally identification information v and p, secret data sVN-1 and data A to provide as output data CN and data B. Data CN and B are sent to the device P. The device P is adapted to implement a function 410-N (block "GB"), taking as input data B to provide as output data D, which is used by the function 204-N. According to one example, the function 410-N is an encryption function that uses data B to decrypt data D.
[0089] According to an alternative embodiment not shown, the data A may be generated by another function implemented by the device P. The data B may be generated by another function implemented by the device V.
[0090] One advantage of this embodiment is that it prevents a device that can circumvent one or more verification operations from implementing the authentication method.
[0091] Figure 7 A schematic diagram is shown in block diagram form for utilizing a combination of Figure 2 Description of device type 21 electronic device to authenticate the combination Figure 2 Another embodiment of a method for a device of device type 22 is described.
[0092] Figure 7 The method includes and combines Figure 4 The common elements are not described again and only the Figure 4 and Figure 7 The differences between the methods in .
[0093] Figure 7 Methods and Figure 4 The difference between the methods is that the combination Figure 4The described GEN operation is replaced by a "GEN" operation, during which devices V and P implement function 502 ("data generation" block). Function 502 is similar to function 102, but differs in that function 502 is suitable for providing as many data DataVi and DataPi as the verification operation implemented in the authentication method, i varies from 0 to N respectively. Devices V and P do not communicate with each other to generate data Data_Vi and Data_Pi. According to one embodiment, if devices V and P are intended to communicate with each other, they are suitable for generating data Data_Vi that is the same as or related to data Data_Pi. Function 502 can be a function for searching for data DataV0, ..., DataVN and DataP0, ..., DataPN in the memory space of devices V and P (such as the secure memory space of devices V and P).
[0094] Therefore, each function 103, 203-0, ..., 203-N is adapted to receive data DataV0, ..., DataVN, respectively, and each function 104, 204-0, ..., 204-N is adapted to receive data DataP0, ..., DataPN, respectively.
[0095] Also note that the combination Figure 7 Described methods and combinations Figure 5 and 6 The methods described are compatible, but they have not been combined in order not to impair Figure 7 clarity.
[0096] An advantage of this embodiment of the authentication method is that the use of different data Data_Vi and Data_Pi in each verification operation makes it more difficult to replicate the authentication method for electronic devices that are not adapted to implement the authentication method.
[0097] Various embodiments and variations have been described. Those skilled in the art will appreciate that certain features of these embodiments may be combined, and those skilled in the art will readily conceive of other variations. Figures 4 to 7 The embodiments of the present invention can be combined with each other. In particular, a preferred embodiment of the authentication method including a combination of all these methods is included in this description.
[0098] In addition, the present specification also relates to storage for simulating the combination Figures 4 to 7 The described methods are implemented by a device storing a data set. More specifically, these devices may include a data set showing at least the following data:
[0099] - the data C0, ..., CN;
[0100] - the data R0, ..., RN;
[0101] - the secret data sV0, ..., sVN;
[0102] - the secret data sP0, ..., sPN; and
[0103] -Information vf0,…,vfN.
[0104] These data sets may also include data showing encryption and decryption keys pskV0, ..., pskVN and pskP0, ..., pskPN, or encrypted data EV0(C0), ..., EVN(CN) and EP0(R0), ..., EPN(RN).
[0105] Finally, actual implementation of the embodiments and variations described herein is within the capabilities of those skilled in the art based on the functional description provided above.
Claims
1. A method for authenticating a first device to a second device, the method comprising at least two consecutive verification operations, each operation comprising: generating, by the second device, first data based on second data generated in a previous verification operation; The second device sends the first data to the first device; generating, by the first device, third data and fourth data used by a subsequent verification operation by applying a first function, the first function taking as input at least the first data and the fourth data generated in the previous verification operation; The first device sends the third data to the second device; verifying, by the second device, the third data using a second function having the first data and the third data as input; Outputting, by the second device, information indicating whether the verification is successful, and second data used by the subsequent verification operation; authenticating the first device to the second device in response to: For each verification operation, the information indicating that the verification was successful; and The fourth data of the first device and the second data of the second device of the previous verification operation are correct.
2. The method according to claim 1, further comprising: a data generation operation before the at least two consecutive verification operations, in which the first device and the second device generate fifth data and sixth data, respectively, and during the implementation of the first verification operation, the second device uses the fifth data to generate the first data, and the first device uses the sixth data to generate the third data and the fourth data. 3 . The method of claim 2 , wherein the fifth data is different for each verification operation, and the sixth data is different for each verification operation. 4 . The method according to claim 2 , wherein during implementation of each verification operation, the second device uses the fifth data to generate the first data, and the first device uses the sixth data to generate the third data and the fourth data.
5. The method of claim 2, wherein the second device generates the first data based on the second data and the fifth data generated in the previous verification operation, and the first function takes the first data, the fourth data and the sixth data generated in the previous verification operation as input.
6. The method according to claim 1, further comprising: The identification operation before the at least two consecutive verification operations includes: The first device exchanges identification numbers with the second device; and In response to at least one of the devices not recognizing the identification number of the other device, at least two consecutive authentication operations are performed. 7 . The method according to claim 1 , wherein a first function of one verification operation of the at least two consecutive verification operations is different from a first function of another verification operation of the at least two consecutive verification operations. 8 . The method of claim 1 , wherein the second function of the at least two consecutive verification operations is different from the second function of another consecutive operation of the at least two consecutive verification operations.
9. The method of claim 1, wherein the first device and the second device send data to each other in an encrypted manner.
10. The method of claim 9, wherein during implementation of each of the at least two consecutive authentication operations, the first device and the second device send the data to each other in the encrypted manner using a first encryption key.
11. The method of claim 10, wherein the first encryption key is different for each implementation of each authentication operation of the at least two consecutive authentication operations.
12. The method of claim 11, wherein the first encryption key depends on the first encryption key of the previous authentication operation.
13. The method according to claim 1, wherein in the at least two consecutive verification operations, there is at least a first verification operation, in which the second device additionally generates seventh data, and In the at least two consecutive verification operations, there is at least one second verification operation that is consecutive to the first verification operation, wherein: The second device also generates eighth data by applying the first data to the seventh data, and sends the eighth data to the first device; and The first device additionally generates ninth data and decrypts the eighth data using the ninth data to generate the third data. 14 . The method of claim 13 , wherein the second device uses the seventh data to decrypt data from the first device, and the first device further uses the ninth data as input to generate the encrypted third data.
15. A first device, comprising: non-transitory memory, including instructions; and a processor in communication with the non-transitory memory, wherein the processor executes the instructions to authenticate the first device to a second device, the authentication comprising at least two consecutive verification operations, each operation comprising successively: receiving first data from the second device, the first data being generated by the second device based on second data generated in a previous authentication operation; generating third data and fourth data used by a subsequent verification operation by applying a first function, the first function taking as input at least the first data and the fourth data generated in the previous verification operation; sending the third data to the second device for verification using a second function using the first data and the third data as input; receiving from the second device information indicating whether the authentication is successful, and the second data used by the subsequent authentication operation; authenticating the first device to the second device in response to: For each verification operation, the information indicating that the verification was successful; and The fourth data of the first device and the second data of the second device of the previous verification operation are correct. 16 . The first device of claim 15 , wherein the non-volatile memory is configured to store the first data, the second data, the third data, and the fourth data and the information.
17. The first device according to claim 15, wherein the authentication further comprises an identification operation prior to the at least two consecutive verification operations, the identification operation comprising: exchanging identification numbers with the second device; as well as In response to at least one of the devices not recognizing the identification number of the other device, performing the at least two consecutive authentication operations.
18. A second device, comprising: non-transitory memory, including instructions; and a processor in communication with the non-transitory memory, wherein the processor executes the instructions to authenticate the first device to the second device, the authentication comprising at least two consecutive verification operations, each operation comprising successively: generating first data based on second data generated in a previous verification operation; sending the first data to the first device; receiving third data from the first device, the third data and fourth data being used by a subsequent verification operation, the third data and the fourth data being generated by the first device by applying a first function, the first function taking as input at least the first data and the fourth data generated in the previous verification operation; validating the third data using a second function taking the first data and the third data as input; outputting information indicating whether the verification is successful, and second data used by the subsequent verification operation; authenticating the first device to the second device in response to: For each verification operation, the information indicating that the verification was successful; and The fourth data of the first device and the second data of the second device of the previous verification operation are correct.
19. The second device of claim 18, wherein the non-volatile memory is configured to store the first data, the second data, the third data, and the fourth data and the information.
20. The second device according to claim 18, wherein the authentication further comprises an identification operation prior to the at least two consecutive verification operations, the identification operation comprising: exchanging identification numbers with the first device; as well as In response to at least one of the devices not recognizing the identification number of the other device, performing the at least two consecutive authentication operations.
