mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-24 02:05:48 +01:00
c6b0d96c31
An SSL client can be configured to insist on a minimum size for the Diffie-Hellman (DHM) parameters sent by the server. Add several test cases where the server sends parameters with exactly the minimum size (must be accepted) or parameters that are one bit too short (must be rejected). Make sure that there are test cases both where the boundary is byte-aligned and where it isn't. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
18 lines
803 B
Plaintext
18 lines
803 B
Plaintext
DH Parameters: (998 bit)
|
|
prime:
|
|
39:5f:30:c0:7b:06:b7:6a:49:c6:c0:81:1f:39:77:
|
|
b3:35:e2:8d:66:fc:6a:6e:94:f3:df:97:f2:89:31:
|
|
6c:75:39:08:16:d1:a4:b8:0c:68:c5:63:21:61:eb:
|
|
48:2d:77:99:08:1d:67:38:37:0a:cd:cf:39:b6:3c:
|
|
9d:8a:e5:85:3c:71:e3:4b:3e:1e:b9:80:e3:cc:7a:
|
|
fd:84:05:b0:df:36:15:29:4e:3e:23:3b:c3:ae:6b:
|
|
c7:11:b9:64:43:40:75:c7:4a:ef:a7:2d:00:e2:62:
|
|
8f:93:78:96:8f:2c:25:8d:7d:1f:eb:5c:3c:bf:51:
|
|
de:f8:08:25:db
|
|
generator: 2 (0x2)
|
|
-----BEGIN DH PARAMETERS-----
|
|
MIGCAn05XzDAewa3aknGwIEfOXezNeKNZvxqbpTz35fyiTFsdTkIFtGkuAxoxWMh
|
|
YetILXeZCB1nODcKzc85tjydiuWFPHHjSz4euYDjzHr9hAWw3zYVKU4+IzvDrmvH
|
|
EblkQ0B1x0rvpy0A4mKPk3iWjywljX0f61w8v1He+Agl2wIBAg==
|
|
-----END DH PARAMETERS-----
|