Pointer to passphrase
Length of the passphrase
Optional salt for the menmonic phrase
Length of the optional salt
The allocated securenet used for cryptographic operations
Pointer to the pin
Length of the pin
Returned device doc ptr
Length of the returned device doc
Generate a keypair used from a password / menmonic The function does **NOT** validate the menmonic and should therefore be validated by another function.
The function may be used in a minimal fashion without DevicePIN and salt. If null arguments are supplied for the pin, then no DevicePIN is returned. Likewise if null is supplied for the salt then the salt will not be used.