mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-06 00:00:30 +01:00
libnm/crypto: remove unused argument key_type for decrypt functions
This commit is contained in:
parent
10724b38a8
commit
1f550790bb
4 changed files with 0 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue