Cleanup and restructuring of testing directory setup.

This commit is contained in:
Cas Cremers
2012-11-15 16:47:08 +01:00
parent 1860527960
commit 51495be80d
105 changed files with 1 additions and 1 deletions

26
testing/carkey-ni2.spdl Normal file
View File

@@ -0,0 +1,26 @@
const pk: Function;
secret sk: Function;
inversekeys (pk,sk);
protocol carkeyni2(I,R)
{
role I
{
fresh ni: Nonce;
send_1(I,R, {R,ni}sk(I) );
send_2(I,R, {R,ni}sk(I) );
}
role R
{
var ni: Nonce;
recv_1(I,R, {R,ni}sk(I) );
recv_2(I,R, {R,ni}sk(I) );
claim_4(R,Nisynch);
}
}