Add `parseSecretKey` for secp256k1 and P256 crypto
Clarification and motivation
In !509 (merged), we are supposed to add parseSecretKey
as part of the issue as well, but it is forgotten.
Acceptance criteria
Add parseSecretKey
for secp256k1 and P256 crypto.