3b51710156
								
							 
						 
						
							[legal] Add FILE_LICENCE macro to some GPL-v2-or-later files 
							
							
Changes were made to files where the licence text within the files
themselves confirms that the files are GPL version 2 or later.
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca >
Modified-by: Michael Brown <mcb30@ipxe.org >
Signed-off-by: Michael Brown <mcb30@ipxe.org > 
							
							
						 
						15 years ago  
				
					
						
							
								 
						
							
								8406115834
								
							 
						 
						
							[build] Rename gPXE to iPXE 
							
							
Access to the gpxe.org and etherboot.org domains and associated
resources has been revoked by the registrant of the domain.  Work
around this problem by renaming project from gPXE to iPXE, and
updating URLs to match.
Also update README, LOG and COPYRIGHTS to remove obsolete information.
Signed-off-by: Michael Brown <mcb30@ipxe.org > 
							
							
						 
						15 years ago  
				
					
						
							
								 
						
							
								8d08da3a99
								
							 
						 
						
							[crypto] Add a placeholder for a proper random number generator 
							
							
Currently it just calls random().
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								6c6db8647b
								
							 
						 
						
							[crypto] Add AES key-wrap mode (RFC 3394) 
							
							
The unwrapping half is used by WPA2 code; the wrapping half is currently
unused.
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								2dfe4c414a
								
							 
						 
						
							[crypto] Make AES context size and algorithm structure externally available 
							
							
This is required to support modes of AES beyond cipher-block chaining.
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								59b7d00c06
								
							 
						 
						
							[digest] Add HMAC-SHA1 based pseudorandom function and PBKDF2 
							
							
Both of these routines are used by 802.11 WPA, but they are generic
and could be needed by other protocols as well.
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								05d3be1048
								
							 
						 
						
							[cipher] Add the ARC4 stream cipher 
							
							
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								7eaad90976
								
							 
						 
						
							[digest] Add generic CRC32 function 
							
							
Signed-off-by: Marty Connor <mdc@etherboot.org > 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								c44a193d0d
								
							 
						 
						
							[legal] Add a selection of FILE_LICENCE declarations 
							
							
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								1c67623e37
								
							 
						 
						
							[build] Enable building with the Intel C compiler (icc) 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								9937bf13c9
								
							 
						 
						
							[crypto] Allow creation of arbitrary CBC cipher algorithms using CBC_CIPHER() 
							
							
Given any block cipher, a corresponding CBC mode of behaviour for the
cipher can be created using the CBC_CIPHER() macro. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								e950dc04ba
								
							 
						 
						
							[crypto] Add our own general-purpose cipher-block chaining routines 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								b4d3d686cc
								
							 
						 
						
							[crypto] Change cipher_{en,de}crypt() to void functions 
							
							
It is a programming error, not a runtime error, if we attempt to use
block ciphers with an incorrect blocksize, so use an assert() rather
than an error status return. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								a3219b24a8
								
							 
						 
						
							[crypto] Split crypto_algorithm into {digest,cipher,pubkey}_algorithm 
							
							
The various types of cryptographic algorithm are fundamentally
different, and it was probably a mistake to try to handle them via a
single common type.
pubkey_algorithm is a placeholder type for now. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								5de8305feb
								
							 
						 
						
							[crypto] Move AES_convert_key() hack into axtls_aes.c 
							
							
Although the nature of the hack is essentially unchanged, this allows
us to remove the hardcoded assumption in tls.c that the RX cipher is
AES. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								991f907d5b
								
							 
						 
						
							[crypto] Rename aes_algorithm to aes_cbc_algorithm 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								8e960eb67c
								
							 
						 
						
							[tls] Use our own ASN.1 routines for certificate parsing 
							
							
Use our own, more robust, ASN.1 parsing routines to extract the RSA
public key from a server certificate.  Remove the now-unused AXTLS
ASN.1 parser. 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								5a99c586cf
								
							 
						 
						
							[crypto] Remove unused files 
							
							
						 
						16 years ago  
				
					
						
							
								 
						
							
								521549d900
								
							 
						 
						
							[crypto] Rename <gpxe/bitops.h> to <gpxe/rotate.h> 
							
							
						 
						17 years ago  
				
					
						
							
								 
						
							
								9c71949d1f
								
							 
						 
						
							[crypto] Remove spurious #include "config.h" 
							
							
						 
						17 years ago  
				
					
						
							
								 
						
							
								5d4839b577
								
							 
						 
						
							[iSCSI] Add support for mutual CHAP 
							
							
Allow initiator to verify target authentication using CHAP. 
							
							
						 
						17 years ago  
				
					
						
							
								 
						
							
								1949641d10
								
							 
						 
						
							Fix compiler warnings that appear only on OpenBSD. 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								68455adf37
								
							 
						 
						
							use malloc attribute 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								dea89e8d62
								
							 
						 
						
							use malloc attribute 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								7815474495
								
							 
						 
						
							Revert "malloc attribute changes" 
							
							wasn't meant for my local "master" branch ;)
This reverts commit 373022108b . 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								373022108b
								
							 
						 
						
							malloc attribute changes 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								74ad5014c5
								
							 
						 
						
							Inhibit compiler warning 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								9a9f46ff58
								
							 
						 
						
							Upgrade AXTLS import to version 1.1.5-a 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								218314e712
								
							 
						 
						
							Added HMAC code from TLS project 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								29134e35dc
								
							 
						 
						
							make md5_steps static 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								42910594f7
								
							 
						 
						
							disable AES_convert_key by #if 0'ing it out (suggested by mcb30) 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								426c2c150d
								
							 
						 
						
							disable AES_convert_key by #if 0'ing it out (suggested by mcb30) 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								9aa61ad5a2
								
							 
						 
						
							Add per-file error identifiers 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								c77704cb60
								
							 
						 
						
							Warnings purge: src/{crypto,hci,net} 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								ff84a66c35
								
							 
						 
						
							Conflicts with native asn1.c 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								95206577a7
								
							 
						 
						
							Trivial ASN.1 decoding functions. 
							
							
						 
						18 years ago  
				
					
						
							
								 
						
							
								e01aadd5a7
								
							 
						 
						
							Required for public key extraction 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								0050378f51
								
							 
						 
						
							SHA1_DIGEST_SIZE also available as a static constant 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								cc8f9e4b7f
								
							 
						 
						
							Make context sizes available for statically-allocated structures 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								d467552367
								
							 
						 
						
							Vanilla copies from axtls 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								5c3837e0ed
								
							 
						 
						
							Quick hacks to get it working 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								a01374b5cd
								
							 
						 
						
							Add dummy setiv method 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								6c2f0e1bf4
								
							 
						 
						
							Original axtls RSA code 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								1ae70e12e5
								
							 
						 
						
							Added wrapper for AXTLS AES code 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								c1aa1d0764
								
							 
						 
						
							Add wrapper around axtls' sha1 code 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								869f9bcb23
								
							 
						 
						
							Adding missing include 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								413c554b34
								
							 
						 
						
							We need this, I think 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								2e0548e17e
								
							 
						 
						
							Force inlining 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								1fbd6f7d76
								
							 
						 
						
							...but not when it's being used as a digest algorithm... 
							
							
						 
						19 years ago  
				
					
						
							
								 
						
							
								a502fcda45
								
							 
						 
						
							The null crypto algorithm should at least copy data... 
							
							
						 
						19 years ago