在 FIPS 186-1 和 186-2 中,L 可以是 512 和 1024(含)之间的任何数字,它是 64 的倍数。N 固定为 160。
FIPS 186-3 对其进行了更改,以便 L 和 N 可以是以下任意组合:
- L = 1024,N = 160
- L = 2048,N = 224
- L = 2048,N = 256
- L = 3072,N = 256
RFC 4253(SSH 传输层协议)说明如下:
The resulting signature is encoded as follows:
string "ssh-dss"
string dss_signature_blob
The value for 'dss_signature_blob' is encoded as a string containing
r, followed by s (which are 160-bit integers, without lengths or
padding, unsigned, and in network byte order).
所以我认为这意味着 SSH 不支持 2048 位 DSA?是否没有 RFC 添加对它们的支持?没有供应商扩展?