Research Article
Lightweight Mutual Authentication Scheme Enabled by Stateless Blockchain for UAV Networks
Algorithm 1
UAV registers/builds the stateless blockchain.
| Input: Security parameters , UAV number , UAVs request. | | Output: Nodes’ ID vector commitment, trust value vector. | (1) | In Register Server: | (2) | #Received all UAVs’ requests | (3) | ; = {0}; | (4) | crs = Setup ; | (5) | for in do# UAV nodes | (6) | | (7) | | (8) | ; | (9) | ; | (10) | end for | (11) | #Get the all registered UAVs identities: | (12) | # | (13) | , is randomnal; | (14) | #Randomly selects 5 UAVs from UAVs as the trusted committee | (15) | | (16) | for all UAV nodes: | (17) | for uav_i in length of . do | (18) | , # is randomnal; | (19) | Send (, ) | (20) | end for | (21) | #When receive genesis_block from register sever | (22) | if current_block is constructed correctly then | (23) | ; | (24) | else | (25) | Abort Genesis block; | (26) | end if |
|