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
d45354d5
Commit
d45354d5
authored
4 years ago
by
David Goulet
Browse files
Options
Downloads
Plain Diff
Merge branch 'tor-gitlab/mr/243' into maint-0.4.5
parents
5a2d01ae
d89974c5
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/bug40210
+5
-0
5 additions, 0 deletions
changes/bug40210
src/ext/keccak-tiny/keccak-tiny.h
+1
-1
1 addition, 1 deletion
src/ext/keccak-tiny/keccak-tiny.h
with
6 additions
and
1 deletion
changes/bug40210
0 → 100644
+
5
−
0
View file @
d45354d5
o Minor features (crypto):
- Fix undefined behavior on our Keccak library. The bug only appears on
platforms with 32-byte CPU cache lines (e.g. armv5tel) and would result
in wrong digests. Fixes bug 40210; bugfix on 0.2.8.1-alpha. Thanks to
Bernhard Übelacker, Arnd Bergmann and weasel for diagnosing this.
This diff is collapsed.
Click to expand it.
src/ext/keccak-tiny/keccak-tiny.h
+
1
−
1
View file @
d45354d5
...
...
@@ -21,7 +21,7 @@ typedef struct keccak_state {
size_t
offset
;
uint8_t
finalized
:
1
;
}
keccak_state
;
}
__attribute__
((
aligned
(
8
)))
keccak_state
;
/* Initialize a Keccak instance suitable for SHA-3 hash functions. */
int
keccak_digest_init
(
keccak_state
*
s
,
size_t
bits
);
...
...
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