tests: sae_groups to include Brainpool EC groups
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
		
							parent
							
								
									c4a13b424b
								
							
						
					
					
						commit
						9e286d5ea2
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -132,6 +132,10 @@ def test_sae_groups(dev, apdev): | ||||||
|     # VMs and can result in hitting the mac80211 authentication timeout, so |     # VMs and can result in hitting the mac80211 authentication timeout, so | ||||||
|     # allow them to fail and just report such failures in the debug log. |     # allow them to fail and just report such failures in the debug log. | ||||||
|     sae_groups = [ 19, 25, 26, 20, 21, 2, 5, 14, 15, 16, 22, 23, 24 ] |     sae_groups = [ 19, 25, 26, 20, 21, 2, 5, 14, 15, 16, 22, 23, 24 ] | ||||||
|  |     tls = dev[0].request("GET tls_library") | ||||||
|  |     if tls.startswith("OpenSSL") and "build=OpenSSL 1.0.2" in tls and "run=OpenSSL 1.0.2" in tls: | ||||||
|  |         logger.info("Add Brainpool EC groups since OpenSSL is new enough") | ||||||
|  |         sae_groups += [ 27, 28, 29, 30 ] | ||||||
|     heavy_groups = [ 14, 15, 16 ] |     heavy_groups = [ 14, 15, 16 ] | ||||||
|     groups = [str(g) for g in sae_groups] |     groups = [str(g) for g in sae_groups] | ||||||
|     params = hostapd.wpa2_params(ssid="test-sae-groups", |     params = hostapd.wpa2_params(ssid="test-sae-groups", | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen