summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2022-11-08 17:01:57 +0000
committerjsing <>2022-11-08 17:01:57 +0000
commitb9365b175ab806c695b4ada3ea43095a8627e0d0 (patch)
tree6739ce861f38c0c480b25c0fba3ce09e81a5030f
parentf580e3b4e1f1f7027f8805ad5bfdfabea329f1cd (diff)
downloadopenbsd-b9365b175ab806c695b4ada3ea43095a8627e0d0.tar.gz
openbsd-b9365b175ab806c695b4ada3ea43095a8627e0d0.tar.bz2
openbsd-b9365b175ab806c695b4ada3ea43095a8627e0d0.zip
Change function argument to reduce differences with BoringSSL.
-rw-r--r--src/lib/libcrypto/curve25519/curve25519.c4
1 files 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 @@
1/* $OpenBSD: curve25519.c,v 1.8 2022/11/08 16:50:29 jsing Exp $ */ 1/* $OpenBSD: curve25519.c,v 1.9 2022/11/08 17:01:57 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2015, Google Inc. 3 * Copyright (c) 2015, Google Inc.
4 * 4 *
@@ -3494,7 +3494,7 @@ static void table_select(ge_precomp *t, int pos, signed char b) {
3494 * 3494 *
3495 * Preconditions: 3495 * Preconditions:
3496 * a[31] <= 127 */ 3496 * a[31] <= 127 */
3497void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t a[32]) { 3497void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t *a) {
3498 signed char e[64]; 3498 signed char e[64];
3499 signed char carry; 3499 signed char carry;
3500 ge_p1p1 r; 3500 ge_p1p1 r;