cryptsetup benchmark gcrypt/kernel/nettle/openssl

gcryptkernelnettleopenssl
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      1278751 iterations per second
PBKDF2-sha256     841553 iterations per second
PBKDF2-sha512     646471 iterations per second
PBKDF2-ripemd160  773286 iterations per second
PBKDF2-whirlpool  262932 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   706.0 MiB/s  3135.2 MiB/s
 serpent-cbc   128b    96.8 MiB/s   605.1 MiB/s
 twofish-cbc   128b   197.0 MiB/s   382.9 MiB/s
     aes-cbc   256b   520.5 MiB/s  2384.9 MiB/s
 serpent-cbc   256b    97.1 MiB/s   607.0 MiB/s
 twofish-cbc   256b   197.9 MiB/s   383.6 MiB/s
     aes-xts   256b  2737.5 MiB/s  2722.2 MiB/s
 serpent-xts   256b   604.7 MiB/s   585.4 MiB/s
 twofish-xts   256b   371.4 MiB/s   379.6 MiB/s
     aes-xts   512b  2089.6 MiB/s  2081.0 MiB/s
 serpent-xts   512b   605.8 MiB/s   585.5 MiB/s
 twofish-xts   512b   372.1 MiB/s   378.5 MiB/s

LUKS header information for foobar

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha1
Payload offset:	4096
MK bits:       	256
MK digest:     	88 82 65 4a c9 7a e6 0a 9f 88 bf 24 4a 12 b1 e1 e5 56 0d 31 
MK salt:       	a2 16 d8 5d 1b 67 1d 06 ac fa c7 9e 11 7d 6f 9f 
               	4d 56 90 02 ab 04 b0 32 f7 b6 82 42 96 d0 90 00 
MK iterations: 	155625
UUID:          	7e216512-34a0-404e-bfda-57c5bfe83d99

Key Slot 0: ENABLED
	Iterations:         	622870
	Salt:               	44 c1 83 4c 8a 27 f7 e9 aa 22 53 88 18 28 99 83 
	                      	59 56 47 8d de 3d e6 bf 58 3b bf 40 9b be 32 d7 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      1426634 iterations per second
PBKDF2-sha256    1127501 iterations per second
PBKDF2-sha512     923042 iterations per second
PBKDF2-ripemd160 1097985 iterations per second
PBKDF2-whirlpool  381023 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   706.8 MiB/s  3119.0 MiB/s
 serpent-cbc   128b    96.9 MiB/s   603.9 MiB/s
 twofish-cbc   128b   197.7 MiB/s   382.4 MiB/s
     aes-cbc   256b   518.5 MiB/s  2376.2 MiB/s
 serpent-cbc   256b    97.0 MiB/s   605.1 MiB/s
 twofish-cbc   256b   197.5 MiB/s   382.9 MiB/s
     aes-xts   256b  2728.4 MiB/s  2714.4 MiB/s
 serpent-xts   256b   605.5 MiB/s   584.3 MiB/s
 twofish-xts   256b   371.7 MiB/s   378.8 MiB/s
     aes-xts   512b  2087.0 MiB/s  2078.5 MiB/s
 serpent-xts   512b   605.9 MiB/s   584.3 MiB/s
 twofish-xts   512b   371.3 MiB/s   378.3 MiB/s

LUKS header information for foobar

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha1
Payload offset:	4096
MK bits:       	256
MK digest:     	f1 2c a9 09 4d ad 57 bc 9f e4 9b b1 19 58 55 71 e1 89 73 e7 
MK salt:       	dd ec 61 23 56 f8 d2 0c ef 08 af a2 93 ed c5 f2 
               	54 f6 50 29 84 d3 81 1c bb bc da 0c 85 d4 ed 1d 
MK iterations: 	170125
UUID:          	2392ab35-5245-479e-87db-1913447792a6

Key Slot 0: ENABLED
	Iterations:         	692828
	Salt:               	4c 61 c5 67 86 69 a3 5a d9 f6 d5 2b 55 38 dc f8 
	                      	7c 3c 05 41 42 03 35 62 ae 20 78 2f 45 cc 05 30 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      3666349 iterations per second
