# US 2011/0211688 A1 · Data converter, data conversion 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 2011/0211688 A1
- Document ID: US20110211688A1
- Status: Published application
- Kind: A1
- Application number: 13/059,641
- Filed: 2009-08-25
- Published: 2011-09-01
- Earliest claimed: 2008-08-25
- Assignees: Sony Corporation
- Inventors: Taizo Shirai; Kyoji Shibutani; Shiho Moriai; Toru Akishita; Tetsu Iwata
- Web page: https://patentgrep.com/patent/US20110211688A1

## CPC

- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 2209/122: Hardware reduction or efficient architectures
- H04L 2209/125: Parallelization or pipelining, e.g. for accelerating processing of cryptographic operations
- H04L 2209/20: Manipulating the length of blocks of bits, e.g. padding or block truncation
- H04L 2209/30: Compression, e.g. Merkle-Damgard construction
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A construction with an improved compression-function execution section is achieved. A data conversion process with use of a plurality of compression-function execution sections and through a plurality of process sequences in which divided data blocks constituting message data are processed in parallel is executed. Each of the plurality of compression-function execution sections performs a process with use of a message scheduling section which receives a corresponding divided data block of the message data to perform a message scheduling process, and a process with use of a chaining variable processing section which receives both of an output from the message scheduling section and an intermediate value as an output from a preceding processing section to generate output data whose number of bits is same as that of the intermediate value through compression of received data. The plurality of compression-function execution sections, respectively performing parallel processing commonly use one or both of the message scheduling section and the chaining variable processing section, and allow a single message scheduling section or a single chaining variable processing section to be utilized. Downsizing of a hardware configuration and simplification of processing steps are achieved by such a construction.

## Claims

### Claim 1

A data converter comprising:
a data conversion section which receives message data to generate a hash value, the data conversion section being configured to execute a data conversion process with use of a plurality of compression-function execution sections and through a plurality of respective process sequences in which a plurality of divided data blocks constituting the message data are processed in parallel,
wherein each of the plurality of compression-function execution sections is configured to perform:
a process with use of a message scheduling section which receives a corresponding divided data block of the message data to perform a message scheduling process; and
a process with use of a chaining variable processing section which receives both of an output from the message scheduling section and an intermediate value as an output from a preceding processing section to generate output data whose number of bits is same as that of the intermediate value through compression of received data, and
the plurality of compression-function execution sections, respectively performing parallel processing in the plurality of process sequences, are configured to commonly use one or both of the message scheduling section and the chaining variable processing section, and to allow a single message scheduling section or a single chaining variable processing section to be utilized.

### Claim 2 (depends on 1)

The data converter according to claim 1, wherein
the plurality of compression-function execution sections, respectively performing parallel processing in the plurality of process sequences, include a single common message scheduling section which is commonly used by the plurality of compression-function execution sections,
the common message scheduling section is configured to receive the divided data blocks constituting the message data, to generate output data through performing the message scheduling process on the divided data blocks, and to output the generated output data to a plurality of chaining variable processing sections, and
each of the plurality of chaining variable processing sections are configured to execute processes in parallel, in each of which the corresponding chaining variable processing section receives both of an output from the common message scheduling section and an intermediate value as an output from a preceding compression-function executing section to perform a compression thereof, thereby to generate output data whose number of bits is same as that of the intermediate value.

### Claim 3 (depends on 1)

The data converter according to claim 1, wherein
the plurality of compression-function execution sections, respectively performing parallel processing in the plurality of process sequences, include a single common chaining variable processing section which is commonly used by the plurality of compression-function execution sections,
a plurality of message scheduling sections provided in each of the plurality of compression-function execution sections performing parallel processing are configured to receive the same divided data block of the message data, to generate output data through message scheduling processes, and to output the generated output data to the common chaining variable processing section, and
the common chaining variable processing section is configured to receive both of outputs of the plurality of message scheduling sections and an intermediate value as an output from a preceding compression-function execution section to perform a compression thereof, thereby to generate output data whose number of bits is same as that of the intermediate value.

### Claim 4 (depends on 3)

The data converter according to claim 3, wherein
the plurality of message scheduling sections provided in each of the plurality of compression-function execution sections performing parallel processing are configured to receive the same divided data block of the message data, to generate output data through message scheduling processes, and to output an exclusive-OR operation of the generated output data to the common chaining variable processing section.

### Claim 5 (depends on 1)

The data converter according to claim 1, wherein
the message scheduling section is configured of a transposition-function executing section with intermediate output, which repeatedly executes a transposition process to output an intermediate value which is a result of each of the transposition processes, and
the chaining variable processing section is configured to have a transposition-function executing section with additional input, which repeatedly executes a transposition process with use of the intermediate value as an additional input outputted from the transposition-function executing section with intermediate output.

### Claim 6 (depends on 5)

