Add bls.AggregatePKs helper

This commit is contained in:
Hsiao-Wei Wang 2020-04-23 15:08:36 +08:00
parent 303d7d5adb
commit bdae27e317
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4
1 changed files with 5 additions and 0 deletions

View File

@ -51,3 +51,8 @@ def Sign(SK, message):
@only_with_bls(alt_return=STUB_COORDINATES)
def signature_to_G2(signature):
return _signature_to_G2(signature)
@only_with_bls(alt_return=STUB_PUBKEY)
def AggregatePKs(pubkeys):
return bls._AggregatePKs(pubkeys)