# US 2015/0156018 A1 · Common secret key generation device, encryption device, decryption device, common secret key generation method, encryption method, decryption method, and program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0156018 A1
- Document ID: US20150156018A1
- Status: Published application
- Kind: A1
- Application number: 14/412,028
- Filed: 2013-07-04
- Published: 2015-06-04
- Earliest claimed: 2012-07-05
- Assignees: Crypto Basic Corporation; Acteiive Corporation
- Applicants: Crypto Basic Corporation
- Inventors: Masanori Ohya; Satoshi Iriyama; Luigi Accardi; Massimo Regoli
- Web page: https://patentgrep.com/patent/US20150156018A1

## CPC

- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/0662: {with particular pseudorandom sequence generator}
- H04L 9/0841: {involving Diffie-Hellman or related key agreement protocols}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Public data including a prime number p, a natural number d, a matrix Q, and a matrix S are acquired by a public data acquisition section, and secret key including natural numbers nA, kA is generated by a shared secret key generation section. A matrix MA (MA=S−kAQnASkA) is calculated by a non-commutative matrix generation section and transmitted to a communication party, and a matrix MB (MB=S−kBQnBSkB) is acquired from the communication party. A matrix MAB (MAB=S−kAMBnASkA) is computed as a common secret key by a shared secret key computation section. An encryption/decryption device is thereby capable of rapid generation of the secure common secret key.

## Claims

### Claim 1

A common secret key generation device, comprising:
a public data setting section that sets public data including a prime number p, a natural number d, a d×d matrix Q (mod p) with determinant equal to 1, and a d×d matrix S (mod p) for which an inverse matrix exists;
a secret key generation section that generates a secret key including natural numbers nA(mod p), kA(mod p);
a matrix calculation section that employs the secret key to calculate a d×d matrix MA(mod p) according to the following Equation (I), and transmits the matrix MA to a communication partner;
a matrix acquisition section that acquires a d×d matrix MB(mod p), calculated by employing natural numbers nB(mod p), kB(mod p) included in a secret key of the communication partner according to the following Equation (II); and
a common secret key computation section that computes a d×d matrix MAB (mod p) as a common secret key by employing the matrix MB acquired by the matrix acquisition section according to the following Equation (III), wherein:
MA=S−kAQnASkA (I)
MB=S−kBQnBSkB (II)
MAB=S−kAMBnASkA (III)

### Claim 2 (depends on 1)

The common secret key generation device of claim 1, wherein the common secret key generation section generates and renews the secret key including the natural numbers nA(mod p), kA(mod p) for every respective communication with the communication partner.

### Claim 3 (depends on 1)

An encryption device comprising:
a matrix generation section that generates two non-commutative matrices A1, A2, based on the common secret key MAB generated by the common secret key generation device of claim 1, and two prime numbers p1, p2, that are set in common with a decryption device;
a matrix operation section that derives a vector vi1 by operating the non-commutative matrix A1 on a d dimensional initial vector v0 set in common with the decryption device or on a d dimensional vector vi−11 derived the previous time, and that derives a vector vi2 by operating the non-commutative matrix A2 on the initial vector v0 or on a d dimensional vector vi−12 derived the previous time, wherein in the matrix operation section substitutes at least one out of a sum calculation or a product calculation for operations of the non-commutative matrices A1, A2 into a predetermined calculation method combining a plurality of operator types, and performs operations of the non-commutative matrices A1, A2;
a bit sequence transformation section that derives a bit sequence W1 by performing a non-linear transformation to transform the vector vi1 derived by the matrix operation section into a bit sequence and by joining the transformed bit sequence to the bit sequence W1 derived the previous time, and that derives a bit sequence W2 by performing a non-linear transformation to transform the vector vi2 into a bit sequence and by joining the transformed bit sequence to the bit sequence W2 derived the previous time;
a bit number determination section that repeats the operation by the matrix operation section and the transformation and joining by the bit sequence transformation section until the respective numbers of bits of the bit sequence W1 and the bit sequence W2 derived by the bit sequence transformation section have reached a number of bits of a bit sequence expressing encryption target data;
a pseudo-random number sequence generation section that derives a pseudo-random number bit sequence by calculating an exclusive logical sum between the bit sequence W1 and the bit sequence W2; and
an encryption section that encrypts the encryption target data by calculating an exclusive logical sum between the pseudo-random number bit sequence derived by the pseudo-random number sequence generation section and the bit sequence expressing the encryption target data.

