mirror of
				https://git.proxmox.com/git/mirror_frr
				synced 2025-11-04 08:28:50 +00:00 
			
		
		
		
	This patch includes: * Implementation of RFC 5709 support in OSPF. Using openssl library and FRR key-chain, one can use SHA1, SHA256, SHA384, SHA512 and keyed-MD5( backward compatibility with RFC 2328) HMAC algs. * Updating documentation of OSPF * add topotests for new HMAC algorithms Signed-off-by: Mahdi Varasteh <varasteh@amnesh.ir>
		
			
				
	
	
		
			21 lines
		
	
	
		
			735 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			735 B
		
	
	
	
		
			C
		
	
	
	
	
	
// SPDX-License-Identifier: GPL-2.0-or-later
 | 
						|
/*
 | 
						|
 * Copyright (C) 2023 Amnesh Inc.
 | 
						|
 *                    Mahdi Varasteh
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _ZEBRA_OSPF_AUTH_H
 | 
						|
#define _ZEBRA_OSPF_AUTH_H
 | 
						|
 | 
						|
#include <ospfd/ospf_gr.h>
 | 
						|
#include <ospfd/ospf_packet.h>
 | 
						|
 | 
						|
int ospf_auth_check(struct ospf_interface *oi, struct ip *iph, struct ospf_header *ospfh);
 | 
						|
int ospf_auth_check_digest(struct ospf_interface *oi, struct ip *iph, struct ospf_header *ospfh);
 | 
						|
int ospf_auth_make(struct ospf_interface *oi, struct ospf_packet *op);
 | 
						|
int ospf_auth_make_digest(struct ospf_interface *oi, struct ospf_packet *op);
 | 
						|
int ospf_auth_type(struct ospf_interface *oi);
 | 
						|
int ospf_auth_make_data(struct ospf_interface *oi, struct ospf_header *ospfh);
 | 
						|
 | 
						|
#endif /* _ZEBRA_OSPF_AUTH_H */
 |