Skip to content
Snippets Groups Projects
Commit 75866f19 authored by Erhan Nergiz's avatar Erhan Nergiz Committed by Thai Duong
Browse files

Removes an unused local variable from x25519 method

Change-Id: I77c4b975bfb9bbf0aa741ad2ad614bfb373e8b38
ORIGINAL_AUTHOR=Erhan Nergiz <anergiz@google.com>

GitOrigin-RevId: 30a05bbcca9835737fbe4bf893fa90089b6f7485
parent 9bc82e13
No related branches found
No related tags found
No related merge requests found
......@@ -754,7 +754,6 @@ public final class Curve25519 {
* Returns the 32-byte shared key (i.e., privateKey·peersPublicValue on the curve).
*/
public static byte[] x25519(byte[] privateKey, byte[] peersPublicValue) {
byte[] publicKey = new byte[32];
long[] x = new long[LIMB_CNT];
long[] z = new long[LIMB_CNT + 1];
long[] zmone = new long[LIMB_CNT];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment