summaryrefslogtreecommitdiff
path: root/x86_64
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2022-02-19 20:45:37 +0100
committerNiels Möller <nisse@lysator.liu.se>2022-02-19 20:45:37 +0100
commitd382fcc07e8fa924b170e0d2660662b107a70f79 (patch)
tree48ebc057207a3aaa850decc3489b34d108a1405c /x86_64
parentd11c4cd94becb91249a654e7a3dcabe60eaca2b1 (diff)
downloadnettle-d382fcc07e8fa924b170e0d2660662b107a70f79.tar.gz
Delete _ghash_digest.
Diffstat (limited to 'x86_64')
-rw-r--r--x86_64/pclmul/ghash-update.asm15
1 files changed, 0 insertions, 15 deletions
diff --git a/x86_64/pclmul/ghash-update.asm b/x86_64/pclmul/ghash-update.asm
index 8a13958a..abb7865d 100644
--- a/x86_64/pclmul/ghash-update.asm
+++ b/x86_64/pclmul/ghash-update.asm
@@ -123,21 +123,6 @@ PROLOGUE(_nettle_ghash_update)
ret
EPILOGUE(_nettle_ghash_update)
- C void _ghash_digest (const union nettle_block16 *state,
- C union nettle_block16 *digest)
- C state in %rdi, digest in %rsi
-PROLOGUE(_nettle_ghash_digest)
- W64_ENTRY(2)
- mov (%rsi), %rax
- mov 8(%rsi), %rdx
- xor (%rdi), %rax
- xor 8(%rdi), %rdx
- mov %rax, (%rsi)
- mov %rdx, 8(%rsi)
- W64_EXIT(2)
- ret
-EPILOGUE(_nettle_ghash_digest)
-
RODATA
C The GCM polynomial is x^{128} + x^7 + x^2 + x + 1,
C but in bit-reversed representation, that is