generator: add API tests

This commit is contained in:
Andrew Poelstra committed 2018-12-14 20:25:51 +00:00
1 parent ec1ef040f5
commit a707865bc5
2 files changed
+61 -1

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ SECP256K1_API SECP256K1_WARN_UNUSED_RESULT int secp256k1_generator_generate(
*
* Returns: 0 in the highly unlikely case the seed is not acceptable or when
* blind is out of range. 1 otherwise.
* Args: ctx: a secp256k1 context object
* Args: ctx: a secp256k1 context object, initialized for signing
* Out: gen: a generator object
* In: seed32: a 32-byte seed
* blind32: a 32-byte secret value to blind the generator with.