PBKDF2-sha256    1852607 iterations per second
PBKDF2-sha512    1432480 iterations per second
PBKDF2-ripemd160 2052007 iterations per second
PBKDF2-whirlpool     N/A
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   707.0 MiB/s  3121.7 MiB/s
 serpent-cbc   128b    97.0 MiB/s   605.8 MiB/s
 twofish-cbc   128b   197.7 MiB/s   383.2 MiB/s
     aes-cbc   256b   519.3 MiB/s  2379.4 MiB/s
 serpent-cbc   256b    97.0 MiB/s   604.9 MiB/s
 twofish-cbc   256b   197.7 MiB/s   383.4 MiB/s
     aes-xts   256b  2733.2 MiB/s  2713.9 MiB/s
 serpent-xts   256b   605.4 MiB/s   584.6 MiB/s
 twofish-xts   256b   371.3 MiB/s   378.8 MiB/s
     aes-xts   512b  2087.8 MiB/s  2080.1 MiB/s
 serpent-xts   512b   605.2 MiB/s   584.6 MiB/s
 twofish-xts   512b   371.4 MiB/s   378.5 MiB/s

LUKS header information for foobar

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha1
Payload offset:	4096
MK bits:       	256
MK digest:     	48 f9 48 5c c7 04 ce 5e 49 2e 59 08 e1 cb 34 de 4a a8 82 f1 
MK salt:       	99 ca a8 85 c0 92 b2 17 6d 3b f9 a3 b5 40 e4 42 
               	e5 0d b3 90 bf a9 8b 00 90 1c a1 2b a6 46 c5 60 
MK iterations: 	444375
UUID:          	a62f6d6a-f9c1-4cda-83f2-dbe061eba2cb

Key Slot 0: ENABLED
	Iterations:         	1790208
	Salt:               	46 ac 7b 4b 1c b7 58 5c 8f a7 bf a5 73 86 34 2c 
	                      	7d 11 d3 58 f6 22 66 98 2c de ea 62 16 7a 7d e1 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1      2189093 iterations per second
PBKDF2-sha256    1610715 iterations per second
PBKDF2-sha512    1138519 iterations per second
PBKDF2-ripemd160 1323959 iterations per second
PBKDF2-whirlpool  496484 iterations per second
#  Algorithm | Key |  Encryption |  Decryption
     aes-cbc   128b   707.1 MiB/s  3127.8 MiB/s
 serpent-cbc   128b    97.0 MiB/s   603.8 MiB/s
 twofish-cbc   128b   197.7 MiB/s   383.3 MiB/s
     aes-cbc   256b   519.5 MiB/s  2382.3 MiB/s
 serpent-cbc   256b    97.0 MiB/s   605.3 MiB/s
 twofish-cbc   256b   197.6 MiB/s   383.3 MiB/s
     aes-xts   256b  2742.6 MiB/s  2726.9 MiB/s
 serpent-xts   256b   605.5 MiB/s   584.2 MiB/s
 twofish-xts   256b   371.4 MiB/s   378.5 MiB/s
     aes-xts   512b  2095.2 MiB/s  2085.0 MiB/s
 serpent-xts   512b   606.2 MiB/s   584.7 MiB/s
 twofish-xts   512b   371.6 MiB/s   378.5 MiB/s

LUKS header information for foobar

Version:       	1
Cipher name:   	aes
Cipher mode:   	xts-plain64
Hash spec:     	sha1
Payload offset:	4096
MK bits:       	256
MK digest:     	22 30 eb 34 a8 8b 4e c6 af bb fd 1b d2 12 c9 f4 23 d2 02 68 
MK salt:       	c0 26 38 2b 56 01 df c2 75 fb ee 79 11 8c 08 8c 
               	0f 46 9d b7 e3 5c 0a 19 be f1 99 b3 cb 16 45 0a 
MK iterations: 	266000
UUID:          	e12a5a5b-9ef1-4a7e-9355-b2a46d1fdc67

Key Slot 0: ENABLED
	Iterations:         	1058944
	Salt:               	1f b0 f7 81 1a 14 80 95 d6 f2 d9 4a 0f a9 55 01 
	                      	2b 18 57 5a 7a 5a 3b b2 d7 09 0d c6 da 6f 1e dc 
	Key material offset:	8
	AF stripes:            	4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED