Cleanup and restructuring of testing directory setup.
This commit is contained in:
16
testing/simplest.spdl
Normal file
16
testing/simplest.spdl
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
secret k: Nonce;
|
||||
|
||||
protocol simplest(I)
|
||||
{
|
||||
role I
|
||||
{
|
||||
var x: Nonce;
|
||||
fresh n: Nonce;
|
||||
|
||||
recv_!1(I,I, x);
|
||||
send_!2(I,I, n, {n, x}k );
|
||||
claim_3(I, Secret, n);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user