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
b64384fd
Commit
b64384fd
authored
Apr 26, 2013
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment updates in asm files.
parent
3eb603d0
Changes
20
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
19 additions
and
26 deletions
+19
-26
arm/aes-decrypt-internal.asm
arm/aes-decrypt-internal.asm
+1
-1
arm/aes-encrypt-internal.asm
arm/aes-encrypt-internal.asm
+1
-1
arm/memxor.asm
arm/memxor.asm
+0
-1
sparc32/aes-decrypt-internal.asm
sparc32/aes-decrypt-internal.asm
+1
-2
sparc32/aes-encrypt-internal.asm
sparc32/aes-encrypt-internal.asm
+1
-2
sparc32/arcfour-crypt.asm
sparc32/arcfour-crypt.asm
+1
-2
sparc64/aes-decrypt-internal.asm
sparc64/aes-decrypt-internal.asm
+1
-2
sparc64/aes-encrypt-internal.asm
sparc64/aes-encrypt-internal.asm
+1
-2
sparc64/arcfour-crypt.asm
sparc64/arcfour-crypt.asm
+1
-2
testsuite/salsa20-test.c
testsuite/salsa20-test.c
+1
-1
x86/aes-decrypt-internal.asm
x86/aes-decrypt-internal.asm
+1
-1
x86/aes-encrypt-internal.asm
x86/aes-encrypt-internal.asm
+1
-1
x86/arcfour-crypt.asm
x86/arcfour-crypt.asm
+1
-1
x86/camellia-crypt-internal.asm
x86/camellia-crypt-internal.asm
+1
-1
x86_64/camellia-crypt-internal.asm
x86_64/camellia-crypt-internal.asm
+1
-1
x86_64/salsa20-crypt.asm
x86_64/salsa20-crypt.asm
+1
-1
x86_64/serpent-decrypt.asm
x86_64/serpent-decrypt.asm
+1
-1
x86_64/serpent-encrypt.asm
x86_64/serpent-encrypt.asm
+1
-1
x86_64/umac-nh-n.asm
x86_64/umac-nh-n.asm
+1
-1
x86_64/umac-nh.asm
x86_64/umac-nh.asm
+1
-1
No files found.
arm/aes-decrypt-internal.asm
View file @
b64384fd
...
...
@@ -47,7 +47,7 @@ define(<X3>, <r14>) C lr
C
_aes_decrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
.align
2
...
...
arm/aes-encrypt-internal.asm
View file @
b64384fd
...
...
@@ -49,7 +49,7 @@ define(<X3>, <r14>) C lr
C
_aes_encrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
.align
2
...
...
arm/memxor.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2013
,
Niels
M
ö
ller
...
...
sparc32/aes-decrypt-internal.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -56,7 +55,7 @@ define(<FRAME_SIZE>, 104)
C
_aes_decrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.section
".text"
...
...
sparc32/aes-encrypt-internal.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -61,7 +60,7 @@ define(<FRAME_SIZE>, 104)
C
_aes_encrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.section
".text"
...
...
sparc32/arcfour-crypt.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -65,7 +64,7 @@ define(<FRAME_SIZE>, 104)
.file
"arcfour-crypt.asm"
C
arcfour_crypt
(
struct
arcfour_ctx
*
ctx
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
const
uint8_t
*
src
)
.section
".text"
...
...
sparc64/aes-decrypt-internal.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192)
C
_aes_decrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.section
".text"
...
...
sparc64/aes-encrypt-internal.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192)
C
_aes_encrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.section
".text"
...
...
sparc64/arcfour-crypt.asm
View file @
b64384fd
C
-*-
mode
:
asm
; asm-comment-char: ?C; -*-
C
nettle
,
low
-
level
cryptographics
library
C
C
Copyright
(
C
)
2002
,
2005
Niels
M
ö
ller
...
...
@@ -64,7 +63,7 @@ define(<FRAME_SIZE>, 192)
.file
"arcfour-crypt.asm"
C
arcfour_crypt
(
struct
arcfour_ctx
*
ctx
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
const
uint8_t
*
src
)
.section
".text"
...
...
testsuite/salsa20-test.c
View file @
b64384fd
...
...
@@ -117,7 +117,7 @@ test_salsa20_stream(const struct tstring *key,
}
typedef
void
salsa20_func
(
struct
salsa20_ctx
*
ctx
,
unsigned
length
,
uint8_t
*
dst
,
size_t
length
,
uint8_t
*
dst
,
const
uint8_t
*
src
);
static
void
_test_salsa20
(
salsa20_func
*
crypt
,
...
...
x86/aes-decrypt-internal.asm
View file @
b64384fd
...
...
@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator.
C
_aes_decrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86/aes-encrypt-internal.asm
View file @
b64384fd
...
...
@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator.
C
_aes_encrypt
(
struct
aes_context
*
ctx
,
C
const
struct
aes_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86/arcfour-crypt.asm
View file @
b64384fd
...
...
@@ -20,7 +20,7 @@ C MA 02111-1301, USA.
.file
"arcfour-crypt.asm"
C
arcfour_crypt
(
struct
arcfour_ctx
*
ctx
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
const
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86/camellia-crypt-internal.asm
View file @
b64384fd
...
...
@@ -138,7 +138,7 @@ define(<FLINV>, <
C
_camellia_crypt
(
struct
camellia_context
*
ctx
,
C
const
struct
camellia_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86_64/camellia-crypt-internal.asm
View file @
b64384fd
...
...
@@ -118,7 +118,7 @@ C xorl XREG(TMP), XREG($1)
C
_camellia_crypt
(
struct
camellia_context
*
ctx
,
C
const
struct
camellia_table
*
T
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86_64/salsa20-crypt.asm
View file @
b64384fd
...
...
@@ -47,7 +47,7 @@ C registers.
.file
"salsa20-crypt.asm"
C
salsa20_crypt
(
struct
salsa20_ctx
*
ctx
,
unsigned
length
,
C
salsa20_crypt
(
struct
salsa20_ctx
*
ctx
,
si
ze_t
length
,
C
uint8_t
*
ds
t
,
const
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86_64/serpent-decrypt.asm
View file @
b64384fd
...
...
@@ -519,7 +519,7 @@ define(<WLTI>, <
.file
"
serpent
-
decrypt.asm
"
C
serpent_decrypt
(
struct
serpent_context
*
ctx
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
const
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86_64/serpent-encrypt.asm
View file @
b64384fd
...
...
@@ -546,7 +546,7 @@ define(<WLT>, <
.file
"
serpent
-
encrypt.asm
"
C
serpent_encrypt
(
struct
serpent_context
*
ctx
,
C
unsigned
length
,
uint8_t
*
ds
t
,
C
si
ze_t
length
,
uint8_t
*
ds
t
,
C
const
uint8_t
*
src
)
.text
ALIGN
(
16
)
...
...
x86_64/umac-nh-n.asm
View file @
b64384fd
...
...
@@ -47,7 +47,7 @@ C aligned.
.file
"
umac
-
nh
-
n.asm
"
C
umac_nh_n
(
uint64_t
*
out
,
unsigned
n
,
const
uint32_t
*
key
,
C
unsigned
length
,
const
uint8_t
*
msg
)
C
si
ze_t
length
,
const
uint8_t
*
msg
)
.text
ALIGN
(
16
)
PROLOGUE
(
_nettle_umac_nh_n
)
...
...
x86_64/umac-nh.asm
View file @
b64384fd
...
...
@@ -34,7 +34,7 @@ C aligned.
.file
"
umac
-
nh.asm
"
C
umac_nh
(
const
uint32_t
*
key
,
unsigned
length
,
const
uint8_t
*
msg
)
C
umac_nh
(
const
uint32_t
*
key
,
si
ze_t
length
,
const
uint8_t
*
msg
)
.text
ALIGN
(
16
)
PROLOGUE
(
_nettle_umac_nh
)
...
...
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