mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: Larry.Finger@lwfinger.net, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 01/16] staging: rtl8188eu: Remove unused function rtw_use_tkipkey_handler()
Date: Sun, 13 Jul 2014 19:59:23 +0530	[thread overview]
Message-ID: <1405261778-7653-1-git-send-email-navin.patidar@gmail.com> (raw)

Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
 drivers/staging/rtl8188eu/core/rtw_security.c    |   25 ----------------------
 drivers/staging/rtl8188eu/include/rtw_security.h |    1 -
 2 files changed, 26 deletions(-)

diff --git a/drivers/staging/rtl8188eu/core/rtw_security.c b/drivers/staging/rtl8188eu/core/rtw_security.c
index d78def5..f9096a5 100644
--- a/drivers/staging/rtl8188eu/core/rtw_security.c
+++ b/drivers/staging/rtl8188eu/core/rtw_security.c
@@ -1679,28 +1679,3 @@ do {									\
 	d##2 = TE0(s##2) ^ TE1(s##3) ^ TE2(s##0) ^ TE3(s##1) ^ rk[4 * i + 2]; \
 	d##3 = TE0(s##3) ^ TE1(s##0) ^ TE2(s##1) ^ TE3(s##2) ^ rk[4 * i + 3]; \
 } while (0);
-
-/**
- * omac1_aes_128 - One-Key CBC MAC (OMAC1) hash with AES-128 (aka AES-CMAC)
- * @key: 128-bit key for the hash operation
- * @data: Data buffer for which a MAC is determined
- * @data_len: Length of data buffer in bytes
- * @mac: Buffer for MAC (128 bits, i.e., 16 bytes)
- * Returns: 0 on success, -1 on failure
- *
- * This is a mode for using block cipher (AES in this case) for authentication.
- * OMAC1 was standardized with the name CMAC by NIST in a Special Publication
- * (SP) 800-38B.
- */
-void rtw_use_tkipkey_handler(void *FunctionContext)
-{
-	struct adapter *padapter = (struct adapter *)FunctionContext;
-
-
-	RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("^^^rtw_use_tkipkey_handler ^^^\n"));
-
-	padapter->securitypriv.busetkipkey = true;
-
-	RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("^^^rtw_use_tkipkey_handler padapter->securitypriv.busetkipkey=%d^^^\n", padapter->securitypriv.busetkipkey));
-
-}
diff --git a/drivers/staging/rtl8188eu/include/rtw_security.h b/drivers/staging/rtl8188eu/include/rtw_security.h
index 937cad8..66d60aa 100644
--- a/drivers/staging/rtl8188eu/include/rtw_security.h
+++ b/drivers/staging/rtl8188eu/include/rtw_security.h
@@ -378,6 +378,5 @@ void rtw_wep_encrypt(struct adapter *padapter, u8  *pxmitframe);
 u32 rtw_aes_decrypt(struct adapter *padapter, u8  *precvframe);
 u32 rtw_tkip_decrypt(struct adapter *padapter, u8  *precvframe);
 void rtw_wep_decrypt(struct adapter *padapter, u8  *precvframe);
-void rtw_use_tkipkey_handler(void *FunctionContext);
 
 #endif	/* __RTL871X_SECURITY_H_ */
-- 
1.7.10.4


             reply	other threads:[~2014-07-13 14:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-13 14:29 navin patidar [this message]
2014-07-13 14:29 ` [PATCH 02/16] staging: rtl8188eu: Remove function rtw_set_channel_plan() navin patidar
2014-07-13 14:29 ` [PATCH 03/16] staging: rtl8188eu: Remove unused function rtw_set_scan_mode() navin patidar
2014-07-13 14:29 ` [PATCH 04/16] staging: rtl8188eu: Remove unused function rtw_validate_ssid() navin patidar
2014-07-13 14:29 ` [PATCH 05/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_add_key() navin patidar
2014-07-13 14:29 ` [PATCH 06/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_key() navin patidar
2014-07-13 14:29 ` [PATCH 07/16] staging: rtl8188eu: Remove unused function rtw_set_802_11_remove_wep() navin patidar
2014-07-13 14:29 ` [PATCH 08/16] staging: rtl8188eu: Remove unused function _rtw_IOL_append_WW_cmd() navin patidar
2014-07-13 14:29 ` [PATCH 09/16] staging: rtl8188eu: Remove unused function rtw_get_timestampe_from_ie() navin patidar
2014-07-13 14:29 ` [PATCH 10/16] staging: rtl8188eu: Rename _rtw_free_network_queue() to rtw_free_network_queue() navin patidar
2014-07-13 14:29 ` [PATCH 11/16] staging: rtl8188eu: Rename _rtw_find_network() to rtw_find_network() navin patidar
2014-07-13 14:29 ` [PATCH 12/16] staging: rtl8188eu: Make _rtw_free_network() static navin patidar
2014-07-13 14:29 ` [PATCH 13/16] staging: rtl8188eu: Remove unused function _rtw_dequeue_network() navin patidar
2014-07-13 14:29 ` [PATCH 14/16] staging: rtl8188eu: Remove unused function _rtw_enqueue_network() navin patidar
2014-07-13 14:29 ` [PATCH 15/16] staging: rtl8188eu: Rename _rtw_free_mlme_priv() to rtw_free_mlme_priv() navin patidar
2014-07-13 14:29 ` [PATCH 16/16] staging: rtl8188eu: Rename _rtw_init_mlme_priv() to rtw_init_mlme_priv() navin patidar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1405261778-7653-1-git-send-email-navin.patidar@gmail.com \
    --to=navin.patidar@gmail.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®