summaryrefslogtreecommitdiffstats
path: root/crypto/aes
AgeCommit message (Collapse)Author
2015-12-18Remove the "eay" c-file-style indicatorsRichard Levitte
Since we don't use the eay style any more, there's no point tryint to tell emacs to use it. Reviewed-by: Ben Laurie <ben@openssl.org>
2015-10-23Fix typosAlessandro Ghedini
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (cherry picked from commit d900a015b5a89ea2018e6122dd2738925e4d68ab)
2015-09-15RT4044: Remove .cvsignore files.Rich Salz
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 3be39dc1e3378d79531e385a72051c4dc5c6b34d)
2015-07-14Conversion to UTF-8 where neededRichard Levitte
This leaves behind files with names ending with '.iso-8859-1'. These should be safe to remove. If something went wrong when re-encoding, there will be some files with names ending with '.utf8' left behind. Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-05-23Fix the update target and remove duplicate file updatesRichard Levitte
We had updates of certain header files in both Makefile.org and the Makefile in the directory the header file lived in. This is error prone and also sometimes generates slightly different results (usually just a comment that differs) depending on which way the update was done. This removes the file update targets from the top level Makefile, adds an update: target in all Makefiles and has it depend on the depend: or local_depend: targets, whichever is appropriate, so we don't get a double run through the whole file tree. Reviewed-by: Rich Salz <rsalz@openssl.org> (cherry picked from commit 0f539dc1a2f45580435c39dada44dd276e79cb88) Conflicts: Makefile.org apps/Makefile test/Makefile
2015-03-13Fix undefined behaviour in shifts.Emilia Kasper
Td4 and Te4 are arrays of u8. A u8 << int promotes the u8 to an int first then shifts. If the mathematical result of a shift (as modelled by lhs * 2^{rhs}) is not representable in an integer, behaviour is undefined. In other words, you can't shift into the sign bit of a signed integer. Fix this by casting to u32 whenever we're shifting left by 24. (For consistency, cast other shifts, too.) Caught by -fsanitize=shift Submitted by Nick Lewycky (Google) Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 8b37e5c14f0eddb10c7f91ef91004622d90ef361)
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Manually reformat aes_x86core.c and add it to the list of files skipped byMatt Caswell
openssl-format-source Conflicts: crypto/aes/aes_x86core.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Manually reformat aes_core.cMatt Caswell
Add aes_core.c to the list of files not processed by openssl-format-source Conflicts: crypto/aes/aes_core.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-07Fix irix-cc build.Andy Polyakov
Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit e464403d0bda2f1f74eb68582e4988e591c32433)
2014-10-15aesni-x86_64.pl: make ECB subroutine Windows ABI compliant.Andy Polyakov
RT: 3553 Reviewed-by: Emilia Kasper <emilia@openssl.org> (cherry picked from commit 69d5747f90136aa026a96204f26ab39549dfc69b)
2014-04-06vpaes-x86_64.pl: fix typo, which for some reason triggers rkhunter.Andy Polyakov
(cherry picked from commit 6eebcf345933694e08aba400faf6f639fb4db196)
2014-01-06make updateDr. Stephen Henson
2013-12-08make updateDr. Stephen Henson
2013-10-12aes/asm/bsaes-x86_64.pl: update from master.Andy Polyakov
Performance improvement and Windows-specific bugfix (PR#3139). (cherry picked from commit 9ed6fba2b4685ced2340feff03da5a12ed14b003)
2013-06-30PA-RISC assembler pack: switch to bve in 64-bit builds.Andy Polyakov
PR: 3074 (cherry picked from commit 02450ec69dda7815ba1e7bd74eb30f0ae1eb3042)
2013-01-22x86_64 assembly pack: make Windows build more robust [from master].Andy Polyakov
PR: 2963 and a number of others
2012-12-05aes-s390x.pl: fix XTS bugs in z196-specific code path [from HEAD].Andy Polyakov
2012-12-01aes-s389x.pl: harmonize software-only code path [from HEAD].Andy Polyakov
2012-08-17aes-mips.pl: harmonize with fips module.Andy Polyakov
PR: 2863 Submitted by: Duane Sand
2012-06-27x86_64 assembly pack: make it possible to compile with Perl locatedAndy Polyakov
on path with spaces [from HEAD]. PR: 2835
2012-06-09Revert "version skew" patches that break FIPS compilation.Dr. Stephen Henson
2012-06-08Reduce version skew.Ben Laurie
2012-04-09aes-s390x.pl: fix crash in AES_set_decrypt_key in linux32-s390x build [from ↵Andy Polyakov
HEAD].
2012-04-05aes-armv4.pl: make it more foolproof [inspired by aes-s390x.pl in 1.0.1].Andy Polyakov
2012-04-05aes-s390x.pl: fix endless loop in linux32-s390x build.Andy Polyakov
2012-03-31vpaes-x86[_64].pl: handle zero length in vpaes_cbc_encrypt [from HEAD].Andy Polyakov
PR: 2775
2012-03-16bsaes-x86_64.pl: optimize key conversion [from HEAD].Andy Polyakov
2012-01-11aes-sparcv9.pl: clean up regexp [from HEAD].Andy Polyakov
PR: 2685
2011-12-15vpaes-x86.pl: revert previous commit and solve the problem through ↵Andy Polyakov
x86masm.pl [from HEAD]. PR: 2657
2011-12-14vpaes-x86.pl: portability fix.Andy Polyakov
PR: 2657
2011-11-16bsaes-x86_64.pl: fix buffer overrun in tail processing [from HEAD].Andy Polyakov
2011-11-15aes-armv4.pl: make it link.Andy Polyakov
2011-11-15aes-s390x.pl: make it link.Andy Polyakov
2011-11-14x86 assembler pack update from HEAD.Andy Polyakov
2011-11-14x86_64 assembler pack update from HEAD.Andy Polyakov
2011-11-14ARM assembler pack update from HEAD.Andy Polyakov
2011-11-14MIPS assembler pack update from HEAD.Andy Polyakov
2011-11-14PPC assembler pack update from HEAD.Andy Polyakov
2011-11-14PA-RISC assembler pack update from HEAD.Andy Polyakov
2011-11-14s390x assembler pack update from HEAD.Andy Polyakov
2011-11-14Mafiles updates to accomodate assembler update from HEAD.Andy Polyakov
2011-10-14aesni-x86[_64].pl: pull from HEAD.Andy Polyakov
2011-08-23Add RC4-MD5 and AESNI-SHA1 "stitched" implementations [from HEAD].Andy Polyakov
2011-08-14Remove hard coded ecdsaWithSHA1 hack in ssl routines and check for RSADr. Stephen Henson
using OBJ xref utilities instead of string comparison with OID name. This removes the arbitrary restriction on using SHA1 only with some ECC ciphersuites.
2011-07-01Fix assembly language function renaming so it works on WIN64.Dr. Stephen Henson
2011-06-28AES-NI backport from HEAD. Note that e_aes.c doesn't implement all modesAndy Polyakov
from HEAD yet, more will be back-ported later.
2011-06-21Rename all AES_set*() functions using private_ prefix.Dr. Stephen Henson
2011-06-05FIPS low level blocking for AES, RC4 and Camellia. This is complicated byDr. Stephen Henson
use of assembly language routines: rename the assembly language function to the private_* variant unconditionally and perform tests from a small C wrapper.