| Algorithm 2. Pseudo code for DAM4SNC authentication function |
|
INPUT: Number of nodes, Target security level each node 1 def authentication (): 2 randomly sample N1~i (nodes to authenticate) 3 randomly sample M1~j (nodes to be authenticated) 4 Tm = Tm + (Tn/hop) // parallel and simultaneous authentication 5 if Tm == target_level: 6 transfer datam |