|
Algorithm 1: Proposed digital signature algorithm. |
| Input:
n,,
|
| Output: Vehicles key pairs, i.e., public and private, the master secret key of RSU () |
-
1.
Global public key component
-
2.
Deployed public parameters and b
-
3.
Choose random number
-
4.
Computes vehicle private key
-
5.
Again choose random number
-
6.
Computes vehicle public key
-
7.
Computes SDN controller master secret key mod p
-
8.
Where k: any integer number ()
|
| Signature: |
| For all registered vehicles and RSU do
|
-
1.
Assign unique to each registered vehicles such as , RSU as
-
2.
Computes pseudo ID of vehicle as H ( || K|| nj),
-
3.
Computes
-
4.
Computes keys pairs of RSU such as
-
5.
Computes
-
6.
Applied the master key of SDN controller for signature
-
7.
Computes public key of SDN controller such as
-
8.
Computes
-
9.
Computes
|
| End for
|
| Verifying: |
-
1.
-
2.
-
3.
-
4.
-
5.
-
6.
-
7.
|