首页>
外国专利>
METHOD AND MODULE FOR UPDATING THE CRYPTOGRAPHIC ALGORITHM CODE, METHOD AND MODULE FOR GENERATING NUMBER GENERATION, SECURITY SYSTEM PROCESSOR AND RECORDING DEVICE FOR THESE METHODS
METHOD AND MODULE FOR UPDATING THE CRYPTOGRAPHIC ALGORITHM CODE, METHOD AND MODULE FOR GENERATING NUMBER GENERATION, SECURITY SYSTEM PROCESSOR AND RECORDING DEVICE FOR THESE METHODS
1. A method of updating a code executed or interpreted by an electronic computing device, a cryptographic algorithm capable of encrypting a piece of data D with a key K to obtain a cryptogram D * or decrypting a cryptogram D * with a key K to obtain a fragment of unencrypted data D, and this code contains, at least N numeric constants, and each numeric constant corresponds to the operand or mnemonics of the code instruction, while the value of these numeric constants does not depend on the fragment nta, data D, key K and cryptogram D *, characterized in that this method comprises: - receiving (122) a randomly extracted initial number, the size of which, based on the number of bits, is at least four times less than the number of bits required to encode N numeric constants of the cryptographic algorithm is a deterministic extension (128) of the initial number to obtain a sequence of numbers whose size, based on the number of bits, is at least equal to the number of bits needed to encode N numeric constants of cryptographic afichesky algorithm, - generating (132) N new numeric constants from the obtained sequence of numbers and - replacing (134) N constants of the cryptographic algorithm code with new N constants generated to obtain the code of the updated cryptographic algorithm. 2. The method according to claim 1, in which each numerical constant corresponds to either an operand or a mathematical operator, which, when replaced with a new mathematical operator, does not modify the execution order of the cryptographic algorithm code instructions. The method according to any one of
展开▼