embedded IPsec source code documentation


embedded IPsec - IPsec library File List

Here is a list of all files with brief descriptions:
ah.c [code]RFC2402 - IP Authentication Header (AH)
ah.h [code]Header of IP Authentication Header (AH)
ah_test-sample_ah_packet.h [code]This file contains reference ping data for the AH module structural test
ah_test.c [code]Test functions for IP Authentication Header (AH)
debug.h [code]Collection of common debug routines and macros
des.c [code]Code for DES and 3DES in CBC mode
des.h [code]Header of DES and 3DES cipher
des_test.c [code]Test functions for DES/3DES CBC code
dumpdev-espdata.h [code]This file contains ESP encrypted reference data to feed the dumpdev device (used for tests)
dumpdev-httpgetdata.h [code]This file contains a HTTP-GET reference session to feed the dumpdev device (used for tests)
dumpdev-pingdata.h [code]This file contains a ICMP ping reference session to feed the dumpdev device (used for tests)
dumpdev.c [code]Dummy network adapter that will simulate a network adapter and dump all packets
dumpdev.h [code]Header file fof the dummy network adapter
esp.c [code]This module contains the Encapsulating Security Payload code
esp.h [code]Header for the Encapsulating Security Payload module
esp_test.c [code]Testing ESP encapsulation and decapsulation
ipsec.c [code]Embedded IPsec implementation (tunnel mode with manual keying only)
ipsec.h [code]Header of embedded IPsec implementation
ipsecdev.c [code]IPsec network adapter for lwIP
ipsecdev.h [code]Header of IPsec network adapter for lwIP
keil_1000_ah_md5.h [code]Test configuration: AH MD5 connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3)
keil_1001_ah_sha1.h [code]Test configuration: AH SHA1 connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3)
keil_1002_esp_3des.h [code]Test configuration: ESP 3DES connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3)
keil_1003_esp_3des_md5.h [code]Test configuration: ESP 3DES MD5 connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3)
keil_1004_esp_3des_sha1.h [code]Test configuration: ESP 3DES SHA1 connection between FreeS/WAN host (192.168.1.5) and Keil MCB167NET board (192.168.1.3)
keil_bypass.h [code]Test configuration: connection between any host and MCB167NET board (192.168.1.4) - IPsec is disabled (BYPASS for all packets)
keil_netconfig.h [code]Test configuration: connection between any host and MCB167NET board (192.168.1.3) - dynamic SAD/SPD configuration over UDP port 500 ("ISAKMP light")
main.c [code]Main file of structural tests
md5.c [code]RFC 1321 - The MD5 Message-Digest Algorithm and RFC 2104 - HMAC: Keyed-Hashing for Message Authentication
md5.h [code]Header of MD5 Message-Digest Algorithm
md5_test.c [code]This module contains all the test functions used to test MD5
phy_2000_ah_md5.h [code]Test configuration: AH MD5 connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4)
phy_2001_ah_sha1.h [code]Test configuration: AH SHA1 connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4)
phy_2002_esp_3des.h [code]Test configuration: ESP 3DES connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4)
phy_2003_esp_3des_md5.h [code]Test configuration: ESP 3DES MD5 connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4)
phy_2004_esp_3des_sha1.h [code]Test configuration: ESP 3DES SHA1 connection between FreeS/WAN host (192.168.1.5) and PhyCORE167-HS/E board (192.168.1.4)
phy_bypass.h [code]Test configuration: connection between any host and PhyCORE167-HS/E board (192.168.1.4) - IPsec is disabled (BYPASS for all packets)
phy_netconfig.h [code]Test configuration: connection between any host and PhyCORE167-HS/E board (192.168.1.4) - dynamic SAD/SPD configuration over UDP port 500 ("ISAKMP light")
sa.c [code]This module contains the Security Association code
sa.h [code]Header of Security Association management code
sa_test.c [code]Test functions for Security Association Database
sha1.c [code]RFC 3174 - US Secure Hash Algorithm 1 (SHA1) and RFC 2104 - HMAC: Keyed-Hashing for Message Authentication
sha1.h [code]Header of US Secure Hash Algorithm 1 (SHA1)
sha1_test.c [code]Test functions for SHA1
structural_test.h [code]Header file of the structural test main program
types.h [code]
util.c [code]A collection of common helper functions and macros used everywhere in the IPsec library
util.h [code]Header of common helper functions and macros
util_test.c [code]Test functions for the util module

Copyright 2003 by Christian Scheurer and Niklaus Schild