LINUX-based and IPSec VPN gateway - password algorithm
- Author
- WangZuo
- Advisor
- GuoYuDong
- School
- PLA Information Engineering University
- Major
- Computer Software and Theory
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2002
- Downloads
- 179
- Citations
- 0
Abstract
IPSec is a new IP security protocol suite. This paper describes IPSec mandated cryptographic algorithms and their implementation. After introducing IPSec framework and the Internet Key Exchange,the author focuses on the description of the encryption algorithm DES-CBC,the data integrity algorithms HMAC-SHA-1-96 and HMAC-MD5-96. The main functions of these algorithms are also discussed.
Table of contents
Chinese Abstract 2-6
Foreword 6-7
Chapter 1 IPSEC Overview 7-12
§ 1.1 IPSec applications 7
§ 1.2 IPSec advantage 7-8
§ 1.3 IPSec services 8
§ 1.4 IPSec architecture 8-9
§ 1.5 IPSec implementation 9-10
§ 1.5.1 and OS integration 9
§ 1. 5.2 stack blocks 9-10
§ 1.6 IPSec implementation patterns 10
§ 1.7 IPSec in key management and cryptographic algorithms 10-12
§ 1.8 our implementation 11
§ 1.8.1 implementation environment : 11
§ 1.8.2 implementation pattern 11
§ 1.8.3 to achieve content 11-12
Chapter 2, key management and consultation -IKE 12-14 < br /> § 2.1 ISAKMP protocol 12-13
§ 2.2 Oakley key agreement 13-14
Chapter 3 DES-CBC password algorithm and implementation 14-24
§ 3.1 CBC mode 14-15
§ 3.1.1 algorithm mode 14-15
§ 3. 1.2 initial vector (Initialization Vector, Ⅳ) 15
§ 3.1.3 fill (Padding) 15
§ 3.2 DES algorithm 15 -22
§ 3.2.1 algorithm summary 15-17
§ 3.2.2 plaintext processing 17
§ 3.2.3 Password key replacement 17-18
§ 3.2.4 encryption process 18-21
§ 3.2.5 decryption 21
§ 3 .2.6 weak keys (weak key) 21-22
§ 3.3 CBC-3DES algorithm 22-24
§ 3.3.1 3DES algorithm 22
§ 3.3.2 triple DES CBC mode 22-24
Chapter 4 HMAC-SHA-1-96 algorithm 24-30 <br / > § 4.1 HMAC Profile 24-26
§ 4.1.1 HMAC defined 24-25
§ 4.1.2 key Description 25
§ 4.1.3 algorithm Description 25-26
§ 4.1.4 abridged output 26
§ 4.2 HMAC-SHA- 1-96 algorithm 26-30
§ 4.2.1 algorithm introduced 26
§ 4.2.2 algorithm Description 26-30 <br / > Chapter 5 HMAC-MD5-96 algorithm 30-35
§ 5.1 algorithm description 30
§ 5.2 algorithm Description 30-35 < br /> § 5.2.1 padded message 30
§ 5.2.2 initialized message digest variable 30
§ 5.2.3 deal with a block of messages ( 16 32 group ) 30-35
program described in Chapter 6 35-51
§ 6.1 3DES-CBC program description 35-40
§ 6.1.1 main data structures 35
§ 6.1.2 3DES-CBC algorithm main function 35-36
§ 6.1 .3 3DES encryption algorithm function 36-37
§ 6.1.4 3DES encryption algorithm 37-38
§ 6.1.5 other functions 38 -40
§ 6.2 HMAC program Description 40-43
§ 6.2.1 main data structures 40
§ 6.2.2 initialization function 40-41
§ 6.2.3 hmac_reinit () function 41-42
§ 6.2.4 HMAC block handler 42
§ 6.2.5 HMAC integrated function 42-43
§ 6.3 MD5 program Description 43-46
§ 6.3.1 main data structure 43
§ 6.3.2 initialization function 43
§ 6.3.3 message-Digest Algorithm function 43-44
§ 6.3 .4 block handler 44-45
§ 6.3.5 integrated handler 45-46
§ 6.3.6 algorithm for use 46
§ 6.4 SHA-1 program description 46-48
§ 6.4.1 main data structures 46
§ 6.4.2 initialization function 46-47
§ 6.4.3 message-Digest Algorithm function 47
§ 6.4.4 block handler 47-48
§ 6.4.5 integrated handler 48
§ 6.4.6 algorithm for use 48
§ 6.5 key Generation 48-49
§ 6.6 algorithm calls Description 49
§ 6.6.1 IKE call for cryptographic algorithms 49
§ 6.6.2 AH and ESP calls for password 49
§ 6.7 Description 49-51
Conclusion 51-52
Thanks 52 -53
References 53
Related dissertations
- The design of firewall on Linux
- The design and implementation of SCPS-SP/IPSec protocol conversion
- Analytical Improvement and Implementation for Internet Key Exchange Protocol
- The Router’s Internet Key Exchange Based on Digital Certificate
- Research on Security Handover Technology of Hierarchical Mobile IPv6
- NAT-Traversal with UDP Encapsulation
- IPv6 Security (IPSec) study
- Research on the IPSec and Its Realization on the General Access Router
- Analysis and Improvement and Realization of IKE Protocol for IPSEC
- Research and Implementation of Secure VPN Gateway Based on IPSec
- IPSec protocol analysis systems theory and VPN based on IPSec Protocol Implementation and formation
- The Research for VPN System Based on IPSec and Improved Implement of IKE Protocol
- IPSec-based end to end secure communication technology research and implementation
- Principle and Implementation of IPSec VPN and its application in Networked Manufacturing
- Research and Application of IPSec-based Virtual Private Network
- Study of Virtual Private Network Based on IPSec
- Research and Implementation of IKE protocol
- The Study of Internet Key Exchange Protocol Based on Linux
- Research on Virtual Private Network and Implement of the System
- Research and Practice of next-generation networks in IPSec