EAP-pwd: Increase maximum number of hunting-and-pecking iterations
The previously used limit (10) is too small for practical purposes since it can result in about 1 out of 1000 authentication attempts failing. Increase the limit to 30 to avoid such issues. [Bug 453] Signed-hostap: Jouni Malinen <j@w1.fi> intended-for: hostap-1
This commit is contained in:
		
							parent
							
								
									532b16c7a9
								
							
						
					
					
						commit
						0f27f15911
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -154,7 +154,7 @@ int compute_password_element(EAP_PWD_group *grp, u16 num, | |||
| 	os_memset(prfbuf, 0, primebytelen); | ||||
| 	ctr = 0; | ||||
| 	while (1) { | ||||
| 		if (ctr > 10) { | ||||
| 		if (ctr > 30) { | ||||
| 			wpa_printf(MSG_INFO, "EAP-pwd: unable to find random " | ||||
| 				   "point on curve for group %d, something's " | ||||
| 				   "fishy", num); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Jouni Malinen
						Jouni Malinen