### Claim 4 (depends on 1)

A decryption device, comprising:
a matrix generation section that generates two non-commutative matrices A1, A2, based on the common secret key MAB generated by the common secret key generation device of claim 1, and two prime numbers p1, p2, that are set in common with an encryption device;
a matrix operation section that derives a vector vi′ by operating the non-commutative matrix A1 on a d dimensional initial vector v0 set in common with the encryption device or on a d dimensional vector vi−11 derived the previous time, and that derives a vector vi2 by operating the non-commutative matrix A2 on the initial vector v0 or on a d dimensional vector vi−12 derived the previous time, wherein the matrix operation section substitutes at least one out of a sum calculation or a product calculation for operations of the non-commutative matrices A1, A2 into a predetermined calculation method combining a plurality of operator types, and performs operations of the non-commutative matrices A1, A2;
a bit sequence transformation section that derives a bit sequence W1 by performing a non-linear transformation to transform the vector vi1 derived by the matrix operation section into a bit sequence and by joining the transformed bit sequence to the bit sequence W1 derived the previous time, and that derives a bit sequence W2 by performing a non-linear transformation to transform the vector vi2 into a bit sequence and by joining the transformed bit sequence to the bit sequence W2 derived the previous time;
a bit number determination section that repeats the operation by the matrix operation section and the transformation and joining by the bit sequence transformation section until the respective numbers of bits of the bit sequence W1 and the bit sequence W2 derived by the bit sequence transformation section have reached a number of bits of a bit sequence expressing decryption target data;
a pseudo-random number sequence generation section that derives a pseudo-random number bit sequence by calculating an exclusive logical sum between the bit sequence W1 and the bit sequence W2; and
a decryption section that decrypts the decryption target data by calculating an exclusive logical sum between the pseudo-random number bit sequence derived by the pseudo-random number sequence generation section and the bit sequence expressing the decryption target data.

### Claim 5

A computer readable medium storing a program causing a computer to execute a process for common secret key generation, the process comprising:
by a public data setting section, setting public data including a prime number p, a natural number d, a d×d matrix Q (mod p) with determinant equal to 1, and a d×d matrix S (mod p) for which an inverse matrix exists;
by a secret key generation section, generating a secret key including natural numbers nA(mod p), kA(mod p);
by a matrix calculation section, employing the secret key to calculate a d×d matrix MA(mod p) according to the following Equation (IV), and transmitting the matrix MA to a communication partner;
by a matrix acquisition section, acquiring a d×d matrix MB(mod p), calculated by employing natural numbers nB(mod p), kB(mod p) included in a secret key of the communication partner according to the following Equation (V); and
by a common secret key computation section, computing a d×d matrix MAB (mod p) as a common secret key by employing the matrix MB acquired by the matrix acquisition section according to the following Equation (VI), wherein:
MA=S−kAQnASkA (IV)
MB=S−kBQnBSkB (V)
MAB=S−kAMBnASkA (VI)

### Claim 6

A common secret key generation method, comprising:
a step in which a public data setting section sets public data including a prime number p, a natural number d, a d×d matrix Q (mod p) with determinant equal to 1, and a d×d matrix S (mod p) for which an inverse matrix exists;
a step in which a secret key generation section generates a secret key including natural numbers nA(mod p), kA(mod p);
a step in which a matrix calculation section employs the secret key to calculate a d×d matrix MA(mod p) according to the following Equation (VII), and transmits the matrix MA to a communication partner;
a step in which a matrix acquisition section acquires a d×d matrix MB(mod p), calculated by employing natural numbers nB(mod p), kB(mod p) included in a secret key of the communication partner according to the following Equation (VIII); and
a step in which a common secret key section computes a d×d matrix MAB(mod p) as a common secret key by employing the matrix MB acquired by the matrix acquisition section according to the following Equation (IX), wherein:
MA=S−kAQnASkA (VII)
MB=S−kBQnBSkB (VIII)
MAB=S−kAMBnASkA (IX)

### Claim 7 (depends on 6)

An encryption method, comprising:
a step in which a matrix generation section generates two non-commutative matrices A1, A2, based on the common secret key MAB generated by the common secret key generation method of claim 6, and two prime numbers p1, p2, that are set in common with a decryption device;
a step in which a matrix operation section derives a vector vi1 by operating the non-commutative matrix A1 on a d dimensional initial vector v0 set in common with the decryption device or on a d dimensional vector vi−11 derived the previous time, and derives a vector vi2 by operating the non-commutative matrix A2 on the initial vector v0 or on a d dimensional vector vi−12 derived the previous time, wherein the matrix operation section substitutes at least one out of a sum calculation or a product calculation for operations of the non-commutative matrices A1, A2 into a predetermined calculation method combining a plurality of operator types, and performs operations of the non-commutative matrices A1, A2;
a step in which a bit sequence transformation section derives a bit sequence W1 by performing a non-linear transformation to transform the vector vi1 derived by the matrix operation section into a bit sequence and joining the transformed bit sequence to the bit sequence W1 derived the previous time, and derives a bit sequence W2 by performing a non-linear transformation to transform the vector vi2 into a bit sequence and joining the transformed bit sequence to the bit sequence W2 derived the previous time;
a step in which a bit number determination section repeats the operation by the matrix operation section and the transformation and joining by the bit sequence transformation section until the respective numbers of bits of the bit sequence W1 and the bit sequence W2 derived by the bit sequence transformation section have reached a number of bits of a bit sequence expressing encryption target data;
a step in which a pseudo-random number sequence generation section derives a pseudo-random number bit sequence by calculating an exclusive logical sum between the bit sequence W1 and the bit sequence W2; and
a step in which an encryption section encrypts the encryption target data by calculating an exclusive logical sum between the pseudo-random number bit sequence derived by the pseudo-random number sequence generation section and the bit sequence expressing the encryption target data.

### Claim 8 (depends on 6)

A decryption method, comprising:
a step in which a matrix generation section generates two non-commutative matrices A1, A2, based on the common secret key MAB generated by the common secret key generation method of claim 6, and two prime numbers p1, p2, that are set in common with an encryption device;
a step in which a matrix operation section derives a vector vi1 by operating the non-commutative matrix A1 on a d dimensional initial vector v0 set in common with the encryption device or on a d dimensional vector vi−11 derived the previous time, and derives a vector vi2 by operating the non-commutative matrix A2 on the initial vector v0 or on a d dimensional vector vi−12 derived the previous time, wherein the matrix operation section substitutes at least one out of a sum calculation or a product calculation for operations of the non-commutative matrices A1, A2 into a predetermined calculation method combining a plurality of operator types, and performs operations of the non-commutative matrices A1, A2;
a step in which a bit sequence transformation section derives a bit sequence W1 by performing a non-linear transformation to transform the vector vi1 derived by the matrix operation section into a bit sequence and joining the transformed bit sequence to the bit sequence W1 derived the previous time, and derives a bit sequence W2 by performing a non-linear transformation to transform the vector vi2 into a bit sequence and joining the transformed bit sequence to the bit sequence W2 derived the previous time;
a step in which a bit number determination section repeats the operation by the matrix operation section and the transformation and joining by the bit sequence transformation section until the respective numbers of bits of the bit sequence W1 and the bit sequence W2 derived by the bit sequence transformation section have reached a number of bits of a bit sequence expressing decryption target data;
a step in which a pseudo-random number sequence generation section derives a pseudo-random number bit sequence by calculating an exclusive logical sum between the bit sequence W1 and the bit sequence W2; and
a step in which a decryption section decrypts the decryption target data by calculating an exclusive logical sum between the pseudo-random number bit sequence derived by the pseudo-random number sequence generation section and the bit sequence expressing the decryption target data.
