Closed ssantos21 closed 6 months ago
This is an invalid test case. The implementation includes checksum bytes that cannot be matched by randomly-generated shares.
Please see test.c
for valid test cases:
https://github.com/BlockchainCommons/bc-shamir/blob/master/test/test.c
The code below prints
result: -104
, which according to the function comment indicates an error. Why does the code below result in an error?