Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Benjamin J. Thompson
Tor
Commits
50fbede4
Commit
50fbede4
authored
7 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.2.9' into maint-0.3.0
parents
fea5c8a0
1b9bb2c8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/ticket22895
+3
-0
3 additions, 0 deletions
changes/ticket22895
src/ext/ed25519/donna/curve25519-donna-sse2.h
+0
-7
0 additions, 7 deletions
src/ext/ed25519/donna/curve25519-donna-sse2.h
with
3 additions
and
7 deletions
changes/ticket22895
0 → 100644
+
3
−
0
View file @
50fbede4
o Minor bugfixes (compilation):
- Fix unused variable warnings in donna's Curve25519 SSE2 code.
Fixes bug 22895; bugfix on 0.2.7.2-alpha.
This diff is collapsed.
Click to expand it.
src/ext/ed25519/donna/curve25519-donna-sse2.h
+
0
−
7
View file @
50fbede4
...
...
@@ -29,26 +29,19 @@ typedef packedelem32 packed32bignum25519[5];
typedef
packedelem64
packed64bignum25519
[
10
];
static
const
packedelem32
bot32bitmask
=
{{
0xffffffff
,
0x00000000
,
0xffffffff
,
0x00000000
}};
static
const
packedelem32
top32bitmask
=
{{
0x00000000
,
0xffffffff
,
0x00000000
,
0xffffffff
}};
static
const
packedelem32
top64bitmask
=
{{
0x00000000
,
0x00000000
,
0xffffffff
,
0xffffffff
}};
static
const
packedelem32
bot64bitmask
=
{{
0xffffffff
,
0xffffffff
,
0x00000000
,
0x00000000
}};
/* reduction masks */
static
const
packedelem64
packedmask26
=
{{
0x03ffffff
,
0x03ffffff
}};
static
const
packedelem64
packedmask25
=
{{
0x01ffffff
,
0x01ffffff
}};
static
const
packedelem32
packedmask2625
=
{{
0x3ffffff
,
0
,
0x1ffffff
,
0
}};
static
const
packedelem32
packedmask26262626
=
{{
0x03ffffff
,
0x03ffffff
,
0x03ffffff
,
0x03ffffff
}};
static
const
packedelem32
packedmask25252525
=
{{
0x01ffffff
,
0x01ffffff
,
0x01ffffff
,
0x01ffffff
}};
/* multipliers */
static
const
packedelem64
packednineteen
=
{{
19
,
19
}};
static
const
packedelem64
packednineteenone
=
{{
19
,
1
}};
static
const
packedelem64
packedthirtyeight
=
{{
38
,
38
}};
static
const
packedelem64
packed3819
=
{{
19
*
2
,
19
}};
static
const
packedelem64
packed9638
=
{{
19
*
4
,
19
*
2
}};
/* 121666,121665 */
static
const
packedelem64
packed121666121665
=
{{
121666
,
121665
}};
/* 2*(2^255 - 19) = 0 mod p */
static
const
packedelem32
packed2p0
=
{{
0x7ffffda
,
0x3fffffe
,
0x7fffffe
,
0x3fffffe
}};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment