From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 770F1C43381 for ; Wed, 20 Feb 2019 15:03:59 +0000 (UTC) Received: from krantz.zx2c4.com (krantz.zx2c4.com [192.95.5.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BD7F320859 for ; Wed, 20 Feb 2019 15:03:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BD7F320859 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lonnie.abelbeck.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=wireguard-bounces@lists.zx2c4.com Received: from krantz.zx2c4.com (localhost [IPv6:::1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 8f7eed3a; Wed, 20 Feb 2019 14:55:05 +0000 (UTC) Received: from krantz.zx2c4.com (localhost [127.0.0.1]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 2a7fd931 for ; Wed, 20 Feb 2019 14:55:03 +0000 (UTC) Received: from ibughas.pair.com (ibughas.pair.com [209.68.5.177]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id e1dc7b4f for ; Wed, 20 Feb 2019 14:55:03 +0000 (UTC) Received: from ibughas.pair.com (localhost [127.0.0.1]) by ibughas.pair.com (Postfix) with ESMTP id 4FB2D1E303F for ; Wed, 20 Feb 2019 10:03:44 -0500 (EST) Received: from [10.4.1.148] (wsip-70-184-211-81.om.om.cox.net [70.184.211.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ibughas.pair.com (Postfix) with ESMTPSA id 288E51E3029 for ; Wed, 20 Feb 2019 10:03:44 -0500 (EST) From: Lonnie Abelbeck Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: iOS WG (1.0.3) - ARM64 SIMD ChaCha20 Message-Id: Date: Wed, 20 Feb 2019 09:03:43 -0600 To: WireGuard mailing list X-Mailer: Apple Mail (2.3445.102.3) X-BeenThere: wireguard@lists.zx2c4.com X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: wireguard-bounces@lists.zx2c4.com Sender: "WireGuard" 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