Commit 8760fa60 authored by Niels Möller's avatar Niels Möller

Updated some memxor comments.

parent 0beeff9c
...@@ -39,7 +39,7 @@ define(<TNC>, <r12>) ...@@ -39,7 +39,7 @@ define(<TNC>, <r12>)
.text .text
.arm .arm
C memxor(uint8_t *dst, const uint8_t *src, size_t n) C memxor(void *dst, const void *src, size_t n)
.align 4 .align 4
PROLOGUE(nettle_memxor) PROLOGUE(nettle_memxor)
cmp N, #0 cmp N, #0
...@@ -229,7 +229,7 @@ define(<ATNC>, <r10>) ...@@ -229,7 +229,7 @@ define(<ATNC>, <r10>)
define(<BCNT>, <r11>) define(<BCNT>, <r11>)
define(<BTNC>, <r12>) define(<BTNC>, <r12>)
C memxor3(uint8_t *dst, const uint8_t *a, const uint8_t *b, size_t n) C memxor3(void *dst, const void *a, const void *b, size_t n)
.align 2 .align 2
PROLOGUE(nettle_memxor3) PROLOGUE(nettle_memxor3)
cmp N, #0 cmp N, #0
......
...@@ -34,7 +34,7 @@ define(<USE_SSE2>, <no>) ...@@ -34,7 +34,7 @@ define(<USE_SSE2>, <no>)
.text .text
C memxor(uint8_t *dst, const uint8_t *src, size_t n) C memxor(void *dst, const void *src, size_t n)
C %rdi %rsi %rdx C %rdi %rsi %rdx
ALIGN(16) ALIGN(16)
...@@ -45,7 +45,7 @@ PROLOGUE(nettle_memxor) ...@@ -45,7 +45,7 @@ PROLOGUE(nettle_memxor)
jmp .Lmemxor3_entry jmp .Lmemxor3_entry
EPILOGUE(nettle_memxor) EPILOGUE(nettle_memxor)
C memxor3(uint8_t *dst, const uint8_t *a, const uint8_t *b, size_t n) C memxor3(void *dst, const void *a, const void *b, size_t n)
C %rdi %rsi %rdx %rcx C %rdi %rsi %rdx %rcx
ALIGN(16) ALIGN(16)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment