mirror of https://github.com/nucypher/pyUmbral.git
Correctly append CFrags to the test vector
parent
e5a822ca5e
commit
64f4a32c10
|
@ -212,10 +212,8 @@ vectors = list()
|
|||
for kfrag in kfrags:
|
||||
cfrag = pre.reencrypt(kfrag, capsule)
|
||||
assert cfrag.verify_correctness(capsule)
|
||||
|
||||
json_input = { 'kfrag' : hexlify(kfrag), 'cfrag' : hexlify(cfrag) }
|
||||
|
||||
vectors.append(json_input)
|
||||
vectors.append(json_input)
|
||||
|
||||
vector_suite = {
|
||||
'name' : 'Test vectors for Re-Encryption and CFrags',
|
||||
|
|
Loading…
Reference in New Issue