libnm/crypto: remove unused argument key_type for decrypt functions

This commit is contained in:
Thomas Haller 2018-08-31 09:50:02 +02:00
parent 10724b38a8
commit 1f550790bb
4 changed files with 0 additions and 6 deletions

View file

@ -57,7 +57,6 @@ _nm_crypto_init (GError **error)
guint8 *
_nmtst_crypto_decrypt (const char *cipher,
int key_type,
const guint8 *data,
gsize data_len,
const guint8 *iv,

View file

@ -62,7 +62,6 @@ guint8 *_nmtst_crypto_encrypt (const char *cipher,
GError **error);
guint8 *_nmtst_crypto_decrypt (const char *cipher,
int key_type,
const guint8 *data,
gsize data_len,
const guint8 *iv,

View file

@ -73,7 +73,6 @@ _nm_crypto_init (GError **error)
guint8 *
_nmtst_crypto_decrypt (const char *cipher,
int key_type,
const guint8 *data,
gsize data_len,
const guint8 *iv,

View file

@ -473,7 +473,6 @@ nm_crypto_make_des_aes_key (const char *cipher,
static gboolean
_nmtst_decrypt_key (const char *cipher,
int key_type,
const guint8 *data,
gsize data_len,
const char *iv,
@ -510,7 +509,6 @@ _nmtst_decrypt_key (const char *cipher,
return FALSE;
parsed->bin = _nmtst_crypto_decrypt (cipher,
key_type,
data,
data_len,
bin_iv.bin,
@ -566,7 +564,6 @@ nmtst_crypto_decrypt_openssl_private_key_data (const guint8 *data,
}
if (!_nmtst_decrypt_key (cipher,
key_type,
parsed.bin,
parsed.len,
iv,