Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nettle
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
5
Merge Requests
5
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Nettle
nettle
Commits
fce23774
Commit
fce23774
authored
Apr 29, 2015
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix syntax error in ARM offset addressing. Spotted by Jukka Ukkonen.
parent
a434246b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ChangeLog
ChangeLog
+2
-0
arm/v6/sha256-compress.asm
arm/v6/sha256-compress.asm
+2
-2
No files found.
ChangeLog
View file @
fce23774
2015-04-29 Niels Möller <nisse@lysator.liu.se>
* arm/v6/sha256-compress.asm: Fix syntax error in offset
addressing. Spotted by Jukka Ukkonen.
* arm/v6/aes-decrypt-internal.asm: Drop %-prefix on r12 register.
* arm/v6/aes-encrypt-internal.asm: Likewise.
...
...
arm/v6/sha256-compress.asm
View file @
fce23774
...
...
@@ -126,7 +126,7 @@ define(<NOEXPN>, <
PROLOGUE
(
_nettle_sha256_compress
)
push
{
r4
,
r5
,
r6
,
r7
,
r8
,
r10
,
r11
,
r14
}
sub
sp
,
sp
,
#
68
str
STATE
,
[
sp
,
+
#
64
]
str
STATE
,
[
sp
,
#
+
64
]
C
Load
data
up
front
,
si
nce
we
don
'
t
have
enough
registers
C
to
load
and
shift
on
-
the
-
fly
...
...
@@ -199,7 +199,7 @@ PROLOGUE(_nettle_sha256_compress)
EXPN
(
15
)
ROUND
(
SB
,
SC
,
SD
,
SE
,
SF
,
SG
,
SH
,
SA
)
bne
.Loop2
ldr
STATE
,
[
sp
,
+
#
64
]
ldr
STATE
,
[
sp
,
#
+
64
]
C
No
longer
needed
registers
ldm
STATE
,
{
r1
,
r2
,
r12
,
r14
}
add
SA
,
SA
,
r1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment