fix: fix all bug

This commit is contained in:
2023-10-26 11:30:03 +08:00
parent 6df22e2072
commit bfb5c27bcb
4 changed files with 95 additions and 47 deletions

View File

@@ -272,7 +272,9 @@ def f(x: int, f_modulus: list, T: int) -> int:
return res
def GenerateReKey(sk_A: int, pk_B: point, N: int, T: int, id_tuple: Tuple[int,...]) -> list:
def GenerateReKey(
sk_A: int, pk_B: point, N: int, T: int, id_tuple: Tuple[int, ...]
) -> list:
"""
param:
skA, pkB, N(节点总数), T(阈值)