summaryrefslogtreecommitdiff
path: root/libnm-util/nm-utils.h
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2014-05-09 13:48:30 +0200
committerJiří Klimeš <jklimes@redhat.com>2014-05-12 10:46:41 +0200
commit810e9348924fbb2c700b3893e875491ff3028881 (patch)
treef5e1c0b7be43e23deaecc72fee075275069019b1 /libnm-util/nm-utils.h
parentb3e39d42758c678935e7a33aea48c03f7a2b2763 (diff)
downloadNetworkManager-810e9348924fbb2c700b3893e875491ff3028881.tar.gz
libnm-util: add nm_utils_rsa_key_encrypt_aes() encrypting RSA key with AES
Diffstat (limited to 'libnm-util/nm-utils.h')
-rw-r--r--libnm-util/nm-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libnm-util/nm-utils.h b/libnm-util/nm-utils.h
index 582600420b..bb8786a144 100644
--- a/libnm-util/nm-utils.h
+++ b/libnm-util/nm-utils.h
@@ -120,6 +120,10 @@ GByteArray *nm_utils_rsa_key_encrypt (const GByteArray *data,
const char *in_password,
char **out_password,
GError **error);
+GByteArray *nm_utils_rsa_key_encrypt_aes (const GByteArray *data,
+ const char *in_password,
+ char **out_password,
+ GError **error);
gboolean nm_utils_file_is_pkcs12 (const char *filename);
guint32 nm_utils_wifi_freq_to_channel (guint32 freq);