Skip to content

Commit 9c61872

Browse files
author
tb
committed
Change second argument of x25519_ge_scalarmult_base() from
a 'const uint8_t *a' to a 'const uint8_t a[32]' to match the prototype in curve25519_internal.h and the other variant inside OPENSSL_SMALL. ok millert
1 parent f4d5104 commit 9c61872

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/libcrypto/curve25519/curve25519.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: curve25519.c,v 1.5 2019/05/11 15:55:52 tb Exp $ */
1+
/* $OpenBSD: curve25519.c,v 1.6 2022/02/08 16:44:23 tb Exp $ */
22
/*
33
* Copyright (c) 2015, Google Inc.
44
*
@@ -3513,7 +3513,7 @@ static void table_select(ge_precomp *t, int pos, signed char b) {
35133513
*
35143514
* Preconditions:
35153515
* a[31] <= 127 */
3516-
void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t *a) {
3516+
void x25519_ge_scalarmult_base(ge_p3 *h, const uint8_t a[32]) {
35173517
signed char e[64];
35183518
signed char carry;
35193519
ge_p1p1 r;

0 commit comments

Comments
 (0)