Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
orbea
Tor
Commits
47176eb6
Commit
47176eb6
authored
6 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge branch 'maint-0.3.5'
parents
27853938
98736cf3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/ticket28838
+8
-0
8 additions, 0 deletions
changes/ticket28838
src/lib/crypt_ops/crypto_curve25519.c
+1
-1
1 addition, 1 deletion
src/lib/crypt_ops/crypto_curve25519.c
with
9 additions
and
1 deletion
changes/ticket28838
0 → 100644
+
8
−
0
View file @
47176eb6
o Minor features (performance):
- Remove about 96% of the work from the function that we run at
startup to test our curve25519_basepoint implementation. Since
this function has yet to find an actual failure, we'll only
run it for 8 iterations instead of 200. Based on our profile
information, this change should save around 8% of our startup
time on typical desktops, and may have a similar effect on
other platforms. Closes ticket 28838.
This diff is collapsed.
Click to expand it.
src/lib/crypt_ops/crypto_curve25519.c
+
1
−
1
View file @
47176eb6
...
...
@@ -289,7 +289,7 @@ curve25519_basepoint_spot_check(void)
0x0d
,
0xbf
,
0x3a
,
0x0d
,
0x26
,
0x38
,
0x1a
,
0xf4
,
0xeb
,
0xa4
,
0xa9
,
0x8e
,
0xaa
,
0x9b
,
0x4e
,
0x6a
};
const
int
loop_max
=
200
;
const
int
loop_max
=
8
;
int
save_use_ed
=
curve25519_use_ed
;
unsigned
char
e1
[
32
],
e2
[
32
];
unsigned
char
x
[
32
],
y
[
32
];
...
...
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