- Feb 09, 2011
-
-
Niels Möller authored
gcm_key *. (gcm_hash): Replaced context argument by a struct gcm_key * and a pointer to the hashing state block. (gcm_auth): Added struct gcm_key * argument. (gcm_encrypt): Likewise. (gcm_decrypt): Likewise. (gcm_digest): Likewise. * gcm.h (struct gcm_key): Moved the key-dependent and message-independent state to its own struct. (struct gcm_ctx): ... and removed it here. (GCM_CTX): New macro. (GCM_SET_KEY): Likewise. (GCM_AUTH): Likewise. (GCM_ENCRYPT): Likewise. (GCM_DECRYPT): Likewise. (GCM_DIGEST): Likewise. (struct gcm_aes_ctx): New struct. Rev: nettle/ChangeLog:1.142 Rev: nettle/gcm.c:1.12 Rev: nettle/gcm.h:1.7
-
- Feb 08, 2011
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.141
-
Niels Möller authored
named h, with array size depending on GCM_TABLE_BITS. Rev: nettle/gcm.h:1.6
-
Niels Möller authored
(gcm_gf_mul): Compile bitwise version only when GCM_TABLE_BITS == 0. Simplified interface with just two arguments pointing to complete blocks. (gcm_gf_shift_4, gcm_gf_shift_8): Renamed table-based functions, from... (gcm_gf_shift_chunk): ... old name. (gcm_gf_mul): Renamed both table-based versions and made the argument types compatible with the bitwise gcm_gf_mul. (gcm_gf_mul_chunk): ... the old name. (gcm_set_key): Initialize the table using adds and shifts only. When GCM_TABLE_BITS > 0, this eliminates the only use of the bitwise multiplication. (gcm_hash): Simplified, now that we have the same interface for gcm_gf_mul, regardless of table size. Rev: nettle/ChangeLog:1.140 Rev: nettle/gcm.c:1.11
-
Niels Möller authored
(gcm_gf_shift_chunk): Fixed bugs for the big endian 64-bit case, e.g., sparc64. For both 4-bit and 8-bit tables. Rev: nettle/ChangeLog:1.139 Rev: nettle/gcm.c:1.10
-
Niels Möller authored
* gcm.h (union gcm_block): New union, used to enforce alignment. Rev: nettle/ChangeLog:1.138 Rev: nettle/gcm.c:1.9 Rev: nettle/gcm.h:1.5
-
- Feb 07, 2011
-
-
Niels Möller authored
tables. Rev: nettle/ChangeLog:1.137 Rev: nettle/gcm.c:1.8
-
Niels Möller authored
Rev: nettle/ChangeLog:1.136
-
Niels Möller authored
(gcm_gf_add): New function, a special case of memxor. Use it for all memxor calls with word-aligned 16 byte blocks. Improves performance to 152 cycles/byte with no tables, 28 cycles per byte with 4-bit tables and 10.5 cycles per byte with 8-bit tables. Rev: nettle/gcm.c:1.7
-
Niels Möller authored
Rev: nettle/ChangeLog:1.135
-
Niels Möller authored
(gcm_gf_mul_chunk): Likewise. (gcm_set_key): Generate 8-bit tables. Rev: nettle/gcm.c:1.6
-
Niels Möller authored
Rev: nettle/ChangeLog:1.134 Rev: nettle/Makefile.in:1.30
-
Niels Möller authored
Rev: nettle/ChangeLog:1.133
-
Niels Möller authored
Rev: nettle/gcm.h:1.4
-
- Feb 06, 2011
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.132
-
Niels Möller authored
(gcmdata): New rule. Rev: nettle/Makefile.in:1.29
-
Niels Möller authored
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. Rev: nettle/gcm.c:1.5
-
Niels Möller authored
Rev: nettle/gcmdata.c:1.1
-
Niels Möller authored
Rev: nettle/ChangeLog:1.131
-
Niels Möller authored
bit here. (gcm_gf_mul): Updated for gcm_rightshift change. Improves gmac performance to 181 cycles/byte. Rev: nettle/gcm.c:1.4
-
Niels Möller authored
Rev: nettle/ChangeLog:1.130
-
Niels Möller authored
specification, but with separate byte and bit loops. Improves gmac performance a bit further, to 227 cycles/byte. Rev: nettle/gcm.c:1.3
-
Niels Möller authored
than byte operations. Improves gmac performance from 830 cycles / byte to (still poor) 268 cycles per byte on intel x86_64. Rev: nettle/gcm.c:1.2
-
- Feb 05, 2011
-
-
Niels Möller authored
Rev: nettle/gcm.h:1.3
-
Niels Möller authored
Rev: nettle/ChangeLog:1.129
-
Niels Möller authored
(main): Call time_gmac. Rev: nettle/examples/nettle-benchmark.c:1.16
-
Niels Möller authored
Rev: nettle/gcm.h:1.2
-
Niels Möller authored
Rev: nettle/testsuite/Makefile.in:1.12
-
Niels Möller authored
Rev: nettle/testsuite/.test-rules.make:1.9
-
Mavrogiannopoulos. Rev: nettle/testsuite/testutils.c:1.12 Rev: nettle/testsuite/testutils.h:1.6
-
Rev: nettle/testsuite/gcm-test.c:1.1
-
Niels Möller authored
(HEADERS): Added gcm.h. Rev: nettle/Makefile.in:1.28
-
* gcm.h: New file. Rev: nettle/gcm.c:1.1 Rev: nettle/gcm.h:1.1
-
Niels Möller authored
argument. * ctr.c: Use INCREMENT macro from macros.h, deleted local version. Rev: nettle/ChangeLog:1.128 Rev: nettle/ctr.c:1.2 Rev: nettle/macros.h:1.3
-
- Jan 07, 2011
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.127
-
Niels Möller authored
where w*ndows looks for dlls. Rev: nettle/testsuite/Makefile.in:1.11
-
Niels Möller authored
Rev: nettle/ChangeLog:1.126
-
Niels Möller authored
Rev: nettle/testsuite/testutils.c:1.11
-
- Dec 14, 2010
-
-
Niels Möller authored
Rev: nettle/ChangeLog:1.125
-
Niels Möller authored
function typedefs. (nettle_realloc_func): Moved typedef here... * realloc.h: ...from here. Rev: nettle/nettle-types.h:1.3 Rev: nettle/realloc.h:1.2
-