Research Article

Lightweight Mutual Authentication Scheme Enabled by Stateless Blockchain for UAV Networks

Algorithm 3

Third subvector commitment.
Input: Identities VC, , related uav ID.
Output: Aggregation of the uncontacted UAVs’ proof.
(1)In UAV node:
(2);
(3) = 10 s,  = 0;
(4)#watchdog in UAV observes neighbors’ behaviors,
(5)#uavs locally analysis
(6)#send the misbehavior to the current committee.
(7)while 1 do
(8);
(9)ifthen
(10)  #create untrust transaction
(11)  ;
(12)   = 0;
(13)end if
(14)end while
(15)In Committee members:
(16)#In current turn the committee receives the tip-offs
(17);
(18)if the uav with its trust value less than 0 or current turn expired then
(19)
(20)
(21)
(22)end if
(23)In UAV nodes:
(24)for uav_i in length of . do
(25)if current_block is constructed correctly then
(26)  
(27)else
(28)  abort Genesis block
(29)end if
(30)end for