Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions theories/crypto/KeyEncapsulationMechanisms.eca
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ module IND_CCA1_P (S : Scheme) (O : Oracles_CCA1i) (A : Adv_INDCCA1) = {

b' <@ A(O(S)).distinguish(if b then k' else k, c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -540,7 +540,7 @@ module IND_CCA2_P (S : Scheme) (O1 : Oracles_CCA1i) (O2 : Oracles_CCA2i) (A : Ad

b' <@ A(O2(S)).distinguish(if b then k' else k, c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -595,7 +595,7 @@ module IND_CCA_P (S : Scheme) (O : Oracles_CCA2i) (A : Adv_INDCCA) = {

b' <@ A(O(S)).distinguish(pk, if b then k' else k, c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -1100,7 +1100,7 @@ module WANO_CPA_P (S : Scheme) (A : Adv_WANOCPA) = {

b' <@ A.distinguish(pk0, pk1, c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -1223,7 +1223,7 @@ module WANO_CCA1_P (S : Scheme) (O0 : Oracles_CCA1i) (O1 : Oracles_CCA1i) (A : A

b' <@ A(O0(S), O1(S)).distinguish(c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -1431,7 +1431,7 @@ module ANO_CCA_P (S : Scheme)

b' <@ A(O0(S), O1(S)).distinguish(pk0, pk1, (k, c));

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -1491,7 +1491,7 @@ module WANO_CCA_P (S : Scheme)

b' <@ A(O0(S), O1(S)).distinguish(pk0, pk1, c);

return b' = b;
return b';
}
}.

Expand Down
4 changes: 2 additions & 2 deletions theories/crypto/PublicKeyEncryption.eca
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ module IND_CCA1_P (S : Scheme) (O : Oracles_CCA1i) (A : Adv_INDCCA1) = {

b' <@ A(O(S)).distinguish(c);

return b' = b;
return b';
}
}.

Expand Down Expand Up @@ -497,7 +497,7 @@ module IND_CCA2_P (S : Scheme) (O1 : Oracles_CCA1i) (O2 : Oracles_CCA2i) (A : Ad

b' <@ A(O2(S)).distinguish(c);

return b' = b;
return b';
}
}.

Expand Down