wireguard.lists.zx2c4.com archive mirror
 help / color / mirror / Atom feed
* iOS WG (1.0.3) - ARM64 SIMD ChaCha20
@ 2019-02-20 15:03 Lonnie Abelbeck
  2019-02-20 21:01 ` Sebastian Gottschall
  0 siblings, 1 reply; 4+ messages in thread
From: Lonnie Abelbeck @ 2019-02-20 15:03 UTC (permalink / raw)
  To: WireGuard mailing list

Thanks to Jason and the team, a new iOS WG 1.0.3 appeared as an update:

1.0.3 / Feb 19, 2019
--
Performance should be higher and battery usage lower, thanks to a new ARM64 SIMD implementation of ChaCha20
--
For reference, the upstream golang crypto commit is here [1] with performance numbers.

So, the question come to mind, do my iOS devices have ARM64 SIMD support, quick answer is if the device is less than 6 years old it should have ARM64 SIMD support.  Added in the A5/A6 CPU's from what I can tell.

Apple-designed processors
https://en.wikipedia.org/wiki/Apple-designed_processors

Please correct my research if I over-simplified where the new ARM64 SIMD implementation of ChaCha20 is available for iOS WireGuard.

Lonnie

[1] chacha20: add SIMD implementation on arm64
https://go.googlesource.com/crypto/+/74369b46fc6756741c016591724fd1cb8e26845f

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iOS WG (1.0.3) - ARM64 SIMD ChaCha20
  2019-02-20 15:03 iOS WG (1.0.3) - ARM64 SIMD ChaCha20 Lonnie Abelbeck
@ 2019-02-20 21:01 ` Sebastian Gottschall
  2019-02-21 16:03   ` Lonnie Abelbeck
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Gottschall @ 2019-02-20 21:01 UTC (permalink / raw)
  To: wireguard


Am 20.02.2019 um 16:03 schrieb Lonnie Abelbeck:
> Thanks to Jason and the team, a new iOS WG 1.0.3 appeared as an update:
>
> 1.0.3 / Feb 19, 2019
> --
> Performance should be higher and battery usage lower, thanks to a new ARM64 SIMD implementation of ChaCha20
> --
> For reference, the upstream golang crypto commit is here [1] with performance numbers.
>
> So, the question come to mind, do my iOS devices have ARM64 SIMD support, quick answer is if the device is less than 6 years old it should have ARM64 SIMD support.  Added in the A5/A6 CPU's from what I can tell.

A5 and A6 is 32 bit. A7 was the first 64 bit cpu (introduced with Iphone 5s)

Sebastian

>
> Apple-designed processors
> https://en.wikipedia.org/wiki/Apple-designed_processors
>
> Please correct my research if I over-simplified where the new ARM64 SIMD implementation of ChaCha20 is available for iOS WireGuard.
>
> Lonnie
>
> [1] chacha20: add SIMD implementation on arm64
> https://go.googlesource.com/crypto/+/74369b46fc6756741c016591724fd1cb8e26845f
>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iOS WG (1.0.3) - ARM64 SIMD ChaCha20
  2019-02-20 21:01 ` Sebastian Gottschall
@ 2019-02-21 16:03   ` Lonnie Abelbeck
  2019-02-21 17:09     ` Sebastian Gottschall
  0 siblings, 1 reply; 4+ messages in thread
From: Lonnie Abelbeck @ 2019-02-21 16:03 UTC (permalink / raw)
  To: WireGuard mailing list



> On Feb 20, 2019, at 3:01 PM, Sebastian Gottschall <s.gottschall@newmedia-net.de> wrote:
> 
> 
> Am 20.02.2019 um 16:03 schrieb Lonnie Abelbeck:
>> Thanks to Jason and the team, a new iOS WG 1.0.3 appeared as an update:
>> 
>> 1.0.3 / Feb 19, 2019
>> --
>> Performance should be higher and battery usage lower, thanks to a new ARM64 SIMD implementation of ChaCha20
>> --
>> For reference, the upstream golang crypto commit is here [1] with performance numbers.
>> 
>> So, the question come to mind, do my iOS devices have ARM64 SIMD support, quick answer is if the device is less than 6 years old it should have ARM64 SIMD support.  Added in the A5/A6 CPU's from what I can tell.
> 
> A5 and A6 is 32 bit. A7 was the first 64 bit cpu (introduced with Iphone 5s)
> 
> Sebastian

Thanks Sebastian for the info,

It appears if the device can run iOS 12 (required by iOS WG) then it also has ARM64 SIMD support.

Lonnie



>> Apple-designed processors
>> https://en.wikipedia.org/wiki/Apple-designed_processors
>> 
>> [1] chacha20: add SIMD implementation on arm64
>> https://go.googlesource.com/crypto/+/74369b46fc6756741c016591724fd1cb8e26845f

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: iOS WG (1.0.3) - ARM64 SIMD ChaCha20
  2019-02-21 16:03   ` Lonnie Abelbeck
@ 2019-02-21 17:09     ` Sebastian Gottschall
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Gottschall @ 2019-02-21 17:09 UTC (permalink / raw)
  To: wireguard


Am 21.02.2019 um 17:03 schrieb Lonnie Abelbeck:
>
>> On Feb 20, 2019, at 3:01 PM, Sebastian Gottschall <s.gottschall@newmedia-net.de> wrote:
>>
>>
>> Am 20.02.2019 um 16:03 schrieb Lonnie Abelbeck:
>>> Thanks to Jason and the team, a new iOS WG 1.0.3 appeared as an update:
>>>
>>> 1.0.3 / Feb 19, 2019
>>> --
>>> Performance should be higher and battery usage lower, thanks to a new ARM64 SIMD implementation of ChaCha20
>>> --
>>> For reference, the upstream golang crypto commit is here [1] with performance numbers.
>>>
>>> So, the question come to mind, do my iOS devices have ARM64 SIMD support, quick answer is if the device is less than 6 years old it should have ARM64 SIMD support.  Added in the A5/A6 CPU's from what I can tell.
>> A5 and A6 is 32 bit. A7 was the first 64 bit cpu (introduced with Iphone 5s)
>>
>> Sebastian
> Thanks Sebastian for the info,
>
> It appears if the device can run iOS 12 (required by iOS WG) then it also has ARM64 SIMD support.
yes. because all 32 bit systems are unsupported anyway. so there is no 
32 bit wg version available since you cannot submit them to apple since 
a along time
if i remember correct 32 bit support stopped with ios 10.
>
> Lonnie
>
>
>
>>> Apple-designed processors
>>> https://en.wikipedia.org/wiki/Apple-designed_processors
>>>
>>> [1] chacha20: add SIMD implementation on arm64
>>> https://go.googlesource.com/crypto/+/74369b46fc6756741c016591724fd1cb8e26845f
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
>
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-21 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 15:03 iOS WG (1.0.3) - ARM64 SIMD ChaCha20 Lonnie Abelbeck
2019-02-20 21:01 ` Sebastian Gottschall
2019-02-21 16:03   ` Lonnie Abelbeck
2019-02-21 17:09     ` Sebastian Gottschall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).