@@ -33,20 +33,20 @@ |
||
33 | 33 | */ |
34 | 34 | const CIPHER_KEY_SIZES = [ |
35 | 35 | // Triple-DES (DES-EDE, as per spec - 168 bit key derived from 192) |
36 | - RFC2440_CIPHER_DES3_EDE => [ 24 ], |
|
36 | + RFC2440_CIPHER_DES3_EDE => [24], |
|
37 | 37 | // CAST5 (128 bit key, as per RFC 2144) |
38 | - RFC2440_CIPHER_CAST_5 => [ 16 ], |
|
38 | + RFC2440_CIPHER_CAST_5 => [16], |
|
39 | 39 | // Blowfish (128 bit key, 16 rounds) |
40 | - RFC2440_CIPHER_BLOWFISH => [ 16 ], |
|
40 | + RFC2440_CIPHER_BLOWFISH => [16], |
|
41 | 41 | // AES with 128-bit key |
42 | - RFC2440_CIPHER_AES_128 => [ 16 ], |
|
42 | + RFC2440_CIPHER_AES_128 => [16], |
|
43 | 43 | // AES with 192-bit key |
44 | - RFC2440_CIPHER_AES_192 => [ 24 ], |
|
44 | + RFC2440_CIPHER_AES_192 => [24], |
|
45 | 45 | // AES with 256-bit key |
46 | - RFC2440_CIPHER_AES_256 => [ 32 ], |
|
46 | + RFC2440_CIPHER_AES_256 => [32], |
|
47 | 47 | // Twofish with 256-bit key |
48 | - RFC2440_CIPHER_TWOFISH => [ 32, 24, 16 ], |
|
49 | - RFC2440_CIPHER_CAST_6 => [ 32, 28, 24, 20, 16 ], |
|
48 | + RFC2440_CIPHER_TWOFISH => [32, 24, 16], |
|
49 | + RFC2440_CIPHER_CAST_6 => [32, 28, 24, 20, 16], |
|
50 | 50 | ]; |
51 | 51 | |
52 | 52 | /** |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | /** |
17 | 17 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n45 |
18 | 18 | */ |
19 | -const FC2440_CIPHER_RSA = 0x01; |
|
19 | +const FC2440_CIPHER_RSA = 0x01; |
|
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n36 |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n37 |
28 | 28 | */ |
29 | -const RFC2440_CIPHER_CAST_5 = 0x03; |
|
29 | +const RFC2440_CIPHER_CAST_5 = 0x03; |
|
30 | 30 | |
31 | 31 | /** |
32 | 32 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n38 |
@@ -36,27 +36,27 @@ discard block |
||
36 | 36 | /** |
37 | 37 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n39 |
38 | 38 | */ |
39 | -const RFC2440_CIPHER_AES_128 = 0x07; |
|
39 | +const RFC2440_CIPHER_AES_128 = 0x07; |
|
40 | 40 | |
41 | 41 | /** |
42 | 42 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n40 |
43 | 43 | */ |
44 | -const RFC2440_CIPHER_AES_192 = 0x08; |
|
44 | +const RFC2440_CIPHER_AES_192 = 0x08; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n41 |
48 | 48 | */ |
49 | -const RFC2440_CIPHER_AES_256 = 0x09; |
|
49 | +const RFC2440_CIPHER_AES_256 = 0x09; |
|
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n42 |
53 | 53 | */ |
54 | -const RFC2440_CIPHER_TWOFISH = 0x0a; |
|
54 | +const RFC2440_CIPHER_TWOFISH = 0x0a; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * @link https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/include/linux/ecryptfs.h#n43 |
58 | 58 | */ |
59 | -const RFC2440_CIPHER_CAST_6 = 0x0b; |
|
59 | +const RFC2440_CIPHER_CAST_6 = 0x0b; |
|
60 | 60 | |
61 | 61 | /** |
62 | 62 | * Number of raw bytes used from signature hash |