From: Niels Möller Date: Thu, 16 Feb 2023 19:14:08 +0000 (+0100) Subject: x86_64: Comment fixes. X-Git-Tag: nettle_3.9_release_20230514~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a68f925b39ba6d43ddb2d3cb5ede389a57bec0f0;p=thirdparty%2Fnettle.git x86_64: Comment fixes. --- 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