The present invention relates generally to authentication of packaged products.
Currently, authentication of packaged products relies on printed information such as text, logos etc., on the packaging and/or product. It is easy to change or reproduce such information in order to misrepresent a product in some way, e.g. to present a fake or counterfeit product as genuine, and it is difficult for users to identify fraudulent products. As a particularly pertinent example, the health care industry has been a frequent target for fraud of this nature. Circulation of unauthorized or counterfeit medical products is widespread and has significant health implications. For example, medical test devices such as HIV (human immunodeficiency virus), malaria, hepatitis and pregnancy tests are commonly counterfeited. Techniques include imitating genuine product packaging for counterfeit products, altering critical product information, such as expiry dates, on packaging, and substituting products from one authentic packaging into another, such as the placement of pregnancy tests into packaging for HIV tests. The World Health Organization considers that counterfeiting of such tests compromises the detection and eradication of some diseases.
According to at least one embodiment of the present invention there is provided a method for producing an authenticated packaged product. The method comprises: generating a digital signature, dependent on unique message data for the product, via a digital signature scheme using a secret signing key; providing the message data on at least one of the product and packaging; providing the digital signature on the other of the product and packaging; and packing the product in the packaging.
Methods embodying the invention uniquely bind a product to its packaging via the digital signature scheme. The digital signature can be authenticated for the message data using a verification algorithm of the signature scheme. Such verification algorithms use a verification key which corresponds to the secret signing key used to generate the signature. A forger cannot generate a valid signature without knowledge of the secret signing key, and cannot misrepresent fraudulent products, e.g. by replacing products in genuine packaging. Methods embodying the invention thus provide for secure authentication of packaged products.
In preferred embodiments, the digital signature is generated via a fuzzy-message digital signature scheme having a verification algorithm for verifying the digital signature in relation to fuzzy data within a predetermined difference measure of said message data. Cryptographic constructions for generation and verification of signatures in fuzzy-message signature schemes are presented below. Such a fuzzy-message digital signature scheme permits verification of a digital signature even if the message data suffers some corruption so that message data used on verification is different, up to a predefined limited extent, from that used to generate the signature. This is a highly advantageous feature in that it accommodates some limited degree of error, which may be necessary due to constraints inherent in implementations of the scheme, while still permitting detection of counterfeits. The message data may be incorrectly presented for various reasons, e.g. due to space constraints on the product/packaging and/or tolerances in mechanisms for representing messages resulting in errors on readback. In embodiments based on medical test devices, for example, space for messages may be very limited, and mechanisms for presenting the message data may have inherent inaccuracies as will be illustrated by examples below.
In general, the message data may be provided on only one of the product and packaging, in which case the signature is provided on the other, or the message data may comprise data on both of the product and packaging, in which case the signature may be provided on either. Where the product is a medical test device, the message data preferably comprises (at least) a first message which is provided on the test device, and the digital signature is most conveniently provided on the packaging. Where the medical test device is operable by application of a fluid to the device, the first message may be provided on the device in a form at least part of which is only revealed on application of the fluid to the device. The first message is thus hidden until the test is used, further inhibiting malicious intervention.
At least one further embodiment of the invention provides a method for authenticating a packaged product having unique message data for the product on at least one of the product and packaging and a digital signature, dependent on the message data, on the other of the product and packaging, the digital signature being generated via a digital signature scheme using a secret signing key. The method includes, at a verifier computer having a reader device operatively associated therewith, reading, via the reader device, the digital signature and the message data on the product and packaging. The method further comprises using a verification key corresponding to the secret signing key to verify the digital signature in relation to the read message data. In preferred embodiments where the digital signature is generated via a fuzzy-message digital signature scheme, the method includes verifying the digital signature in relation to read message data within a predetermined difference measure of the message data provided on the product and/or packaging.
In a first construction of a fuzzy-message digital signature scheme, the message data comprises a first message m1 provided on the opposite one of the product and packaging to the digital signature, and the digital signature comprises the first message m1 and signature data Σ generated by signing signature-input data, comprising the first message m1, using the secret signing key. With this construction, the packaged product can be authenticated by verifying the signature data Σ in relation to the first message m1 in the digital signature using the verification key, and determining if the read message data is within the predetermined difference measure of the first message m1 in the digital signature. Only if the signature data Σ is so verified, and the read message data is within the predetermined difference measure, will the digital signature be deemed valid (and validity may be subject to additional criteria discussed below).
In a second, preferred construction of a fuzzy-message digital signature scheme, the message data comprises a first message m1 provided on the opposite one of the product and packaging to the digital signature, and the digital signature includes signature data Σ generated by encoding the first message m1 to produce an encoded message e(m1) which comprises the first message m1 and parity data p, and signing signature-input data, comprising the first message m1, using the secret signing key. The digital signature then also includes the parity data p. With this construction, the packaged product can be authenticated by decoding the read message data using the parity data p to obtain a decoded message, and verifying the signature data Σ in relation to the decoded message using the verification key. Only if the signature data Σ is so verified will the digital signature be deemed valid. (Again, additional validity criteria may be applied here). With this construction, the first message m1 is not revealed by the digital signature, while still permitting verification via the fuzzy-message signature scheme.
Both constructions described above can be adapted to accommodate message data which includes a second message m2 on the same one of the product and packaging as the signature. In these embodiments, the first message m1 may provide the fuzzy data in which some error is permitted in the verification process of the signature scheme, and the second message m2 may be a “rigid” message, for which no error (fuzziness) is permitted on verification. This offers further advantages discussed below.
Preferred authentication methods may include, at the verifier computer, sending the read message data and digital signature via a network to a signature-management server for checking, at the server, whether that digital signature has been previously sent to the server, and in response to receipt from the server of a notification that the digital signature had been previously sent to the server, determining that the digital signature is invalid in relation to the read message data. This offers additional protection against any possible reproduction of the message data and signature from a genuine packaged product on a counterfeit. At least one further embodiment of the invention provides a system comprising a verifier computer as described above and a signature management server operable for communication via a network. The signature management server is adapted, in response to receipt of the read message data and digital signature from the verifier computer, to check whether that digital signature has been previously received and stored in storage operatively associated with the server, if so to send the verifier computer a first notification indicating that the signature is invalid and, if not, to use the verification key to verify the digital signature in relation to the read message data and, on verification of the digital signature, to send the verifier computer a second notification indicating that the signature is valid and to store the signature in said storage. The verifier computer is further adapted to determine that the digital signature is invalid in response to receipt of the first notification, and to determine that the digital signature is valid in response to receipt of the second notification. The signature verification step at the server offers additional protection against the possibility of abusive reporting of signatures from genuine packaged products in an attempt to undermine the system.
Further embodiments of the invention provide packaged products produced by a method described above, and computer program products for causing a verifier computer to perform an authentication method described above.
Embodiments of the invention will be described in more detail below, by way of illustrative and non-limiting example, with reference to the accompanying drawings.
The present invention may be a system, a method, and/or a computer program product. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like, and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The basic steps described above may be performed in any convenient order depending on the particular nature of the product, packaging and packing process and the way in which data is represented on the product/packaging. The data can be represented in various ways, and the manner of representation may differ for the two messages m1 and m2, and for the digital signature σ. For example, data can be presented by one or a combination of text, numerals, symbols, ink-printed dots (which may be multi-colored), optical devices such as holograms, RFID (radio frequency identification) tags, code patterns such as barcodes, QR (Quick Response) codes, or any other code formation or data representation mechanism. Particular examples will be described further below. Moreover, the data representation mechanism may be such that message data is wholly or partially hidden on the product and/or packaging, and only revealed by later action, e.g. action taken when the product is used. This will be illustrated by examples below.
While the message data m comprises data m1 and m2 on the product and packaging respectively above, in other embodiments message data m may be provided on only one of the product and packaging. In such embodiments, the digital signature σ is provided on the other of the product and packaging. Where message data m1, m2 is provided on both of the product and packaging, the digital signature σ may be provided on the product in alternative embodiments.
The above process provides a packaged product in which the product is uniquely and authentically bound to its packaging via the digital signature scheme. The digital signature σ can be authenticated for the message data m, using the (public) verification key pk, via a verification algorithm of the signature scheme. This assures that the signature σ is valid for the message data m via the security properties of the signature scheme. A user can thus be assured that neither the signature nor message data have been tampered with, and that the packaging is genuine for the product. Signatures cannot be forged by a counterfeiter since only the product manufacturer, who knows the secret signing key sk, can generate valid signatures, and products cannot be fraudulently repackaged in genuine packaging of other products.
Verifier computer 11 comprises a communications interface 18 for communications with server 12 via network 13, verifier logic 19 providing functionality for implementing steps of the authentication procedure to be described, and memory 20 for storing data used by verifier logic 19 in operation. Again, this data includes the verification key pk and any other data required for operation of the protocols detailed below. Verifier computer 11 has a user I/F 21 comprising a display for interaction with a user. The verifier computer also has reader device 22 operatively associated therewith. Reader device 22 is adapted for reading data from a product 23 and packaging 24 of a packaged product produced by the method of
Verifier computer 11 may be implemented by a general or special-purpose computer which is operated by a party wishing to authenticate the product 23. For example, verifier computer may be implemented by a general-purpose user computer such as a desktop computer, laptop computer, tablet, notebook, palmtop, mobile phone, PDA (personal digital assistant), or other user computer device. Alternatively, verifier computer 11 may be implemented by a dedicated hand-held unit in some scenarios. Reader device 22 may be integrated with verifier computer 11 (e.g. an integrated camera of a mobile phone or tablet computer) or may be coupled to verifier computer 11 (via a wired or wireless link) in any convenient manner. Various implementations of reader device 22 can be envisaged according to the particular manner in which the data m1, m2, σ is represented in messages 25, 26, 27 on the packaged product. For example, reader device 22 may comprise one (or a combination of) a camera, scanner, magnetic strip reader, RFID tag reader, or other sensor adapted to capture an image, scan, sense or otherwise “read” the messages 25, 26 and 27 so that data presented thereby is provided to verifier computer 11. The reader device 22 and/or verifier logic 19 may include functionality for interpreting messages 25 to 27, e.g. images thereof captured by a camera, to extract the data according to the particular manner of representation.
Network 13 may in general comprise one or more component networks and/or internetworks, including the Internet. Signature management server 12 may be implemented by a general- or special-purpose computer, comprising one or more (real or virtual) machines, providing functionality for implementing the operations described. In general, each of the functional blocks of devices shown in
Bus 33 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer 30 typically includes a variety of computer readable media. Such media may be any available media that is accessible by computer 30 including volatile and non-volatile media, and removable and non-removable media. For example, system memory 32 can include computer readable media in the form of volatile memory, such as random access memory (RAM) 34 and/or cache memory 35. Computer 30 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 36 can be provided for reading from and writing to a non-removable, non-volatile magnetic medium (commonly called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can also be provided. In such instances, each can be connected to bus 33 by one or more data media interfaces.
Memory 32 may include at least one program product having one or more program modules that are configured to carry out functions of embodiments of the invention. By way of example, program/utility 37, having a set (at least one) of program modules 38, may be stored in memory 32, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data, or some combination thereof, may include an implementation of a networking environment. Program modules 38 generally carry out the functions and/or methodologies of embodiments of the invention as described herein.
Computer 30 may also communicate with: one or more external devices 39 such as a keyboard, a pointing device, a display 40, etc.; one or more devices that enable a user to interact with computer 30; and/or any devices (e.g., network card, modem, etc.) that enable computer 30 to communicate with one or more other computing devices. Such communication can occur via Input/Output (I/O) interfaces 41. Also, computer 30 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 42. As depicted, network adapter 42 communicates with the other components of computer 30 via bus 33. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer 30. Examples include, but are not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Operation of authentication system 10 will be described below in relation to preferred embodiments in which the product 23 is a medical test device and the digital signature σ is generated via a fuzzy-message digital signature scheme (FM-DSIG). An FM-DSIG scheme has a verification algorithm for verifying the digital signature σ in relation to fuzzy data, denoted by m′, within a predetermined difference measure of the message data m as explained further below.
The packaging 46 carries the pack message 51, comprising message data m2, and signature message 52 comprising the digital signature σ. In this example, the message data m2 is represented in the form of text in pack message 51, giving validity information such as test type, manufacturer, expiry date, etc., and also a URL (uniform resource locator) for signature management server 12. The digital signature σ is represented in the form of a QR code providing signature message 52 in this embodiment.
In operation of authentication system 10 for test device 45, verifier computer 11 is operated by a user who may be the patient or other party, such as a health care professional, overseeing use of the test. In this application scenario, the verifier computer 11 is conveniently implemented by a mobile phone running an application which provides the functionality of verifier logic 19. The reader device 22 conveniently comprises a camera integrated with the phone. After using the test, the user uses reader device 21 to read the product message 50, the pack message 51 and the signature QR code 52, here by capturing images of the messages using the camera. Verifier logic 19 includes appropriate functionality for interpreting the various images to extract the message data and digital signature presented in the messages. The verifier computer 11 thus reads, via reader device 22, the digital signature σ on the packaging 46, and the message data m, comprising message m1 on the product 45 and message m2 on packaging 46. The verification logic 19 then uses the verification key pk stored in memory 20 to verify the digital signature σ in relation to the read message data obtained using the reader device 21. This verification procedure is performed using a verification algorithm of the FM-DSIG scheme which provides for verification of the signature σ in relation to fuzzy data m′ within a predetermined difference measure of the message data m. In particular, inaccuracies inherent in mechanisms described above for representing the product message 50 may result in some degree of error in reading of the first message m1. The resulting read message data, denoted by m1′, corresponding to m1 is treated as fuzzy data in which a limited degree of error is permitted in the verification process. The second message m2 is treated here as a rigid message for which no error (fuzziness) is permitted. The verification procedure will be described below for two implementations of the FM-DSIG scheme.
In the first FM-DSIG scheme, the digital signature σ generated in step 2 of
In step 60, verifier computer 11 reads the product message 50 to obtain the read message m1′ corresponding to the first message m1 as described above. In step 61, verifier computer reads the signature QR code 52 to obtain the signature σ=(m1∥m2, Σ), and reads the pack message 51 to obtain read message data, denoted by m2′, corresponding to the second message m2. In step 62, verifier logic 19 verifies the signature data Σ in relation to the first message m1 and second message m2 as provided in m1∥m2 of the signature σ. This verification can be performed, using the verification key pk, via a verification algorithm of a standard signature scheme as detailed below. In step 63, verifier logic 19 determines if the read message data m′=m1′, m2′ is within a predetermined difference measure, denoted here by D, of the message data=m1, m2 provided in the signature σ. As in this example only m1′ is permitted to be fuzzy, step 63 is performed by checking that m2′=m2, and that a difference (denoted here by Diff(m1′, m1)) between m1′ and m1 is no greater than the difference measure D. The difference function Diff and difference measure D may be defined here in various ways discussed below. Steps 62 and 63 constitute the verification algorithm of the FM-DSIG scheme here. In decision step 64, verifier logic 19 decides whether the FM-DSIG verification is successful for the signature σ. Only if the signature data Σ is verified in step 62, and the read message data m′ is within the predetermined difference measure D of m in step 63, is the signature determined to be valid (decision “yes” (Y) at decision block 64). If either step 62 or step 63 fails (decision “no” (N) at decision block 64), then verifier logic 19 deems the signature invalid at step 65. An appropriate message can be displayed to the user via user I/F 21, and the verification operation terminates.
If the FM-DSIG verification succeeds at step 64, operation proceeds to step 66 in which verifier logic 19 sends the read message data m′ and signature σ to the signature management server 12 over network 13 via communications interface 18. Verifier logic may use the manufacturer URL provided in pack message m2 to access server 12, or the server address may be pre-stored in memory 20 in some embodiments. The signature management logic 15 of server 12 receives the read message data m′ and signature σ via communications interface 14. In response, the signature management logic first checks in step 67 whether the received signature has been previously received and stored in signature set {Σ} in database 17. If so (Y at decision block 68), logic 15 sends a first notification, indicating that the signature is invalid, back to verifier computer 11 in step 69. In response to receipt of the first notification, verifier logic 19 deems the signature invalid at step 65 and operation terminates as before. If the signature is not already stored in database 17 (N at decision block 68), operation proceeds to step 70 in which logic 15 performs the FM-DSIG verification process for the received (m′, σ), repeating the process performed in steps 62 and 63 by verifier logic 19. If the signature is found to be invalid, (N at decision block 71), then operation reverts to step 69, in which the first notification is sent to verifier computer 11, and continues as before. If the signature is found valid (Y at decision block 71), logic 15 sends a second notification, indicating that the signature is valid, back to verifier computer 11 in step 72. In response to receipt of the second notification, verifier logic 19 deems the signature to be valid at step 73. Verifier computer 11 can then display an appropriate message to the user via user I/F 21, and the verification process is complete.
The above process provides secure authentication of medical test device 45, while the FM-DSIG verification process accommodates a limited degree of error in the read product message m1′ such as may arise due to the small space available for the product message and/or inaccuracies inherent the message presentation mechanism. Since test device 45 is uniquely and authentically bound to its packaging 46, a fraudster cannot place a genuine test device in different packaging, e.g. of another type of test. The pack message m2 can be read by a user to check validity information, and since this message is a rigid message for the purposes of verification, the read message m2′ must be correct for signature verification. Hence, a fraudster cannot modify the pack message, e.g. to change expiry dates, without this being detected, or place an expired test in packaging with a valid expiration date. Product details, such as expiration dates, manufacturer, test type, etc., can be verified with strong guarantees, and users can rely on test results. A forger cannot create a new packaged product, or new packaging for a genuine product, having a valid signature, since this requires knowledge of the secret key sk. Moreover, a valid signature can only be registered at signature management server once, preventing replication of messages and valid signatures from genuine products on counterfeits. The additional FM-DSIG verification check (step 70) at server 12, coupled with the fact that the product message is hidden on genuine test devices until use, inhibits abusive reporting of signatures from genuine products to server 12 in an attempt to undermine the system.
Operation of system 10 for a second FM-DSIG scheme is indicated in
Steps 82 and 83 thus constitute the verification algorithm of the second FM-DSIG scheme. Subsequent steps 84 through 93 correspond respectively to steps 64 through 73 of
The procedures of
Exemplary constructions for the FM-DSIG schemes of
Basic Functions
Definition 1 (Bilinear Maps) Let 1, 2, and T be groups of prime order q. A map e: 1×2→T is called a bilinear map if it satisfies:
bilinearity: ∀u1 ∈1, ∀u2 ∈2, ∀x, y ∈, e(u1x,u2y)=e(u1,u2)xy; non-degeneracy: for all generators g1 ∈1 and 2 ∈2, e(g1, g2) generates T; and efficiency: there exists an efficient algorithm g(1λ) that outputs the bilinear group (q, 1, 2, T, e, g1, g2) and an efficient algorithm to compute e(u1, u2) for any u1 ∈1, u2 ∈2. If 1=2 the map is symmetric and otherwise it is asymmetric.
Definition 2 (Binary Hamming Distance). The binary Hamming distance d2(M, N) between two binary matrices of same dimensions M, N is the number of bits where those matrices differ.
Block Codes
Definition 3 (Binary Block Codes). A binary block code is an injective mapping C: 2k→2n where k is the message length and n is the block length. A message is any element in 2k, while the code C is the set of all images.
In the above definition it is worth noting that although codewords are strings of length n, not all elements in 2n are codewords. A string of n bits is only considered a codeword if it is the image of a k-bit string.
Binary block codes are denoted by [n, k, dmin]2, where dmin is the minimum distance of the code, as described in Definition 5. A binary code can also be denoted by a simplified notation where the minimum distance is omitted, i.e., [n, k]2. The number n−k is the redundancy of the code.
Definition 4 (Rate of a Code). The rate of a block code is defined as the ratio between its message length and its block length, that is R=k/n.
Definition 5 (Minimum Distance). The minimum distance dmin of a block code is the minimum number of positions in which any two distinct codewords differ.
Theorem 1 (Error Detection Capabilities). A binary code C can detect up to k errors in any codeword if and only if dmin≥k+1.
Theorem 2 (Error Correction Capabilities). A binary code C can correct up to k errors in any codeword if and only if dmin≥2k+1.
Definition 6 (Binary Error-Correcting Codes). A binary error-correcting code (binary ECC) is a [n, k, dmin]2 code that has both an encoding function e: {0,1}k→{0,1}n, and a decoding function d: {0,1}n→{0,1}k. The encoding function maps messages to codewords, while the decoding function takes any string in the range {0, 1}n and maps it back to a message.
Note that decoding functions in binary ECC codes can map different elements of 2n into the same message, and thus are not injective mappings.
Definition 7 (Linear Block Codes). A binary linear block code [n, k]2 is a k-dimensional subspace of the n-dimensional vector space.
Definition 8 (Generator Matrix). A generator matrix G of a binary linear block code [n, k]2 is a k×n matrix whose rows form a basis for the k-dimensional subspace of the n-dimensional vector space. G can be rearranged in a standard form G=[Ik|P], where Ik denotes the k×k identity matrix, and P is some k×(n−k) matrix, called the parity matrix.
The above definition implies that the codewords of a code are obtained via v=xG, and therefore have the form x1, . . . , xk, p1, . . . , pn−k, where x=x1, . . . , xk is the original message, and p1, . . . , pn−k are parity bits.
Definition 9 (Parity Check Matrix). Given a linear code with generator matrix G, an (n−k)×n matrix H is called a parity check matrix for if and only if for every codeword v ∈, HvT=0 (with vT being the transpose of vector v). This means that to every G=(Ik|P), a parity check matrix H=(−PT|In−k) can be associated.
Syndrome Decoding. Let =[n, k, dmin] be a linear code with generator G and parity check matrix H. From Theorem 2, can correct up to t=└(dmin−1)/2┘ errors. Assume that to an encoded message v=xG, up to t errors are added. The message then becomes u=xG+e, where e is a binary string that has 1 in each position where the errors occurred. When we calculate HuT, we obtain:
HuT=H(vT+eT)=0+HeT=HeT.
To decode, a syndrome dictionary needs to be stored. This dictionary contains all possible t-error vectors along with their syndromes HeT=s. When decoding, first calculate the syndrome s=HeT, look up s in the dictionary to find e, and compute v=u+e.
Hamming Codes. A Hamming code is a code in which a parity check matrix H, with dimensions (n−k)×n, is formed by all possible non-zero binary vectors (n−k)×1 in any order, so that the last n−k columns form the identity matrix In−k. For example, the Hamming Code =[7, 4, 3]2 has parity check matrix
Messages are vectors x=x1, x2, x3, x4, and codewords are vectors v=x1, x2, x3, x4, p1, p2, p3. Since dmin=3, the code can correct up to t=└(3−1)/2┘=1 error.
Digital Signatures
Definition 10 (Digital Signatures). A digital signature scheme is a triple of polynomial-time algorithms DSIG=(gen, sig, ver) together with a message space where:
Correctness. A digital signature scheme is said to be correct if for all (pk, sk) gen(λ), and all messages m ∈, it holds that valid←ver(pk, m, sig(sk, m)).
The standard security notion for signature schemes is called existential unforgeability under an adaptive chosen message attack. For our purposes, we need a slightly different notion. A security notion satisfying our requirements is called existential unforgeability under a weak chosen message attack (eu-w-cma) as discussed further below.
The Boneh Boyen Short Signature Scheme. Let 1, 2 and T be groups of prime order q with logq>λ that allow for a bilinear map: 1×2→T. The components of Boneh Boyen's short signature scheme (described in “Short signatures without random oracles and the SDH assumption in bilinear groups”, Boneh & Boyen, J. Cryptology, 21(2):149-177, 2008) are as follows:
Observe that c is pre-computed and included in the public key to add efficiency to the verification algorithm. In this case, g1 can be omitted from the public key. We will consider the case where 1≠2 since the elements of 1 may have a shorter representation than those of 2, and thus we can obtain the shortest possible signatures.
Theorem 3 (Security of Boneh Boyen's Short Signature Scheme). The above construction is existentially unforgeable against weak chosen message attacks under the q-SDH assumption.
Fuzzy-Message Digital Signatures (FM-DSIG)
We define the notion of fuzzy-message digital signature (FM-DSIG) schemes, where a signature can verify a message as authentic even if part of the message has been slightly corrupted, i.e., it allows part of the message to be fuzzy. In order to restrain adversaries from producing valid forgeries however, only a certain degree of corruption is allowed.
Definition 11 (Fuzzy-Message Digital Signatures) A fuzzy-message digital signature scheme is a tuple of polynomial-time algorithms FM-DSIG=(fgen, fsig, fver, fclo) together with a message space =1×2, where 1 is the space of fuzzy messages and 2 is the space of rigid messages, i.e., messages that cannot be altered. The tuple of algorithms work as follows.
Correctness. A fuzzy-message digital signature scheme is said to be correct if for all (sk, pk) fgen(λ), and all messages=m1∥m2, m′=m′1∥m′2 ∈ (1×2)2 with fclo(m, m′)=1, it holds that valid←fver(pk, m′, fsig(sk, m)).
Fuzzy existential unforgeability under weak chosen message attacks (feu-w-cma). This notion is an adaptation of the eu-w-cma notion for signature schemes mentioned above to the fuzzy-message signature scenario. Let f(m) be the set of all messages m* with fclo(m, m*)=1 and let (f(m), σ) represent all pairs consisting of one element of f(m) and the signature σ. A fuzzy-message digital signature scheme with message space =1×2 is said to be existentially unforgeable against weakly chosen message attacks if no adversary can win the following experiment with non-negligible probability in the security parameter λ.
Query. Receive from a list of messages m1, . . . , mq, where each message mi, i=1, . . . , q, can be written as m1i∥m2i∈1×2, and add them to a list Q.
Response. Run (pk, sk) fgen(λ), and generate σ1←fsig(sk, m1) for i=1, . . . , q. Hand pk and the q signatures σ1, . . . , σq to .
Output. Eventually outputs (m*, σ*) with m*:=m′1∥m*2, and wins the experiment if all of the following conditions hold.
Let DSIG=(gen, sig, ver) be an ordinary (i.e., non-fuzzy) digital signature scheme where messages are distributed over a message space 2. Let ƒ: 1×1→{0, 1} be a similarity function, and let H: 1→2 be an invertible mapping that maps elements of
Instantiation. We use the Boneh Boyen short signature scheme described above as the ordinary digital signature scheme, and the binary Hamming distance, described in Definition 2, to build the similarity function ƒ. Let 1, 2 and T be groups of prime order q with logq>λ that allow for a bilinear map: 1×2→T. Also, let ƒ: {0, 1}k×{0, 1}k→{0, 1} be a function that takes two bit-strings of length k and outputs 1 if the Hamming distance between those strings is not greater than a bound r. Note that by definition r cannot be greater than the length of the messages. The components of our FM-DSIGbasic scheme over message space {0,1}k×q work as follows.
Although in the above instantiation we are assuming that messages m=m1∥m2 are elements in {0,1}k×Zq, we could instead sign any message m ∈{0,1}*×{0,1}* by appropriately applying collision-resistant hash functions to the messages.
Second FM-DSIG Construction based on Error-Correcting Codes
Let DSIG=(gen, sig, ver) be an ordinary (non-fuzzy) digital signature scheme where messages are distributed over a message space 2. Let C be an [n, k, dmin]2 code with encoding function e: {0,1}k→{0,1}n, and a decoding function d: {0,1}n→{0,1}k, and let H: {0,1}n→2 be an invertible mapping that maps elements of {0,1}n into elements of 2. We construct a fuzzy-message digital signature FM-DSIGecc=(fgen, fsig, fver, fclo) over message space ={0,1}k×2 which hides the fuzzy message, i.e. the fuzzy message is not revealed in the signature, as follows.
Note that in the above construction, if m1=m′1 differ in at most └(dmin−1)/2┘, bits then, by the error-correction capability of C, m*1←d (m′1∥p) will equal m1. Therefore, as long as m2=m′2, the verification algorithm will output valid.
Instantiation. We use the Boneh Boyen short signature scheme described above as the ordinary digital signature scheme, and let C be a Hamming Code [n, k, dmin]2 as described above. Let 1, 2 and T be groups of prime order q with logq>λ that allow for a bilinear map: 1×2→T. Let G and H be the generator and parity check matrices, respectively, of the error-correcting code C, and let H: {0,1}n→q be an invertible function. The algorithms of FM-DSIGecc which accepts messages in {0,1}k×q are as follows.
If so, output valid. Otherwise output invalid.
Using the above FM-DSIG constructions in the medical test device application, the product manufacturer can obtain a verification/signing key pair via (pk, sk) fgen(λ), and then register the verification key pk with a certificate authority CA. Users who wish to verify the authenticity of products will use a verification computer 11 containing the algorithms fver, fclo of FM-DSIG, and the verification keys of all trusted CAs. The manufacturer generates the digital signature σ=fsig(sk, m1∥m2). After using the test, the verifier computer can select the verification key pk corresponding to product manufacturer, and run fver(pk, m′, σ) to determine whether σ is a valid signature for the read messages m′1, m′2 in m′. If σ is valid, the verifier computer accesses signature management server 12, using the URL contained in m2, to report (m′, σ) as described above. Server 12 also runs fver(pk, m′, σ) to check signature validity as described. Using the second construction above, the FM-DSIG scheme is feu-w-cma secure, protecting against forgeries even on previously signed messages (and also messages close to those).
Many changes and modifications can of course be made to the exemplary embodiments described. For example, the fuzzy message could be visible before the test is used. This would allow clinics, doctors, etc., to verify the authenticity of the product without having to use it. Where verification may be performed for products of multiple different manufacturers, the number of trusted verification keys stored by verification computers could be reduced by having the signature σ signed by a chain of certificate authorities. Verification computers would then only need to store verification keys of root CAs.
The schemes described can be applied to other forms of medical test device, e.g. nitrocellulose based test strips, and to any other products for which authentication may be required. It will be apparent that the embodiments described are especially advantageous where there is limited space for the message to be authenticated and the space limitation means that a message may be inaccurately printed or read and constrains added redundancy for the fuzzy message. Messages may of course be applied to products/packaging in other ways, e.g. using tamper-proof stickers, or may be otherwise printed on or embedded in products/packaging in any convenient manner. Also, scenarios can be envisaged in which verification of signatures by verifier computer 11 is sufficient for authentication, i.e. signature management server 12 is not required. Steps performed by server 12 might be performed by verifier computer 11 in some scenarios.
The difference measure D for the FM-DSIG scheme may be implemented in various other ways as will be apparent to those skilled in the art. For instance, a difference measure based on Euclidean distance may be used in other embodiments. The second FM-DSIG scheme above may of course be based on codes other than binary codes.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Number | Name | Date | Kind |
---|---|---|---|
8534544 | Eker et al. | Sep 2013 | B1 |
8667290 | Appelbaum | Mar 2014 | B2 |
8775809 | Tuyls | Jul 2014 | B2 |
8934682 | Baughman | Jan 2015 | B2 |
20070282635 | Kereun | Dec 2007 | A1 |
20070292969 | Canseco | Dec 2007 | A1 |
20110302419 | Yoshioka | Dec 2011 | A1 |
20120069992 | Jozwiak et al. | Mar 2012 | A1 |
20120273564 | Mercolino | Nov 2012 | A1 |
20130028411 | Arkko | Jan 2013 | A1 |
20140122123 | Hofstetter | May 2014 | A1 |
20140175165 | Havens et al. | Jun 2014 | A1 |
Entry |
---|
J P Smith, Authentication of digital medical images with digital signature technology. RSNA, Radiology, Mar. 1995, vol. 194, Issue 3. Abstract only pp. 1-2. |
Hui-Mei Chao et al., A data-hiding technique with authentication, integration, and confidentiality for electronic patient records. IEEE Transactions on Information Technology in Biomedicine (vol. 6, Issue: 1, Mar. 2002), pp. 16-53. Abstract only p. 1. |
Wei Pan et al., Medical image integrity control combining digital signature and lossless watermarking. Data Privacy Management and Autonomous Spontaneous Security, vol. 5939 of the series Lecture Notes in Computer Science pp. 153-162, Sep. 24-25, 2009, reprint pp. 1-11. |
Dan Boneh & Xavier Boyen, Short Signatures Without Random Oracles and the SDH Assumption in Bilinear Groups, Journal of Cryptology, Apr. 2008, vol. 21, Issue 2, pp. 149-177 (Author's copy pp. 1-27). |
Jan L. Camenisch, et al., unpublished U.S. Appl. No. 15/859,358, filed Dec. 30, 2017, Authentication of Packaged Products, pp. 1-34 plus 5 sheets of drawings. |
Paul J. Otterstedt, List of IBM Patents or Patent Applications Treated as Related, Jun. 20, 2018, pp. 1-2. |
Number | Date | Country | |
---|---|---|---|
20180240132 A1 | Aug 2018 | US |