Information processing apparatus, signature providing method, signature verifying method, program, and recording medium
10075299 ยท 2018-09-11
Assignee
Inventors
Cpc classification
H04L9/3026
ELECTRICITY
H04L9/3093
ELECTRICITY
International classification
H04L9/32
ELECTRICITY
Abstract
An information processing apparatus including a message generating unit that generates N sets of messages based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n, a first information selecting unit that inputs a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information, and selects N pieces of first information, a second information generating unit that generate N pieces of second information, and a signature providing unit that provides a verifier with the N pieces of first information and the N pieces of second information as a digital signature.
Claims
1. An information processing apparatus, comprising: a memory configured to store data and instructions; and one or more processors configured to execute the instructions stored in the memory to secure electronic documents based on a multi-order multivariate simultaneous equation, wherein the one or more processors are configured to: generate and store in the memory, N sets of messages generated based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n; select, by a one-way function that receives input data M and the N sets of messages, one piece of first information from among k (where k3) pieces of the first information, wherein the one piece of first information is selected based on a set of input information; select, by the one-way function, N pieces of the first information; generate N pieces of second information corresponding to the N pieces of the first information; and transmit from the information processing apparatus, via a network, to a verifier apparatus that holds the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)), the N pieces of the first information and the N pieces of the second information as a digital signature, wherein the N pieces of the first information of the digital signature are transmitted in parallel to the verifier apparatus in a single transmission, wherein the verifier apparatus uses the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information for authentication of a prover apparatus, wherein the verifier apparatus verifies that F(s)=y is a solution to the multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the digital signature transmitted from the information processing apparatus, wherein the vector s is a signature key that is unleaked to the verifier apparatus, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure the electronic documents.
2. The information processing apparatus according to claim 1, wherein the multi-order multivariate polynomial set F is set in a manner that F.sub.b(x,y) defined as F.sub.b(x,y)=F(x+y)F(x)F(y) is bilinear for x and y.
3. The information processing apparatus according to claim 1, wherein the multi-order multivariate polynomial set F is generated based on information which differs with respect to a user.
4. The information processing apparatus according to claim 1, wherein the multi-order multivariate polynomial set F is expressed by a sum of a second-order polynomial F.sup.A in which F.sub.b(x,y) defined as F.sub.b(x,y)=F.sup.A(x+y)F.sup.A(x)F.sup.A (y) is bilinear for x and y and a third-order or higher-order term.
5. An information processing apparatus, comprising: a memory configured to store: a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K, and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(S)); and one or more processors operable to execute instructions stored in the memory to secure electronic documents based on a multi-order multivariate simultaneous equation, wherein the one or more processors are configured to: receive, via a network, N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n; receive, via the network, a digital signature including N pieces of first information and N pieces of second information, wherein the N pieces of the first information of the digital signature are received in parallel in a single transmission; verify a prover apparatus holds the vector s based on the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information, wherein the prover apparatus is authenticated based on a verification that F(s)=y is a solution to the multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the digital signature received by the information processing apparatus, wherein the N pieces of the first information are selected by a one-way function that receives input data M and the N sets of messages, wherein one piece of the first information is selected by the one-way function from among k (where k3) pieces of the first information based on a set of input information, and wherein the N pieces of the second information correspond to the N pieces of the first information; and verify validity of the data M based on the N sets of messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature, wherein the vector s is a signature key, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure the electronic documents.
6. The information processing apparatus according to claim 5, wherein the multi-order multivariate polynomial set F is set in a manner that F.sub.b(x,y) defined as F.sub.b(x,y)=F(x+y)F(x)F(y) is bilinear for x and y.
7. The information processing apparatus according to claim 5, wherein the multi-order multivariate polynomial set F is generated based on information differing with respect to a user.
8. The information processing apparatus according to claim 5, wherein the multi-order multivariate polynomial set F is expressed by a sum of a second-order polynomial F.sup.A in which F.sub.b(x,y) defined as F.sub.b(x,y)=F.sup.A(x+y)F.sup.A(x)F.sup.A (y) is bilinear for x and y and a third-order or higher-order term.
9. A signature providing method, comprising: in an information processing apparatus that secures electronic documents by a multi-order multivariate simultaneous equation, the information processing apparatus comprising one or more processors and a memory: generating and storing in the memory, N sets of messages generated based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n; select, by a one-way function that receives input data M and the N sets of messages, one piece of first information from among k (where k3) pieces of the first information, wherein the one piece of first information is selected based on a set of input information; selecting, by the one-way function, N pieces of the first information; generating N pieces of second information corresponding to the N pieces of the first information; and transmitting, from the information processing apparatus, via a network, to a verifier apparatus that holds the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)), the N pieces of the first information and the N pieces of the second information as a digital signature, wherein the N pieces of the first information of the digital signature are transmitted in parallel to the verifier apparatus in a single transmission, wherein the verifier apparatus uses the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information for authentication of a prover apparatus, wherein the verifier apparatus verifies that F(s)=y is a solution to the multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the digital signature transmitted from the information processing apparatus, wherein the vector s is a signature key that is unleaked to the verifier apparatus, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure the electronic documents.
10. A signature verifying method, comprising: storing, in a memory, a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector vectors y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)); receiving, via a network, N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s, wherein the vector s is an element of a set K.sup.n; receiving, via the network, a digital signature including N pieces of first information and N pieces of second information, wherein the N pieces of the first information of the digital signature are received in parallel in a single transmission; verifying a prover apparatus holds the vector s based on the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information, wherein the prover apparatus is authenticated based on a verification that F(s)=y is a solution to a multi-order multivariate simultaneous equation, wherein the solution of the mufti-order multivariate simultaneous equation reduces a communication data size of the received digital signature, wherein the N pieces of the first information are selected by a one-way function, that receives as input, data M and the N sets of messages, wherein one piece of the first information is selected from among k (where k>3) pieces of the first information by the one-way function based on a set of input information, and wherein the N pieces of the second information correspond to the N pieces of the first information; and verifying validity of the data M based on the N sets of messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature, wherein the vector s is a signature key, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure electronic documents.
11. A non-transitory computer-readable medium having stored thereon computer-readable instructions, which when executed by a computer, cause the computer to execute operations, the operations comprising: in an information processing apparatus that secures electronic documents by a multi-order multivariate simultaneous equation, the information processing apparatus comprising one or more processors and a memory: generating and storing in the memory, N sets of messages generated based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n; selecting, by a one-way function that receives input data and the N sets of messages, one piece of first information from among k (where k3) pieces of the first information based on a set of input information; selecting, by the one-way function, N pieces of the first information; generating N pieces of second information corresponding to the N pieces of the first information; and transmitting from the information processing apparatus, via a network, to a verifier apparatus that holds the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)), the N pieces of the first information and the N pieces of the second information as a digital signature, wherein the N pieces of the first information of the digital signature are transmitted in parallel to the verifier apparatus in a single transmission, wherein the verifier apparatus uses the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information for authentication of a prover apparatus, wherein the verifier apparatus verifies that F(s)=y is a solution to the multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the digital signature transmitted from the information processing apparatus, wherein the vector s is a signature key that is unleaked to the verifier apparatus, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information for security of the electronic documents.
12. A non-transitory computer-readable medium having stored thereon computer-readable instructions, which when executed by a computer, cause the computer to execute operations, the operations comprising: storing, in a memory, a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K, and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)); receiving, via a network, N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n; receiving, via the network, a digital signature including N pieces of first information and N pieces of second information, wherein the N pieces of the first information of the digital signature are received in parallel in a single transmission; verifying a prover apparatus holds the vector s based on the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information, wherein the prover apparatus is authenticated based on a verification that F(s)=y is a solution to a multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the received digital signature, wherein the N pieces of the first information are selected by a one-way function that receives input data M and the N sets of messages, wherein one piece of first information is selected by the one-way function from among k (where k3) pieces of the first information based on a set of input information, and wherein the N pieces of the second information correspond to the N pieces of the first information; and verifying validity of the data M based on the N sets of messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature, wherein the vector s is a signature key, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure electronic documents.
13. A non-transitory computer-readable medium having stored thereon computer-readable instructions, which when executed by a computer, cause the computer to execute operations, the operations comprising: generating and storing in a memory, N sets of messages generated based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m)) defined on a ring K and a vector s that is an element of a set K.sup.n; selecting, by a one-way function that receives as input an electronic document M and the N sets of messages, selecting, by the one-way function, one piece of first information from among k (where k3) pieces of the first information based on a set of input information; selecting N pieces of the first information; generating N pieces of second information corresponding to the N pieces of the first information; and transmitting, via a network, to a verifier apparatus that holds the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)), the N pieces of the first information and the N pieces of the second information as a digital signature, wherein the N pieces of the first information of the digital signature are transmitted in parallel to the verifier apparatus in a single transmission, wherein the verifier apparatus uses the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information for authentication of a prover apparatus, wherein the verifier apparatus verifies that F(s)=y is a solution to a multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the digital signature transmitted to the verifier apparatus, wherein the vector s is a signature key that is unleaked to the verifier apparatus, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information to secure electronic documents.
14. A non-transitory computer-readable medium having stored thereon computer readable instructions, which when executed by a computer, cause the computer to execute operations, the operations comprising: storing, in a memory, a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m), wherein the multi-order multivariate polynomial set F is defined on a ring K and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)); receiving, via a network, N sets of messages generated based the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n; receiving, via the network, a digital signature including N pieces of first information and N pieces of second information, wherein the N pieces of the first information of the digital signature are received in parallel in a single transmission; verifying a prover apparatus holds the vector s based on the multi-order multivariate polynomial set F, the vector y, the N pieces of the first information and the N pieces of the second information, wherein the prover apparatus is authenticated based on a verification that F(s)=y is a solution to a multi-order multivariate simultaneous equation, wherein the solution of the multi-order multivariate simultaneous equation reduces a communication data size of the received digital signature, wherein the N pieces of the first information are selected by a one-way function that receives input data M and the N sets of messages, wherein one piece of first information is selected from among k (where k3) pieces of the first information based on a set of input information, and wherein the N pieces of the second information correspond to the N pieces of the first information; and validating the data M based on the N sets of messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature, wherein the vector s is a signature key, wherein the multi-order multivariate polynomial set F is a first public key or a system parameter, wherein the vector y is a second public key, wherein the N sets of messages include information obtained by an operation on the one piece of the first information, wherein the one piece of the first information corresponds to the second information, and is selected from among the k pieces of the first information, based on the first and second public keys and the second information, and wherein the verification that F(s)=y is the solution to the multi-order multivariate simultaneous equation secures the N pieces of the first information and the N pieces of the second information for security of electronic documents.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
(22)
(23)
(24)
(25)
(26)
(27)
(28)
(29)
(30)
(31)
(32)
(33)
(34)
(35)
(36)
(37)
(38)
(39)
(40)
DESCRIPTION OF EMBODIMENTS
(41) Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the appended drawings. Note that, in this specification and the drawings, elements that have substantially the same function and structure are denoted with the same reference signs, and repeated explanation is omitted.
(42) [Flow of Description]
(43) Here, a flow of the description of embodiments of the present technology to be made below will be briefly described. First, an algorithm structure of a public-key authentication scheme will be described with reference to
(44) Then, an algorithm of a public-key authentication scheme according to a first embodiment (3-pass) of the present technology will be described with reference to
(45) Then, an algorithm of a public-key authentication scheme according to a second embodiment (5-pass) of the present technology will be described with reference to
(46) Then, an extended technique for applying the efficient algorithms according to the first and second embodiments of the present technology to a second- or higher-order multivariate polynomial will be described. Then, a mechanism of increasing robustness of an interactive protocol according to the first and second embodiments of the present technology will be described. Further, a mechanism of avoiding leakage of the secret key caused by an irregular challenge and a mechanism of eliminating a risk of forgery will be described with reference to
(47) Finally, a summary of the technical spirit of the present embodiments and operational advantageous effects obtained from the technical spirit will be described in brief.
(48) (Detailed Articles)
(49) 1: Introduction
(50) 1-1: Algorithm of Public-Key Authentication Scheme
(51) 1-2: Algorithm for Digital Signature Scheme
(52) 1-3: N-pass Public-Key Authentication Scheme
(53) 2: First Embodiment
(54) 2-1: Algorithm of Public-Key Authentication Scheme
(55) 2-2: Extended Algorithm
(56) 2-3: Parallelized Algorithm
(57) 2-4: Specific Example (when Second-Order Polynomial Is Used)
(58) 2-5: Efficient Algorithm
(59) 2-6: Modification into Digital Signature Scheme
(60) 2-6-1: Transforming Method
(61) 2-6-2: Streamlining of Digital Signature Algorithm
(62) 2-7: Form of Multi-Order Multivariate Simultaneous Equation
(63) 2-7-1: Form Related to Common Key Block Cipher
(64) 2-7-2: Form Related to Hash Function
(65) 2-7-3: Form Related to Stream Cipher
(66) 2-8: Serial Parallel Hybrid Algorithm
(67) 3: Second Embodiment
(68) 3-1: Algorithm of Public-Key Authentication Scheme
(69) 3-2: Extended Algorithm
(70) 3-3: Parallelized Algorithm
(71) 3-4: Specific Example (when Second-Order Polynomial Is Used)
(72) 3-5: Efficient Algorithm
(73) 3-6: Serial Parallel Hybrid Algorithm
(74) 4: Extension of Efficient Algorithm
(75) 4-1: High-Order Multivariate Polynomial
(76) 4-2: Extension Scheme (Addition of High-Order Term)
(77) 5: Mechanism of Increasing Robustness
(78) 5-1: Method of Setting System Parameters
(79) 5-2: Method of Responding To Irregular Challenge
(80) 5-2-1: Responding Method by Prover
(81) 5-2-2: Responding Method by Verifier
(82) 6: Hardware Configuration
(83) 7: Conclusion
1: Introduction
(84) First, before embodiments of the present technology are described in detail, overviews of an algorithm of a public-key authentication scheme, an algorithm of a digital signature scheme, and an n-pass public-key authentication scheme will be described in brief.
1-1: Algorithm of Public-Key Authentication Scheme
(85) First, an overview of an algorithm of a public-key authentication scheme will be described with reference to
(86) A public-key authentication is used when a person (prover) convinces another person (verifier) that she is the prover herself by using a public key pk and a secret key sk. For example, a public key pk.sub.A of a prover A is made known to the verifier B. On the other hand, a secret key skA of the prover A is secretly managed by the prover A. According to the public-key authentication scheme, a person who knows the secret key sk.sub.A corresponding to the public key pk.sub.A is regarded as the prover A herself.
(87) In order for the prover A to prove to the verifier B that she is the prover A herself using the public-key authentication setup, the prover A, via a interactive protocol, presents proof to the verifier B indicating that she knows the secret key sk.sub.A corresponding to the public key pk.sub.A. The proof indicating the prover A knows the secret key sk.sub.A is then presented to verifier B, and in the case where the verifier B is able to confirm that proof, the validity of the prover A (the fact that the prover A is herself) is proven.
(88) However, a public-key authentication setup demands the following conditions in order to ensure safety.
(89) The first condition is to lower as much as possible the probability of falsification being established, at the time the interactive protocol is performed, by a falsifier not having the secret key sk. That this first condition is satisfied is called soundness. In other words, the soundness means that falsification is not established during the excusion of an interactive protocol by a falsifier not having the secret key sk with a non-negligible probability. The second condition is that, even if the interactive protocol is performed, information on the secret key sk.sub.A of the prover A is not at all leaked to the verifier B. That this second condition is satisfied is called zero knowledge.
(90) Conducting public-key authentication safely involves using an interactive protocol exhibiting both soundness and zero-knowledge. If an authentication process were hypothetically conducted using an interactive protocol lacking soundness and zero-knowledge, there would be a definite chance of false verification and a definite chance of the divulgence of secret key information, and thus the validity of the prover would not be proven even if the process itself is completed successfully. Consequently, the question of how to ensure the soundness and zero-knowledge of a session protocol is important.
(91) (Model)
(92) In a model of the public-key authentication scheme, two entities, namely a prover and a verifier, are present, as shown in
(93) On the other hand, the verifier performs the interactive protocol by using a verifier algorithm V, and verifies whether or not the prover possesses the secret key corresponding to the public key that the prover has published. That is, the verifier is an entity that verifies whether or not a prover possesses a secret key corresponding to a public key. As described, a model of the public-key authentication scheme is configured from two entities, namely the prover and the verifier, and three algorithms, namely the key generation algorithm Gen, the prover algorithm P and the verifier algorithm V.
(94) Additionally, expressions prover and verifier are used in the following description, but these expressions strictly mean entities. Therefore, the subject that performs the key generation algorithm Gen and the prover algorithm P is an information processing apparatus corresponding to the entity prover. Similarly, the subject that performs the verifier algorithm V is an information processing apparatus. The hardware configuration of these information processing apparatuses is as shown in
(95) (Key Generation Algorithm Gen)
(96) The key generation algorithm Gen is used by a prover. The key generation algorithm Gen is an algorithm for generating a pair of public key pk and secret key sk unique to the prover. The public key pk generated by the key generation algorithm Gen is published. Furthermore, the published public key pk is used by the verifier. On the other hand, the secret key sk generated by the key generation algorithm Gen is secretly managed by the prover. The secret key sk that is secretly managed by the prover is used to prove to the verifier of possession of the secret key sk corresponding to the public key pk by the prover. Formally, the key generation algorithm Gen is represented as formula (1) below as an algorithm that takes security parameter 1 ( is an integer of 0 or more) as an input and outputs the secret key sk and the public key pk.
[Math 1]
(sk,pk)Gen(1.sup.)(1)
(97) (Prover Algorithm P)
(98) The prover algorithm P is used by a prover. The prover algorithm P is an algorithm for proving to the verifier that the prover possesses the secret key sk corresponding to the public key pk. In other words, the prover algorithm P is an algorithm that takes the public key pk and the secret key sk as inputs and performs the interactive protocol.
(99) (Verifier Algorithm V)
(100) The verifier algorithm V is used by the verifier. The verifier algorithm V is an algorithm that verifies whether or not the prover possesses the secret key sk corresponding to the public key pk during the session protocol. The verifier algorithm V is an algorithm that accepts a public key pk as input, and outputs 0 or 1 (1 bit) according to the execution results of the session protocol. At this point, the verifier decides that the prover is invalid in the case where the verifier algorithm V outputs 0, and decides that the prover is valid in the case where the verifier algorithm V outputs 1. Formally, the verifier algorithm V is expressed as in the following formula (2).
[Math 2]
0/1V(pk)(2)
(101) As above, realizing meaningful public-key authentication involves having the interactive protocol satisfy the two conditions of soundness and zero-knowledge. However, proving that the prover possesses the secret key sk involves the prover executing a procedure dependent on the secret key sk, and after notifying the verifier of the result, causing the verifier to execute verification based on the content of the notification. The procedure dependent on the secret key sk is executed to ensure soundness. At the same time, no information about the secret key sk should be revealed to the verifier. For this reason, the above key generation algorithm Gen, prover algorithm P, and verifier algorithm V are skillfully designed to satisfy these requirements.
(102) The foregoing thus summarizes the algorithms in a public-key authentication scheme.
1-2: Algorithms for Digital Signature Scheme
(103) Next, algorithms for a digital signature scheme will be summarized with reference to
(104) Unlike paper documents, it is not possible to physically sign or affix a seal to digitized data. For this reason, proving the creator of digitized data involves an electronic setup yielding effects similarly to physically signing or affixing a seal to a paper document. This setup is digital signatures. A digital signature refers to a setup that associates given data with signature data known only to the creator of the data, provides the signature data to a recipient, and verifies that signature data on the recipient's end.
(105) (Model)
(106) As illustrated in
(107) The signer uses the key generation algorithm Gen to generate a paired signature key sk and verification key pk unique to the signer. The signer also uses the signature generation algorithm Sig to generate a digital signature q to attach to a message M. In other words, the signer is an entity that attaches a digital signature to a message M. Meanwhile, the verifier uses the signature verifying algorithm Ver to verify the digital signature attached to the message M. In other words, the verifier is an entity that verifies the digital signature q in order to confirm whether or not the creator of the message M is the signer.
(108) Note that although the terms signer and verifier are used in the description hereinafter, these terms ultimately mean entities. Consequently, the agent that executes the key generation algorithm Gen and the signature generation algorithm Sig is an information processing apparatus corresponding to the signer entity. Similarly, the agent that executes the signature verifying algorithm Ver is an information processing apparatus. The hardware configuration of these information processing apparatus is as illustrated in
(109) (Key Generation Algorithm Gen)
(110) The key generation algorithm Gen is used by the signer. The key generation algorithm Gen is an algorithm that generates a paired signature key sk and verification key pk unique to the signer. The verification key pk generated by the key generation algorithm Gen is made public. Meanwhile, the signer keeps the signature key sk generated by the key generation algorithm Gen a secret. The signature key sk is then used to generate digital signature q to attach to a message M. For example, the key generation algorithm Gen accepts a security parameter 1.sup.p(where p is an integer equal to or greater than 0) as input, and outputs a signature key sk and a verification key pk. In this case, the key generation algorithm Gen may be expressed formally as in the following formula (3).
[Math 3]
(sk,pk)Gen(1.sup.)(3)
(111) (Signature Generation Algorithm Sig)
(112) The signature generation algorithm Sig is used by the signer. The signature generation algorithm Sig is an algorithm that generates a digital signature q to be attached to a message M. The signature generation algorithm Sig is an algorithm that accepts a signature key sk and a message M as input, and outputs a digital signature q. The signature generation algorithm Sig may be expressed formally as in the following formula (4).
[Math 4]
Sig(sk,M)(4)
(113) (Signature Verifying Algorithm Ver)
(114) The signature verifying algorithm Ver is used by the verifier. The signature verifying algorithm Ver is an algorithm that verifies whether or not the digital signature q is a valid digital signature for the message M. The signature verifying algorithm Ver is an algorithm that accepts a signer's verification key pk, a message M, and a digital signature q as input, and outputs 0 or 1 (1 bit). The signature verifying algorithm Ver may be expressed formally as in the following formula (5). At this point, the verifier decides that the digital signature q is invalid in the case where the signature verifying algorithm Ver outputs 0 (the case where the verification key pk rejects the message M and the digital signature q), and decides that the digital signature q is valid in the case where the signature verifying algorithm Ver outputs 1 (the case where the verification key pk accepts the message M and the digital signature q).
[Math 5]
0/1Ver(pk,M,)(5)
(115) The foregoing thus summarizes the algorithms in a digital signature scheme.
1-3: N-Pass Public-Key Authentication Scheme
(116) Next, an n-pass public-key authentication scheme will be described with reference to
(117) As above, a public-key authentication scheme is an authentication scheme that proves to a verifier that a prover possesses a secret key sk corresponding to a public key pk during an interactive protocol. Further, the interactive protocol has to satisfy the two conditions of soundness and zero-knowledge. For this reason, during the interactive protocol both the prover and the verifier exchange information n times while executing respective processes, as illustrated in
(118) In the case of an n-pass public-key authentication scheme, the prover executes a process using the prover algorithm P (operation #1), and transmits information T.sub.1 to the verifier. Subsequently, the verifier executes a process using the verifier algorithm V (operation #2), and transmits information T.sub.2 to the prover. This execution and processes and transmission of information T.sub.k is successively conducted for k=3 to n (operation #k), and lastly, a process (operation #n+1) is executed. Transmitting and receiving information n times in this way is thus called an n-pass public-key authentication scheme.
(119) The foregoing thus describes an n-pass public-key authentication scheme.
2: First Embodiment
(120) Hereinafter, description will be given on the first embodiment of the present technology. The embodiments herein relate to a public-key authentication scheme and a digital signature scheme that base their safety on the difficulty of solving multi-order multivariate simultaneous equations. However, the embodiments herein differ from techniques of the related art such as HFE digital signature schemes, and relate to a public-key authentication scheme and a digital signature scheme that utilize multi-order multivariate simultaneous equations that lack a means of efficient solving (trapdoors).
2-1: Algorithm of Public-Key Authentication Scheme
(121) First of all, an algorithm of a public-key authentication scheme (hereinafter, a present technique) according to the present embodiment will be described with reference to
(122) (Key Generation Algorithm Gen)
(123) The key generation algorithm Gen generates m multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.m) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of a set K.sup.n. Next, the generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the generation algorithm Gen sets (f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n), y) in the public key pk and sets s as a secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented as x and a pair of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented as F(x).
(124) (Prover Algorithm P, Verifier Algorithm V)
(125) Next, a process performed by the prover algorithm P and a process performed by the verifier algorithm V during the interactive protocol will be described with reference to
(126) During the foregoing interactive protocol, a prover does not leak information on the secret key s at all to a verifier and expresses to the verifier that she herself knows s satisfying y=F(s). On the other hand, the verifier verifies whether or not the prover knows s satisfying y=F(s). The public key pk is assumed to be made known to the verifier. Also, the secret key s is assumed to be secretly managed by the prover. Hereinafter, the description will be made with reference to the flowchart illustrated in
(127) Operation #1:
(128) First, the prover algorithm P selects any number of w. Subsequently, the prover algorithm P generates a vector r which is an element of the set K.sup.n and a number w.sup.A by applying the number w to a pseudo-random number generator G1. That is, the prover algorithm P calculates (r, w.sup.A)G.sub.1(w). Subsequently, the prover algorithm P generates a multivariate polynomial F.sup.A(x)=(f.sup.A.sub.1(x), . . . , f.sup.A.sub.m(x)) by applying the number w.sup.A to the pseudo-random number generator G.sub.2. That is, the prover algorithm P calculates F.sup.AG.sub.2(w.sup.A).
(129) Operation #1 (Continued):
(130) Subsequently, the prover algorithm P calculates zsr. This calculation is equivalent to masking the secret key s with the vector r. Additionally, the prover algorithm P calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation is equivalent to masking the multivariate polynomial F(x+r) for x with the multivariate polynomial F.sup.A(x).
(131) Operation #1 (Continued):
(132) Subsequently, the prover algorithm P generates a hash value c.sub.1 of z and F.sup.A(z). That is, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.A(z), z). Also, the prover algorithm P generates a hash value c.sub.2 of the number wA. That is, the prover algorithm P calculates c.sub.2H.sub.2(w.sup.A). Also, the prover algorithm P generates a hash value c.sub.3 of a multivariate polynomial F.sup.B. That is, the prover algorithm P calculates c.sub.3H.sub.3(F.sup.B(x)). Note that the above H.sub.1( . . . ), H.sub.2( . . . ), H.sub.3( . . . ) are hash functions. The hash values (c.sub.1, c.sub.2, c.sub.3) are sent as a message to the verifier algorithm V. At this time, it should be noted that information on s, information on r, and information on z are not at all leaked to the verifier.
(133) Operation #2:
(134) Upon receiving the message (c.sub.1, c.sub.2, c.sub.3), the verifier algorithm V selects which verification pattern to use from among three verification patterns. For example, the verifier algorithm V may select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(135) Operation #3:
(136) Upon receiving the challenge d, the prover algorithm P generates a response Rsp to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =w. In the case where d=1, the prover algorithm P generates a response =(w.sup.A, z). In the case where d=2, the prover algorithm P generates a response =(F.sup.B.sub.(z), z). The response generated in operation #3 is sent to the verifier algorithm V. At this time, it should be noted that the information on z is not at all leaked to the verifier in the case where d=0, and the information on r is not at all leaked to the verifier in the case where d=1 or 2.
(137) Operation #4:
(138) The verifier algorithm V that has received the response performs the following verification process using the received response .
(139) In the case where d=0, the verifier algorithm V calculates (r.sup.A, w.sup.B)G.sub.1(). Also, the verifier algorithm V calculates F.sup.CG.sub.2(w.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F(x+r.sup.A)+F.sup.c(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(140) In the case where d=1, the verifier algorithm V sets (w.sup.B, z.sup.A). Also, the verifier algorithm V calculates F.sup.CG.sub.2(w.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.C(z.sup.A), z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(141) In the case where d=2, the verifier algorithm V sets (F.sup.D, z.sup.A). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.D(z.sup.A)y, z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F.sup.D) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(142) The example of the each algorithm structure related to the present technique has been described above.
(143) (Soundness of the Present Technique)
(144) Here, the description of the soundness of the present technique will be supplemented. The soundness of the present technique is ensured based on the logic that F.sup.D, F.sup.C, r.sup.A, z.sup.A and r.sub.1 satisfying the following formula (6) and formula (7) below can be calculated when the prover algorithm P returns an appropriate response for all of the challenges d=0, 1, and 2 selectable by the verifier algorithm V.
[Math 6]
F.sup.D(x)=F(x+r.sup.A)+F.sup.C(x)(6)
F.sup.D(z.sup.A)y=F.sup.C(z.sup.A)(7)
(145) By ensuring the foregoing soundness, the fact that successful forgery with a probability higher than is not possible is ensured as long as the problem of solving the multi-order multivariate simultaneous equations is not solved. That is, to appropriately make the response to all of the challenges d=0, 1, 2 of the verifier, the falsifier has to calculate F.sup.D, F.sup.C, r.sup.A, and z.sup.A satisfying the foregoing formula (6) and formula (7). In other words, the falsifier has to calculate s satisfying F(s)=y. However, there remains a probability of the falsifier making appropriate responses for two higher challenges among the challenges d=0, 1, 2 of the verifier. Therefore, the success probability of the false verification becomes . Further, by repeatedly executing the foregoing interactive protocol a sufficiently large number of times, the probability of a successful forgery becomes negligibly small.
(146) The soundness of the present technique has been described above.
Modified Example
(147) Here, a modified example of the above algorithm will be introduced. The key generation algorithm Gen calculates yF(s) and sets (F,y) as the public key. However, in the present modified example, the key generation algorithm Gen calculates (y.sub.1, . . . , y.sub.m)F(s) and (f.sub.1*(x), . . . , f.sub.m*(x))(f.sub.1(x)y.sub.1, . . . , f.sub.m(x)y.sub.m), and sets (f.sub.1*, . . . , f.sub.m*) as the public key. In the case of this modification, it is possible to perform the interactive protocol at y=0.
(148) Further, the prover algorithm P generates the message c.sub.1 based on F.sup.B(z) and z. However, due to a relation of F.sup.B(z)=F.sup.A(z), even when a modification is made so that the message c.sub.1 is generated based on F.sup.A(z) and z, a similar interactive protocol is realized. Further, the structure of the prover algorithm P may be modified so that a hash value of F.sup.B(z) and a hash value of z are separately calculated and then sent to the verifier algorithm V as messages.
(149) Further, the prover algorithm P generates the vector r and the number w.sup.A by applying the number w to the pseudo random number generator G.sub.1. Further, the prover algorithm P generates the multivariate polynomial F.sup.A(x) by applying the number w.sup.A to the pseudo random number generator G.sub.2. However, the structure of the prover algorithm P may be modified so that w=(r,F.sup.A) is calculated from the beginning using identity mapping as G.sub.1. In this case, the number w need not be applied to G.sub.1. This is the same for G.sub.2.
(150) Further, in the interactive protocol, (F,y) is used as the public key. The multivariate polynomial F included in the public key is a parameter that does not depend on the secret key sk. For this reason, the common multivariate polynomial F may be used in the entire system without setting the multivariate polynomial F for each prover. In this case, y is sufficient as the public key set for each prover, and thus it is possible to reduce the size of the public key. However, it is desirable to set the multivariate polynomial F for each prover in view of security. A method of setting the multivariate polynomial F in this case will be described later in detail.
(151) Further, in the interactive protocol, (f.sub.1, . . . , f.sub.m,y) is used as the public key, and F=(f.sub.1, . . . , f.sub.m) is a parameter which can be appropriately selected. For this reason, for example, the prover and the verifier may prepare a seed w.sub.pk of a random number and calculate FG*(w.sub.pk) using a pseudo random number generator G*. In this case, even when the public key is (w.sub.pk,y) and (F,y) is made known as the public key, it is possible to reduce the size of the public key.
(152) In the algorithm, c.sub.1, c.sub.2, and c.sub.3 are calculated using the hash functions H.sub.1, H.sub.2, and H.sub.3, but a commitment function COM may be used instead of the hash function. The commitment function COM is a function in which a character string S and a random number are factors. An example of the commitment function includes a scheme published in the international conference CRYPTO 1996 by Shai Halevi and Silvio Micali.
(153) When the commitment function is used, random numbers .sub.1, .sub.2, and .sub.3 are prepared before c.sub.1, c.sub.2, and c.sub.3 are calculated, and c.sub.1, c.sub.2, and c.sub.3 are generated by applying commitment functions COM(,.sub.1), COM(,.sub.2), and COM(,.sub.2) instead of applying hash functions H.sub.1(), H.sub.2(), and H.sub.3(). Here, .sub.i necessary for the verifier to generate c.sub.i is set to be included in a response and sent. This modification can be applied to the entire algorithm which will be described later.
(154) The modified example of the present technique has been described above.
2-2: Extended Algorithm
(155) Next, an algorithm of a public-key authentication scheme (hereinafter referred to as an extended technique) extended from the present technique will be described with reference to
(156) In the extended technique described herein, the message (c.sub.1, c.sub.2, c.sub.3) transmitted at the first pass is converted into one hash value c and sent to the verifier. Here, a message that is hardly restored using the response sent at the third pass is sent to the verifier together with the response . By applying the extended technique, the amount of information sent to the verifier during the interactive protocol can be reduced. Next, the structure of each algorithm related to the extended technique will be described in detail.
(157) (Key Generation Algorithm Gen)
(158) The key generation algorithm Gen generates m multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of a set K.sup.n. Next, the generation algorithm Gen calculates y=(y.sub.1, . . . y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the generation algorithm Gen sets (f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n), y) in the public key pk and sets s as a secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented as x and a pair of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented as F(x).
(159) (Prover Algorithm P, Verifier Algorithm V)
(160) Next, a process performed by the prover algorithm P and a process performed by the verifier algorithm V during the interactive protocol will be described with reference to
(161) During the foregoing interactive protocol, a prover does not leak information on the secret key s at all to a verifier and expresses to the verifier that she herself knows s satisfying y=F(s). On the other hand, the verifier verifies whether or not the prover knows s satisfying y=F(s). The public key pk is assumed to be made known to the verifier. Also, the secret key s is assumed to be secretly managed by the prover. Hereinafter, the description will be made with reference to the flowchart illustrated in
(162) Operation #1:
(163) First, the prover algorithm P selects any number of w. Subsequently, the prover algorithm P generates a vector r which is an element of the set K.sup.n and a number w.sup.A by applying the number w to a pseudo-random number generator G.sub.1. That is, the prover algorithm P calculates (r, w.sup.A)G.sub.1(w). Subsequently, the prover algorithm P generates a multivariate polynomial F.sup.A(x)=(f.sup.A.sub.1(x), . . . , f.sup.A.sub.m(x)) by applying the number w.sup.A to the pseudo-random number generator G.sub.2. That is, the prover algorithm P calculates F.sup.AG.sub.2(w.sup.A).
(164) Operation #1 (Continued):
(165) Subsequently, the prover algorithm P calculates zsr. This calculation is equivalent to masking the secret key s with the vector r. Additionally, the prover algorithm P calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation is equivalent to masking the polynomial set F(x+r) for x with the polynomial set F.sup.A(x).
(166) Operation #1 (Continued):
(167) Next, the prover algorithm P generates a hash value c.sub.1 of F.sup.B(z) and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.B(z),z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w.sup.A. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w.sup.A). Further, the prover algorithm P generates a hash value c.sub.3 of a polynomial set F.sup.B. In other words, the prover algorithm P calculates c.sub.3H.sub.3(F.sup.B). H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. In the case of the extension scheme, the prover algorithm P applies a hash value set (c.sub.1, c.sub.2, c.sub.3) to the hash function H to generate the hash value c, and sends the hash value c to the verifier algorithm V.
(168) Operation #2:
(169) Upon receiving the hash value c, the verifier algorithm V selects which verification pattern to use from among three verification patterns. For example, the verifier algorithm V may select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(170) Operation #3:
(171) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response (, c*)=(w, c.sub.1). In the case where d=1, the prover algorithm P generates a response (, c*)=(w.sup.A, z), c.sub.3). In the case where d=2, the prover algorithm P generates a response (, c*)=(F.sup.B, z), c.sub.2). The response (, c*) generated in operation #3 is sent to the verifier algorithm V.
(172) Operation #4:
(173) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response (, c*).
(174) When d=0, the verifier algorithm V calculates (r.sup.A,w.sup.B)G.sub.1(). Next, the verifier algorithm V calculates F.sup.CG.sub.2(w.sup.B). Next, the verifier algorithm V calculates c.sub.2.sup.A=H.sub.2(w.sup.B). Next, the verifier algorithm V calculates c.sub.3.sup.A=H.sub.3(F(x+r.sup.A)+F.sup.C(x)). Thereafter, the verifier algorithm V verifies whether or not the equality of c=H(c*, c.sub.2.sup.A, c.sub.3.sup.A) holds. Then, the verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs the value 0 representing an authentication failure when the verification fails.
(175) When d=1, the verifier algorithm V sets (w.sup.B,z.sup.A). Next, the verifier algorithm V calculates F.sup.CG.sub.2(w.sup.B). Next, the verifier algorithm V calculates c.sub.1.sup.A=H.sub.1(F.sup.C(z.sup.A),z.sup.A). Next, the verifier algorithm V calculates c.sub.2.sup.A=H.sub.2(w.sup.B). Thereafter, the verifier algorithm V verifies whether or not the equality of c=H(c.sub.1.sup.A, c.sub.2.sup.A, c*) holds. Then, the verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs a value 0 representing an authentication failure when the verification fails.
(176) When d is 2, the verifier algorithm V sets (F.sup.D,z.sup.A). Next, the verifier algorithm V calculates c.sub.1.sup.A=H.sub.1(F.sup.D(z.sup.A)y,z.sup.A). Next, the verifier algorithm V calculates c.sub.3.sup.A=H.sub.3(F.sup.D). Thereafter, the verifier algorithm V verifies whether or not the equality of c=H(c.sub.1.sup.A, c*, c.sub.3.sup.A) holds. Then, the verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs a value 0 representing authentication failure when the verification fails.
(177) The structure of each algorithm related to the extended technique has been described above. By applying the extended technique, the amount of information transmitted and received during the interactive protocol can be reduced.
2-3: Parallelized Algorithm
(178) As described above, applying the session protocol according to the present technique and the extended technique makes it possible to keep the probability of a successful forgery to or less. Consequently, executing the session protocol twice makes it possible to keep the probability of a successful forgery to ()2 or less. Furthermore, if the session protocol is executed N times, the probability of a successful forgery becomes ().sup.N, and if N is set to a sufficiently large number (N=140, for example), the probability of a successful forgery becomes negligibly small.
(179) Conceivable methods of executing an interactive protocol multiple times include a serial method in which the exchange of message, challenge, and response is sequentially repeated multiple times, and a parallel method in which multiple messages, challenges, and responses are exchanged in a single exchange, for example. Here, a method of extending the interactive protocol according to the present technique to an interactive protocol (hereinafter referred to as a parallelized algorithm) related to the parallel method will be described. For example, the parallelized algorithm is illustrated in
(180) (Key Generation Algorithm Gen)
(181) The key generation algorithm Gen generates m multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of a set K.sup.n. Next, the generation algorithm Gen calculates y=(y.sub.1, . . . y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the generation algorithm Gen sets (f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n), y) in the public key pk and sets s as a secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented as x and a pair of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented as F(x).
(182) (Prover Algorithm P, Verifier Algorithm V)
(183) Next, a process performed by the prover algorithm P and a process performed by the verifier algorithm V during the interactive protocol will be described with reference to
(184) During the foregoing interactive protocol, a prover does not leak information on the secret key s at all to a verifier and expresses to the verifier that she herself knows s satisfying y=F(s). On the other hand, the verifier verifies whether or not the prover knows s satisfying y=F(s). The public key pk is assumed to be made known to the verifier. Also, the secret key s is assumed to be secretly managed by the prover. Hereinafter, the description will be made with reference to the flowchart illustrated in
(185) Operation #1:
(186) First of all, the prover algorithm P performs the following processes (1) to (8) for i=1 to N.
(187) Process (1): The prover algorithm P arbitrarily selects a number w.sub.i.
(188) Process (2): The prover algorithm P applies the number w.sub.i to the pseudo random number generator G.sub.1 and generates a vector r.sub.i that is an element of the set K.sup.n and a number w.sub.i.sup.A. In other words, the prover algorithm P calculates (r.sub.i, w.sub.i.sup.A)G.sub.1(w.sub.i).
(189) Process (3): The prover algorithm P applies the number w.sub.i.sup.A to the pseudo random number generator G.sub.2 and generates a multivariate polynomial set F.sub.i.sup.A(x). In other words, the prover algorithm P calculates F.sub.i.sup.AG.sub.2(w.sub.i.sup.A).
(190) Process (4): The prover algorithm P calculates z.sub.is.sub.ir.sub.i. This calculation corresponds to an operation of masking the secret key s.sub.i using a vector r.sub.i.
(191) Process (5): The prover algorithm P calculates F.sub.i.sup.B(x)F(x+r.sub.i)+F.sub.i.sup.A(x). This calculation corresponds to an operation of masking a polynomial set F(x+r.sub.i) for x using a polynomial set F.sub.i.sup.A(x).
(192) Process (6): The prover algorithm P generates a hash value c.sub.1,I of F.sub.i.sup.B(z.sub.i) and z.sub.i. In other words, the prover algorithm P calculates c.sub.1,IH.sub.1(F.sub.i.sup.B(z.sub.i),z.sub.i).
(193) Process (7): The prover algorithm P generates a hash value c.sub.2,i of the number w.sub.i.sup.A. In other words, the prover algorithm P calculates c.sub.2,1H.sub.2(w.sub.i.sup.A).
(194) Process (8): The prover algorithm P generates a hash value c.sub.3,I of the polynomial set F.sub.i.sup.B. In other words, the prover algorithm P calculates c.sub.3,IH.sub.3(F.sub.i.sup.B).
(195) H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. Further, the hash values (c.sub.1,i, c.sub.2,i, c.sub.3,i) are messages.
(196) For i=1 to N, after processes (1) to (8) are performed, the message (c.sub.1,i, c.sub.2,i, c.sub.3,i) (i=1 to N) generated in operation #1 is sent to the verifier algorithm V.
(197) Operation #2:
(198) Upon receiving the message (c.sub.1, i, c.sub.2, i, c.sub.3, i)(i=1 to N), the verifier algorithm V selects which verification pattern to use from among three verification patterns, for each of i=1 to N. For example, the verifier algorithm V may, for each of i=1 to N, select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d.sub.i. The challenges d.sub.i is sent to the prover algorithm P.
(199) Operation #3:
(200) The prover algorithm P that has received the challenge d.sub.i (i=1 to N) generates a response .sub.i to be sent to the verifier algorithm V in response to the challenge d.sub.i. At this time, the prover algorithm P performs the following processes (1) to (3) for i=1 to N.
(201) Process (1): when d.sub.i is 0, the prover algorithm P generates a response .sub.i=w.sub.i.
(202) Process (2): when d.sub.i is 1, the prover algorithm P generates a response .sub.i=(w.sub.i.sup.A,z.sub.i).
(203) Process (3): when d.sub.i is 2, the prover algorithm P generates a response .sub.i=(F.sub.i.sup.B,z.sub.i).
(204) After processes (1) to (3) are performed, the response .sub.i (i=1 to N) is sent to the verifier algorithm V.
(205) Operation #4:
(206) The verifier algorithm V that has received the response .sub.i (i=1 to N) performs the following verification process using the received response .sub.i (i=1 to N). The following process is performed for i=1 to N.
(207) In the case where d.sub.i=0, the verifier algorithm V calculates (r.sub.i.sup.A, w.sub.i.sup.B)G.sub.1(.sub.i). Also, the verifier algorithm V calculates F.sub.i.sup.CG.sub.2(w.sub.i.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2,i=H.sub.2(w.sub.i.sup.B) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3,i=H.sub.3(F(x+ri.sup.A)+F.sub.i.sup.C(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(208) In the case where d.sub.i=1, the verifier algorithm V sets (w.sub.i.sup.B, z.sub.i.sup.A).sub.i. Also, the verifier algorithm V calculates F.sub.i.sup.CG.sub.2(w.sub.i.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1,i=H.sub.1(F.sub.i.sup.C(z.sub.i.sup.A), z.sub.i.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sub.i.sup.B) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(209) In the case where d.sub.i=2, the verifier algorithm V sets (F.sub.i.sup.D, z.sub.i.sup.A).sub.i. Then, the verifier algorithm V verifies whether or not the equality of c.sub.1,i=H.sub.1(F.sub.i.sup.D(z.sub.i.sup.A)y, z.sub.i.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3,i=H.sub.3(F.sub.i.sup.D(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(210) The method of performing the interactive protocol of the present technique in parallel has been described above. As described above, as the interactive protocol of the present technique is repetitively performed, the probability of a successful forgery becomes negligibly small.
(211) Further, a modification can be made such that the hash value c=H (c.sub.1,1, c.sub.1,2, c.sub.1,3, . . . , c.sub.N,1, c.sub.N,2, c.sub.N,3) may be sent instead of sending (c.sub.1,1, c.sub.1,2, c.sub.1,3, . . . , c.sub.N,1, c.sub.N,2, c.sub.N,3) to the verifier after operation #1. Here, in view of the presence of a message that is hardly restored from the response, the interactive protocol needs to be modified such that the message is sent from the prover to the verifier together with the response. When this modification is applied, a message sent at the first pass is a single hash value c, and thus communication traffic is significantly reduced. For example, in the case of the N-time parallel repetition structure, the number of pieces of information to be sent can be reduced by 2N1.
(212) (Suitable Parameter Setting Method)
(213) The interactive protocol according to the present embodiment guarantees the security against a passive attack. However, when the above-described method of repetitively performing the interactive protocol in parallel is applied, a condition to be described below is necessary in order to prove that the security against an active attack is reliably guaranteed.
(214) The foregoing interactive protocol is an algorithm for verifying to a verifier that a prover knows s satisfying y=F(s) for y by using a pair of keys (a public key y and a secret key s). For this reason, when interactivity accepted in verification is performed, a probability of information, which indicates that the prover uses s at the time of interactivity, known to the verifier is undeniable. Additionally, collision resistance is not ensured for the multivariate polynomial F. For this reason, when the foregoing interactive protocol is performed repeatedly in parallel, it is difficult to prove that the security against an active attack is reliably ensured without any condition.
(215) Accordingly, the inventors of the present technology have examined a method of causing information indicating that a prover uses s at the time of interactivity not to be known to a verifier even when interactivity accepted in verification is performed. Additionally, the inventors of the present technology have devised a method of enabling the security against an active attack to be ensured even when the foregoing interactive protocol is performed repeatedly in parallel. This method is a method of setting the number m of multivariate polynomials f.sub.1, . . . , f.sub.m used as public keys to a value sufficiently smaller than the number n of variables. For example, m and n are set such that 2.sup.m-n<<1 (for example, when n=160 and m=80, 2.sup.80<<1).
(216) In the schemes that base their safety on the difficulty of solving multi-order multivariate simultaneous equations, it is difficult to generate another secret key s.sub.2 corresponding to a public key pk even when a secret key s.sub.1 and the public key pk corresponding thereto are given. For this reason, when it is ensured that two or more secret keys s exist for the public key pk, the information indicating that a prover uses s at the time of interactivity can be caused not to be known to a verifier even when interactivity accepted in verification is performed. That is, when this ensuring is established, the security against an active attack can be ensured even when the interactive protocol is performed repeatedly in parallel.
(217) When a function F: K.sup.n.fwdarw.K.sup.m including the number m of multi-order polynomials with n variables (where n>m) is considered with reference to
(218) As described above, by imposing the setting condition in which the number m of multi-order polynomials f.sub.1, . . . , f.sub.m with n variables is set to a value sufficiently smaller than the number n of variables (where n>m and preferably 2.sup.m-n<<1), the security can be ensured when the interactive protocol is performed repeatedly in parallel.
2-4: Specific Example (when Second-Order Polynomial is Used)
(219) Next, an example in which a second-order polynomial with n variables is used as the multivariate polynomial F will be described with reference to
(220) (Key Generation Algorithm Gen)
(221) The key generation algorithm Gen generates m multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of the set K.sup.n. Next, the generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m) (f.sub.1(s), . . . , f.sup.m(s)). Also, the generation algorithm Gen sets (f.sub.1, . . . , f.sub.m,y) as the public key pk and sets s as the secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented by x and a multivariate polynomial set (f.sub.1(x), . . . , f.sub.m(x)) is represented by F(x). Here, the second-order polynomial f.sub.i(x) is expressed as in the following Formula (8).
(222)
(223) (Prover Algorithm P, Verifier Algorithm V)
(224) Next, processes performed by the prover algorithm P and the verifier algorithm V during the interactive protocol will be described with reference to
(225) Operation #1:
(226) First of all, the prover algorithm P arbitrarily selects the number w. Next, the prover algorithm P applies the number w to the pseudo random number generator G.sub.1 and generates the vector r that is an element of the set K.sup.n and the number w.sup.A. In other words, the prover algorithm P calculates (r,w.sup.A)G.sub.1(w). Next, the prover algorithm P applies the number w.sup.A to the pseudo random number generator G.sub.2 and generates a linear polynomial set f.sub.1.sup.A(x), . . . , f.sub.m.sup.A(x). In other words, the prover algorithm P calculates (f.sub.1.sup.A, . . . , f.sub.m.sup.A)G.sub.2(w.sup.A). Here, the linear polynomial f.sub.i.sup.A(x) is expressed as in the following Formula (9). Further, the linear polynomial set (f.sub.1.sup.A(x), . . . , f.sub.m.sup.A(x)) is represented by F.sup.A(x).
(227)
(228) Operation #1 (Continued):
(229) Next, the prover algorithm P calculates zsr. This calculation corresponds to an operation of masking the secret key s using the vector r. Further, the prover algorithm P calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation corresponds to an operation of making the second-order polynomial F(x+r) for x using the linear polynomial F.sup.A(x). In F(x+r), information related to r is represented by only a first-order term of x. Thus, all information related to r is masked by F.sup.A(x).
(230) Operation #1 (Continued):
(231) Next, the prover algorithm P calculates a hash value c.sub.1 of F.sup.A(z) and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.A(z),z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w.sup.A. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w.sup.A). Further, the prover algorithm P generates a hash value c.sub.3 of the multivariate polynomial F.sup.B. In other words, the prover algorithm P calculates c.sub.3H.sub.3(F.sup.B). H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. The message (c.sub.1, c.sub.2, c.sub.3) generated in operation #1 is sent to the verifier algorithm V.
(232) Operation #2:
(233) Upon receiving the message (c.sub.1, c.sub.2, c.sub.3), the verifier algorithm V selects which verification pattern to use from among three verification patterns. For example, the verifier algorithm V may select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(234) Operation #3:
(235) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =w. In the case where e=1, the prover algorithm P generates a response =(w.sup.A, z). In the case where d=2, the prover algorithm P generates a response =(F.sup.B (z), z). The response generated in operation #3 is sent to the verifier algorithm V.
(236) Operation #6:
(237) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response .
(238) In the case where d=0, the verifier algorithm V calculates (r.sup.A, w.sup.B)G.sub.1(). Also, the verifier algorithm V calculates F.sup.CG.sub.2(w.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F(x+r.sup.A)+F.sup.C(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(239) In the case where d=1, the verifier algorithm V sets (w.sup.B, z.sup.A)). Also, the verifier algorithm V calculates F.sup.cG.sub.2(w.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.c(z.sup.A), z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(240) In the case where d=2, the verifier algorithm V sets (F.sup.D, z.sup.A). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.D(z.sup.A)y, z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F.sup.D) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(241) The specific example of the present technique has been described above.
2-5: Efficient Algorithm
(242) Next, a method of streamlining the algorithm according to the present technique will be described. The second-order polynomial set (f.sub.1(x), . . . , f.sub.m(x)) may be expressed in the following Formula (10). Here, x is x.sub.1, . . . , x.sub.n. Further, A.sub.1, . . . , A.sub.m are an nn matrix. Further, each of b.sub.1, . . . , b.sub.m is an n1 vector.
(243)
(244) When this expression is used, a multivariate polynomial F can be expressed as in the following formula (11) and formula (12). From the following formula (13), it can easily be confirmed that this expression is satisfied.
(245)
(246) When dividing F(x+y) into a first portion dependent on x, a second portion dependent on y, and a third portion dependent on both x and y in this way, the term F.sub.b(x,y) corresponding to the third portion becomes bilinear with respect to x and y. Using this property enables the construction of an efficient algorithm.
(247) For example, use the vector t.sub.0 that is an element of the set K.sup.n and the vector e.sub.0 that is an element of the set K.sup.m to express the multivariate polynomial F.sup.A(x), which is used to mask the multivariate polynomial F(x+r), as F.sup.A(x)=F.sub.b(x, t)+e. In this case, the sum of the multivariate polynomial F(x+r) and F.sup.A(x) is expressed as in formula (14) below.
(248) Here, when t.sup.A=r+t, e.sup.A=F(r)+e, the multivariate polynomial F.sup.B(x)=F(x+r)+F.sup.A(x) can be expressed by the vector t.sub.1 which is an element of the set K.sup.n and the vector e.sub.1 that is an element of the set K.sup.m. For this reason, when F.sup.A (x)=F.sub.b(x, t)+e is set, F.sup.A and F.sup.B can be expressed by using a vector in K.sup.n and a vector in K.sup.m, and thus a data size necessary for communication can be considerably reduced. Specifically, communication efficiency can be improved to the degree of thousands to tens of thousands of times.
(249)
(250) According to this modification, information related to r is not leaked from F.sup.B (or F.sup.A) at all. For example, when e.sup.A and t.sup.A (or e and t) are given, it is difficult to know information of r unless e and t (or e.sup.A and t.sup.A) are known. Accordingly, even when this modification is applied to the present technique, the zero knowledge is guaranteed. Next, an efficient algorithm related to the present technique will be described with reference to
(251) Structure Example 1 of Efficient Algorithm:
(252) First of all, a structure of an efficient algorithm illustrated in
(253) Operation #1:
(254) The prover algorithm P arbitrarily selects the number w. Next, the prover algorithm P applies the number w to the pseudo random number generator G.sub.1 and generates the vector r that is an element of the set K.sup.n and the number w.sup.A. In other words, the prover algorithm P calculates (r,w.sup.A)G.sub.1(w). Next, the prover algorithm P applies the number w.sup.A to the pseudo random number generator G.sub.2 and generates two vectors, the vector t that is an element of the set K.sup.n and the vector e that is an element of the set K.sup.m. In other words, the prover algorithm P calculates (t,e)G.sub.2(w.sup.A). Next, the prover algorithm P calculates zsr. This calculation corresponds to an operation of masking the secret key s using the vector r. Further, the prover algorithm P calculates t.sup.Ar+t. Next, the prover algorithm P calculates e.sup.AF(r)+e.
(255) Operation #1 (Continued):
(256) Next, the prover algorithm P calculates F.sub.b(z,t) based on Formula (14), and calculates a hash value c.sub.1 of F.sub.b(z,t)+e and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sub.b(z,t)+e,z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w.sup.A. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w.sup.A). Further, the prover algorithm P generates a hash value c.sub.3 of the two vectors t.sup.A and e.sup.A. In other words, the prover algorithm P calculates c.sub.3H.sub.3(t.sup.A,e.sup.A). H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. The message (c.sub.1, c.sub.2, c.sub.3) generated in operation #1 is sent to the verifier algorithm V.
(257) Operation #2:
(258) Upon receiving the message (c.sub.1, c.sub.2, c.sub.3), the verifier algorithm V selects which verification pattern to use from among three verification patterns. For example, the verifier algorithm V may select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(259) Operation #3:
(260) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =w. In the case where d=1, the prover algorithm P generates a response =(w.sup.A, z). In the case where d=2, the prover algorithm P generates a response =(t.sup.A, t.sup.A, z). The response generated in operation #3 is sent to the verifier algorithm V.
(261) Operation #6:
(262) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response .
(263) In the case where d=0, the verifier algorithm V calculates (r.sup.A, r.sup.B)G.sub.1(). Also, the verifier algorithm V calculates (t.sup.B, e.sup.BG.sub.2(w.sup.B). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(r.sup.A+t.sup.B,F(r.sup.A)+e.sup.B) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(264) In the case where d=1, the verifier algorithm V sets (w.sup.B, z.sup.A). Also, the verifier algorithm V calculates (t.sup.B, e.sup.B)G.sub.2(w.sup.B). Then the verifier algorithm) V verifies whether or not the equality of c.sub.1=H.sub.1(F.sub.b(z.sup.A, t.sup.B)+e.sup.B, z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(w.sup.B) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(265) In the case where d=2, the verifier algorithm V sets (t.sup.C, e.sup.C, z.sup.A). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F(z.sup.A)+F.sub.b(z.sup.A, t.sup.C)+e.sup.Cy, z.sup.A)) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(t.sup.C, e.sup.C) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(266) The structure example 1 of the efficient algorithm has been described above. By using the efficient algorithm, the data size necessary for communication is significantly reduced. Further, since F(x+r) need not be calculated, the calculation efficiency is improved as well.
Structure Example 2 of Efficient Algorithm: FIG. 9
(267) Next, a structure of an efficient algorithm illustrated in
(268) In operation #3 of the algorithm illustrated in
(269) The structure example 2 of the efficient algorithm has been described above.
Structure Example 3 of Efficient Algorithm: FIG. 10
(270) Next, a structure of an efficient algorithm illustrated in
(271) Operation #1:
(272) The prover algorithm P arbitrarily generates the vector r, t that is an element of the set K.sup.n, and the vector e.sub.0 that is an element of the set K.sup.m. Subsequently, the prover algorithm P calculates r.sup.Asr. This calculation is equivalent to masking the secret key s with the vector r. Additionally, the prover algorithm P calculates t.sup.Art. Subsequently, the prover algorithm P calculates e.sup.AF(r)e.
(273) Operation #1 (Continued):
(274) Subsequently, the prover algorithm P calculates c.sub.1H.sub.1(F.sub.b (r.sup.A, t)+e, r.sup.A. Subsequently, the prover algorithm P calculates c.sub.2H.sub.2(t, e). Subsequently, the prover algorithm P calculates c.sub.3H.sub.3(t.sup.A, e.sup.A). H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. The message (c.sub.1, c.sub.2, c.sub.3) generated in operation #1 is sent to the verifier algorithm V.
(275) Operation #2:
(276) Upon receiving the message (c.sub.1, c.sub.2, c.sub.3), the verifier algorithm V selects which verification pattern to use from among three verification patterns. For example, the verifier algorithm V may select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(277) Operation #3:
(278) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =(r, t.sup.A, e.sup.A). In the case where d=1, the prover algorithm P generates a response =(r.sup.A, t, e). In the case where d=2, the prover algorithm P generates a response =(r.sup.A, t.sup.A, e.sup.A). The response generated in operation #3 is sent to the verifier algorithm V.
(279) Operation #4:
(280) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response .
(281) In the case where d=0, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(rt.sup.A, F(r)e.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(t.sup.A, e.sup.A) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(282) In the case where d=1, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sub.b, (r.sup.A, t)+e, r.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(t, e) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(283) In the case where d=2, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(yF(r.sup.A)F.sub.b (t.sup.A, r.sup.A)e.sup.A, r.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(t.sup.A, e.sup.A) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(284) The structure example 3 of the efficient algorithm has been described above. By using the efficient algorithm, the data size necessary for communication is significantly reduced. Further, since F(x+r) need not be calculated, the calculation efficiency is improved as well.
(285) (Parallelization of the Efficient Algorithm:
(286) Next, a method of parallelizing the efficient algorithm will be described with reference to
(287) Operation #1:
(288) The prover algorithm P executes processes (1) to (6) for i=1 to N.
(289) Process (1): The prover algorithm P arbitrarily generates the vectors r.sub.i, t.sub.i that are elements of the set K.sup.n, and the vector e, that is an element of the set K.sup.m.
(290) Process (2): The prover algorithm P calculates r.sub.i.sup.Asr.sub.i. This calculation is equivalent to masking the secret key s with the vector r.sub.i. Additionally, the prover algorithm P calculates t.sub.i.sup.Ar.sub.i+t.sub.i.
(291) Process (3): The prover algorithm P calculates e.sub.i.sup.AF(r.sub.i) e.sub.i.
(292) Process (4): The prover algorithm P calculates c.sub.1,iH.sub.1(F.sub.b(r.sub.i.sup.A, t.sub.i)+e.sub.i, r.sub.i.sup.A).
(293) Process (5): The prover algorithm P calculates c.sub.2,iH.sub.2(t.sub.i, e.sub.i).
(294) Process (6): The prover algorithm P calculates c.sub.3,iH.sub.3(t.sub.i.sup.A, e.sub.i.sup.A).
(295) Operation #1 (Continued):
(296) After executing the above processes (1) to (6) for i=1 to N, the prover algorithm P calculates CmtH(c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N). H( . . . ), H.sub.1( . . . ), H.sub.2( . . . ), and H.sub.3( . . . ) are hash functions. The hash value Cmt generated in operation #1 is sent to the verifier algorithm V. In this way, the message (c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N) is converted into a hash value before being sent to the verifier algorithm V, thus enabling a reduction in the communication volume.
(297) Operation #2:
(298) Upon receiving the hash value Cmt, the verifier algorithm V selects which verification pattern to use from among three verification patterns, for each of i=1 to N. For example, the verifier algorithm V may, for each of i=1 to N, select a numerical value from among three numerical values {0, 1, 2} representing verification patterns, and set the selected numerical value in a challenge d.sub.i. The challenges d.sub.1, . . . , d.sub.N are sent to the prover algorithm P.
(299) Operation #3:
(300) Upon receiving the challenges d.sub.1, . . . , d.sub.N, the prover algorithm P generates responses Rsp.sub.1, . . . , Rsp.sub.N to send to the verifier algorithm V in response to each of the received challenges d.sub.1, . . . , d.sub.N. In the case where d.sub.i=0, the prover algorithm P generates .sub.i=(r.sub.i, t.sub.i.sup.A, e.sub.i.sup.A). Further, the prover algorithm P generates Rsp.sub.i=(.sub.i, c.sub.1, i). In the case where d.sub.i=1, the prover algorithm P generates .sub.i=(r.sub.i.sup.A, t.sub.i, e.sub.i). Further, the prover algorithm P generates Rsp.sub.i=(.sub.i, c.sub.3, i). In the case where Ch.sub.i=2, the prover algorithm P generates .sub.i=(r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A). Further, the prover algorithm P generates Rsp.sub.i=(.sub.i, c.sub.2, i).
(301) The responses Rsp.sub.1, . . . , Rsp.sub.N generated in operation #3 are sent to the verifier algorithm V.
(302) Operation #4:
(303) Upon receiving the responses Rsp.sub.1, . . . , Rsp.sub.N, the verifier algorithm V executes the following processes (1) to (3) for i=1 to N, using the received responses Rsp.sub.1, . . . , Rsp.sub.N. Herein, the verifier algorithm V executes the process (1) for the case where d.sub.i=0, the process (2) in the case where Ch.sub.i=1, and the process (3) in the case where d.sub.i=2.
(304) Process (1): In the case where d.sub.i=0, the verifier algorithm V retrieves (r.sub.i, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.1, i) from Rsp.sub.i. Subsequently, the verifier algorithm V calculates c.sub.2, i=H.sub.2(r.sub.it.sub.i.sup.A, F(r.sub.i)e.sub.i.sup.A). In addition, the verifier algorithm V calculates c.sub.3, i=H.sub.3(t.sub.i.sup.A, e.sub.i.sup.A). The verifier algorithm V then stores (c.sub.1, i, c.sub.2, i, c.sub.3, i).
(305) Process (2): In the case where d.sub.i=1, the verifier algorithm V retrieves (r.sub.i.sup.A, t.sub.i, e.sub.i, c.sub.3, i) from Rsp.sub.i. Subsequently, the verifier algorithm V calculates c.sub.1, i=H.sub.1(F.sub.b (r.sub.i.sup.A, t.sub.i)+e.sub.i, r.sub.i.sup.A). In addition, the verifier algorithm V calculates c.sub.2, i=H.sub.2(t.sub.i, e.sub.i). The verifier algorithm V then stores (c.sub.1, i, c.sub.2, i, c.sub.3, i).
(306) Process (3): In the case where d.sub.i=2, the verifier algorithm V retrieves (r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.2, i) from Rsp.sub.i. Subsequently, the verifier algorithm V calculates c.sub.1, i=H.sub.1 (yF(r.sub.i.sup.A)F.sub.b(t.sub.i.sup.A, r.sub.i.sup.A)e.sub.i.sup.A, r.sub.i.sup.A) In addition, the verifier algorithm V calculates c.sub.3, i=H.sub.3(t.sub.i.sup.A, e.sub.i.sup.A). The verifier algorithm V then stores (c.sub.1, i, c.sub.2, i, c.sub.3, i).
(307) After executing the above processes (1) to (3) for i=1 to N, the verifier algorithm V verifies whether or not the equality of Cmt=H(c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where the verification succeeds, and outputs the value 0 to indicate authentication failure in the case where the verification fails.
(308) The parallelization of the efficient algorithm has been described above. The parallelized algorithm illustrated in
2-6: Modification into Digital Signature Scheme
(309) Here, a method of modifying the public-key authentication scheme according to the present technique into a digital signature scheme will be introduced. When a prover in a model of a public-key authentication scheme matches a signer in a digital signature scheme, an approximation to the model of the digital signature scheme can easily be understood in that only a prover can convince a verifier. Based on this idea, a method of modifying the public-key authentication scheme according to the present technology into a digital signature scheme will be descried.
2-6-1: Transforming Method
(310) Here, a method of transforming the structure example 3 of the efficient algorithm into the algorithm of the digital signature scheme will be described as an example. The algorithm of the structure example 3 is roughly expressed by the following four operations #1 to #4 as illustrated in
(311) Operation #1 includes a process (1) of generating a.sub.i=(r.sub.i, t.sub.i, e.sub.i, r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.1, i, c.sub.2, i, c.sub.3, i) and a process (2) of calculating CmtH(c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N). Cmt generated in operation #1 by the prover algorithm P is sent to the verifier algorithm V.
(312) Operation #2 includes a process of selecting d.sub.1, . . . , d.sub.N. d.sub.1, . . . , d.sub.N selected in operation #2 by the verifier algorithm V are sent to the prover algorithm P.
(313) Operation #3 includes a process of generating Rsp.sub.1, . . . , Rsp.sub.N using d.sub.1, . . . , d.sub.N and a.sub.1 . . . , a.sub.N. This process is expressed as Rsp.sub.iSelect (d.sub.i, a.sub.i). Rsp.sub.i, . . . , Rsp.sub.N generated in operation #3 by the prover algorithm P are sent to the verifier algorithm V.
(314) Operation #4 includes a process (1) of reproducing c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N using d.sub.1, . . . , d.sub.N and Rsp.sub.1, . . . , Rsp.sub.N and a process (2) of verifying Cmt=H(c.sub.1, 1, c.sub.2,2, c.sub.3, 3, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N) using the reproduced c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N.
(315) The algorithm of the public-key authentication scheme expressed with the foregoing operation #1 to operation #4 is modified into a signature generation algorithm Sig and a signature verifying algorithm Ver illustrated in
(316) (Signature Generation Algorithm Sig)
(317) First, the structure of the signature generation algorithm Sig will be described. The signature generation algorithm Sig includes the following processes (1) to (5).
(318) Process (1): The signature generation algorithm Sig generates a.sub.i=(r.sub.i, t.sub.i, e.sub.i, r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.1, i, c.sub.2, i, c.sub.3, i).
(319) Process (2): The signature generation algorithm Sig calculates CmtH(c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N). Here, M is a document to which a signature is attached.
(320) Process (3): The signature generation algorithm Sig calculates (d.sub.1, . . . , d.sub.N)H(M, Cmt). Here, M is a document to which a signature is attached.
(321) Process (4): The signature generation algorithm Sig calculates Rsp.sub.iSelect (d.sub.i, a.sub.i).
(322) Process (5): The signature generation algorithm Sig sets (Cmt, Rsp.sub.1, . . . , Rsp.sub.N) as a signature.
(323) (Signature Verifying Algorithm Ver)
(324) Next, the structure of the signature verifying algorithm Ver will be described. The signature verifying algorithm Ver includes the following processes (1) to (3).
(325) Process (1): The signature verifying algorithm Ver calculates (d.sub.1, . . . , d.sub.N)H(M, Cmt).
(326) Process (2): The signature verifying algorithm Ver generates c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N using d.sub.1, . . . , d.sub.N and Rsp.sub.1, . . . , Rsp.sub.N.
(327) Process (3): The signature verifying algorithm Ver verifies Cmt=H(c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N) using the reproduced c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N.
(328) As described above, by matching the prover in the model of the public-key authentication scheme with the signer in the digital signature scheme, the algorithm of the public-key authentication scheme can be modified into the algorithm of the digital signature scheme.
2-6-2: Streamlining of Digital Signature Algorithm
(329) Here, when the structure of the signature generation algorithm Sig illustrated in
(330) (Signature Generation Algorithm Sig)
(331) First, the improved structure of the signature generation algorithm Sig will be described. The signature generation algorithm Sig includes the following processes (1) to (4).
(332) Process (1): The signature generation algorithm Sig generates a.sub.i=(r.sub.i, t.sub.i, e.sub.i, r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.1,i, c.sub.2, i, c.sub.3, i).
(333) Process (2): The signature generation algorithm Sig calculates (d.sub.i, . . . , d.sub.N)H(M, c.sub.1, 1, c.sub.2, 2, c.sub.3, 3, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N). Here, M is a document to which a signature is attached.
(334) Process (3): The signature generation algorithm Sig calculates Rsp.sub.iSelect (d.sub.i, a.sub.i).
(335) Process (4): The signature generation algorithm Sig sets (d.sub.1, . . . , d.sub.N, Rsp.sub.1, . . . , Rsp.sub.N) as a signature.
(336) (Signature Verifying Algorithm Ver)
(337) Next, the structure of the improved signature verifying algorithm Ver will be described. The signature verifying algorithm Ver includes the following processes (1) and (2).
(338) Process (1): The signature verifying algorithm Ver generates c.sub.1, 1, c.sub.2, 2, c.sub.3, 3, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N using d.sub.1, . . . , d.sub.N and Rsp.sub.1, . . . , Rsp.sub.N.
(339) Process (2): The signature verifying algorithm Ver verifies (d.sub.1, . . . , d.sub.N)=H(M, c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N) using the reproduced c.sub.1, 1, c.sub.2, 1, c.sub.3, 1, . . . , c.sub.1, N, c.sub.2, N, c.sub.3, N.
(340) By improving the structures of the signature generation algorithm Sig and the signature verifying algorithm Ve, as described above, the calculation of a hash value in each algorithm is reduced by one time. As a result, calculation efficiency can be further improved.
2-7: Form of Multi-Order Multivariate Simultaneous Equation
(341) As described above, the present technique is a scheme in which the security is based on the difficulty in solving the multi-order multivariate simultaneous equation. Further, the feature of the present technique lies in that a complicated multi-order multivariate simultaneous equation can be used. In the above description, there is no special limitation to the form of the multi-order multivariate simultaneous equation, but it is desirable to use a multi-order multivariate simultaneous equation including an encryption element technique in which the difficulty is sufficiently compensated in an expression. Next, a specific example of a multi-order multivariate simultaneous equation to which the present technique can be applied will be introduced.
2-7-1: Form Related to Common Key Block Cipher
(342) A common key block cipher technique such as ES, DES, or KATAN is an element technique which is frequently analyzed and high in security and reliability. The common key block cipher can be expressed by a multi-order multivariate simultaneous equation having a key, a plain text, and a cipher text of a common key block cipher as variables. In the multi-order multivariate simultaneous equation, when values are given to the variables representing the plain text and the cipher text, the multi-order multivariate simultaneous equation becomes an equation having only a variable representing a key as a variable.
(343) Solving the multi-order multivariate simultaneous equation expressing the common key block cipher corresponds to restoring the key of the common key block cipher from the plain text and the cipher text. In other words, as long as the security of the common key block cipher is maintained, the difficulty in finding a solution of the multi-order multivariate simultaneous equation expressing the common key block cipher is secured. For this reason, when a multi-order multivariate simultaneous equation expressing a certain common key block cipher scheme is applied to the present technique, a public-key authentication scheme having the security equivalent to the security of the common key block cipher scheme is implemented.
(344) Here, when the common key block cipher is expressed by a multi-order multivariate simultaneous equation having variables such as a key, a plain text, and a cipher text, since an order of a polynomial increases, the size of data for expressing a simultaneous equation increases. In this regard, a variable representing an internal state in each round is introduced in addition to a key, a plain text, and a cipher text. By introducing this variable, it is possible to reduce the order of the multi-order multivariate simultaneous equation expressing the common key block cipher. For example, appropriate values are substituted for the variables representing the plain text and the cipher text, and a simultaneous equation related to the key and the variable representing the internal state is introduced. When this method is employed, the number of variables increases, but the order decreases, and thus an expression of the simultaneous equation becomes compact.
2-7-2: Form Related to Hash Function
(345) Similarly, a multi-order multivariate simultaneous equation related to a hash function such as SHA-1 or SHA-256 can be applied to the present technique. The hash function can be expressed by a multi-order multivariate simultaneous equation having a message which is an input of the hash function and a hash value which is an output thereof as variables. In the multi-order multivariate simultaneous equation, when an appropriate value is given to the variable representing the hash value, a multi-order multivariate simultaneous equation related to a variable representing a corresponding input is obtained.
(346) Solving the multi-order multivariate simultaneous equation corresponds to restoring a value of a message serving as the basis from the hash value. In other words, as long as the security (unidirectional characteristic) of the hash function is maintained, the difficulty in solving the multi-order multivariate simultaneous equation expressing the hash function is guaranteed. For this reason, when a multi-order multivariate simultaneous equation expressing a certain hash function is applied to the present technique, a public-key authentication scheme based on the security of the hash function is implemented.
(347) Here, when a hash function is expressed by a multi-order multivariate simultaneous equation having an input message and a hash value as variables, since an order of a polynomial increases, the size of data expressing a simultaneous equation increases. In this regard, a variable representing an internal state is introduced in addition to an input message and a hash value. By introducing this variable, it is possible to reduce an order of a multi-order multivariate simultaneous equation expressing a hash function. For example, an appropriate value is substituted for the variable representing the hash value, and a simultaneous equation related to the input message and the variable representing the internal state is introduced. When this method is employed, the number of variables increases, but the order decreases, and thus an expression of the simultaneous equation becomes compact
2-7-3: Form Related to Stream Cipher
(348) Similarly, a multi-order multivariate simultaneous equation related to a stream cipher such as Trivium can be applied to the present technique. The stream cipher can be expressed by a multi-order multivariate simultaneous equation related to a variable representing an initial internal state of the stream cipher and a variable representing a stream to be output. In this case, when an appropriate value is given to the variable representing the output stream, a multi-order multivariate simultaneous equation related to a variable representing a corresponding initial internal state is obtained.
(349) Solving the multi-order multivariate simultaneous equation corresponds to restoring a variable representing an initial internal state serving as a basis from a value of an output stream. In other words, as long as the security of the stream cipher is guaranteed, the difficulty in solving the multi-order multivariate simultaneous equation expressing the stream cipher is secured. For this reason, when a multi-order multivariate simultaneous equation expressing a certain stream cipher is applied to the present technique, a public-key authentication scheme based on the security of the stream cipher is implemented.
(350) Here, when a stream cipher is expressed by a multi-order multivariate simultaneous equation having an initial internal state and an output stream as variables, an order of a polynomial increases, and thus the size for expressing a simultaneous equation increases. In this regard, a variable representing an internal state in each round is introduced in addition to an initial internal state and an output stream. By introducing this variable, it is possible to reduce an order of a multi-order multivariate simultaneous equation expressing a stream cipher. For example, when an appropriate value is substituted for the variable representing the output stream, a simultaneous equation related to the initial internal state and the variable representing the internal state in a round is introduced. When this method is employed, the number of variables increases, but the order decreases, and thus an expression of the simultaneous equation becomes compact.
(351) The specific examples of the multi-order multivariate simultaneous equations applicable to the present technique have been described above.
2-8: Serial Parallel Hybrid Algorithm
(352) In order to make a probability of a successful forgery negligibly small, the interactive protocol needs to be performed multiple times as described above. Further, as the method of performing the interactive protocol multiple times, the serial method and the parallel method have been introduced. Particularly, the parallel method has been described in connection with the specific parallelized algorithm. Here, a hybrid type algorithm in which the serial method is combined with the parallel method will be introduced.
(353) (Hybrid Structure 1)
(354) A hybrid type algorithm (hereinafter referred to as a parallel serial algorithm) will be described with reference to
(355) In the basic structure, at the first pass, a message (c.sub.1, c.sub.2, c.sub.3) is sent from the prover to the verifier. At the second pass, the challenge d is sent from the verifier to the prover. At the third pass, the response is sent from the prover to the verifier.
(356) When the basic structure is parallelized, at the first pass, messages (c.sub.1,1, c.sub.2,1, c.sub.3,1, . . . , c.sub.1,N, c.sub.2,N, c.sub.3,N) of N times are sent from the prover to the verifier. At the second pass, challenges (d.sub.1, . . . , d.sub.N) of N times are sent from the verifier to the prover. At the third pass, responses (.sub.1, . . . , .sub.N) of N times are sent from the prover to the verifier. The parallelized algorithm related to the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely three times. Further, since messages of N times sent at the first pass are collected with one hash value, the communication efficiency can be improved.
(357) Meanwhile, when the basic structure is serialized, at the first pass, the message (c.sub.1,1, c.sub.2,1, c.sub.3,1) of one time is sent from the prover to the verifier. At the second pass, the challenge d.sub.1 of one time is sent from the verifier to the prover. At the third pass, the response .sub.1 of one time is sent from the prover to the verifier. At the fourth pass, the message (c.sub.1,2, c.sub.2,2, c.sub.3,2) of one time is sent from the prover to the verifier. At the fifth pass, the challenge d.sub.2 of one time is sent from the verifier to the prover. At the sixth pass, the response .sub.2 of one time is sent from the prover to the verifier. Similarly, the interactivity is repetitively performed until the response .sub.N is sent from the prover to the verifier. The serialized algorithm guarantees the security against the active attack. Further, it is possible to prove that the forgery possibility is reliably reduced.
(358) Further, the parallel serial algorithm is an algorithm having characteristics of the parallelized algorithm and characteristics of the serialized algorithm. In the parallel serial algorithm illustrated in
(359) The parallel serial algorithm based on the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely 2N+1. Further, as messages of N times to be sent at the first pass are converted into one hash value, the communication efficiency can be improved.
(360) (Hybrid Structure 2)
(361) Another hybrid type algorithm (hereinafter referred to as a serial parallel algorithm) will be described with reference to
(362) The serial parallel algorithm illustrated in
(363) The serial parallel algorithm based on the present technique guarantees the security against the active attack. Further, the number of interactivities is merely 2N+1.
(364) The hybrid type algorithm based on the present technique has been described above.
(365) The first embodiment of the present technology has been described above.
3: Second Embodiment
(366) Next, a second embodiment of the present technology will be described.
(367) The 3-pass public-key authentication scheme has been described until now. In the present embodiment, a 5-pass public-key authentication scheme (hereinafter referred to as a present technique) will be described. The present technique is a scheme of securing soundness of the public-key authentication scheme by setting 2q verification patterns of the verifier.
(368) In the 3-pass public-key authentication scheme according to the first embodiment, the probability of the false verification per one interactive protocol is , but in the present technique, the probability of the false verification per one interactive protocol is +1/q as will be described later. Here, q is an order of a ring to be used. Thus, when the order of the ring is sufficiently large, as illustrated in
(369) The interactive protocol related to the 5-pass public-key authentication scheme may be considered to be lower in efficiency than the interactive protocol related to the 3-pass public-key authentication scheme. However, in the 5-pass public-key authentication scheme, when the order of the ring is sufficiently large, the probability of the false verification per one interactive protocol is close to , and thus a small number of executions of the interactive protocol is necessary for achieving the same security level.
(370) For example, when the probability of the false verification is desired to be equal to or less than .sup.n, the interactive protocol has to be executed n/(log 31)=1.701n times or more in the 3-pass public-key authentication scheme. On the other hand, the interactive protocol has to be executed n/(1log(1+1/q)) times or more in the 5-pass public-key authentication scheme. Accordingly, as illustrated in
3-1: Algorithm of Public-Key Authentication Scheme
(371) Next, an algorithm structure related to the 5-pass public-key authentication scheme (the present technique) will be described with reference to
(372) (Key Generation Algorithm Gen)
(373) The key generation algorithm Gen generates m of multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of the set K.sup.n. Next, the key generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the key generation algorithm Gen sets (f.sub.1 . . . , f.sub.m, y) as the public key pk and sets s as the secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented by x and a set of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented by F(x).
(374) (Prover Algorithm P, Verifier Algorithm V) Next, processes performed by the prover algorithm P and the verifier algorithm V during the interactive protocol will be described with reference to
(375) Operation #1:
(376) First of all, the prover algorithm P arbitrarily selects a number w. Next, the prover algorithm P generates a vector r which is an element of the set K.sup.n and a pair of n-variate polynomials F.sup.A(x)=(f.sub.1.sup.A (x), . . . , f.sub.m.sup.A (x)) by applying the number w to a pseudo-random number generator G. That is, the prover algorithm P calculates (r, F.sup.A)G(w). Subsequently, the prover algorithm P calculates zsr. This calculation is equivalent to masking the secret key s with the vector r.
(377) Operation #1 (Continued):
(378) Next, the prover algorithm P generates a hash value c.sub.1 of F.sup.A(z) and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.A(z),z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w). H.sub.1( . . . ) and H.sub.2( . . . ) are hash functions. The message (c.sub.1,c.sub.2) generated in operation #1 is sent to the verifier. At this time, it should be noted that information related to s, information related to r, and information related to z are not leaked to the verifier at all.
(379) Operation #2:
(380) The verifier algorithm V randomly selects one number from the origins of q rings K and sends the selected number to the prover algorithm P.
(381) Operation #3:
(382) Upon receiving the number , the prover algorithm P calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation is equivalent to masking the multivariate polynomial F(x+r.sub.0) for x with the multivariate polynomial F.sup.A (x). The multivariate polynomial F.sup.B generated in operation #3 is sent to the verifier algorithm V. At this time, it should be noted that the information on z is not at all leaked to the verifier in the case where d=0, and the information on r is not at all leaked to the verifier in the case where d=1.
(383) Operation #4:
(384) Upon receiving the multivariate polynomial F.sup.B, the verifier algorithm V selects which verification pattern to use from between two verification patterns. For example, the verifier algorithm V may select a numerical value from between two numerical values {0, 1} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(385) Operation #5:
(386) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =w. In the case where d=1, the prover algorithm P generates a response =z. The response generated in operation #5 is sent to the verifier algorithm V.
(387) Operation #6:
(388) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response .
(389) In the case where d=0, the verifier algorithm V calculates (r.sup.A, F.sup.C) G(). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2() holds. In addition, the verifier algorithm V verifies whether or not the equality of F.sup.B(x)=F(x+r.sup.A)+F.sup.C(x) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(390) In the case where d=1, the verifier algorithm V sets z.sup.A. Also, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.C (z.sup.A)y, z.sup.A) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(391) The example of the each algorithm structure related to the present technique has been described above.
(392) (Soundness According to the Present Technique)
(393) The soundness of the present technique is ensured from the fact that F.sub.1.sup.D, F.sub.2.sup.D, F.sup.C, r.sup.A and z.sup.A satisfying the following formula (15) to formula (17) can be calculated from the content of a response when the prover algorithm P appropriately makes the response to the challenge d=0 and 1 with respect to (c.sub.1, c.sub.2) and two (.sub.1, .sub.2) selected by the verifier algorithm V
[Math 12]
F.sub.1.sup.D(x)=.sub.1F(x+r.sup.A)+F.sup.C(x)(15)
F.sub.2.sup.D=.sub.2F(x+r.sup.A)+F.sup.C(x)(16)
F.sub.1.sup.D(z.sup.A)+.sub.1y=F.sub.2.sup.D(z.sup.A)+.sub.2y(17)
(394) By ensuring the foregoing soundness of the present technique, the fact that forgery with a probability higher than +1/q is not possible is ensured as long as the problem of solving the multi-order multivariate simultaneous equations is not solved. That is, to appropriately make the response to all of the challenges d=0 and 1 of the verifier, the falsifier has to calculate F.sub.1.sup.D, F.sub.2.sup.D, F.sup.C, r.sup.A and z.sup.A satisfying the foregoing formula (15) and formula (17). In other words, the falsifier has to calculate s satisfying F(s)=y. Accordingly, the falsifier may not succeed the forgery with a probability higher than +1/q as long as the problem of solving the multi-order multivariate simultaneous equations is not solved. Further, by repeatedly executing the foregoing interactive protocol a sufficiently large number of times, the probability of a successful forgery becomes negligibly small.
Modified Example
(395) The key generation algorithm Gen calculates yF(s), and sets (F,y) as the public key. However, the key generation algorithm Gen may be configured to set (y.sub.1, . . . , y.sub.m)F(s), calculate (f.sub.1*(x), . . . , f.sub.m*(x))(f.sub.1(x)y.sub.1, . . . , f.sub.m(x)y.sub.m), and set (f.sub.1*, . . . , f.sub.m*) as the public key. In the case of this modification, the interactive protocol can be performed at y=0 between the prover algorithm P and the verifier algorithm V.
(396) Further, the prover algorithm P may separately calculate a hash value of F.sup.B(z) and a hash value of z and send each hash value to the verifier as a message.
(397) Further, the prover algorithm P applies the number w to the pseudo random number generator G.sub.1 and generates the vector r and the number w.sup.A. Further, the prover algorithm P applies the number w.sup.A to the pseudo random number generator G.sub.2 and generates the multivariate polynomial F.sup.A(x). However, the prover algorithm P may be configured to perform identity mapping on G.sub.1 and calculate w=(r,F.sup.A) from the beginning. In this case, the number w need not be applied to G.sub.1. This is similarly applied to G.sub.2.
(398) The modified example of the present technique has been described above.
3-2: Extended Algorithm
(399) Next, an algorithm of a public-key authentication scheme (hereinafter referred to as an extended technique) extended from the present technique will be described with reference to
(400) The extended technique described herein is a scheme of converting the multivariate polynomial F.sup.B to be sent at the third pass into a single hash value c.sub.3 and sending the hash value c.sub.3 to the verifier. Through this extension, it is possible to halve communication traffic when the multivariate polynomial F.sup.B having a large expression size is sent to the verifier algorithm V during the interactive protocol, and it is possible to reduce an average size of data to be exchanged. Next, a structure of each algorithm in the extension scheme will be described in detail.
(401) (Key Generation Algorithm Gen)
(402) The key generation algorithm Gen generates multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of the set K.sup.n. Next, the key generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m)f.sub.1(s), . . . , f.sub.m(s). Also, the key generation algorithm Gen sets (f.sub.1, . . . , f.sub.m, y) as the public key pk and sets s as the secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented by x and a set of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented by F(x).
(403) (Prover Algorithm P, Verifier Algorithm V)
(404) Next, processes performed by the prover algorithm P and the verifier algorithm V during the interactive protocol will be described with reference to
(405) Operation #1:
(406) At first, the prover algorithm P arbitrarily selects a number w. Subsequently, the prover algorithm P generates a vector r which is an element of the set K.sup.n and a multivariate polynomial F.sup.A(x) by applying the number w to a pseudo-random number generator G. That is, the prover algorithm P calculates (r, F.sup.A)G(w). Subsequently, the prover algorithm P calculates zs r. This calculation is equivalent to masking the secret key s with the vector r.
(407) Operation #1 (Continued):
(408) Subsequently, the prover algorithm P generates F.sup.A (z) and a hash value c.sub.1 of z. That is, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.A (z), z). Also, the prover algorithm P generates a hash value c.sub.2 of the number w. That is, the prover algorithm P calculates c.sub.2H.sub.2(w). H.sub.1( . . . ) and H.sub.2( . . . ) described above are hash functions. The messages (c.sub.1, c.sub.2) generated in operation #1 are sent to the verifier algorithm V.
(409) Operation #2:
(410) Upon receiving the messages (c.sub.1, c.sub.2), the verifier algorithm V randomly selects one number from the origins of q rings K and sends the selected number to the prover algorithm P.
(411) Operation #3:
(412) The prover algorithm P that has received the number calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation corresponds to an operation of masking the multivariate polynomial F(x+r) for x using the multivariate polynomial F.sup.A(x). Further, the prover algorithm P generates a hash value c.sub.3 of the multivariate polynomial set F.sup.B. In other words, the prover algorithm P calculates c.sub.3H.sub.3(F.sup.B(x)). H.sub.3( . . . ) is a hash function. The message c.sub.3 generated in operation #3 is sent to the verifier.
(413) Operation #4:
(414) Upon receiving the multivariate polynomial F.sub.2, the verifier algorithm V selects which verification pattern to use from between two verification patterns. For example, the verifier algorithm V may select a numerical value from between two numerical values {0, 1} representing verification patterns, and set the selected numerical value in a challenge d. This challenge d is sent to the prover algorithm P.
(415) Operation #5:
(416) Upon receiving the challenge d, the prover algorithm P generates a response to send to the verifier algorithm V in response to the received challenge d. In the case where d=0, the prover algorithm P generates a response =w. In the case where d=1, the prover algorithm P generates a response =(z, F.sup.B). The response generated in operation #5 is sent to the verifier algorithm V.
(417) Operation #6:
(418) Upon receiving the response , the verifier algorithm V executes the following verification process using the received response .
(419) In the case where d=0, the verifier algorithm V calculates (r.sup.A, F.sup.C)G(). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2() holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F(x+r.sup.A)+F.sup.C(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(420) In the case where d=1, the verifier algorithm V calculates (z.sup.A, F.sup.C). Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.C (z.sup.A)y, z.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2(F.sup.C(x)) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(421) The process performed by each algorithm during the interactive protocol of the extension scheme has been described above. Through this extension, it is possible to halve communication traffic when the multivariate polynomial F.sup.B having a large expression size is sent to the verifier algorithm V during the interactive protocol, and it is possible to reduce an average size of data to be exchanged.
3-3: Parallelized Algorithm
(422) As described above, applying the interactive protocol related to the present technology and the extended technique makes it possible to keep the probability of a successful forgery to (+1/q) or less. Consequently, executing the interactive protocol twice makes it possible to keep the probability of a successful forgery to (+1/q).sup.2 or less. Furthermore, if the interactive protocol is executed N times, the probability of a successful forgery becomes (+1/q).sup.N, and if N is set to a sufficiently large number (N=80, for example), the probability of a successful forgery becomes negligibly small.
(423) Conceivable methods of executing an interactive protocol multiple times include a serial method in which the exchange of message, challenge, and response is sequentially repeated multiple times, and a parallel method in which multiple messages, challenges, and responses are exchanged in a single exchange, for example. Here, a method of extending the interactive protocol according to the present technique to an interactive protocol (hereinafter referred to as a parallelized algorithm) related to the parallel method will be described. For example, the parallelized algorithm is illustrated in
(424) (Key Generation Algorithm Gen)
(425) The key generation algorithm Gen generates multivariate polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of the set K.sup.n. Next, the key generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the key generation algorithm Gen sets (f.sub.1, . . . , f.sub.m, y) as the public key pk and sets s as the secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented by x and a set of multivariate polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented by F(x).
(426) (Prover Algorithm P, Verifier Algorithm V)
(427) Next, a process performed by the prover algorithm P and a process performed by the verifier algorithm V during the interactive protocol will be described with reference to
(428) During the foregoing interactive protocol, a prover does not leak information on the secret key s at all to a verifier and expresses to the verifier that she herself knows s satisfying y=F(s). On the other hand, the verifier verifies whether or not the prover knows s satisfying y=F(s). The public key pk is assumed to be made known to the verifier. Also, the secret key s is assumed to be secretly managed by the prover. Hereinafter, the description will be made with reference to the flowchart illustrated in
(429) Operation #1:
(430) First of all, the prover algorithm P performs the following processes (1) to (5) for i=1 to N.
(431) Process (1): The prover algorithm P arbitrarily selects a number w.sub.i.
(432) Process (2): The prover algorithm P applies the number w, to the pseudo random number generator G and generates a vector r, that is an element of the set K.sup.n and a polynomial set F.sub.i.sup.A(x). In other words, the prover algorithm P calculates (r.sub.i,F.sub.i.sup.A)G(w.sub.i).
(433) Process (3): The prover algorithm P calculates z.sub.isr.sub.i. This calculation corresponds to an operation of masking the secret key s using the vector r.sub.i.
(434) Process (4): The prover algorithm P calculates a hash value c.sub.1, i of F.sub.i.sup.A(z.sub.i) and z.sub.i. In other words, the prover algorithm P calculates c.sub.1,iH.sub.1(F.sub.i.sup.A(z.sub.i),z.sub.i).
(435) Process (5): The prover algorithm P generates a hash value c.sub.2,i of a number w.sub.i.sup.A. In other words, the prover algorithm P calculates c.sub.2,i H.sub.2(w.sub.i.sup.A).
(436) After processes (1) to (5) are performed for i=1 to N, the message (c.sub.1,i, c.sub.2,i) (i=1 to N) generated in operation #1 is sent to the verifier algorithm V.
(437) Operation #2:
(438) The verifier algorithm V that has received the message (c.sub.1,i, c.sub.2,i) (i=1 to N) randomly selects N numbers .sub.1, . . . , .sub.N from the origins of q rings K. Then, the verifier algorithm V sends the selected numbers .sub.1, . . . , .sub.N to the prover algorithm P.
(439) Operation #3:
(440) The prover algorithm P that has received the numbers .sub.1, . . . , .sub.N calculates F.sub.i.sup.B(x).sub.iF(x+r.sub.i)+F.sub.i.sup.A(x) for i=1 to N. This calculation corresponds to an operation of masking the multivariate polynomial F(x+r.sub.i) for x using the multivariate polynomial F.sub.i.sup.A(x). Then, the prover algorithm P sends the multivariate polynomial F.sub.1.sup.B, . . . , F.sub.N.sup.B to the verifier algorithm V.
(441) Operation #4:
(442) Upon receiving the multivariate polynomial F.sub.1.sup.B, . . . , F.sub.N.sup.B, the verifier algorithm V selects which verification pattern to use from between two verification patterns for i=1 to N. For example, the verifier algorithm V may select a numerical value from between two numerical values {0, 1} representing verification patterns for i=1 to N, and set the selected numerical value in a challenge d.sub.i. The challenges d.sub.i is sent to the prover algorithm P.
(443) Operation #5:
(444) The prover algorithm P that has received the challenge d, (i=1 to N) generates a response .sub.i to be sent to the verifier algorithm V in response to the challenge d.sub.i. Here, the prover algorithm P performs the following processes (1) and (2) for i=1 to N.
(445) Process (1): When d.sub.i=0, the prover algorithm P generates the response .sub.i=w.sub.i.
(446) Process (2): When d.sub.i=1, the prover algorithm P generates the response .sub.i=z.sub.i.
(447) After processes (1) and (2) are performed, the response .sub.i(i=1 to N) is sent to the verifier algorithm V.
(448) Operation #6:
(449) Upon receiving the response .sub.i (i=1 to N), the verifier algorithm V executes the verification process using the received response .sub.i. Note that the following processes are executed for i=1 to N
(450) In the case where d.sub.i=0, the verifier algorithm V calculates (r.sub.i.sup.A, F.sub.i.sup.C)G(.sub.i). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2,i=H.sub.2(.sub.i) holds. In addition, the verifier algorithm V verifies whether or not the equality of F.sub.i.sup.B (x)=.sub.iF(x+r.sub.i.sup.A)+F.sub.i.sup.C (x) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(451) In the case where d.sub.i=1, the verifier algorithm V calculates z.sub.i.sup.A.sub.i. Also, the verifier algorithm V verifies whether or not the equality of c.sub.1, i=H.sub.1(F.sub.i.sup.C (z.sub.i.sup.A).sub.iy, z.sub.i) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(452) The method of performing the interactive protocol of the present technique in parallel has been described above. As described above, as the interactive protocol of the present technique is repetitively performed, the probability of a successful forgery becomes negligibly small. Further, it is possible to similarly parallelize the extension scheme.
Modified Example
(453) Further, the structure of the interactive protocol may be modified such that the hash value H (c.sub.1,1, c.sub.1,2, . . . , c.sub.N,1, c.sub.N,2) may be sent instead of sending (c.sub.1,1, c.sub.1,2, . . . , c.sub.N,1, c.sub.N,2) to the verifier algorithm V after operation #1. In the case of this modification, a single hash value is sent at the first pass as a message, and thus it is possible to significantly reduce communication traffic. However, since there is a message that is hardly restored by the verifier algorithm V even using information sent from the prover algorithm P, it is necessary to send the corresponding message together when the response is sent. Through this structure, in the case of the n-time parallel repetition structure, it is possible to reduce the number of pieces of information to be sent by N1.
(454) (Parallelized Algorithm Related to Extension Scheme)
(455) Here, a structure of the parallelized algorithm related to the extension scheme will be described with reference to
(456) Operation #1:
(457) First of all, the prover algorithm P performs the following processes (1) to (5) for i=1 to N.
(458) Process (1): The prover algorithm P arbitrarily selects a number w.sub.i.
(459) Process (2): The prover algorithm P applies the number w.sub.i to the pseudo random number generator G and generates a vector r.sub.i that is an element of the set K.sup.n and a multivariate polynomial set F.sub.i.sup.A(x). In other words, the prover algorithm P calculates (r.sub.i,F.sub.i.sup.A)G(w.sub.i).
(460) Process (3): The prover algorithm P calculates z.sub.isr.sub.i. This calculation corresponds to an operation of masking the secret key s using the vector r.sub.i.
(461) Process (4): The prover algorithm P generates a hash value c.sub.1,i of F.sub.i.sup.A(z.sub.i) and z.sub.i. In other words, the prover algorithm P calculates c.sub.1,iH.sub.1(F.sub.i.sup.A(z.sub.i),z.sub.i).
(462) Process (5): The prover algorithm P generates a hash value c.sub.2,i of the number w.sub.i. In other words, the prover algorithm P calculates c.sub.2,IH.sub.2(w.sub.i).
(463) After processes (1) to (5) are performed for i=1 to N, the message (c.sub.1,i, c.sub.2,i) (i=1 to N) generated in operation #1 is sent to the verifier algorithm V.
(464) Operation #2:
(465) The verifier algorithm V that has received the message (c.sub.1,i, c.sub.2,i) (i=1 to N) randomly selects n numbers .sub.1, . . . , .sub.N from the origins of q rings K. Then, the verifier algorithm V sends the selected numbers .sub.1, . . . , .sub.N to the prover.
(466) Operation #3:
(467) The prover algorithm P that has received the numbers .sub.1, . . . , .sub.N calculates F.sub.i.sup.B(x).sub.iF(x+r.sub.i)+F.sub.i.sup.A(x) for i=1 to N. This calculation corresponds to an operation of masking the multivariate polynomial F(x+r.sub.i) for x using the multivariate polynomial F.sub.i.sup.A(x). Next, the prover algorithm P generates a hash value c.sub.3 of the multivariate polynomials F.sub.1.sup.B, . . . , F.sub.N.sup.B. In other words, the prover algorithm P calculates c.sub.3H.sub.3(F.sub.1.sup.B, . . . , F.sub.N.sup.B). H.sub.3( . . . ) is a hash function. The message c.sub.3 generated in operation #3 is sent to the verifier algorithm V.
(468) Operation #4:
(469) Upon receiving the message c.sub.3, the verifier algorithm V selects which verification pattern to use from among two verification patterns, for each of i=1 to N. For example, the verifier algorithm V may, for each of i=1 to N, select a numerical value from among two numerical values {0, 1} representing verification patterns, and set the selected numerical value in a challenge d.sub.i. The challenges d.sub.i are sent to the prover algorithm P.
(470) Operation #5:
(471) The prover algorithm P that has received the challenge d.sub.i (i=1 to N) generates a response .sub.i to be sent to the verifier algorithm V in response to the challenge d.sub.i. Here, the prover algorithm P performs the following processes (1) and (2) for i=1 to N.
(472) Process 1: When d.sub.i=0, the prover algorithm P generates the response .sub.i=w.sub.i.
(473) Process 2: When d.sub.i=1, the prover algorithm P generates the response .sub.i=(z.sub.i,F.sub.i.sup.B).
(474) After processes (1) and (2) are performed, the response , (i=1 to N) is sent to the verifier algorithm V.
(475) Operation #6:
(476) Upon receiving the response .sub.i (i=1 to N), the verifier algorithm V executes the verification process using the received response . Note that the following processes are executed for i=1 to N
(477) In the case where d.sub.i=0, the verifier algorithm V calculates (r.sub.i.sup.A, F.sub.i.sup.C)G(.sub.i). Also, the verifier algorithm V calculates F.sub.i.sup.D.sub.iF(x+r.sub.i.sup.A)+F.sub.i.sup.C(x). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2, i=H.sub.2(.sub.i) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3 (F.sub.1.sup.D, . . . , F.sub.N.sup.D) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(478) In the case where d.sub.i=1, the verifier algorithm V sets (z.sub.i.sup.A, F.sub.i.sup.D).sub.i. Then, the verifier algorithm V verifies whether or not the equality of c.sub.1, i=H.sub.1(F.sub.i.sup.D (z.sub.i.sup.A).sub.iy, z.sub.i.sup.A) holds. In addition, the verifier algorithm V verifies whether or not the equality of c.sub.3=H.sub.3(F.sub.1.sup.D, . . . , F.sub.N.sup.D) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(479) The structure of the parallelized algorithm related to the extension scheme has been described above.
(480) (Suitable Parameter Setting Method)
(481) Similarly to the interactive protocol according to the first embodiment, the interactive protocol according to the present embodiment guarantees the security level against the passive attack. However, when the method of repetitively performing the interactive protocol in parallel is applied, a condition which will be described below is necessary to prove that the security level against the active attack is guaranteed.
(482) The interactive protocol is one in which the prover proves that the prover is aware of s causing y=F(s) to the verifier through an interactivity using a set of a key pair (a public key y and a secret key s) without leaking information of the secret key s to the verifier at all. For this reason, when interactivity accepted by verification is performed, it is difficult to deny a probability that information representing that the prover has used s at the time of interactivity is known by the verifier. In addition, collision resistance is not guaranteed in the multivariate polynomial F. For this reason, when the above-described interactive protocol is repetitively performed in parallel, it is difficult to unconditionally prove that the security against an active attack is reliably guaranteed.
(483) In this regard, the inventors of the present technology have reviewed a method of preventing information representing that the prover has used s at the time of interactivity from being known by the verifier even when interactivity accepted by verification is performed. Further, the inventors of the present technology have devised a method of proving that the security against an active attack is guaranteed even when the above-described interactive protocol is repetitively performed in parallel. This method is a setting condition providing method of setting the number m of multivariate polynomials f.sub.1, . . . , f.sub.m used as the public key to a value sufficiently smaller than the number n of variables. For example, m and n are set such that 2.sup.m-n<<1 (for example, when n=160 and m=80, 2.sup.80<<1).
(484) In the above-described scheme in which difficulty in solving multi-order multivariate simultaneous equations is a basis of security, it is difficult to generate another secret key s.sub.2 corresponding to a public key pk even when a secret key s.sub.1 and the corresponding public key pk are given. For this reason, when it is guaranteed that there are two or more secret keys s for the public key pk, it is possible to prevent information representing that the prover has used s at the time of interactivity from being known by the verifier even when interactivity accepted by verification is performed. In other words, when such guarantee can be given, the security against the active attack can be guaranteed even when the interactive protocol is repetitively performed in parallel.
(485) When a function F: K.sup.n.fwdarw.K.sup.m configured with m multi-order polynomials with n variables (where n>m) is considered with reference to
(486) As described above, as the setting condition for setting the number m of multi-order polynomials f.sub.1, . . . , f.sub.m with n variables to a value sufficiently smaller than the number n of variables (where n>m and preferably 2.sup.m-n<<1), the security can be guaranteed when the interactive protocol is repetitively performed in parallel.
3-4: Specific Example (when Second-Order Polynomial is Used
(487) Next, an example in which a second-order polynomial with n variables is used as the multivariate polynomial F will be described with reference to
(488) (Key Generation Algorithm Gen)
(489) The key generation algorithm Gen generates m of second-order polynomials f.sub.1(x.sub.1, . . . , x.sub.n), . . . , f.sub.m(x.sub.1, . . . , x.sub.n) defined in a ring k and a vector s=(s.sub.1, . . . , s.sub.n) that is an element of the set K.sup.n. Next, the key generation algorithm Gen calculates y=(y.sub.1, . . . , y.sub.m)(f.sub.1(s), . . . , f.sub.m(s)). Also, the key generation algorithm Gen sets (f.sub.1 . . . , f.sub.m, y) as the public key pk and sets s as the secret key. Hereinafter, a vector (x.sub.1, . . . , x.sub.n) is represented by x and a set of second-order polynomials (f.sub.1(x), . . . , f.sub.m(x)) is represented by F(x).
(490) (Prover Algorithm P, Verifier Algorithm V)
(491) Next, a process performed by the prover algorithm P and a process performed by the verifier algorithm V during the interactive protocol will be described with reference to
(492) Operation #1:
(493) First of all, the prover algorithm P arbitrarily selects a number w. Next, the prover algorithm P applies the number w to the pseudo random number generator G, and generates a vector r that is an element of the set K.sup.n and a multivariate polynomial set F.sup.A(x)=(f.sub.1.sup.A(x), . . . , f.sub.m.sup.A(x)). In other words, the prover algorithm P calculates (r,F.sup.A)G(w). Next, the prover algorithm P calculates zsr. This calculation corresponds to an operation of masking the secret key s using the vector r. Here, the second-order polynomial f.sub.i.sup.A(x) is expressed as in the following Formula (18).
(494)
(495) Operation #1 (Continued):
(496) Next, the prover algorithm P generates a hash value c.sub.1 of F.sup.A(z) and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sup.A(z),z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w). H.sub.1( . . . ) and H.sub.2( . . . ) are hash functions. The message (c.sub.1,c.sub.2) generated in operation #1 is sent to the verifier algorithm V.
(497) Operation #2:
(498) The verifier algorithm V that has received the message (c.sub.1,c.sub.2) randomly selects a number from q rings K, and sends the selected number to the prover algorithm P.
(499) Operation #3:
(500) The prover algorithm P that has received the number calculates F.sup.B(x)F(x+r)+F.sup.A(x). This calculation corresponds to an operation of masking the multivariate polynomial F(x+r) for x using the multivariate polynomial F.sup.A(x). The multivariate polynomial F.sup.B generated in operation #3 is sent to the verifier algorithm V.
(501) Operation #4:
(502) The verifier algorithm V that has received the multivariate polynomial F.sup.B selects a verification pattern to be used from two verification patterns. For example, the verifier algorithm V selects a numerical value from two numerical values {0,1} representing the types of the verification patterns, and selects the selected numerical value to the challenge d. The challenge d is sent to the prover algorithm P.
(503) Operation #5:
(504) The prover algorithm P that has received the challenge d generates a response to be sent to the verifier algorithm V in response to the received challenge d. When d=0, the prover algorithm P generates the response =w. When d=1, the prover algorithm P generates the response =z. The response generated in operation #5 is sent to the verifier algorithm V.
(505) Operation #6:
(506) The verifier algorithm V that has received the response performs the following verification process using the received response .
(507) When d=0, the verifier algorithm V calculates (r.sup.A,F.sup.C)G(). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2() holds. Further, the verifier algorithm V verifies whether or not the equality of F.sup.B(x)=F(x+r.sup.A)+F.sup.C(x) holds. The verifier algorithm V outputs a value 1 representing authentication success when the verifications succeed, and outputs a value 0 representing an authentication failure when the verifications fail.
(508) When d=1, the verifier algorithm V performs z.sup.A. Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1(F.sup.B(z.sup.A)y,z.sup.A) holds. The verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs a value 0 representing an authentication failure when the verification fails.
(509) The specific example of the present technique has been described above.
3-5: Efficient Algorithm
(510) Next, a method of streamlining the algorithm according to the present technique will be described. Similarly to the streamlining method described in the first embodiment, the multivariate polynomial F.sup.A(x) used to mask the multivariate polynomial F(x+r) is expressed by F.sup.A(x)=F.sub.b(x, t)+e using the two vectors, the vector t that is an element of the set K.sup.n and the vector e that is an element of the set K.sup.m. Using this expression, a relation expressed by the following Formula (19) is obtained on the multivariate polynomial F(x+r).
(511)
(512) Thus, when t.sup.A=r+t and e.sup.A=F(r)+e, the masked multivariate polynomial F.sup.B(x)=F(x+r)+F.sup.A(x) can be expressed by two vectors, the vector t.sup.A that is an element of the set K.sup.n and the vector e.sup.A that is an element of the set K.sup.m. For this reason, when F.sup.A(x)=F.sub.b(x,t)+e is set, F.sup.A and F.sup.B can be expressed using a vector of K.sup.n and a vector of K.sup.m, and thus the size of data necessary for communication can be significantly reduced. Specifically, communication cost can be reduced by about several thousands to tens of thousands of times.
(513) Through this modification, information related to r.sub.0 is not at all leaked from F.sub.2 (or F.sub.1). For example, even when e.sup.A and t.sup.A (or e and t) are given, the information of r is not known at all unless e and t (or e.sup.A and t.sup.A) are known. Thus, the zero knowledge is guaranteed even when this modification is performed. Next, the efficient algorithm related to the present technique will be described with reference to
Structure Example 1 of Efficient Algorithm: FIG. 21
(514) First of all, a structure of an efficient algorithm illustrated in
(515) Operation #1:
(516) First of all, the prover algorithm P arbitrarily selects a number w. Next, the prover algorithm P applies the number w to the pseudo random number generator G and generates the vectors r and t that are elements of the set of K.sup.n, and the vector e that is an element of the set of K.sup.m. In other words, the prover algorithm P calculates (r,t,e)G(w). Next, the prover algorithm P calculates zsr. This calculation corresponds to an operation of masking the secret key s using the vector r.
(517) Operation #1 (continued):
(518) Next, the prover algorithm P generates a hash value c.sub.1 of F.sub.b(z,t)+e and z. In other words, the prover algorithm P calculates c.sub.1H.sub.1(F.sub.b(z,t)+e,z). Further, the prover algorithm P generates a hash value c.sub.2 of the number w. In other words, the prover algorithm P calculates c.sub.2H.sub.2(w). H.sub.1( . . . ) and H.sub.2( . . . ) are hash functions. The message (c.sub.1,c.sub.2) generated in operation #1 is sent to the verifier algorithm V.
(519) Operation #2:
(520) The verifier algorithm V that has received the message (c.sub.1,c.sub.2) randomly selects a number from q rings K, and sends the selected number to the prover algorithm P.
(521) Operation #3:
(522) The prover algorithm P that has received the number calculates t.sup.Ar+t. Further, the prover algorithm P calculates e.sup.AF(r)+e. Then, the prover algorithm P sends t.sup.A and e.sup.A to the verifier algorithm V.
(523) Operation #4:
(524) The verifier algorithm V that has received t.sup.A and e.sup.A selects a verification pattern to be used from two verification patterns. For example, the verifier algorithm V selects a numerical value from two numerical values {0,1} representing the types of the verification patterns, and selects the selected numerical value to the challenge d. The challenge d is sent to the prover algorithm P.
(525) Operation #5:
(526) The prover algorithm P that has received the challenge d generates a response G to be sent to the verifier algorithm V in response to the received challenge d. When d=0, the prover algorithm P generates the response =w. When d=1, the prover algorithm P generates the response =z. The response generated in operation #5 is sent to the verifier algorithm V.
(527) Operation #6:
(528) The verifier algorithm V that has received the response G performs the following verification process using the received response .
(529) When d=0, the verifier algorithm V calculates (r.sup.A, t.sup.B, e.sup.B)G(). Then, the verifier algorithm V verifies whether or not the equality of c.sub.2=H.sub.2() holds. Further, the verifier algorithm V verifies whether or not the equality of t.sup.A=r.sup.A+t.sup.B holds. Further, the verifier algorithm V verifies whether or not the equality of e.sup.A=F(r.sup.A)+e.sup.B holds. The verifier algorithm V outputs a value 1 representing authentication success when the verifications succeed, and outputs a value 0 representing an authentication failure when the verifications fail.
(530) When d=1, the verifier algorithm V performs z.sup.A. Then, the verifier algorithm V verifies whether or not the equality of c.sub.1=H.sub.1((F(z.sup.A)y)+F.sub.b(z.sup.A,t.sup.A)+e.sup.A,z.sup.A) holds. The verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs a value 0 representing an authentication failure when the verification fails.
(531) The structure example 1 of the efficient algorithm has been described above. Using this efficient algorithm, the data size necessary for communication is significantly reduced. Further, since it is unnecessary to calculate F(x+r), calculation efficiency is improved as well.
Structure Example 2 of Efficient Algorithm: FIG. 22
(532) Next, a structure of an efficient algorithm illustrated in
(533) In operation #5 of the algorithm illustrated in
(534) The structure example 2 of the efficient algorithm has been described above.
Structure Example 3 of Efficient Algorithm: FIG. 23
(535) Next, a structure of an efficient algorithm illustrated in
(536) In operation #3 of the algorithm illustrated in
(537) The structure example 3 of the efficient algorithm has been described above.
Structure Example 4 of Efficient Algorithm: FIG. 24
(538) Next, a structure of an efficient algorithm illustrated in
(539) In operation #3 of the algorithm illustrated in
(540) The structure example 4 of the efficient algorithm has been described above.
Structure Example 5 of Efficient Algorithm: FIG. 25
(541) Next, a structure of an efficient algorithm illustrated in
(542) In operation #5 of the algorithm illustrated in
(543) The structure example 5 of the efficient algorithm has been described above.
Structure Example 6 of Efficient Algorithm: FIG. 26
(544) Next, a structure of an efficient algorithm illustrated in
(545) In operation #3 of the algorithm illustrated in
(546) The structure example 6 of the efficient algorithm has been described above.
Structure Example 7 of the Efficient Algorithm: FIG. 27
(547) Next, a structure of an efficient algorithm illustrated in
(548) In operation #3 of the algorithm illustrated in
(549) The structure example 7 of the efficient algorithm has been described above.
(550) (Parallelization of Efficient Algorithm:
(551) Next, a method of parallelizing the efficient algorithm will be described with reference to
(552) Operation #1:
(553) The prover algorithm P performs the following processes (1) to (4) for i=1 to N.
(554) Process (1): The prover algorithm P arbitrarily selects the vectors r.sub.i and t.sub.i that are elements of the set K.sup.n, and e.sub.i that is an element of the set K.sup.m.
(555) Process (2): The prover algorithm P calculates r.sub.i.sup.Asr.sub.i. This calculation corresponds to an operation of masking the secret key s using the vector r.sub.i.
(556) Process (3): The prover algorithm P calculates c.sub.1,iH.sub.1(r.sub.i, t.sub.i, e.sub.i).
(557) Process (4): The prover algorithm P calculates c.sub.2,iH.sub.2(r.sub.i.sup.A,F.sub.b(r.sub.i.sup.A,t.sub.1)+e.sub.i).
(558) The message (c.sub.1,1, c.sub.2,1, . . . , c.sub.1,N, c.sub.2,N) generated in operation #1 is sent to the verifier algorithm V.
(559) Operation #2:
(560) Upon receiving the messages (c.sub.1, 1, c.sub.2, 1, . . . , c.sub.1, N, c.sub.2, N), the verifier algorithm V randomly selects one number .sub.i from the origins of q rings K, for each of i=1 to N, and sends the selected number .sub.i to the prover algorithm P.
(561) Operation #3:
(562) Upon receiving the number .sub.i (i=1 to N), the prover algorithm P calculates t.sub.i.sup.A.sub.ir.sub.it.sub.i for i=1 to N. Additionally, the prover algorithm P calculates e.sub.i.sup.A.sub.iF(r.sub.i)e.sub.i for i=1 to N. Then, the prover algorithm P sends t.sub.1.sup.A, . . . , t.sub.N.sup.A and e.sub.1.sup.A, . . . , e.sub.N.sup.A to the verifier algorithm V.
(563) Operation #4:
(564) Upon receiving t.sub.1.sup.A, . . . , t.sub.N.sup.A and e.sub.1.sup.A, . . . , e.sub.N.sup.A, the verifier algorithm V selects which verification pattern to use from between two verification patterns for i=1 to N. For example, the verifier algorithm V may select a numerical value from between two numerical values {0, 1} representing verification patterns, and set the selected numerical value in a challenge d.sub.i. This challenge d, (i=1 to N) is sent to the prover algorithm P.
(565) Operation #5:
(566) Upon receiving the challenge d, (where i=1 to N), the prover algorithm P generates a response d, to send to the verifier algorithm V in response to the received challenge d.sub.i for i=1 to N. In the case where d.sub.i=0, the prover algorithm P generates a response .sub.i=r.sub.i. In the case where d.sub.i=1, the prover algorithm P generates a response .sub.i=r.sub.i.sup.A The response .sub.i generated in operation #5 is sent to the verifier algorithm V.
(567) Operation #4:
(568) The verifier algorithm V that has received the response .sub.i (i=1 to N) performs the following verification process using the received response .sub.i (i=1 to N). The following process is performed for i=1 to N.
(569) In the case where d.sub.i=0, the verifier algorithm V executes r.sub.i.sub.i. Then, the verifier algorithm V verifies whether or not the equality of c.sub.1, i=H.sub.1(r.sub.i, .sub.ir.sub.it.sub.i.sup.A, .sub.iF(r.sub.i)e.sub.i.sup.A) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(570) In the case where d.sub.i=1, the verifier algorithm V executes r.sub.i.sub.i. Then, the verifier algorithm V verifies whether or not the equality of c.sub.2, i=H.sub.2(r.sub.i.sup.A, .sub.i(yF(r.sub.i.sup.A))F.sub.b(ti.sup.A, r.sub.i.sup.A) holds. The verifier algorithm V outputs the value 1 to indicate authentication success in the case where these verifications all succeed, and outputs the value 0 to indicate authentication failure in the case where a verification fails.
(571) The parallelization of the efficient algorithm has been described above.
(572) (Streamlining of Parallelized Algorithm:
(573) The parallelized algorithm illustrated in
(574) Operation #6:
(575) First of all, the verifier algorithm V performs processes (1) and (2) for i=1 to N. Practically, when d.sub.i=0, process (1) is performed, and when d.sub.i=1, process (2) is performed.
(576) Process (1): When d.sub.i=0, the verifier algorithm V performs (r.sub.i,c.sub.2,i).sub.i. Further, the verifier algorithm V calculates c.sub.1,i=H.sub.1(r.sub.i,.sub.ir.sub.it.sub.i.sup.A,.sub.iF(r.sub.i)e.sub.i.sup.A). Then, the verifier algorithm V holds (c.sub.1,i, c.sub.2,i).
(577) Process (2): When d.sub.i=1, the verifier algorithm V performs (r.sub.i.sup.A,c.sub.1,i).sub.i. Further, the verifier algorithm V calculates c.sub.2,i=H.sub.2(r.sub.i.sup.A,.sub.i(yF(r.sub.i.sup.A))F.sub.b(t.sub.i.sup.A,r.sub.i.sup.A)e.sub.i.sup.A). Then, the verifier algorithm V holds (c.sub.1,i, c.sub.2,i).
(578) After processes (1) and (2) are performed for i=1 to N, the verifier algorithm V verifies whether or not the equality of c=H(c.sub.1,1, c.sub.2,1, . . . , c.sub.1,N, c.sub.2,N) holds. The verifier algorithm V outputs a value 1 representing authentication success when the verification succeeds, and outputs a value 0 representing an authentication failure when the verification fails.
(579) The streamlining of the parallelized algorithm has been described above.
(580) (Further Streamlining of Parallelized Algorithm:
(581) The parallelized algorithm illustrated in
(582) Operation #6:
(583) First of all, the verifier algorithm V performs processes (1) and (2) for i=1 to N. Practically, when d.sub.i=0, process (1) is performed, and when d.sub.i=1, process (2) is performed.
(584) Process (1): When d.sub.i=0, the verifier algorithm V performs (r.sub.i, t.sub.i, e.sub.i, c.sub.2,i).sub.i. Then, the verifier algorithm V calculates c.sub.1,i=H.sub.1(r.sub.i, t.sub.i, e.sub.i). Further, the verifier algorithm V calculates t.sub.i.sup.A.sub.ir.sub.it.sub.i and e.sub.i.sup.A.sub.iF(r.sub.i)e.sub.i. Then, the verifier algorithm V holds (c.sub.1,i,c.sub.2,i) and (t.sub.i.sup.A,e.sub.i.sup.A).
(585) Process (2): When d.sub.i=1, the verifier algorithm V performs (r.sub.i.sup.A, t.sub.i.sup.A, e.sub.i.sup.A, c.sub.1,i).sub.i. Then, the verifier algorithm V calculates c.sub.2,i=H.sub.2(r.sub.i.sup.A,.sub.i(yF(r.sub.i.sup.A))F.sub.b(r.sub.i.sup.A,t.sub.i.sup.A)e.sub.i.sup.A). Then, the verifier algorithm V holds (c.sub.1,i, c.sub.2,i) and (t.sub.i.sup.A,e.sub.i.sup.A).
(586) After processes (1) and (2) are performed for i=1 to N, the verifier algorithm V verifies whether or not the equality of c=H(c.sub.1,1, c.sub.2,1, . . . , c.sub.1,N, c.sub.2,N) holds. Further, the verifier algorithm V verifies whether or not the equality of v=H(t.sub.i.sup.A,e.sub.i.sup.A, . . . ,t.sub.N.sup.A,e.sub.N.sup.A) holds. The verifier algorithm V outputs a value 1 representing authentication success when the verifications succeed, and outputs a value 0 representing an authentication failure when the verifications fail.
(587) The structure of further streamlining the parallelized algorithm has been described above. As described above, as a plurality of pieces of information exchanged between the prover algorithm P and the verifier algorithm V are converted into a hash value, it is possible to reduce the size of communication data of the third pass. Further, as the structure of the algorithm is modified to generate r.sub.i, t.sub.i, and e.sub.i from a single random number seed in the algorithm, an expectation value of a communication data size can be reduced. Further, when a limitation is set so that the number of 0s selected as the challenge d.sub.i is equal to the number of selected 1s, a communication data size is reliably reduced.
(588) For example, when (q, n, m,N) is set to (2.sup.4,45, 30, 88), in the algorithm illustrated in
3-6: Serial Parallel Hybrid Algorithm
(589) In order to make a probability of a successful forgery negligibly small, the interactive protocol needs to be performed multiple times as described above. Further, as the method of performing the interactive protocol multiple times, the serial method and the parallel method have been introduced. Particularly, the parallel method has been described in connection with the specific parallelized algorithm. Here, a hybrid type algorithm in which the serial method is combined with the parallel method will be introduced.
(590) (Hybrid Structure 1)
(591) A hybrid type algorithm (hereinafter referred to as a parallel serial algorithm) will be described with reference to
(592) In the basic structure, at the first pass, a message (c.sub.1,c.sub.2) is sent from the prover to the verifier. At the second pass, a number is sent from the verifier to the prover. At the third pass, the vectors t.sup.A and e.sup.A are sent from the prover to the verifier. At the fourth pass, the challenge d is sent from the verifier to the prover. At the fifth pass, the response is sent from the prover to the verifier.
(593) When the basic structure is parallelized, at the first pass, messages (c.sub.1,1, c.sub.2,1, . . . , c.sub.1,N, c.sub.2,N) of N times are sent from the prover to the verifier. At the second pass, numbers (.sub.1, . . . , .sub.N) of N times are sent from the verifier to the prover. At the third pass, the vectors (t.sub.1.sup.A, . . . , t.sub.N.sup.A, e.sub.i.sup.A, . . . , e.sub.N.sup.A) of N times are sent from the prover to the verifier. At the fourth pass, challenges (d.sub.1, . . . , d.sub.N) of N times are sent from the verifier to the prover. At the fifth pass, responses (.sub.1, . . . , .sub.N) of N times are sent from the prover to the verifier.
(594) The parallelized algorithm related to the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely 5 times. Further, as messages of N times to be sent at the first pass or the vectors of N times to be sent at the third pass are converted into one hash value, the communication efficiency can be improved.
(595) Meanwhile, when the basic structure is serialized, at the first pass, a message (c.sub.1,1,c.sub.2,1) of one time is sent from the prover to the verifier. At the second pass, a number .sub.1 of one time is sent from the verifier to the prover. At the third pass, a vector (t.sub.1.sup.A,e.sub.1.sup.A) of one time is sent from the prover to the verifier. At the fourth pass, a challenge d.sub.1 of one time is sent from the verifier to the prover. At the fifth pass, a response .sub.i of one time is sent from the prover to the verifier. Similarly, interactivity is repetitively performed until a response .sub.N is sent from the prover to the verifier. The serialized algorithm guarantees the security against the active attack. Further, it is possible to prove that a probability of false verification is reliably reduced.
(596) The parallel serial algorithm is an algorithm having both the characteristics of the parallelized algorithm and the characteristics of the serialized algorithm. In the parallel serial algorithm illustrated in
(597) The parallel serial algorithm based on the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely 4N+1 times. Further, when messages of N times sent at the first pass are collected with one hash value, the communication efficiency can be improved.
(598) (Hybrid Structure 2)
(599) Another parallel serial algorithm will be described with reference to
(600) The parallel serial algorithm illustrated in
(601) The parallel serial algorithm based on the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely 2N+3 times. Further, as messages of N times to be sent at the first pass are converted into one hash value, the communication efficiency can be improved.
(602) (Hybrid Structure 3)
(603) Another hybrid type algorithm (hereinafter referred to as a serial parallel algorithm) will be described with reference to
(604) The serial parallel algorithm illustrated in
(605) The serial parallel algorithm based on the present technique guarantees the security against the active attack. Further, the number of interactivities is merely 4N+1 times.
(606) (Hybrid Structure 4)
(607) Another serial parallel algorithm will be described with reference to
(608) The serial parallel algorithm illustrated in
(609) The serial parallel algorithm based on the present technique guarantees the security against the passive attack. Further, the number of interactivities is merely 2N+3 times.
(610) The hybrid type algorithms based on the present technique have been described above.
(611) The second embodiment of the present technology has been described above. A form of the multivariate simultaneous equations is the same as in the first embodiment.
4: Extension of Efficient Algorithm
(612) Meanwhile, the efficient algorithms according to the first and second embodiments have the structure in which the second-order multivariate polynomial expressed by the following Formula (20) is used as the public key (or the system parameter). However, the efficient algorithms can be extended to have a structure in which a third- or higher-order multivariate polynomial is used as the public key (or the system parameter).
4-1: High-Order Multivariate Polynomial
(613) For example, a structure in which a third- or higher-order multivariate polynomial (see the following Formula (21)) defined on a field of an order q=p.sup.k is used as the public key (or the system parameter) will be considered.
(614)
(615) In the efficient algorithms according to the first and second embodiments, the multivariate polynomial f.sub.1 is available as the public key when the following Formula (22) is bilinear for (x.sub.1, . . . , x.sub.n) and (y.sub.1, . . . , y.sub.n). In the multivariate polynomial expressed by Formula (20), bilinearity can be easily found (underlined parts are linear on each of x, and y, as expressed in the following Formula (23). Further, in the multivariate polynomial expressed by Formula (21), bilinearity can be similarly found as expressed in the following Formula (24). The underlined part in the following Formula (24) represents bilinearity in a field GF(p) of the order p. Thus, when the multivariate polynomial expressed by Formula (21) is used as the public key of the efficient algorithm according to the second embodiment, a number to be sent to the verifier after operation #2 of the algorithm needs to be limited to an element of GF(p).
(616)
(617) For the above reason, it is possible to constitute an algorithm in which a third- or higher-order multivariate polynomial expressed by Formula (21) is used as the public key by extending the efficient algorithms according to the first and second embodiments.
(618) Next, a relation between the multivariate polynomial (hereinafter, referred to as a second-order polynomial) expressed by Formula (20) and the multivariate polynomial (hereinafter referred to as a multi-order polynomial) expressed by Formula (20) will be reviewed. Here, an nk-variable second-order polynomial defined on a field of an order q=p and an n-variable multi-order polynomial defined on a field of an order q=p.sup.k are considered. In this case, difficulty in solving a simultaneous equation configured with mk second-order polynomials is equivalent to difficulty in solving a simultaneous equation configured with m multi-order polynomials. For example, a simultaneous equation configured with 80 80-variable second-order polynomials defined on a field of an order 2 is equivalent in solving difficulty to 10 10-variable multi-order polynomials defined on a field of an order 2.sup.8.
(619) In other words, when an element of GF(p.sup.k) and an element of GF(p).sup.k are considered to be the same by isomorphic mapping, there is a function expressed by m n-variable multi-order polynomial sets defined on a field of an order q=p.sup.k which is equivalent to a function expressed by mk nk-variable second-order polynomial sets defined on a field of an order q=p. For example, when an element of GF(2.sup.8) and an element of GF(2).sup.8 are considered to be the same by isomorphic mapping, there is a function expressed by 10 10-variable multi-order polynomial sets defined on a field of an order 2.sup.8 which is equivalent to a function expressed by 80 80-variable second-order polynomial sets defined on a field of an order 2. Thus, it is possible to arbitrarily select whether to use the second-order polynomial or the multi-order polynomial.
(620) Here, let us review calculation efficiency when the second-order polynomial is used as calculation efficiency when the multi-order polynomial is used.
(621) When the nk-variable second-order polynomial defined on a field of an order 2 is used, an operation included in the algorithm is performed on nk 1-bit variables. In other words, an operation unit is 1 bit. Meanwhile, when the n-variable multi-order polynomial defined on a field of an order 2.sup.k, an operation included in the algorithm is performed on n k-bit variables. In other words, an operation unit is k bits. k (k=2, 3, 4, . . . ) can be arbitrarily set. Thus, when implemented, by setting k to an appropriate value, it is possible to improve the calculation efficiency. For example, when an algorithm is implemented on a 32-bit architecture, a structure in which an operation is performed in units of 32 bits is higher in calculation efficiency than a structure in which an operation is performed in units of one bit.
(622) As the efficient algorithms according to the first and second embodiments are extended so that the multi-order polynomial can be used as the public key as described above, it is possible to adjust an operation unit according to an architecture on which it is implemented. As a result, the calculation efficiency can be improved.
4-2: Extension Scheme (Addition of High-Order Term)
(623) Meanwhile, as a method of using a third- or higher-order multi-order polynomial, a method of adding a third- or higher-order term to a second-order polynomial is considered as well. For example, as expressed in the following Formula (25), a method of adding a fourth-order term to the second-order polynomial expressed by Formula (20) is considered. When the multi-order polynomial f.sub.1 is defined as in the following Formula (25), a term g.sub.1(x,y) defined by the following Formula (26) is expressed as in the following Formula (27). In the following, the term g.sub.1(x,y) is referred to as a polar form.
(624)
(625) As expressed in Formula (27), the term g.sub.1(x,y) is not bilinear. In this regard, 6 terms x.sub.ix.sub.j having two variables selected from four variables x.sub.1, x.sub.2, x.sub.3, and x.sub.4 and 3 terms x.sub.ix.sub.jx.sub.k having three variables selected from four variables x.sub.1, x.sub.2, x.sub.3, and x.sub.4 are expressed by four variables t.sub.ij, t.sub.ij.sup.A, t.sub.ijk, and t.sub.ijk.sup.A as in the following Formulas (28) and (29). When this expression is used, the efficient algorithm can be implemented using the third- or higher-order multivariate polynomial. In the example expressed in Formula (25), a fourth-order term is added to the second-order polynomial, a third-order (for example, x.sub.1x.sub.2x.sub.3) or a fifth- or higher-order term (for example, x.sub.1x.sub.2x.sub.3x.sub.4x.sub.5) may be added instead of the fourth-order term. By adding a third- or higher-order term, it is possible to improve robustness of an equation.
[Math 18]
x.sub.ix.sub.j=t.sub.ij+t.sub.ij.sup.4(28)
x.sub.ix.sub.jx.sub.k=t.sub.ijk+t.sub.ijk.sup.A(29)
5: Mechanism for Increasing Robustness
(626) Here, a mechanism for further increasing robustness of the algorithms according to the first and second embodiments will be introduced.
5-1: Method of Setting System Parameters
(627) How to set coefficients of the multivariate polynomials and a random number seed (hereinafter, referred to as coefficients and the like of the multivariate polynomials) used to generate the coefficients have not been described above. The coefficients and the like of the multivariate polynomials may be parameters common to a system or may be parameters different for each user.
(628) However, when the coefficients and the like of the multivariate polynomials are set to parameters common to a system, it may be necessary to update the setting of the entire system if weakness for the multivariate polynomials is found. Additionally, average robustness (difficulty of solving) is analyzed for the multivariate polynomials having randomly selected coefficients, but it is difficult to ensure sufficient robustness for the multivariate polynomials having certain specific coefficients.
(629) Accordingly, the inventors of the present technology have devised a structure in which coefficients of multivariate polynomials are generated by using a character string or the like selected by each user in a seed of a pseudo-random number generator and generating the coefficients of the multivariate polynomials. For example, conceivable methods include a method of using an e-mail address of a user in a seed and a method of using a character string in which an e-mail address, an update date, and the like are combined in a seed. When such methods are used, an influence is limited only to a user using the multivariate polynomials having the coefficients even if weakness is found in the multivariate polynomials having the coefficients generated from a given character string. Additionally, since the multivariate polynomials are changed merely by changing a character string, the weakness can easily be resolved.
(630) The method of setting system parameters has been described above. In the foregoing description, a character string has been given as an example, but a different number string or a different sign string may be used for each user.
5-2: Method of Responding to Irregular Challenge
(631) Next, a method of responding to an irregular challenge will be described.
5-2-1: Responding Method by Prover
(632) As illustrated in
(633) However, in the example of
(634) In this regard, the inventors of the present technology have devised a method of avoiding the leakage of the secret key. Specifically, the inventors of the present technology have devised a method of deciding whether interactivity is to be terminated or resumed from the first pass using a new random number when the prover requests responses corresponding to two or more challenges d on a single message. When this method is applied, the secret key is not leaked even when the verifier falsely requests responses corresponding to two or more challenges d.
(635) The technique of preventing the secret key from being leaked by the irregular challenge has been described. Here, the 3-pass basic structure has been described as an example, but the same technique can be applied to the serial method, the parallel method, or the hybrid type algorithm, and in this case, the security can be improved. Of course, this technique is similarly applied even to the 5-pass algorithm.
5-2-2: Responding Method by Verifier
(636) Further, as illustrated in
(637) However, there is a possibility of the prover being able to respond to the challenge d=1 but not to the challenge d=0. In other words, it is difficult to deny the risk of the prover committing forgery. For example, the prover may request to the verifier to retransmit the challenge d since the challenge d was lost. However, the verifier may think that the previously sent challenge was lost due to a communication error and retransmit the challenge d in response to the prover's request. Then, when the retransmitted challenge d is different from the previously transmitted challenge d, forgery succeeds.
(638) As can be understood from the example of
(639) The method of preventing forgery from being successfully by an irregular challenge has been described above. Here, the 3-pass basic structure has been described as an example, but the same technique can be applied even to the serial method, the parallel method, or the hybrid type algorithm, and in this case, the security can be improved. This technique is similarly applied to the 5-pass algorithm.
6: Hardware Configuration
(640) Each algorithm described above can be performed by using, for example, the hardware configuration of the information processing apparatus shown in
(641) As shown in
(642) The CPU 902 functions as an arithmetic processing unit or a control unit, for example, and controls entire operation or a part of the operation of each structural element based on various programs recorded on the ROM 904, the RAM 906, the storage unit 920, or a removable recording medium 928. The ROM 904 is means for storing, for example, a program to be loaded on the CPU 902 or data or the like used in an arithmetic operation. The RAM 906 temporarily or perpetually stores, for example, a program to be loaded on the CPU 902 or various parameters or the like arbitrarily changed in execution of the program.
(643) These structural elements are connected to each other by, for example, the host bus 908 capable of performing high-speed data transmission. For its part, the host bus 908 is connected through the bridge 910 to the external bus 912 whose data transmission speed is relatively low, for example. Furthermore, the input unit 916 is, for example, a mouse, a keyboard, a touch panel, a button, a switch, or a lever. Also, the input unit 916 may be a remote control (hereinafter, remote control) that can transmit a control signal by using an infrared ray or other radio waves.
(644) The output unit 918 is, for example, a display device such as a CRT, an LCD, a PDP or an ELD, an audio output device such as a speaker or headphones, a printer, a mobile phone, or a facsimile, that can visually or auditorily notify a user of acquired information. Moreover, the CRT is an abbreviation for Cathode Ray Tube. The LCD is an abbreviation for Liquid Crystal Display. The PDP is an abbreviation for Plasma Display Panel. Also, the ELD is an abbreviation for Electro-Luminescence Display.
(645) The storage unit 920 is a device for storing various data. The storage unit 920 is, for example, a magnetic storage device such as a hard disk drive (HDD), a semiconductor storage device, an optical storage device, or a magneto-optical storage device. The HDD is an abbreviation for Hard Disk Drive.
(646) The drive 922 is a device that reads information recorded on the removable recording medium 928 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, or writes information in the removable recording medium 928. The removable recording medium 928 is, for example, a DVD medium, a Blu-ray medium, an HD-DVD medium, various types of semiconductor storage media, or the like. Of course, the removable recording medium 928 may be, for example, an electronic device or an IC card on which a non-contact IC chip is mounted. The IC is an abbreviation for Integrated Circuit.
(647) The connection port 924 is a port such as an USB port, an IEEE1394 port, a SCSI, an RS-232C port, or a port for connecting an externally connected device 930 such as an optical audio terminal. The externally connected device 930 is, for example, a printer, a mobile music player, a digital camera, a digital video camera, or an IC recorder. Moreover, the USB is an abbreviation for Universal Serial Bus. Also, the SCSI is an abbreviation for Small Computer System Interface.
(648) The communication unit 926 is a communication device to be connected to a network 932, and is, for example, a communication card for a wired or wireless LAN, Bluetooth (registered trademark), or WUSB, an optical communication router, an ADSL router, or a device for contact or non-contact communication. The network 932 connected to the communication unit 926 is configured from a wire-connected or wirelessly connected network, and is the Internet, a home-use LAN, infrared communication, visible light communication, broadcasting, or satellite communication, for example. Moreover, the LAN is an abbreviation for Local Area Network. Also, the WUSB is an abbreviation for Wireless USB. Furthermore, the ADSL is an abbreviation for Asymmetric Digital Subscriber Line.
7: Summary
(649) Lastly, the technical contents according to the embodiment of the present technology will be briefly described. The technical contents stated here can be applied to various information processing apparatuses, such as a personal computer, a mobile phone, a game machine, an information terminal, an information appliance, a car navigation system, and the like. Further, the function of the information processing apparatus described below can be realized by using a single information processing apparatus or using a plurality of information processing apparatuses. Furthermore, a data storage means and an arithmetic processing means which are used for performing a process by the information processing apparatus described below may be mounted on the information processing apparatus, or may be mounted on a device connected via a network.
(650) The functional configuration of the foregoing information processing apparatus is realized as follows. For example, an information processing apparatus described in the following (1) has a signature providing function of digital signature scheme that bases its safety on the difficulty of solving multi-order multivariate simultaneous equations.
(651) (1)
(652) An information processing apparatus including:
(653) a message generating unit that generates N sets of messages based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n;
(654) a first information selecting unit that inputs a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information, and selects N pieces of first information;
(655) a second information generating unit that generate N pieces of second information corresponding to the respective N pieces of first information; and
(656) a signature providing unit that provides a verifier holding the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)) with the N pieces of first information and the N pieces of second information as a digital signature,
(657) wherein the vector s is a signature key,
(658) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(659) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(660) (2)
(661) The information processing apparatus according to claim 1,
(662) wherein the multi-order multivariate polynomial set F is set in a manner that F.sub.b(x,y) defined as F.sub.b(x,y)=F(x+y)F(x)F(y) is bilinear for x and y.
(663) (3)
(664) The information processing apparatus according to (1) or (2),
(665) wherein the multi-order multivariate polynomial set F is generated using information differing according to a user who generates the public keys.
(666) (4)
(667) The information processing apparatus according to any one of (1) to (3),
(668) wherein the multi-order multivariate polynomial set F is expressed by a sum of a second-order polynomial F.sup.A in which F.sub.b(x,y) defined as F.sub.b(x,y)=F.sup.A(x+y)F.sup.A(x)F.sup.A(y) is bilinear for x and y and a third- or higher-order term.
(669) (5)
(670) An information processing apparatus including:
(671) an information holding unit that holds a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector y=(y.sub.1, . . . , y.sub.m)=(f).sub.1 (s), . . . , f.sub.m (s));
(672) a message acquiring unit that acquires N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n;
(673) a signature acquiring unit that acquires a digital signature including N pieces of first information selected by inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information and N pieces of second information corresponding to the respective N pieces of first information; and
(674) a signature verifying unit that verifies validity of the document M based on the messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature,
(675) wherein the vector s is a signature key,
(676) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(677) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(678) (6)
(679) The information processing apparatus according to (5),
(680) wherein the multi-order multivariate polynomial set F is set in a manner that F.sub.b(x,y) defined as F.sub.b(x,y)=F(x+y)F(x)F(y) is bilinear for x and y.
(681) (7)
(682) The information processing apparatus according to (5) or (6),
(683) wherein the multi-order multivariate polynomial set F is generated using information differing according to a user who generates the public keys.
(684) (8)
(685) The information processing apparatus according to any one of (5) to (7),
(686) wherein the multi-order multivariate polynomial set F is expressed by a sum of a second-order polynomial F.sup.A in which F.sub.b(x,y) defined as F.sub.b(x,y)=F.sup.A(x+y)F.sup.A(x)F.sup.A(y) is bilinear for x and y and a third- or higher-order term.
(687) (9)
(688) A signature providing method including:
(689) a step of generating N sets of messages based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n;
(690) a step of inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information, and selecting N pieces of first information;
(691) a step of generating N pieces of second information corresponding to the respective N pieces of first information; and
(692) a step of providing a verifier holding the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)) with the N pieces of first information and the N pieces of second information as a digital signature,
(693) wherein the vector s is a signature key,
(694) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(695) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(696) (10)
(697) A signature verifying method including:
(698) a step of holding a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s));
(699) a step of acquiring N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n;
(700) a step of acquiring a digital signature including N pieces of first information selected by inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information and N pieces of second information corresponding to the respective N pieces of first information; and
(701) a step of verifying validity of the document M based on the messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature,
(702) wherein the vector s is a signature key,
(703) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(704) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(705) (11)
(706) A program causing a computer to execute:
(707) a message generating function of generating N sets of messages based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n;
(708) a first information selecting function of inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information, and selecting N pieces of first information;
(709) a second information generating function of generating N pieces of second information corresponding to the respective N pieces of first information; and
(710) a signature providing function of providing a verifier holding the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)) with the N pieces of first information and the N pieces of second information as a digital signature,
(711) wherein the vector s is a signature key,
(712) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(713) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(714) (12)
(715) A program causing a computer to execute:
(716) an information holding function of holding a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector y=, y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s));
(717) a message acquiring function of acquiring N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n;
(718) a signature acquiring function of acquiring a digital signature including N pieces of first information selected by inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information and N pieces of second information corresponding to the respective N pieces of first information; and
(719) a signature verifying function of verifying validity of the document M based on the messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature,
(720) wherein the vector s is a signature key,
(721) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(722) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(723) (13)
(724) A computer-readable recording medium having a program recorded thereon, the program causing a computer to execute:
(725) a message generating function of generating N sets of messages based on a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector s that is an element of a set K.sup.n;
(726) a first information selecting function of inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information, and selecting N pieces of first information;
(727) a second information generating function of generating N pieces of second information corresponding to the respective N pieces of first information; and
(728) a signature providing function of providing a verifier holding the multi-order multivariate polynomial set F and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s)) with the N pieces of first information and the N pieces of second information as a digital signature,
(729) wherein the vector s is a signature key,
(730) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(731) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(732) (14)
(733) A computer-readable recording medium having a program recorded thereon, the program causing a computer to execute:
(734) an information holding function of holding a multi-order multivariate polynomial set F=(f.sub.1, . . . , f.sub.m) defined on a ring K and a vector y=(y.sub.1, . . . , y.sub.m)=(f.sub.1(s), . . . , f.sub.m(s));
(735) a message acquiring function of acquiring N sets of messages generated based on the multi-order multivariate polynomial set F and a vector s that is an element of a set K.sup.n;
(736) a signature acquiring function of acquiring a digital signature including N pieces of first information selected by inputting a document M and the N sets of messages to a one-way function that selects one piece of first information from among k (where k3) pieces of first information in response to a set of input information and N pieces of second information corresponding to the respective N pieces of first information; and
(737) a signature verifying function of verifying validity of the document M based on the messages, the multi-order multivariate polynomial set F, the vector y, and the digital signature,
(738) wherein the vector s is a signature key,
(739) wherein the multi-order multivariate polynomial set F and the vector y are public keys, and
(740) wherein the messages are information obtained by performing a certain operation selected according to a type of the first information corresponding to the second information using the public keys and the second information.
(741) (15)
(742) The information processing apparatus according to any one of (1) to (8),
(743) wherein m and n have a relation of m<n.
(744) (16)
(745) The information processing apparatus according to (15),
(746) wherein m and n have a relation of 2.sup.m-n<<1.
(747) (Remarks)
(748) The signature generation algorithm Sig is an example of a message generating unit, a first information selecting unit, a second information generating unit, and a signature providing unit. Further, the signature verifying algorithm Ver is an example of a message acquiring unit, a signature acquiring unit, and a signature verifying unit.
(749) The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, whilst the present invention is not limited to the above examples, of course. A person skilled in the art may find various alternations and modifications within the scope of the appended claims, and it should be understood that they will naturally come under the technical scope of the present invention.
REFERENCE SIGNS LIST
(750) Gen key generation algorithm P prover algorithm V verifier algorithm Sig signature generation algorithm Ver signature verifying algorithm