Bip 32 Question [combined summary]



Individual post summaries: Click here to read the original discussion on the bitcoin-dev mailing list

Published on: 2015-06-12T19:42:46+00:00


Summary:

In a discussion about BIP32, James Poole is seeking clarification on the meaning of "n" in the context of an algorithm. Specifically, he is referring to the line in the BIP32 definition that states "The returned child key ki is parse256(IL) + kpar (mod n)." To understand the role of "n," James has provided a link to the Bitcoin wiki page for Secp256k1, which explains that "n" represents the curve order. This step is essential to ensure that the user stays on the curve. The function secp256k1_ec_privkey_tweak_add from libsecp256k1 automatically handles this process, but for those using OpenSSL or non-EC math libraries, it may need to be done manually. By asking for help, James hopes to gain a clearer understanding of how "n" functions within the algorithm. For further information, you can refer to the provided links.


Updated on: 2023-08-01T13:14:18.514023+00:00