@@ -611,7 +611,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
systemKnowledge.add(attr);
}else{
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"Attribute "+attr.getBlock().getName()+"."+attr.getName()+" should be of type int or bool to be considered as a constant.");
@@ -628,7 +628,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
// ignore if the attribute was already declared
if(systemKnowledge.contains(arg)){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"Attribute "+arg.getBlock().getName()+"."+arg.getName()+" already appears in another initial knowledge pragma or is a constant (ignored).");
@@ -665,7 +665,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
// If there is a public key in the middle, ignore it
if(privateK!=null){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"When defining equality between public keys, the first to appear in the pragma should be the one belonging to the block that owns the private key.");
@@ -726,7 +726,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
// ignore if the attribute was already declared
if(sessionKnowledge.contains(arg)){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"Attribute "+arg.getBlock().getName()+"."+arg.getName()+" already appears in another initial knowledge pragma (ignored).");
@@ -772,7 +772,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
// If there is a public key in the middle, ignore it
if(privateK!=null){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"When defining equality between public keys, the first to appear in the pragma should be the one belonging to the block that owns the private key.");
@@ -1175,7 +1175,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
if(this.secrecyChecked.contains(attr)){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"'"+term.getName()+"' is re-assigned while its secrecy is being checked. Note that the proof will only guarantee the secrecy of the initial value of "+term.getName()+".");
@@ -1189,7 +1189,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
if(this.secrecyChecked.contains(attr)){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"'"+attr.getName()+"' is re-assigned while its secrecy is being checked. Note that the proof will only guarantee the secrecy of the initial value of "+attr.getName()+".");
@@ -1238,7 +1238,7 @@ public class AVATAR2ProVerif implements AvatarTranslator {
if(this.secrecyChecked.contains(attr)){
CheckingErrorce=newCheckingError(CheckingError.BEHAVIOR_ERROR,"'"+attr.getName()+"' is re-assigned while its secrecy is being checked. Note that the proof will only guarantee the secrecy of the initial value of "+attr.getName()+".");