|
Algorithm 1 Procedure of Secret Key Generation |
-
1:
functionKeyGen()
-
2:
Select random nonzero values from to generate 8
diagonal matrices
-
3:
Pick 8 random parameters satisfying
-
4:
for do
-
5:
-
6:
end for
-
7:
for do
-
8:
for do
-
9:
Randomly select two rows of and exchange them.
-
10:
end for
-
11:
for do
-
12:
Randomly select two columns of and exchange them.
-
13:
end for
-
14:
end for
-
15:
return
-
16:
end function
|