Closed fionser closed 5 years ago
The contents of ecdsaPrecomputedPublicKey
is private, so keep the pointer generated by ecdsaPrecomputedPublicKeyCreate
in cgo and delete it by ecdsaPrecomputedPublicKeyDestroy
after it is not used.
But it is better to use other implementation of ecdsa because I made it for test and it is not optimized.
@herumi Thanks !
I am trying to call
mcl/ecdsa.h
from go, but I found that the structecdsaPrecomputedPublicKey
is not defined anywhere.