From b9365b175ab806c695b4ada3ea43095a8627e0d0 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Tue, 8 Nov 2022 17:01:57 +0000 Subject: Change function argument to reduce differences with BoringSSL. --- src/lib/libcrypto/curve25519/curve25519.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/libcrypto/curve25519/curve25519.c b/src/lib/libcrypto/curve25519/curve25519.c index 7d223d9535..7713b8716c 100644 --- a/src/lib/libcrypto/curve25519/curve25519.c +++ b/src/lib/libcrypto/curve25519/curve25519.c @@ -1,4 +1,4 @@ -/* $OpenBSD: curve25519.c,v 1.8 2022/11/08 16:50:29 jsing Exp $ */ +/* $OpenBSD: curve25519.c,v 1.9 2022/11/08 17:01:57 jsing Exp $ */ /* * Copyright (c) 2015, Google Inc. * @@ -3494,7 +3494,7 @@ static void table_select(ge_precomp *t, int pos, signed char b) { * * Preconditions: * a[31] <= 127 */ -void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t a[32]) { +void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t *a) { signed char e[64]; signed char carry; ge_p1p1 r; -- cgit v1.2.3-55-g6feb