summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2011-02-06 22:03:48 +0100
committerNiels Möller <nisse@lysator.liu.se>2011-02-06 22:03:48 +0100
commit69fbc78344f2be6ecbc47ff7507976c9f18a4db8 (patch)
tree26a964923cbe580f9c3cf2b29e407035cbcda2aa
parent24df45cba5cfb620c02b9320f085da2169f829ba (diff)
downloadnettle-69fbc78344f2be6ecbc47ff7507976c9f18a4db8.tar.gz
*** empty log message ***
Rev: nettle/ChangeLog:1.132
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index de8fe88e..93d2254c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,24 @@
2011-02-06 Niels Möller <nisse@lysator.liu.se>
+ * Makefile.in (TARGETS): Added gcmdata.
+ (gcmdata): New rule.
+
+ Introduced 4-bit tables. Gives gmac performance of 45 cycles per
+ byte (still on intel x86_64).
+ * gcm.c (gcm_gf_shift): Renamed. Tweaked little-endian masks.
+ (gcm_rightshift): ... old name.
+ (gcm_gf_mul): New argument for the output. Added length argument
+ for one of the inputs (implicitly padding with zeros).
+ (shift_table): New table (in 4-bit and 8-bit versions), generated
+ by gcmdata.
+ (gcm_gf_shift_chunk): New function shifting 4 bits at
+ a time.
+ (gcm_gf_mul_chunk): New function processing 4 bits at a time.
+ (gcm_set_key): Generation of 4-bit key table.
+ (gcm_hash): Use tables, when available.
+
+ * gcmdata.c (main): New file.
+
* gcm.c (gcm_rightshift): Moved the reduction of the shifted out
bit here.
(gcm_gf_mul): Updated for gcm_rightshift change. Improves gmac