tests: Add a note for wolfSSL testing with Brainpool curves

Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com>
This commit is contained in:
Juliusz Sosinowicz 2022-04-25 16:18:15 +02:00 committed by Jouni Malinen
parent 8f36e6c0f4
commit b3333a9f4c

View file

@ -2119,6 +2119,8 @@ def run_sae_pwe_group(dev, apdev, group):
if group in [27, 28, 29, 30]: if group in [27, 28, 29, 30]:
if tls.startswith("OpenSSL") and ("run=OpenSSL 1." in tls or "run=OpenSSL 3." in tls): if tls.startswith("OpenSSL") and ("run=OpenSSL 1." in tls or "run=OpenSSL 3." in tls):
logger.info("Add Brainpool EC groups since OpenSSL is new enough") logger.info("Add Brainpool EC groups since OpenSSL is new enough")
elif tls.startswith("wolfSSL"):
logger.info("Make sure Brainpool EC groups were enabled when compiling wolfSSL")
else: else:
raise HwsimSkip("Brainpool curve not supported") raise HwsimSkip("Brainpool curve not supported")
start_sae_pwe_ap(apdev[0], group, 2) start_sae_pwe_ap(apdev[0], group, 2)