WireGuard Archive on lore.kernel.org
 help / Atom feed
* ChaCha20Poly1305 is slow on ARM64
@ 2019-01-11  5:26 Edward Vielmetti
  2019-01-11  7:03 ` Jason A. Donenfeld
  0 siblings, 1 reply; 2+ messages in thread
From: Edward Vielmetti @ 2019-01-11  5:26 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 767 bytes --]

There's a note from Jason at
   https://github.com/golang/go/issues/29440
   https://github.com/golang/go/issues/22809
with information about the slow performance of ChaCha20Poly1305
on 64-bit Arm systems using the Go standard libraries.

In an effort to get support to remedy this problem,
it would be super helpful to have access to any
of the following:

- copies of bug reports that reference the slow or
battery inefficient behavior on arm64 devices
- some estimate of the potential benefit of improved
performance, measured in some way that's
easy to understand (% longer battery life?
% faster?)

I'm not in a position to write the better code, but
perhaps I can help get it merged.

thanks

Ed

-- 
Edward Vielmetti +1 734 330 2465
edward.vielmetti@gmail.com

[-- Attachment #1.2: Type: text/html, Size: 1764 bytes --]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">There&#39;s a note from Jason at<div>   <a href="https://github.com/golang/go/issues/29440">https://github.com/golang/go/issues/29440</a></div><div>   <a href="https://github.com/golang/go/issues/22809">https://github.com/golang/go/issues/22809</a></div><div>with information about the slow performance of ChaCha20Poly1305</div><div>on 64-bit Arm systems using the Go standard libraries.</div><div><br></div><div>In an effort to get support to remedy this problem,</div><div>it would be super helpful to have access to any</div><div>of the following:</div><div><br></div><div>- copies of bug reports that reference the slow or</div><div>battery inefficient behavior on arm64 devices</div><div>- some estimate of the potential benefit of improved</div><div>performance, measured in some way that&#39;s</div><div>easy to understand (% longer battery life?</div><div>% faster?)</div><div><br></div><div>I&#39;m not in a position to write the better code, but</div><div>perhaps I can help get it merged.</div><div><br></div><div>thanks</div><div><br></div><div>Ed</div><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><span>Edward Vielmetti <span id="gmail-gc-number-2161" class="gmail-gc-cs-link" title="Call with Google Voice"><span id="gmail-gc-number-2162" class="gmail-gc-cs-link" title="Call with Google Voice"><span id="gmail-gc-number-2163" class="gmail-gc-cs-link" title="Call with Google Voice"><span id="gc-number-2164" class="gc-cs-link" title="Call with Google Voice">+1 734 330 2465</span></span></span></span></span><div><a href="mailto:edward.vielmetti@gmail.com" target="_blank">edward.vielmetti@gmail.com</a></div><div><br></div></div></div></div></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

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

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

* Re: ChaCha20Poly1305 is slow on ARM64
  2019-01-11  5:26 ChaCha20Poly1305 is slow on ARM64 Edward Vielmetti
@ 2019-01-11  7:03 ` Jason A. Donenfeld
  0 siblings, 0 replies; 2+ messages in thread
From: Jason A. Donenfeld @ 2019-01-11  7:03 UTC (permalink / raw)
  To: Edward Vielmetti; +Cc: WireGuard mailing list

I'm at real world crypto right now with Fillipo discussing this stuff
with him. Hopefully that will bear fruit.
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11  5:26 ChaCha20Poly1305 is slow on ARM64 Edward Vielmetti
2019-01-11  7:03 ` Jason A. Donenfeld

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox