Research Article
Multiaccess Edge Computing Empowered Flying Ad Hoc Networks with Secure Deployment Using Identity-Based Generalized Signcryption
Algorithm 2
High-level protocol specification language (HLPSL) code for MBS role.
| role | | role_Mbssbs(Mecuav:agent, Mbssbs:agent, Bmec:public_key,Bmbs:public_key,SND,RCV:channel(dy)) | | played_by Mbssbs | | def= | | local | | State:nat,Add:hash_func, Phii:text, Idmec:text, Delta:text, Idmbs:text, Nmec:text,M:text, Encrypts:hash_func, Beeta:symmetric_key | | init | | State := 0 | | transition | | 1. State = 0 /\ RCV(Mecuav.Mbssbs) = |> State': = 1 /\ Nmec': = new() /\ SND(Mbssbs.{Nmec'}_Bmbs) | | 6. State = 1 /\ RCV(Mecuav.{Encrypts(M'.Nmec.Idmec'.Idmbs')}_Beeta'.{Add(Idmec'.Phii'.Delta'.Phii'.Idmbs')}_inv(Bmec)) = |> State': = 2 /\ request(Mbssbs, Mecuav, auth_1, M') /\ secret(M',sec_2,{Mecuav}) | | end role |
|