Mop up RC4_INDEX.The RC4_INDEX define switches between base pointer indexing and per-bytepointer increment. This supposedly made a huge difference to performanceon x86 at some point, however comp
Mop up RC4_INDEX.The RC4_INDEX define switches between base pointer indexing and per-bytepointer increment. This supposedly made a huge difference to performanceon x86 at some point, however compilers have improved somewhat since then.There is no change (or effectively no change) in generated assembly ona the majority of LLVM platforms and even when there is some change(e.g. aarch64), there is no noticable performance difference.Simplify the (still messy) macros/code and mop up RC4_INDEX.ok tb@
show more ...
cryptlib.h: adjust header guard for upcoming surgeryIt is gross that an internal detail leaked into a public header, but,hey, it's openssl. No hack is too terrible to appear in this library.opens
cryptlib.h: adjust header guard for upcoming surgeryIt is gross that an internal detail leaked into a public header, but,hey, it's openssl. No hack is too terrible to appear in this library.opensslconf.h needs major pruning but the day that happens is not today.ok jsing
Provide and use crypto_arch.h.Provide a per architecture crypto_arch.h - this will be used in a similarmanner to bn_arch.h and will allow for architecture specific #defines andstatic inline funct
Provide and use crypto_arch.h.Provide a per architecture crypto_arch.h - this will be used in a similarmanner to bn_arch.h and will allow for architecture specific #defines andstatic inline functions. Move the HAVE_AES_* and HAVE_RC4_* defines here.ok tb@
Move camellia to primary Makefile.These files are now built on all platforms.
Move aes_core.c to the primary Makefile.This is now built on all platforms.
Move wp_block.c to the primary Makefile.This is now built on all platforms.
Merge aes_cbc.c into aes.c now that aes_cbc.c is used on all platforms.
Remove OPENSSL_UNISTD define
Move rc4.c to primary Makefile.This is now built on all platforms.
Move des sources to primary Makefile.Now that all platforms use a C des implementation, move it to the primaryMakefile.
Consolidate rc4 code.Discussed with tb@
Move bf_enc.c to the primary Makefile.Now that all architectures are using bf_enc.c, it does not make sense tohave it in every Makefile.inc file.
Remove the now empty bn_asm.c.This rather misnamed file (bn_asm.c) previously contained the C code thatwas needed to build libcrypto bignum on platforms that did not haveassembly implementations
Remove the now empty bn_asm.c.This rather misnamed file (bn_asm.c) previously contained the C code thatwas needed to build libcrypto bignum on platforms that did not haveassembly implementations of the functions it contained.
Remove non-visible and unused OPENSSL_wipe_cpu and OPENSSL_atomic_addinterfaces, and remove empty assembly OPENSSL_cpuid_setup routines - thedefault empty C fallback will work as good.ok jsing@
spelling fixes; from paul tagliamontei removed the arithmetics -> arithmetic changes, as i felt theywere not clearly correctok tb
Remove commented out rc5 bits
Remove I386_ONLY define. It was only used to prefer afaster-on-genuine-80386-but-slower-on-80486-onwards innstruction sequence inthe SHA512 code, and had not been enabled in years, if at all.ok t
Remove I386_ONLY define. It was only used to prefer afaster-on-genuine-80386-but-slower-on-80486-onwards innstruction sequence inthe SHA512 code, and had not been enabled in years, if at all.ok tom@ bcook@
Disable ENGINE_load_dynamic (dynamic engine support).We do not build, test or ship any dynamic engines, so we can remove the dynamicengine loader as well. This leaves a stub initialization functio
Disable ENGINE_load_dynamic (dynamic engine support).We do not build, test or ship any dynamic engines, so we can remove the dynamicengine loader as well. This leaves a stub initialization function in its place.ok beck@, reyk@, miod@
Add the Cammelia cipher to libcrypto.There used to be a strong reluctance to provide this cipher in LibreSSL in thepast, because the licence terms under which Cammelia was released by NTT werefre
Add the Cammelia cipher to libcrypto.There used to be a strong reluctance to provide this cipher in LibreSSL in thepast, because the licence terms under which Cammelia was released by NTT werefree-but-not-in-the-corners, by restricting the right to modify the sourcecode, as well retaining the right to enforce their patents against anyonein the future.However, as stated in http://www.ntt.co.jp/news/news06e/0604/060413a.html ,NTT changed its mind and made this code truly free. We only wish there hadbeen more visibility of this, for we could have had enabled Cammeliaearlier (-:Licence change noticed by deraadt@. General agreement from the usual LibreSSLsuspects.Crank libcrypto.so minor version due to the added symbols.
i'm a dumbdumb. fix build.
move all the feature settings to a common header.probably ok beck jsing miod
Make sure we leave OPENSSL_NO_PSK in the conf files so thingscan know...ok jsing@
Correctly enable Montgomery code.
Enable use of the assembly code for BN (Montgomery) and SHA1.
first round of static config. ok miod
12