Method and device for processing data in embedded system
An embedded system and data processing technology, applied in the field of cryptography, can solve the problem of long time-consuming data processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0091] Embodiment 1 discloses a data processing method in an embedded system, see figure 1 ,Specific steps are as follows:
[0092] Step 101: receiving the first data to be processed and the second data to be processed, judging whether the second data to be processed is an odd number, if so, perform step 102, otherwise end the operation;
[0093] Step 102: judge whether the bit length of the first data to be processed is greater than the bit length of the second data to be processed, if yes, execute step 103, otherwise end the operation;
[0094] Step 103: generating a first parameter according to the second data to be processed, starting from the lowest bit, dividing the first data to be processed according to the bit length of the second data to be processed, and sequentially obtaining a plurality of data units;
[0095] Specifically, the first parameter is a result calculated with the base 2 and the bit length of the second data to be processed as a power;
[0096]Prefera...
Embodiment 2
[0130] Embodiment 2 discloses a data processing method in an embedded system. In the embedded system, the first storage area is preset to store the dividend, the second storage area is used to store the divisor, and the third storage area is used to The operation result is stored, and the operation times variable is preset, and the initial value of the operation times variable is 0. see figure 2 ,Specific steps are as follows:
[0131] Step 201: the embedded system receives the third data to be processed and the fourth data to be processed;
[0132] Specifically, the bit length of the third data to be processed is the first bit length, and the bit length of the fourth data to be processed is the second bit length;
[0133] Preferably, in this embodiment, the first bit length and the second bit length are integer multiples of 8, the third data to be processed is stored in the first storage area, and the fourth data to be processed stored in the second storage area;
[0134...
Embodiment 3
[0160] Embodiment 3 discloses a data processing method in an embedded system. In the embedded system, the fifth storage area is preset to store the dividend, the sixth storage area is used to store the divisor, and the seventh storage area is used to store the divisor. The operation result is stored, and the capacity of the fifth storage area is twice the capacity of the sixth storage area. see image 3 ,Specific steps are as follows:
[0161]Step 301: the embedded system receives the fifth data to be processed and the sixth data to be processed;
[0162] Specifically, the bit length of the fifth data to be processed is the third bit length, the bit length of the sixth data to be processed is the fourth bit length, and the third bit length and the fourth bit length are 8 Integer multiples of , and the third bit length is greater than the fourth bit length;
[0163] The fifth data to be processed is stored in a fifth storage area, and the sixth data to be processed is stored...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 