summaryrefslogtreecommitdiffstats
path: root/crypto/evp/e_aes.c
AgeCommit message (Collapse)Author
2015-02-09evp/e_aes.c: fix pair of SPARC T4-specific problems:Andy Polyakov
- SIGSEGV/ILL in CCM (RT#3688); - SIGBUS in OCB; Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-02-02Dead code: if 0 removal from crypto/evp and an unused file.Rich Salz
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org>
2015-01-28Harmonise use of EVP_CTRL_GET_TAG/EVP_CTRL_SET_TAG/EVP_CTRL_SET_IVLENMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-28Replace EVP_CTRL_OCB_SET_TAGLEN with EVP_CTRL_SET_TAG for consistency withMatt Caswell
CCM Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-04Remove inconsistency in ARM support.Andy Polyakov
This facilitates "universal" builds, ones that target multiple architectures, e.g. ARMv5 through ARMv7. See commentary in Configure for details. Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2014-12-08remove OPENSSL_FIPSAPIDr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-08remove FIPS module code from crypto/evpDr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-08Added OPENSSL_NO_OCB guardsMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-08Add EVP support for OCB modeMatt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-08-21Fix build when BSAES_ASM is defined but VPAES_ASM is notEmilia Kasper
Reviewed-by: Andy Polyakov <appro@openssl.org>
2014-07-20Engage GHASH for PowerISA 2.0.7.Andy Polyakov
[and split ppccap.c to ppccap.c and ppc_arch.h] Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-07-18RFC 5649 support.Dr. Stephen Henson
Add support for RFC5649 key wrapping with padding. Add RFC5649 tests to evptests.txt Based on PR#3434 contribution by Petr Spacek <pspacek@redhat.com>. EVP support and minor changes added by Stephen Henson. Doxygen comment block updates by Tim Hudson. Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-07-17Make *Final work for key wrap again.Dr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-07-17Sanity check lengths for AES wrap algorithm.Dr. Stephen Henson
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-06-30Fix copy for CCM, GCM and XTS.Dr. Stephen Henson
Internal pointers in CCM, GCM and XTS contexts should either be NULL or set to point to the appropriate key schedule. This needs to be adjusted when copying contexts.
2014-06-29Make EVP_CIPHER_CTX_copy work in GCM mode.ZNV
PR#3272
2014-06-16aesp8-ppc.pl: add CTR mode.Andy Polyakov
2014-06-04evp/e_aes.c: add erroneously omitted break;Andy Polyakov
2014-06-02evp/e_aes.c: populate HWAES_* to remaning modes.Andy Polyakov
Submitted by: Ard Biesheuvel.
2014-06-01Engage POWER8 AES support.Andy Polyakov
2014-06-01Engage ARMv8 AES support.Andy Polyakov
2013-12-18evp/e_[aes|camellia].c: fix typo in CBC subroutine.Andy Polyakov
It worked because it was never called.
2013-12-18PPC assembly pack update addendum.Andy Polyakov
2013-11-27Take vpaes-ppc module into loop.Andy Polyakov
2013-09-15Added support for ARM/NEON based bit sliced AES in XTS modeArd Biesheuvel
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2013-08-05Algorithm parameter support.Dr. Stephen Henson
Check and set AlgorithmIdenfier parameters for key wrap algorithms. Currently these just set parameters to NULL.
2013-08-03crypto/evp/e_aes.c: fix logical pre-processor bug and formatting.Andy Polyakov
Bug would emerge when XTS is added to bsaes-armv7.pl. Pointed out by Ard Biesheuvel of Linaro.
2013-07-17EVP support for wrapping algorithms.Dr. Stephen Henson
Add support for key wrap algorithms via EVP interface. Generalise AES wrap algorithm and add to modes, making existing AES wrap algorithm a special case. Move test code to evptests.txt
2013-04-23bsaes-armv7.pl: add bsaes_cbc_encrypt and bsaes_ctr32_encrypt_blocks.Andy Polyakov
Submitted by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Contributor claims ~50% improvement in CTR and ~9% in CBC decrypt on Cortex-A15.
2013-04-04e_aes.c: reserve for future extensions.Andy Polyakov
2013-03-29Add AES-NI GCM stitch.Andy Polyakov
2012-11-24AES for SPARC T4: add XTS, reorder subroutines to improve TLB locality.Andy Polyakov
2012-10-18fix error codeDr. Stephen Henson
2012-10-16Don't require tag before ciphertext in AESGCM modeDr. Stephen Henson
2012-10-06Add SPARC T4 AES support.Andy Polyakov
Submitted by: David Miller
2012-09-15e_aes.c: uninitialized variable in aes_ccm_init_key.Andy Polyakov
PR: 2874 Submitted by: Tomas Mraz
2011-11-15Configure, e_aes.c: allow for XTS assembler implementation.Andy Polyakov
2011-11-12e_aes.c: additional sanity check in aes_xts_cipher.Andy Polyakov
2011-11-10bsaes-x86_64.pl: add bsaes_xts_[en|de]crypt.Andy Polyakov
2011-11-06e_aes.c: fold aesni_xts_cipher and [most importantly] fix aes_xts_cipher'sAndy Polyakov
return value after custom flag was rightly reverted.
2011-10-30bsaes-x86_64.pl: add CBC decrypt and engage it in e_aes.c.Andy Polyakov
2011-10-24e_aes.c: fold even aesni_ccm_cipher.Andy Polyakov
2011-10-23e_aes.c: prevent potential DoS in aes_gcm_tls_cipher.Andy Polyakov
2011-10-23No need for custom flag in XTS mode: block length is 1.Dr. Stephen Henson
2011-10-18evp/e_aes.c: fold AES-NI modes that heavily rely on indirect callsAndy Polyakov
(trade 2% small-block performance), engage bit-sliced AES in GCM.
2011-10-17Engage bsaes-x86_64.pl, bit-sliced AES.Andy Polyakov
2011-10-14e_aes.c: fix bug in aesni_gcm_tls_cipher.Andy Polyakov
2011-09-15Integrate Vector Permutation AES into build system.Andy Polyakov
2011-09-05Fix error codes.Bodo Möller