BUGFIX: Updating hashfunction usage in protocol files to new conventions.

After the new function implementation, the 'Function' type is no longer one-way by default.
However, many protocol description files relied on this implicit assumption.
The solution is to use 'hashfunction' declarations instead to model one-wayness.

Original bug report by Binh Thanh Nguyen.
This commit is contained in:
Cas Cremers 2014-01-08 15:08:40 +00:00
parent 1a9a8714a6
commit f9a34f4de5
51 changed files with 51 additions and 51 deletions

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 43 "common.h" # 43 "common.h"
hashfunction MAC; hashfunction MAC;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 60 "common.h" # 60 "common.h"
hashfunction H; hashfunction H;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 66 "common.h" # 66 "common.h"
hashfunction H; hashfunction H;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 60 "common.h" # 60 "common.h"
hashfunction H; hashfunction H;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 66 "common.h" # 66 "common.h"
hashfunction H; hashfunction H;
# 97 "common.h" # 97 "common.h"

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 97 "common.h" # 97 "common.h"
protocol @oracle (DH, SWAP) { protocol @oracle (DH, SWAP) {

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 94 "common.h" # 94 "common.h"
hashfunction MAC; hashfunction MAC;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 94 "common.h" # 94 "common.h"
hashfunction MAC; hashfunction MAC;

View File

@ -14,7 +14,7 @@
const g, h: Function; hashfunction g, h;
# 94 "common.h" # 94 "common.h"
hashfunction MAC; hashfunction MAC;