sm: Support generation of card-based ed25519 CSR.