The functionality is already provided in the BIP32 utility library util/bip32.h with the exact same name and function signature.
The functionality is already provided in the BIP32 utility library util/bip32.h with the exact same name and function signature.