Commit 6a939b63 by Alan Mishchenko

Experiments with variable permutation.

parent cb5be511
...@@ -252,8 +252,8 @@ word Tf ( word f, int n) ...@@ -252,8 +252,8 @@ word Tf ( word f, int n)
return f; return f;
else else
{ {
int x = (int)pow(2,n-1); // int x = (int)pow(2,n-1);
// int x; int x;
x = (1 << (n-1)); x = (1 << (n-1));
return ( M (Tf( (f << x) >> x, n-1), Tf( (f >> x), n-1), x) ); //def. of M just below the function return ( M (Tf( (f << x) >> x, n-1), Tf( (f >> x), n-1), x) ); //def. of M just below the function
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment