Fix comments on secp256k1_frost_partial_sig_agg
This commit is contained in:
@@ -383,6 +383,16 @@ public class Secp256k1CFunctions {
|
||||
*/
|
||||
public static native int secp256k1_frost_partial_sig_verify(long ctx, byte[] partialSig, byte[] publicNonce, byte[] publicShare, byte[] session, byte[] tweakCache);
|
||||
|
||||
public static native byte[] secp256k1_frost_partial_sig_aggregate(long ctx, byte[] session, byte[][] partialSignatures);
|
||||
/**
|
||||
* Aggregates partial signatures
|
||||
*
|
||||
* @param ctx pointer to a context object (not secp256k1_context_static)
|
||||
* @param session pointer to the session that was created with frost_nonce_process
|
||||
* @param partialSignatures array of pointers to partial signatures to aggregate
|
||||
* @param n_sigs number of elements in the partial_sigs array. Must be greater than 0.
|
||||
*
|
||||
* @return sig64: complete (but possibly invalid) Schnorr signature
|
||||
*/
|
||||
public static native byte[] secp256k1_frost_partial_sig_agg(long ctx, byte[] session, byte[][] partialSignatures, int n_sigs);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user