mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +00:00 
			
		
		
		
	Nest: Allow MAC algorithms to specify min/max key length
Add min/max key length fields to the MAC algorithm description and validate configured keys before they are used.
This commit is contained in:
		
				
					committed by
					
						
						Ondrej Zajicek (work)
					
				
			
			
				
	
			
			
			
						parent
						
							35f88b305a
						
					
				
				
					commit
					589f7d1e4f
				
			@@ -24,6 +24,7 @@ extern struct password_item *last_password_item;
 | 
			
		||||
struct password_item *password_find(list *l, int first_fit);
 | 
			
		||||
struct password_item *password_find_by_id(list *l, uint id);
 | 
			
		||||
struct password_item *password_find_by_value(list *l, char *pass, uint size);
 | 
			
		||||
void password_validate_length(const struct password_item *p);
 | 
			
		||||
 | 
			
		||||
static inline int password_verify(struct password_item *p1, char *p2, uint size)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user