A detection method of a national cipher SM4 block cipher algorithm
A technology of block cipher algorithm and detection method, which is applied in the directions of calculation, code compilation, program code conversion, etc., which can solve the problems of high energy consumption and low detection efficiency, and achieve the effect of improving efficiency and accuracy and avoiding the influence of subjective factors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0024] The present invention will be described in further detail below in conjunction with the accompanying drawings.
[0025] Such as figure 1 As shown, the method for detecting the national secret SM4 block cipher algorithm based on lexical, grammatical, and semantic analysis methods includes the following steps:
[0026] (1) Open the project code file, scan characters one by one from left to right, perform lexical analysis, match the character flow defined by the source program, and then identify and identify words according to word formation rules. During the scanning process, the lexical analysis program cleans up the code comments, performs operations such as matching the keywords of the program (such as character type, integer type, floating point type, etc.), and at the same time performs rough detection, if the scanned word matches the replacement box Sbox parameter, system parameter FK and fixed parameter CK, then mark the file name and its line number:
[0027] 1)...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com