Protocol 1 CPPA-SM2 |
1: Use to generate two large prime numbers and . 2: Randomly select and calculates . 3: Choose five one-way hash functions . 4: Publish .
1: randomly selects , calculates and send to TA. 2: Upon receiving , TA calculates , , and randomly selects . Then, TA sends , and to . 3: sets , and . For each RSU: 1: sends to TA. 2: TA generates a pair of public and private keys and sends them to . 3. sets . For TA: 1: Calculate , , and set , . 2: Randomly pick a group key and calculate the group public key and . 3: Sign , and the ’s valid period using its private key and broadcast the information to vehicles and RSUs in .
1: trains the global model using its local dataset to obtain the local model parameters . 2: randomly selects to generate a pseudo identity , where and . 3: calculates , and . 4: randomly selects , calculates , and . 5. obtains the signature of and sends messages to the nearby .
1: Upon receiving the messages from , first checks the validity of timestamp. If , where represents the arrival time, continues; otherwise, discards. 2: calculates , , , and . 3: checks the equality of for authentication and validity. 4: uses the FedAvg algorithm to locally aggregate the verified local model parameters , producing a local aggregation result . 5: signs this result with its private key and sends messages to CS. For CS: 1: CS performs a global aggregation on the verified local aggregation results to obtain the global model . 2: CS signs the global model with its private key and sends messages to the vehicles within the communication group via RSUs.
1: TA uses the system’s master private key to recover the vehicle’s true identity . Revoke: 1. TA first removes related to from by computing . 2: TA randomly selects a new group key , calculates new group public keys and , and broadcasts the updated information to vehicles and RSUs in . Add: 1. TA randomly selects a new group key and calculates , , , and . 2. TA computes new group public keys and , and broadcasts the updated information in . |