Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Disable assembler version of SHA512 for now, it produces wrong results. | miod | 2014-05-02 | 2 | -6/+6 | |
| | ||||||
* | Enable use of assembly code for AES, BN (Montgomery), SHA1, SHA256 and SHA512. | miod | 2014-05-01 | 2 | -0/+100 | |
| | | | | RC4 assembler code is not used, as it runs about 35% slower than the C code. | |||||
* | Do not output SOM-specific directives. | miod | 2014-05-01 | 7 | -0/+40 | |
| | ||||||
* | Remove unreferenced OPENSSL_instrument_bus and OPENSSL_instrument_bus2 routines. | miod | 2014-05-01 | 2 | -105/+0 | |
| | ||||||
* | Make the implicit `l' in `impicit' explicit. | miod | 2014-05-01 | 1 | -1/+1 | |
| | ||||||
* | Enable use of the assembly code for BN (Montgomery) and SHA1. | miod | 2014-05-01 | 2 | -0/+80 | |
| | ||||||
* | Fix include filename to get register name aliases under BSD | miod | 2014-05-01 | 3 | -18/+3 | |
| | ||||||
* | Pass -Werror in the !BN_LLONG !BN_UMULT_LOHI !BN_UMULT_HIGH case. | miod | 2014-05-01 | 1 | -4/+4 | |
| | ||||||
* | Enable use of the assembly code for AES, BN, SHA1, SHA256 and SHA512. | miod | 2014-05-01 | 2 | -0/+72 | |
| | ||||||
* | dead meat | miod | 2014-05-01 | 2 | -2528/+0 | |
| | ||||||
* | + e_chacha.c, and bump minor | miod | 2014-05-01 | 3 | -3/+4 | |
| | ||||||
* | Update with recently added objects. | jsing | 2014-05-01 | 1 | -0/+18 | |
| | | | | ok miod@ | |||||
* | Nuke unused evptests.txt - the real one is over in regress. | jsing | 2014-05-01 | 1 | -334/+0 | |
| | | | | ok miod@ | |||||
* | Provide an EVP implementation for ChaCha. | jsing | 2014-05-01 | 6 | -0/+108 | |
| | | | | ok miod@ | |||||
* | Add ChaCha to libcrypto, based on djb's public domain implementation. | jsing | 2014-05-01 | 4 | -1/+320 | |
| | | | | ok deraadt@ | |||||
* | Add support for the french ANSSI FRP256v1 elliptic curve. | miod | 2014-05-01 | 2 | -1/+35 | |
| | | | | | | | | | | While not to be considered a good choice of elliptic curve (refer to http://safecurves.cr.yp.to/ for more details), it is nevertheless deemed a good decision to allow developers with requirements to use such a curve, to be able to do this via a crypto library allowing for much better choices to be made, without having to change (much of) their code to get better crypto. ok beck@ deraadt@ | |||||
* | Add Brainpool elliptic curves. From OpenSSL RT#2239 via ${DAYJOB}. | miod | 2014-05-01 | 2 | -1/+461 | |
| | | | | | Be sure to rerun `make includes' after updating. ok tedu@ beck@ deraadt@ | |||||
* | Remove fips_md_init() macro indirection for digest algorithms, used by the | miod | 2014-05-01 | 9 | -17/+11 | |
| | | | | | | | OpenSSL FIPS module to prevent forbidden digests to be allowed. No functional change but readability. ok deraadt@ | |||||
* | First pass at removing win64 support from the assembly generating Perl | jsing | 2014-04-30 | 8 | -1066/+1 | |
| | | | | | | | scripts. We certainly do not need an identical copy of the win64 exception handler in each script (surely one copy would be sufficient). ok miod@ | |||||
* | Remove WIN32, WIN64 and MINGW32 tentacles. | miod | 2014-04-28 | 14 | -65/+7 | |
| | | | | | | | | Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@ | |||||
* | Leftover includes and local declarations; from Gebruiker Schoot | miod | 2014-04-28 | 1 | -5/+0 | |
| | ||||||
* | typo in comment | miod | 2014-04-27 | 3 | -3/+3 | |
| | ||||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 57 | -1123/+836 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@ | |||||
* | static const char * = "" -> static const char[] = "", to produce shorter code. | miod | 2014-04-27 | 3 | -3/+3 | |
| | | | | No functional change. | |||||
* | Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is to | miod | 2014-04-27 | 5 | -30/+1 | |
| | | | | redefine OPENSSL_EXTERN from `extern' to `extern'. | |||||
* | Put explicit (void) in function declarations and shuffle keywords in some | miod | 2014-04-27 | 16 | -18/+18 | |
| | | | | | declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change. | |||||
* | We do not need a separate file for two compatibility wrapper functions. | jsing | 2014-04-27 | 3 | -71/+20 | |
| | | | | ok miod@ | |||||
* | Fix leak last commit introduced. Spotted by Sebastian Kapfer. | beck | 2014-04-27 | 1 | -0/+1 | |
| | ||||||
* | Replace all use of ERR_add_error_data with ERR_asprintf_error_data. | beck | 2014-04-26 | 34 | -126/+106 | |
| | | | | | | | | This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@ | |||||
* | More KNF. | jsing | 2014-04-26 | 2 | -6/+10 | |
| | ||||||
* | KNF. | jsing | 2014-04-26 | 5 | -424/+414 | |
| | ||||||
* | This is not FreeBSD. | jsing | 2014-04-26 | 1 | -18/+0 | |
| | | | | ok miod@ | |||||
* | Do you really want to build OpenSSL for 16-bit Windows? Well, we don't. | jsing | 2014-04-26 | 1 | -6/+0 | |
| | | | | ok miod@ | |||||
* | KNF. | jsing | 2014-04-25 | 2 | -255/+251 | |
| | ||||||
* | Clean up the remaining TTY related remnants. | jsing | 2014-04-25 | 1 | -41/+8 | |
| | | | | ok miod@ | |||||
* | Use const char *. | jsing | 2014-04-25 | 1 | -1/+1 | |
| | | | | Suggested by miod@ | |||||
* | Try to clean the maze of <openssl/bn.h> defines regarding the BN internals. | miod | 2014-04-24 | 10 | -227/+25 | |
| | | | | | | | | | | | | | | | | | | | | | | | The intent of this change is to only keep support for two kind of architectures: - those with 32-bit int and long, and 64-bit long long, where ``long * long -> long long'' multiplication routines are available. - those with 64-bit int and long, and no 128-bit long long type. This gets rid of the SIXTY_FOUR_BIT_LONG, SIXTY_FOUR_BIT (not the same!), THIRTY_TWO_BIT, SIXTEEN_BIT and EIGHT_BIT defines. After this change, the types and defines are as follows: arch: 64bit 32bit rationale BN_LLONG undefined defined defined if l * l -> ll BN_ULLONG undefined u long long result of BN_LONG * BN_LONG BN_ULONG u long u int native register size BN_LONG long int the same, signed BN_BITS 128 64 size of 2*BN_ULONG in bits BN_BYTES 8 4 size of 2*BN_ULONG in bytes BN_BITS2 64 32 BN_BITS / 2 Tested on various 32-bit and 64-bit OpenBSD systems of various endianness. | |||||
* | unifdef MSDOS | giovanni | 2014-04-24 | 1 | -12/+1 | |
| | | | | ok miod@ | |||||
* | Remove some malloc/strlcpy/strlcat horror. Just use asprintf and avoid an | jsing | 2014-04-24 | 1 | -25/+12 | |
| | | | | | | unchecked malloc at the same time. ok beck@ | |||||
* | add ERR_asprintf_error_data, A tool to be used to get rid of the far too | beck | 2014-04-24 | 2 | -25/+26 | |
| | | | | | | | | | frequent construct of 30 lines of pointer and strlcat insanity followed by an ERR_add_error_data. I will sweep through here like a chubby mongol horde in the next few days pillaging crappy ERR_add_error_data's. Oh and while we're at it fix the nasty vdata function to use something less hard on the eyes. ok jsing@ | |||||
* | You want signals?!? I'll give you signals!!! Oh, and we have termios as | jsing | 2014-04-24 | 1 | -36/+0 | |
| | | | | | | well... ok beck@ | |||||
* | More KNF. | jsing | 2014-04-24 | 2 | -37/+37 | |
| | ||||||
* | repair missing semicolon. from Ian Mcwilliam | tedu | 2014-04-24 | 1 | -1/+1 | |
| | ||||||
* | Unifdef -UPKCS1_CHECK and remove SSL_OP_PKCS1_CHECK_[12], this is leftover | miod | 2014-04-23 | 1 | -3/+0 | |
| | | | | | | | | ``debug'' code from a 15+ years old bugfix and the SSL_OP_PKCS1_CHECK_* constants have had a value of zero since ages. No production code should use them. ok beck@ | |||||
* | ain't nobody got time for hpux | tedu | 2014-04-23 | 1 | -22/+0 | |
| | ||||||
* | fix some variables | tedu | 2014-04-23 | 1 | -2/+1 | |
| | ||||||
* | replace a bunch of hand duped strings with strdup | tedu | 2014-04-23 | 2 | -10/+4 | |
| | ||||||
* | Don't bother generating win64 assembly prologue. | miod | 2014-04-23 | 1 | -26/+2 | |
| | ||||||
* | malloc/memset -> calloc. from peter malone | tedu | 2014-04-23 | 1 | -2/+1 | |
| | ||||||
* | No longer needed during build. Brings a smile on beck@'s face. | miod | 2014-04-23 | 1 | -6/+0 | |
| |