diff mbox series

[OpenWrt-Devel] netifd: wireless: Add support for GCMP cipher

Message ID 20190314100316.32459-1-robimarko@gmail.com
State Accepted
Delegated to: Hauke Mehrtens
Headers show
Series [OpenWrt-Devel] netifd: wireless: Add support for GCMP cipher | expand

Commit Message

Robert Marko March 14, 2019, 10:03 a.m. UTC
This patch will add support for using GCMP as cipher suite.
This is not a strong cipher but is only one supported by
wil6210 driver in order to have encrypted traffic.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 scripts/netifd-wireless.sh | 1 +
 1 file changed, 1 insertion(+)

Comments

txt.file March 14, 2019, 11:30 a.m. UTC | #1
Which other drivers implement this cipher? Is this cipher in the IEEE 802.11 documents standardized?

On March 14, 2019 10:03:16 AM UTC, Robert Marko <robimarko@gmail.com> wrote:
>This patch will add support for using GCMP as cipher suite.
>This is not a strong cipher but is only one supported by
>wil6210 driver in order to have encrypted traffic.
>
>Signed-off-by: Robert Marko <robimarko@gmail.com>
>---
> scripts/netifd-wireless.sh | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
>index 424b3ad..6bc48c6 100644
>--- a/scripts/netifd-wireless.sh
>+++ b/scripts/netifd-wireless.sh
>@@ -200,6 +200,7 @@ wireless_vif_parse_encryption() {
> 		*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
> 		*aes|*ccmp) wpa_cipher="CCMP";;
> 		*tkip) wpa_cipher="TKIP";;
>+		*gcmp) wpa_cipher="GCMP";;
> 	esac
> 
> 	# 802.11n requires CCMP for WPA
Lucian Cristian March 14, 2019, 12:01 p.m. UTC | #2
On 14.03.2019 13:30, txt.file wrote:
> Which other drivers implement this cipher? Is this cipher in the IEEE 802.11 documents standardized?
>
> On March 14, 2019 10:03:16 AM UTC, Robert Marko <robimarko@gmail.com> wrote:
>> This patch will add support for using GCMP as cipher suite.
>> This is not a strong cipher but is only one supported by
>> wil6210 driver in order to have encrypted traffic.
>>
>> Signed-off-by: Robert Marko <robimarko@gmail.com>
>> ---
>> scripts/netifd-wireless.sh | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
>> index 424b3ad..6bc48c6 100644
>> --- a/scripts/netifd-wireless.sh
>> +++ b/scripts/netifd-wireless.sh
>> @@ -200,6 +200,7 @@ wireless_vif_parse_encryption() {
>> 		*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
>> 		*aes|*ccmp) wpa_cipher="CCMP";;
>> 		*tkip) wpa_cipher="TKIP";;
>> +		*gcmp) wpa_cipher="GCMP";;
>> 	esac
>>
>> 	# 802.11n requires CCMP for WPA
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

https://www.wi-fi.org/discover-wi-fi/security

in wpa3

  * *Authenticated encryption**:* 256-bit Galois/Counter Mode Protocol
    (GCMP-256)

Regards
Robert Marko March 14, 2019, 2:11 p.m. UTC | #3
On Thu, 14 Mar 2019 at 12:31, txt.file <txt.file@txtfile.eu> wrote:
>
> Which other drivers implement this cipher? Is this cipher in the IEEE 802.11 documents standardized?
Most of them as 802.11ac introduced it as optional cipher as its more
efficient than CCMP and as Lucian Cristian
mentioned its also part of WPA3.
>
> On March 14, 2019 10:03:16 AM UTC, Robert Marko <robimarko@gmail.com> wrote:
> >This patch will add support for using GCMP as cipher suite.
> >This is not a strong cipher but is only one supported by
> >wil6210 driver in order to have encrypted traffic.
> >
> >Signed-off-by: Robert Marko <robimarko@gmail.com>
> >---
> > scripts/netifd-wireless.sh | 1 +
> > 1 file changed, 1 insertion(+)
> >
> >diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
> >index 424b3ad..6bc48c6 100644
> >--- a/scripts/netifd-wireless.sh
> >+++ b/scripts/netifd-wireless.sh
> >@@ -200,6 +200,7 @@ wireless_vif_parse_encryption() {
> >               *tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
> >               *aes|*ccmp) wpa_cipher="CCMP";;
> >               *tkip) wpa_cipher="TKIP";;
> >+              *gcmp) wpa_cipher="GCMP";;
> >       esac
> >
> >       # 802.11n requires CCMP for WPA
Rosen Penev March 15, 2019, 1:58 a.m. UTC | #4
On Thu, Mar 14, 2019 at 7:11 AM Robert Marko <robimarko@gmail.com> wrote:
>
> On Thu, 14 Mar 2019 at 12:31, txt.file <txt.file@txtfile.eu> wrote:
> >
> > Which other drivers implement this cipher? Is this cipher in the IEEE 802.11 documents standardized?
> Most of them as 802.11ac introduced it as optional cipher as its more
> efficient than CCMP and as Lucian Cristian
> mentioned its also part of WPA3.
> >
> > On March 14, 2019 10:03:16 AM UTC, Robert Marko <robimarko@gmail.com> wrote:
> > >This patch will add support for using GCMP as cipher suite.
> > >This is not a strong cipher but is only one supported by
> > >wil6210 driver in order to have encrypted traffic.
The cipher is the same. AES-128. GCMP has similar security properties
to CCMP. It's just faster and less widely supported.
> > >
> > >Signed-off-by: Robert Marko <robimarko@gmail.com>
> > >---
> > > scripts/netifd-wireless.sh | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > >diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
> > >index 424b3ad..6bc48c6 100644
> > >--- a/scripts/netifd-wireless.sh
> > >+++ b/scripts/netifd-wireless.sh
> > >@@ -200,6 +200,7 @@ wireless_vif_parse_encryption() {
> > >               *tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
> > >               *aes|*ccmp) wpa_cipher="CCMP";;
> > >               *tkip) wpa_cipher="TKIP";;
> > >+              *gcmp) wpa_cipher="GCMP";;
> > >       esac
> > >
> > >       # 802.11n requires CCMP for WPA
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index 424b3ad..6bc48c6 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -200,6 +200,7 @@  wireless_vif_parse_encryption() {
 		*tkip+aes|*tkip+ccmp|*aes+tkip|*ccmp+tkip) wpa_cipher="CCMP TKIP";;
 		*aes|*ccmp) wpa_cipher="CCMP";;
 		*tkip) wpa_cipher="TKIP";;
+		*gcmp) wpa_cipher="GCMP";;
 	esac
 
 	# 802.11n requires CCMP for WPA