Commit b64384fd authored by Niels Möller's avatar Niels Möller

Comment updates in asm files.

parent 3eb603d0
...@@ -47,7 +47,7 @@ define(<X3>, <r14>) C lr ...@@ -47,7 +47,7 @@ define(<X3>, <r14>) C lr
C _aes_decrypt(struct aes_context *ctx, C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
.align 2 .align 2
......
...@@ -49,7 +49,7 @@ define(<X3>, <r14>) C lr ...@@ -49,7 +49,7 @@ define(<X3>, <r14>) C lr
C _aes_encrypt(struct aes_context *ctx, C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
.align 2 .align 2
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2013, Niels Möller C Copyright (C) 2013, Niels Möller
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -56,7 +55,7 @@ define(<FRAME_SIZE>, 104) ...@@ -56,7 +55,7 @@ define(<FRAME_SIZE>, 104)
C _aes_decrypt(struct aes_context *ctx, C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.section ".text" .section ".text"
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -61,7 +60,7 @@ define(<FRAME_SIZE>, 104) ...@@ -61,7 +60,7 @@ define(<FRAME_SIZE>, 104)
C _aes_encrypt(struct aes_context *ctx, C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.section ".text" .section ".text"
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -65,7 +64,7 @@ define(<FRAME_SIZE>, 104) ...@@ -65,7 +64,7 @@ define(<FRAME_SIZE>, 104)
.file "arcfour-crypt.asm" .file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx, C arcfour_crypt(struct arcfour_ctx *ctx,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C const uint8_t *src) C const uint8_t *src)
.section ".text" .section ".text"
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192) ...@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192)
C _aes_decrypt(struct aes_context *ctx, C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.section ".text" .section ".text"
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192) ...@@ -62,7 +61,7 @@ define(<FRAME_SIZE>, 192)
C _aes_encrypt(struct aes_context *ctx, C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.section ".text" .section ".text"
......
C -*- mode: asm; asm-comment-char: ?C; -*-
C nettle, low-level cryptographics library C nettle, low-level cryptographics library
C C
C Copyright (C) 2002, 2005 Niels Möller C Copyright (C) 2002, 2005 Niels Möller
...@@ -64,7 +63,7 @@ define(<FRAME_SIZE>, 192) ...@@ -64,7 +63,7 @@ define(<FRAME_SIZE>, 192)
.file "arcfour-crypt.asm" .file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx, C arcfour_crypt(struct arcfour_ctx *ctx,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C const uint8_t *src) C const uint8_t *src)
.section ".text" .section ".text"
......
...@@ -117,7 +117,7 @@ test_salsa20_stream(const struct tstring *key, ...@@ -117,7 +117,7 @@ test_salsa20_stream(const struct tstring *key,
} }
typedef void salsa20_func(struct salsa20_ctx *ctx, typedef void salsa20_func(struct salsa20_ctx *ctx,
unsigned length, uint8_t *dst, size_t length, uint8_t *dst,
const uint8_t *src); const uint8_t *src);
static void static void
_test_salsa20(salsa20_func *crypt, _test_salsa20(salsa20_func *crypt,
......
...@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator. ...@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator.
C _aes_decrypt(struct aes_context *ctx, C _aes_decrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator. ...@@ -57,7 +57,7 @@ C %edi is a temporary, often used as an accumulator.
C _aes_encrypt(struct aes_context *ctx, C _aes_encrypt(struct aes_context *ctx,
C const struct aes_table *T, C const struct aes_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -20,7 +20,7 @@ C MA 02111-1301, USA. ...@@ -20,7 +20,7 @@ C MA 02111-1301, USA.
.file "arcfour-crypt.asm" .file "arcfour-crypt.asm"
C arcfour_crypt(struct arcfour_ctx *ctx, C arcfour_crypt(struct arcfour_ctx *ctx,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C const uint8_t *src) C const uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -138,7 +138,7 @@ define(<FLINV>, < ...@@ -138,7 +138,7 @@ define(<FLINV>, <
C _camellia_crypt(struct camellia_context *ctx, C _camellia_crypt(struct camellia_context *ctx,
C const struct camellia_table *T, C const struct camellia_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -118,7 +118,7 @@ C xorl XREG(TMP), XREG($1) ...@@ -118,7 +118,7 @@ C xorl XREG(TMP), XREG($1)
C _camellia_crypt(struct camellia_context *ctx, C _camellia_crypt(struct camellia_context *ctx,
C const struct camellia_table *T, C const struct camellia_table *T,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C uint8_t *src) C uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -47,7 +47,7 @@ C registers. ...@@ -47,7 +47,7 @@ C registers.
.file "salsa20-crypt.asm" .file "salsa20-crypt.asm"
C salsa20_crypt(struct salsa20_ctx *ctx, unsigned length, C salsa20_crypt(struct salsa20_ctx *ctx, size_t length,
C uint8_t *dst, const uint8_t *src) C uint8_t *dst, const uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -519,7 +519,7 @@ define(<WLTI>, < ...@@ -519,7 +519,7 @@ define(<WLTI>, <
.file "serpent-decrypt.asm" .file "serpent-decrypt.asm"
C serpent_decrypt(struct serpent_context *ctx, C serpent_decrypt(struct serpent_context *ctx,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C const uint8_t *src) C const uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -546,7 +546,7 @@ define(<WLT>, < ...@@ -546,7 +546,7 @@ define(<WLT>, <
.file "serpent-encrypt.asm" .file "serpent-encrypt.asm"
C serpent_encrypt(struct serpent_context *ctx, C serpent_encrypt(struct serpent_context *ctx,
C unsigned length, uint8_t *dst, C size_t length, uint8_t *dst,
C const uint8_t *src) C const uint8_t *src)
.text .text
ALIGN(16) ALIGN(16)
......
...@@ -47,7 +47,7 @@ C aligned. ...@@ -47,7 +47,7 @@ C aligned.
.file "umac-nh-n.asm" .file "umac-nh-n.asm"
C umac_nh_n(uint64_t *out, unsigned n, const uint32_t *key, C umac_nh_n(uint64_t *out, unsigned n, const uint32_t *key,
C unsigned length, const uint8_t *msg) C size_t length, const uint8_t *msg)
.text .text
ALIGN(16) ALIGN(16)
PROLOGUE(_nettle_umac_nh_n) PROLOGUE(_nettle_umac_nh_n)
......
...@@ -34,7 +34,7 @@ C aligned. ...@@ -34,7 +34,7 @@ C aligned.
.file "umac-nh.asm" .file "umac-nh.asm"
C umac_nh(const uint32_t *key, unsigned length, const uint8_t *msg) C umac_nh(const uint32_t *key, size_t length, const uint8_t *msg)
.text .text
ALIGN(16) ALIGN(16)
PROLOGUE(_nettle_umac_nh) PROLOGUE(_nettle_umac_nh)
......
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