mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	A port of the Illumos Crypto Framework to a Linux kernel module (found in module/icp). This is needed to do the actual encryption work. We cannot use the Linux kernel's built in crypto api because it is only exported to GPL-licensed modules. Having the ICP also means the crypto code can run on any of the other kernels under OpenZFS. I ended up porting over most of the internals of the framework, which means that porting over other API calls (if we need them) should be fairly easy. Specifically, I have ported over the API functions related to encryption, digests, macs, and crypto templates. The ICP is able to use assembly-accelerated encryption on amd64 machines and AES-NI instructions on Intel chips that support it. There are place-holder directories for similar assembly optimizations for other architectures (although they have not been written). Signed-off-by: Tom Caputi <tcaputi@datto.com> Signed-off-by: Tony Hutter <hutter2@llnl.gov> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #4329
		
			
				
	
	
		
			56 lines
		
	
	
		
			802 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			802 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# N.B.
 | 
						|
# This is the toplevel .gitignore file.
 | 
						|
# This is not the place for entries that are specific to
 | 
						|
# a subdirectory.  Instead add those files to the
 | 
						|
# .gitignore file in that subdirectory.
 | 
						|
#
 | 
						|
# N.B.
 | 
						|
# Please use 'git ls-files -i --exclude-standard'
 | 
						|
# command after changing this file, to see if there are
 | 
						|
# any tracked files which get ignored after the change.
 | 
						|
 | 
						|
#
 | 
						|
# Normal rules
 | 
						|
#
 | 
						|
*.[oa]
 | 
						|
*.lo
 | 
						|
*.la
 | 
						|
*.mod.c
 | 
						|
*~
 | 
						|
*.swp
 | 
						|
.deps
 | 
						|
.libs
 | 
						|
.dirstamp
 | 
						|
.DS_Store
 | 
						|
modules.order
 | 
						|
Makefile
 | 
						|
Makefile.in
 | 
						|
 | 
						|
#
 | 
						|
# Top level generated files specific to this top level dir
 | 
						|
#
 | 
						|
/configure
 | 
						|
/config.log
 | 
						|
/config.status
 | 
						|
/libtool
 | 
						|
/zfs_config.h
 | 
						|
/zfs_config.h.in
 | 
						|
/zfs.release
 | 
						|
/stamp-h1
 | 
						|
/.script-config
 | 
						|
/zfs-script-config.sh
 | 
						|
/aclocal.m4
 | 
						|
/autom4te.cache
 | 
						|
 | 
						|
#
 | 
						|
# Top level generic files
 | 
						|
#
 | 
						|
!.gitignore
 | 
						|
tags
 | 
						|
TAGS
 | 
						|
cscope.*
 | 
						|
*.rpm
 | 
						|
*.deb
 | 
						|
*.tar.gz
 |