The data converter according to claim 5, wherein
the chaining variable processing section is configured to utilize an XOR result as input data for the transposition process in a following state, the XOR result being a logical value of an exclusive-OR operation between the intermediate value outputted from the transposition-function executing section with intermediate output and a result of a transposition process in a preceding stage. cm 7. The data converter according to claim 5, wherein
each of the transposition processes executed by the transposition-function executing sections includes a nonlinear conversion process performed on a part or a whole of input data and a swap process which is a data interchanging process.

### Claim 8 (depends on 7)

The data converter according to claim 7, wherein
the nonlinear conversion process is a process including an exclusive-OR operation using a constant, a nonlinear conversion, and a linear conversion using a linear conversion matrix.

### Claim 9 (depends on 7)

The data converter according to claim 7, wherein
a linear conversion process performed in each of the transposition processes executed by the transposition-function executing sections is a process executed according to a DSM (Diffusion Switching Mechanism) with use of a plurality of different matrices.

### Claim 10 (depends on 5)

The data converter according to claim 5, wherein
the transposition processes executed by the transposition-function executing sections are configured to perform data processes with use of a plurality of constants groups different from one another, respectively, and
the plurality of constants groups different from one another, which are generated through data conversion processes performed on a fundamental group, are used in the transposition processes, respectively, the fundamental group being defined as a constants group to be used in one transposition process.

### Claim 11 (depends on 10)

The data converter according to claim 10, wherein
the constants group to be utilized as the fundamental group is configured of a plurality of constants generated through application of a conversion rule to a plurality of initial values S and T which are different from each other, and
the conversion rule is configured to include an update process performed on the initial values, the update process being represented by the following expression;
S←S·xa, T←T·x
where a≠b.

### Claim 12 (depends on 10)

The data converter according to claim 10, wherein
the data conversion process performed on the fundamental group is a process which allows a bit rotation operation on each of constants constituting the fundamental group, or a process which allows a logical operation between each of constants constituting the fundamental group and predetermined mask data.

### Claim 13 (depends on 1)

The data converter according to claim 1, wherein
the data conversion section is configured to perform a reduction process which allows an ultimately outputted hash value to be reduced in number of bits, and
the number of bits to be reduced, in output bits of each of a plurality of output-data series which constitute an output of the data conversion section, is calculated according to a predetermined expression for calculation, and then the reduction process is executed according to a result of the calculation.

### Claim 14 (depends on 1)

The data converter according to claim 1, wherein
the data conversion section further includes a scramble-process section executing a data scramble process on input data,
the plurality of compression-function execution sections are configured as multi-stage compression sections which are allowed to receive all divided data blocks of the message data,
some of the multi-stage compression sections are configured to receive both of an output of the scramble-process section and the divided data blocks of the message data to execute the data compression process based on data received,
some of the multi-stage compression sections are configured to receive both of an output of preceding-stage compression section and the divided data blocks of the message data to execute the data compression process based on data received, and
a compression section located in a final stage of the multi-stage compression sections is configured to output a hash value of the message data.

### Claim 15

A data conversion method being a data conversion process method executed by a data converter, the data conversion method comprising:
a data conversion step of receiving message data to generate a hash value by a data conversion section, the data conversion step being a step of executing a data conversion process with use of a plurality of compression-function execution sections and through a plurality of respective process sequences in which a plurality of divided data blocks constituting the message data are processed in parallel,
wherein each of the plurality of compression-function execution sections perform:
a process with use of a message scheduling section which receives a corresponding divided data block of the message data to perform a message scheduling process; and
a process with use of a chaining variable processing section which receives both of an output from the message scheduling section and an intermediate value as an output from a preceding processing section to generate output data whose number of bits is same as that of the intermediate value through compression of received data, and
the plurality of compression-function execution sections, respectively performing parallel processing in the plurality of process sequences, commonly use one or both of the message scheduling section and the chaining variable processing section, and perform a process with use of a single message scheduling section or a single chaining variable processing section.

### Claim 16

A program executing a data conversion process in a data converter, the program comprising:
a data conversion step of receiving message data to generate a hash value by a data conversion section, the data conversion step being a step of executing a data conversion process with use of a plurality of compression-function execution sections and through a plurality of process sequences in which a plurality of divided data blocks constituting the message data are processed in parallel,
wherein the program allows each of the plurality of compression-function execution sections to execute:
a process with use of a message scheduling section which receives a corresponding divided data block of the message data to perform a message scheduling process; and
a process with use of a chaining variable processing section which receives both of an output from the message scheduling section and an intermediate value as an output from a preceding processing section to generate output data whose number of bits is same as that of the intermediate value through compression of received data, and
the program allows the plurality of compression-function execution sections, respectively performing parallel processing in the plurality of process sequences, to commonly use one or both of the message scheduling section and the chaining variable processing section, and to perform a process with use of a single message scheduling section or a single chaining variable processing section.
