Skip to content

ed25519 public key regeneration #7

@vchong

Description

@vchong

Is it possible to shed light into the process of going from a bip39 mnemonic and the m/44'/607'/0'/0/0/0 bip44 derivation path to the 32B ed25519 public key returned in

ledger-app-ton/src/crypto.c

Lines 107 to 113 in 5ca0490

// Convert to NaCL format
for (int i = 0; i < PUBKEY_LEN; i++) {
raw_public_key[i] = public_key.W[64 - i];
}
if ((public_key.W[32] & 1) != 0) {
raw_public_key[31] |= 0x80;
}
? We're in dire need to do this without a ledger. Thank you very much in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions