The invention relates to a
data transmission protection method and device for a hardware state cryptographic
algorithm based on an SRTP protocol, belongs to the technical field of communication, and solves the problems that an
open source soft
algorithm used by the SRTP protocol in the prior art is relatively low in security, consumes too much CPU and is low in cryptographic operation efficiency. The method comprises the following specific steps: a video conference terminal A processes an input image by using a media
processing module to obtain a plurality of original RTP data packets, and sends the original RTP data packets to an SRTP
processing module of the video conference terminal A through
asynchronous communication; the SRTP
processing module encapsulates each original RTP data packet into an RTP data packet with a customized
data structure, and sends the RTP data packet to the cryptographic device Ta; the cryptographic device Ta performs
encryption authentication calculation based on an SM4 cryptographic
algorithm and an SM3
authentication algorithm, and transmits an encrypted RTP data packet back to the SRTP processing module; and the SRTP processing module encapsulates the returned data into an SRTP data packet, returns the SRTP data packet to the media processing module again through
asynchronous communication, and then transmits the SRTP data packet to the video conference terminal B, so that the security and integrity of video
data transmission are realized.