summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/aes (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the logic responsible for outputting most AES-NI instructions asmiod2015-07-192-46/+0
| | | | | | | | | raw byte sequences. The toolchains have had some time to update and assemble the instructions correctly (except for p{ins,ext}rd which are not supported yet by as(1) under OpenBSD, but will be fixed shortly). Inspired by a discussion between tedu@ and John-Mark Gurney. Verified to still work on Mac OS X and average Linux distros by bcook@
* Replace `.byte 0x48,0x83,0xEC,0x08' with `sub \$8,%rsp' which is exactly themiod2015-07-191-2/+2
| | | | same four bytes, unobfuscated.
* extenstion -> extensionmiod2015-07-171-1/+1
|
* Remove assert() or OPENSSL_assert() of pointers being non-NULL. The policymiod2015-02-104-17/+5
| | | | | for libraries in OpenBSD is to deliberately let NULL pointers cause a SIGSEGV. ok doug@ jsing@
* Make sure to load absolute symbol address with `dla' instead of `la' whenmiod2014-12-071-4/+10
| | | | generating code for 64-bit mips userland.
* Remove OPENSSL_FIPSCANISTER mentions.miod2014-12-071-4/+0
|
* deregister; no binary changejsg2014-10-281-2/+2
| | | | ok jsing@ miod@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-112-5/+4
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Stop including standard headers via cryptlib.h - pull in the headers thatjsing2014-07-101-1/+3
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* remove unused, private version strings except SSL_version_strbcook2014-07-091-3/+1
| | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@
* Kill more FIPS tentacles by removing the private_AES_set_{enc,dec}rypt_key()miod2014-07-098-84/+60
| | | | | | | | internal interfaces, and promoting them to being the public AES_set_{enc,dec}rypt_key() interfaces. In non-FIPS mode, these public interfaces were directly calling the private ones. ok guenther@ jsing@
* tags as requested by miod and teduderaadt2014-06-1212-12/+12
|
* c-file-style hints, begone; ok beckderaadt2014-06-1111-11/+11
|
* Move the AES wrap test code into regress.jsing2014-05-301-129/+0
|
* Almost nothing actually needs to include <openssl/e_os2.h>, however byjsing2014-05-241-1/+1
| | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
* if (x) free(x) -> free(x); semantic patch generated with coccinelle, carefullymiod2014-05-221-4/+2
| | | | eyeballed before applying. Contributed by Cyril Roelandt on tech@
* Remove AES_bi_ige_encrypt() from libcrypto. This routine is supposed to usemiod2014-05-122-116/+0
| | | | | | | | | | | | | two keys and four IVs to do much magic, is specified as such with test vectors, but the implementation actually always uses the first key, and the test vectors were computed with it, so they are wrong. Fixing the code to match the intended specification would break interoperability with existing code (assuming such code would exist), so it is better to remove this interface, which is obviously too complex for mere mortals if even its author can not implement it correctly. Riding on the libcrypto major bump.
* Do not output SOM-specific directives.miod2014-05-011-0/+6
|
* Remove WIN32, WIN64 and MINGW32 tentacles.miod2014-04-281-4/+1
| | | | | | | | 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@
* unifdef -UAES_LONG for we do not intend to run on platforms where int is smallermiod2014-04-222-8/+0
| | | | than 32 bits.
* When compiling with AES_WRAP_TEST, make main() return a meaningful valuemiod2014-04-221-1/+15
| | | | | instead of garbage, and add this to the libcrypto regress. Note these tests are incomplete, as they always use the default IV.
* Get rid of MS Visual C compiler and Intel C compiler specific defines.miod2014-04-172-11/+3
|
* some KNF cleanup following the scriptderaadt2014-04-171-2/+3
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-4/+4
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* we don't use these files for buildingtedu2014-04-151-120/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-6/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* First pass at applying KNF to the OpenSSL code, which almost makes itjsing2014-04-1511-1970/+1994
| | | | | readable. This pass is whitespace only and can readily be verified using tr and md5.
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-33/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-132-2/+4
|
* This commit was generated by cvs2git to track changes on a CVS vendormiod2014-04-136-76/+126
|\ | | | | branch.
| * Import OpenSSL 1.0.1gmiod2014-04-138-78/+130
| |
* | On amd64 OPENSSL_cpuid_setup and OPENSSL_ia32cap_P are now hidden so we don'tkettenis2012-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | have to go through the PLT/GOT to get at them anymore. In fact going through the GOT now fails since we no longer have a GOT entry for OPENSSL_ia32cap_P. Fixes the problem spotted by jasper@ and sthen@. Based on a diff from mikeb@ who did most of the actual work of tracking down the issue. ok millert@, mikeb@
* | resolve conflictsdjm2012-10-136-232/+2343
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-131-4/+25
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.1cdjm2012-10-131-4/+25
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-1311-252/+12671
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.1cdjm2012-10-1317-484/+15014
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-032-205/+204
|\| | | | | | | | branch.
| * | import OpenSSL 1.0.0edjm2011-11-032-205/+204
| | |
* | | resolve conflicts, fix local changesdjm2010-10-019-1008/+2163
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-015-525/+1775
|\| | | | | | | | branch.
| * | import OpenSSL-1.0.0adjm2010-10-0112-1428/+3936
| | |
| * | This commit was manufactured by cvs2git to create branch 'unlabeled-1.1.1'.cvs2svn2010-07-011-0/+992
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-23/+24
|\ \ \ | | |/ | |/| branch.
| * | import OpenSSL-1.0.0adjm2010-10-011-23/+24
| | |
* | | AES-NI engine support for OpenSSL.thib2010-07-011-0/+992
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is code mostly picked up from upstream OpenSSL, or to be more exact a diff from David Woodhouse <dwmw2 at infradead dot org>. Remember to make includes before doing a build! no objections from djm@ OK deraadt@, reyk@ (AES is about 4.25x faster on his x201 now)
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-04-065-0/+5783
|\ \ \ | | |/ | |/| branch.
| * | import of OpenSSL 0.9.8kdjm2009-04-065-0/+5783
| | |
* | | resolve conflictsdjm2009-01-094-1/+16
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-3/+4
|\| | | | | | | | branch.