mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-27 19:55:33 +00: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: (999 bit)
|
|
prime:
|
|
4f:b8:d2:d8:3c:b3:02:c9:64:f5:99:fe:61:cc:b3:
|
|
69:1c:ba:bb:a2:33:db:38:2f:85:87:b7:12:fb:69:
|
|
6e:a5:32:3e:ff:24:df:c4:61:07:0c:e1:88:72:fa:
|
|
14:d4:22:65:18:66:09:7e:43:35:c4:5a:62:f7:0a:
|
|
69:be:45:71:6e:ac:c5:56:d8:22:9e:c4:9c:23:2b:
|
|
bd:6d:3b:b6:02:4f:5d:12:a7:ac:90:b8:9e:be:93:
|
|
82:bc:09:7c:cd:e1:09:21:1e:3d:69:2a:76:41:00:
|
|
68:6d:b7:e8:e8:df:d6:1b:82:93:d9:21:4a:ea:71:
|
|
f2:e6:c4:94:03
|
|
generator: 2 (0x2)
|
|
-----BEGIN DH PARAMETERS-----
|
|
MIGCAn1PuNLYPLMCyWT1mf5hzLNpHLq7ojPbOC+Fh7cS+2lupTI+/yTfxGEHDOGI
|
|
cvoU1CJlGGYJfkM1xFpi9wppvkVxbqzFVtginsScIyu9bTu2Ak9dEqeskLievpOC
|
|
vAl8zeEJIR49aSp2QQBobbfo6N/WG4KT2SFK6nHy5sSUAwIBAg==
|
|
-----END DH PARAMETERS-----
|