1
Index: uswsusp-0.8/HOWTO
2
===================================================================
3
--- uswsusp-0.8.orig/HOWTO 2008-07-15 16:52:48.000000000 +0200
4
+++ uswsusp-0.8/HOWTO 2008-07-15 16:53:00.000000000 +0200
1
This patch changes the name of the /etc/suspend.{conf|key} files to /etc/uswsusp.{conf|key}
7
6
(f) Optinally create initramfs image
56
55
something else pointed to by the "RSA key file =" configuration parameter of
57
56
s2disk). This file contains the public modulus (n), public exponent (e), the
58
57
AES-encrypted private exponent (d), the AES-encrypted primes (p), (q) and
59
Index: uswsusp-0.8/config_parser.h
60
===================================================================
61
--- uswsusp-0.8.orig/config_parser.h 2008-07-15 16:52:48.000000000 +0200
62
+++ uswsusp-0.8/config_parser.h 2008-07-15 16:53:00.000000000 +0200
64
61
void usage(char *my_name, struct option options[], const char *short_options);
65
62
void version(char *my_name, char *extra_version);
67
64
-#define CONFIG_FILE "/etc/suspend.conf"
68
65
+#define CONFIG_FILE "/etc/uswsusp.conf"
69
Index: uswsusp-0.8/encrypt.h
70
===================================================================
71
--- uswsusp-0.8.orig/encrypt.h 2008-07-15 16:52:48.000000000 +0200
72
+++ uswsusp-0.8/encrypt.h 2008-07-15 16:53:00.000000000 +0200
74
69
void encrypt_init(unsigned char *, unsigned char *, char *);
75
70
void get_random_salt(unsigned char *salt, size_t size);
77
-#define SUSPEND_KEY_FILE "/etc/suspend.key"
78
+#define SUSPEND_KEY_FILE "/etc/uswsusp.key"
80
Index: uswsusp-0.8/keygen.c
81
===================================================================
82
--- uswsusp-0.8.orig/keygen.c 2008-07-15 16:52:48.000000000 +0200
83
+++ uswsusp-0.8/keygen.c 2008-07-15 16:53:00.000000000 +0200
72
-#define SUSPEND_KEY_FILE_PATH "/etc/suspend.key"
73
+#define SUSPEND_KEY_FILE_PATH "/etc/uswsusp.key"
74
#define ENCRYPT_BUF_PAGES 256
76
extern gcry_cipher_hd_t cipher_handle;
85
80
#define MAX_KEY_BITS 4096
86
81
#define MAX_OUT_SIZE (sizeof(struct RSA_data))