| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C19/A8/R4.
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C19/A8/R3.
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C19/A8/R2.
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C19/A8/R1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adapt idea.c to the Libgcrypt framework.
Add IDEA to cipher_table and to the build system.
Patents on IDEA have expired:
Europe: EP0482154 on 2011-05-16,
Japan: JP3225440 on 2011-05-16,
U.S.: 5,214,703 on 2012-01-07.
* configure.ac: Add idea to the list of available ciphers.
Define USE_IDEA if idea is enabled.
* cipher/cipher.c (cipher_table): Add entry for IDEA.
* cipher/idea.c: Update comment about patents.
Include proper header files and remove redundant declarations.
(expand_key, cipher, do_setkey, encrypt_block, decrypt_block):
Define function arguments as const where appropriate.
(cipher): Test for !WORDS_BIGENDIAN instead of LITTLE_ENDIAN_HOST.
(do_setkey, decrypt_block): Don't call selftest.
(idea_setkey): New function, wrapper for do_setkey.
(idea_encrypt): New function, wrapper for encrypt_block.
(_gcry_cipher_spec_idea): Define.
* cipher/Makefile.am (EXTRA_libcipher_la_SOURCES): Add idea.c.
* src/cipher.h (_gcry_cipher_spec_idea): Declare.
* tests/basic.c (check_ciphers): Add GCRY_CIPHER_IDEA.
|
|
|
|
|
|
|
| |
* configure.ac: Use AC_CONFIG_HEADERS.
--
GnuPG-bug-id: 1459
|
|
|
|
| |
--
|
|
|
|
| |
--
|
|
|
|
|
|
|
| |
* configure.ac: Set LT version to C19/A8/R0.
--
(This LT version change has been coordinated with master.)
|
|
|
|
|
|
|
|
|
| |
* src/gcrypt.h.in (GCRYPT_VERSION_NUMBER): New.
* configure.ac (VERSION_NUMBER): New ac_subst.
* compat/compat.c (_gcry_compat_identification): Include revision and
timestamp.
* src/global.c (_gcry_vcontrol): Move call to above function ...
(gcry_check_version): .. here.
|
|
|
|
|
| |
* configure.ac: Add all the required m4 magic. Add some autoconf
portability fixes.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac [freebsd]: Do not add /usr/local to CPPFLAGS and
LDFLAGS.
--
Back in ~2000 we introduced a quick hack to make building of Libgcrypt
on FreeBSD easier by always adding -I/usr/local/include and
-L/usr/local/lib . It turned out that this is a bad idea if one wants
to build with library version which is not installed in /usr/local.
|
|
|
|
| |
* configure.ac (git_revision): Use git rev-parse.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Recent versions of Emacs seem to have a not so strict check for local
buffer variables and thus detect our emacs_local_vars subs as improper
local variables. Moving them more to the top of the file helps.
Another solution would have been to use m4 tricks.
|
| |
|
|
|
|
|
| |
Also update libgcrypt.m4 for better user experience when
cross-building.
|
|
|
|
| |
That really boosts the performance of CTR.
|
| |
|
|
|
|
|
|
|
| |
We used to use -fno-strict-aliasing but only if configured in
maintainer-mode. Thus with gcc-4.4 we could run into problems. The
fix is to define a new type with the may_alias attribute and use this
for the casting stuff in do_encrypt_aligned and do_decrypt_aligned.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This first naive use of the new Intel AES-NI instructions boosts the
performance of AES on CPUs supporting this by 3 to 5 times.
Results from running
./benchmark --cipher-repetitions 10 --large-buffers cipher aes
on a
cpu family : 6
model : 37
model name : Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz
stepping : 2
cpu MHz : 3325.494
cache size : 4096 KB
cpu cores : 2
yields this:
ECB/Stream CBC CFB OFB CTR
--------------- --------------- --------------- --------------- ---------------
130ms 110ms 110ms 100ms 110ms 110ms 160ms 150ms 170ms 170ms
40ms 40ms 20ms 30ms 30ms 20ms 70ms 70ms 80ms 80ms
The first line is with runtime switched off AES-NI instructions (don't
set use_aesni in do_setkey), the second with enabled AES-NI. By
fixing the alignment, I hope to squeeze out a little more even with
this naive implementation.
|
|
|
|
| |
Update AUTHORS and NEWS.
|
|
|
|
|
|
| |
This merge went smoothly and didn't need any code written (as opposed to parallel gnupg integration). The checked in code was tested through gnupg with 'gnupg --gen-key (select ECC)'.
This change corresponds to earlier check in gnupg project. This branch, ECC-INTEGRATION-1-5, corresponds to ECC-INTEGRATION-2-1 in gnupg project.
|
| |
|
| |
|
|
|
|
|
| |
Typo fixes.
|
|
|
|
|
| |
Bumped LT version because we need to add an inetrface in the 1.4 branch.
|
|
|
|
|
| |
* configure.ac: Check for -fno-strict-aliasing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to libtool 2.2.6a.
* configure.ac: Invoke AC_CONFIG_MACRO_DIR.
(AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ...
(LT_PREREQ, LT_INIT, LT_LANG): ... these.
* config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4:
Updated to libtool 2.2.6a.
* m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
m4/lt~obsolete.m4: New files from libtool 2.2.6a.
src/
2009-12-08 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (LTRCCOMPILE): Refactor with ...
(RCCOMPILE): ... this new macro. Add $(libgcrypt_la_CPPFLAGS).
(SUFFIXES): Add .lo.
(.rc.o): Change to ...
(.rc.lo): ... this implicit rule.
(gcrypt_res_ldflag): Removed.
(gcrypt_res): Use libtool object file name here.
(libgcrypt_la_LDFLAGS): Remove gcrypt_res_ldflag usage.
(libgcrypt_la_LIBADD): Add gcrypt_res.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Flag _gcry_gettext with format_arg attribute.
|
|
|
|
|
|
| |
Various minor fixes.
Sigbus fixes for AES.
|
| |
|
|
|
|
|
| |
Add an external RNG test hook.
|
| |
|
| |
|
| |
|