### goku algorithm related to secp256k1