summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2023-02-16 20:14:08 +0100
committerNiels Möller <nisse@lysator.liu.se>2023-02-16 20:14:08 +0100
commita68f925b39ba6d43ddb2d3cb5ede389a57bec0f0 (patch)
treea95494993b03d892585fd58d7ce100bd94225bdf
parent5e2481cf9027fdc2c810ce48083bde27aab9ad37 (diff)
downloadnettle-a68f925b39ba6d43ddb2d3cb5ede389a57bec0f0.tar.gz
x86_64: Comment fixes.
-rw-r--r--x86_64/aesni/cbc-aes128-encrypt.asm5
-rw-r--r--x86_64/aesni/cbc-aes192-encrypt.asm5
-rw-r--r--x86_64/aesni/cbc-aes256-encrypt.asm5
-rw-r--r--x86_64/ecc-secp192r1-modp.asm2
-rw-r--r--x86_64/ecc-secp224r1-modp.asm2
5 files changed, 11 insertions, 8 deletions
diff --git a/x86_64/aesni/cbc-aes128-encrypt.asm b/x86_64/aesni/cbc-aes128-encrypt.asm
index c780b35e..70323e30 100644
--- a/x86_64/aesni/cbc-aes128-encrypt.asm
+++ b/x86_64/aesni/cbc-aes128-encrypt.asm
@@ -54,8 +54,9 @@ define(`BLOCK', `%xmm12')
.file "cbc-aes128-encrypt.asm"
C nettle_cbc_aes128_encrypt(struct cbc_aes128_ctx *ctx,
- C size_t length, uint8_t *dst,
- C const uint8_t *src);
+ C uint8_t *iv,
+ C size_t length, uint8_t *dst,
+ C const uint8_t *src);
.text
ALIGN(16)
diff --git a/x86_64/aesni/cbc-aes192-encrypt.asm b/x86_64/aesni/cbc-aes192-encrypt.asm
index 13825162..b588cff0 100644
--- a/x86_64/aesni/cbc-aes192-encrypt.asm
+++ b/x86_64/aesni/cbc-aes192-encrypt.asm
@@ -56,8 +56,9 @@ define(`BLOCK', `%xmm14')
.file "cbc-aes192-encrypt.asm"
C nettle_cbc_aes192_encrypt(struct cbc_aes192_ctx *ctx,
- C size_t length, uint8_t *dst,
- C const uint8_t *src);
+ C uint8_t *iv,
+ C size_t length, uint8_t *dst,
+ C const uint8_t *src);
.text
ALIGN(16)
diff --git a/x86_64/aesni/cbc-aes256-encrypt.asm b/x86_64/aesni/cbc-aes256-encrypt.asm
index 17428f19..e98042bb 100644
--- a/x86_64/aesni/cbc-aes256-encrypt.asm
+++ b/x86_64/aesni/cbc-aes256-encrypt.asm
@@ -58,8 +58,9 @@ define(`BLOCK', `%xmm15')
.file "cbc-aes256-encrypt.asm"
C nettle_cbc_aes256_encrypt(struct cbc_aes256_ctx *ctx,
- C size_t length, uint8_t *dst,
- C const uint8_t *src);
+ C uint8_t *iv,
+ C size_t length, uint8_t *dst,
+ C const uint8_t *src);
.text
ALIGN(16)
diff --git a/x86_64/ecc-secp192r1-modp.asm b/x86_64/ecc-secp192r1-modp.asm
index fa093609..b93b32c6 100644
--- a/x86_64/ecc-secp192r1-modp.asm
+++ b/x86_64/ecc-secp192r1-modp.asm
@@ -43,7 +43,7 @@ define(`H', `%r9')
define(`C1', `%r10')
define(`C2', `%r11')
- C ecc_secp192r1_modp (const struct ecc_modulo *m, mp_limb_t *rp)
+ C ecc_secp192r1_modp (const struct ecc_modulo *m, mp_limb_t *rp, mp_limb_t *xp)
.text
ALIGN(16)
PROLOGUE(_nettle_ecc_secp192r1_modp)
diff --git a/x86_64/ecc-secp224r1-modp.asm b/x86_64/ecc-secp224r1-modp.asm
index 4a667a87..5cbc1a5d 100644
--- a/x86_64/ecc-secp224r1-modp.asm
+++ b/x86_64/ecc-secp224r1-modp.asm
@@ -45,7 +45,7 @@ define(`F0', `%rsi') C Overlaps RP
define(`F1', `%r10')
define(`F2', `%r11')
- C ecc_secp224r1_modp (const struct ecc_modulo *m, mp_limb_t *rp)
+ C ecc_secp224r1_modp (const struct ecc_modulo *m, mp_limb_t *rp, mp_limb_t *xp)
PROLOGUE(_nettle_ecc_secp224r1_modp)
W64_ENTRY(3, 0)
push RP