projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ea8ae5
)
Make k25519Precomp const
author
Kurt Roeckx
<kurt@roeckx.be>
Wed, 2 Mar 2016 12:29:49 +0000
(13:29 +0100)
committer
Kurt Roeckx
<kurt@roeckx.be>
Wed, 2 Mar 2016 12:39:25 +0000
(13:39 +0100)
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
MR: #2184
crypto/ec/curve25519.c
patch
|
blob
|
history
diff --git
a/crypto/ec/curve25519.c
b/crypto/ec/curve25519.c
index 7bd953ceade8bad330916c58d33dfc3329109805..d51632c2c33bf99d8dd0221860b3728a5cc40269 100644
(file)
--- a/
crypto/ec/curve25519.c
+++ b/
crypto/ec/curve25519.c
@@
-1193,7
+1193,7
@@
static void ge_scalarmult_base(ge_p3 *h, const uint8_t a[32]) {
#else
/* k25519Precomp[i][j] = (j+1)*256^i*B */
-static ge_precomp k25519Precomp[32][8] = {
+static
const
ge_precomp k25519Precomp[32][8] = {
{
{
{25967493, -14356035, 29566456, 3660896, -12694345, 4014787,