kdc: Add krb5_is_enctype_old() to determine whether an enctype is older
AES256 and AES128 are newer enctypes because they are officially specified in RFC4120 and RFC8009, while enctypes not officially specified since RFC4120 are considered older. This function differs from older_enctype() in that it does not report unknown or non-existent enctypes as being 'newer'. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
		 Joseph Sutton
					Joseph Sutton
				
			
				
					committed by
					
						 Luke Howard
						Luke Howard
					
				
			
			
				
	
			
			
			 Luke Howard
						Luke Howard
					
				
			
						parent
						
							87348cf27a
						
					
				
				
					commit
					91e86460cd
				
			| @@ -395,6 +395,7 @@ HEIMDAL_KRB5_2.0 { | ||||
| 		krb5_init_ets; | ||||
| 		krb5_initlog; | ||||
| 		krb5_is_config_principal; | ||||
| 		krb5_is_enctype_old; | ||||
| 		krb5_is_enctype_weak; | ||||
| 		krb5_is_thread_safe; | ||||
| 		krb5_kcm_call; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user