DSA keys are stored using an algorithm-name of ‘ssh-dss
’.
The public key data has already provided the key parameters (the large prime p, the small prime q and the group generator g), and the public key y. The private key stores:
mpint
: the private key x, which is the discrete logarithm of y in the group generated by g mod p.