Method for improving throughput of grouping algorithm on general serial bus encryption lock

A universal serial bus, encrypted lock technology, used in computing, computer security devices, internal/peripheral computer component protection, etc., to achieve the effect of increasing speed

Active Publication Date: 2012-06-27
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The disadvantage of this method is that all processes are serial operations. When the USBKey device receives data, the encryption IP is in an idle state, and when the USBKey device sends data, the encryption IP is also in an idle state; and the data transmission process has a large number of data handling operations ( Mainly USBKey device receives data and sends data)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for improving throughput of grouping algorithm on general serial bus encryption lock
  • Method for improving throughput of grouping algorithm on general serial bus encryption lock
  • Method for improving throughput of grouping algorithm on general serial bus encryption lock

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Aiming at the deficiencies in the prior art, the method for improving the throughput of the grouping algorithm on the universal serial bus dongle device (USBKey) of the present invention solves the problem of data transmission speed from two aspects: one aspect is to reduce unnecessary data transfer ; Another aspect is to make data transfer and encryption operations parallel.

[0020] combine figure 2 As shown, the method of reducing data handling is as follows:

[0021] Step 1. The application program on the host divides the data to be encrypted into some fixed-length data blocks. The following description adopts the method that the length of each data block is 4096 bytes (the length of 4096 is not necessary, but a value adopted for the convenience of description, the larger the value, the better the effect, and this value is not affected by the device capability. restriction); the application program on the host computer passes the first data block to the device dr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for improving throughput of grouping algorithm on a USBKey device, comprising steps of: application program on the host transmitting data block to a device drive program, at same time, the application program requesting to read response data from the device drive program; the device drive program transmitting the data block to the USBKey device, at same time, the device drive program requesting to read the response data; the USBKey device receiving a USB data packet, and sending to an encryption IP to be encrypted, simultaneously receiving a next USB data packet; the USBKey device sending the encrypted USB data pocket into an output buffer area, then sending to the host simultaneously sending another USB data pocket to an encryption IP to be encrypted; thehost receiving encrypted USB data packet, and placing in the device drive program, until data of the data block are completely processed. The invention may effectively improve data transmission speed.

Description

technical field [0001] The invention relates to a communication method for a USB (Universal Serial Bus) device to process a packet encryption algorithm, in particular to a method for improving the throughput of a packet algorithm on a USBKey device (USBKey is usually called a USB dongle). Background technique [0002] At present, when processing a large amount of (usually greater than 100K bytes) block encrypted data on a universal serial bus dongle device (USBKey), in order to improve the processing speed, the usual method is as follows (see figure 1 shown): The application program on the host decomposes the data to be processed into some fixed-length data blocks, such as 4096 bytes (the 4096 mentioned here is just for the convenience of description, not necessary, within the capabilities of the device, This length is usually as large as possible, and for most devices, this length will not be too large); the application program on the host will pass the above-mentioned data...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/24G06F21/60G06F21/85
Inventor 赫松龄施燕
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products