摘要 |
PURPOSE: To provide method and equipment for communication with which error correct code processing or cipher processing can be performed at high speed. CONSTITUTION: A CPU 1121 controls entire communication equipment 1120. A cipher part 1127 performs the ciphering processing of communication data stored in a RAM 1123 and outputs code data. A deciphering part 126 deciphers the ciphered data transmitted from external communication equipment and stores them in the RAM 1123. When performing the arithmetic of 'A.B+M.N' or 'A.BmodN' in the deciphering processing of inputted ciphered data, the deciphering part 1126 executes the arithmetic by outputting an arithmetic request to a residue circuit 200. Then, the residue circuit 200 outputs the arithmetic result to the deciphering part 1126. When performing the ciphering processing of communication data at the ciphering part 1127b or the like, required pseudo random number generating processing is basically residue and executed by outputting the arithmetic request to the residue circuit 200. The residue circuit 200 outputs the arithmetic result to the ciphering part 1127. |