The invention discloses an inter-vehicle bidirectional
authentication and key agreement method and
system, and relates to the technical field of Internet of Vehicles
information security, and the method comprises the steps: a registration stage: a vehicle and a trusted mechanism derive a temporary
session key based on ECDH and HKDF, and achieve the secure interaction; the trusted institution generates a basic identity
label, a part of private key, a signature and a basic
certificate for the vehicle, and encrypts and transmits the basic identity
label, the part of private key, the signature and the basic
certificate to the vehicle; the vehicle generates a hardware
fingerprint and extracts a secret key by using the embedded PUF, and part of the private key is encrypted and then is locally and safely stored with the basic
certificate; in the
authentication stage, the two communication parties dynamically recover part of private keys through PUF, and generate dynamic pseudo names, temporary ECDH key pairs and cryptographic evidence; and calculating a cross item and a binding item by interaction parameters of the two parties, negotiating a unique
session key, and completing bidirectional confirmation through a
message authentication code. According to the method and the device, efficient, physical
attack-resistant and privacy-protecting V2V security mutual recognition and key agreement are realized in a resource-limited vehicle-mounted environment.