The application relates to the technical field of anti-
quantum computing, in particular to a mixed
authentication handshake method fusing an anti-
quantum algorithm and a national secret protocol, acquiring a national secret and an anti-
quantum path key segment, extracting a number and a source to write a
handshake structure, completing position comparison and chain
numbering, adjusting segment positions in the structure and
synchronizing fields, executing number checking and data block shifting, promoting content
insertion and frame structure updating, and completing the mixed
authentication handshake structure. The application marks key segment numbers, sources and stages, binds writing paths in combination with positions and promotion data, introduces chain
numbering to control segment sequences in combination with source comparison, adjusts segment distribution in combination with position exchange and field synchronization, enhances structure scheduling capability, processes conflicts and overlaps in combination with number checking and data block shifting, promotes parallel
insertion in combination with a handshake identifier written in a channel, and improves structure consistency and data bearing integrity.