Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Nettle
nettle
Commits
8760fa60
Commit
8760fa60
authored
Apr 24, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated some memxor comments.
parent
0beeff9c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arm/memxor.asm
arm/memxor.asm
+2
-2
x86_64/memxor.asm
x86_64/memxor.asm
+2
-2
No files found.
arm/memxor.asm
View file @
8760fa60
...
...
@@ -39,7 +39,7 @@ define(<TNC>, <r12>)
.text
.arm
C
memxor
(
uint8_t
*
ds
t
,
const
uint8_t
*
src
,
si
ze_t
n
)
C
memxor
(
void
*
ds
t
,
const
void
*
src
,
si
ze_t
n
)
.align
4
PROLOGUE
(
nettle_memxor
)
cmp
N
,
#
0
...
...
@@ -229,7 +229,7 @@ define(<ATNC>, <r10>)
define
(
<
BCNT
>
,
<
r11
>
)
define
(
<
BTNC
>
,
<
r12
>
)
C
memxor3
(
uint8_t
*
ds
t
,
const
uint8_t
*
a
,
const
uint8_t
*
b
,
si
ze_t
n
)
C
memxor3
(
void
*
ds
t
,
const
void
*
a
,
const
void
*
b
,
si
ze_t
n
)
.align
2
PROLOGUE
(
nettle_memxor3
)
cmp
N
,
#
0
...
...
x86_64/memxor.asm
View file @
8760fa60
...
...
@@ -34,7 +34,7 @@ define(<USE_SSE2>, <no>)
.text
C
memxor
(
uint8_t
*
ds
t
,
const
uint8_t
*
src
,
si
ze_t
n
)
C
memxor
(
void
*
ds
t
,
const
void
*
src
,
si
ze_t
n
)
C
%
rdi
%
rsi
%
rdx
ALIGN
(
16
)
...
...
@@ -45,7 +45,7 @@ PROLOGUE(nettle_memxor)
jmp
.Lmemxor3_entry
EPILOGUE
(
nettle_memxor
)
C
memxor3
(
uint8_t
*
ds
t
,
const
uint8_t
*
a
,
const
uint8_t
*
b
,
si
ze_t
n
)
C
memxor3
(
void
*
ds
t
,
const
void
*
a
,
const
void
*
b
,
si
ze_t
n
)
C
%
rdi
%
rsi
%
rdx
%
rcx
ALIGN
(
16
)
...
...
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