Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove HMAC_CTX_{init,cleanup}() and HMAC_init from public visibility | tb | 2022-01-14 | 2 | -6/+5 |
| | | | | | | | | | | | | | | | | In OpenSSL commit 32fd54a9a3 HMAC_CTX_cleanup() was integrated into HMAC_CTX_init(), then HMAC_CTX_init() was renamed to HMAC_CTX_reset() in dc0099e1. LibreSSL retained them for API compatibility with OpenSSL 1.0. Not many things use them anymore. In fact, some projects that didn't want to modify their code for OpenSSL 1.1 API compatibility used the removed functions to wrap the OpenSSL 1.1 API. We had to patch some of these and this will now no longer be necessary. Also remove HMAC_cleanup(). Nothing uses this. ok inoguchi jsing | ||||
* | Make structs in evp.h and hmac.h opaque | tb | 2022-01-14 | 2 | -12/+11 |
| | | | | | | This moves most structs to evp_locl.h and moves HMAC_CTX to hmac_local.h. ok inoguchi jsing | ||||
* | Annotate the structs that will be moved to hmac_local.h and evp_locl.h | tb | 2021-12-12 | 1 | -4/+5 |
| | | | | | | | | | | | | in an upcoming bump. This omits EVP_AEAD_CTX which will be dealt with separately. EVP_CIPHER_INFO internals are still publicly visible in OpenSSL, so it won't be moved. Move typedefs for HMAC_CTX and EVP_ENCODE_CTX to ossl_typ.h. These typedefs will be visible by files including only hmac.h or evp.h since hmac.h includes evp.h and evp.h includes ossl_typ.h. ok inoguchi | ||||
* | Include evp_locl.h where it will be needed once most structs from | tb | 2021-12-12 | 2 | -2/+4 |
| | | | | | | evp.h will be moved to evp_locl.h in an upcoming bump. ok inoguchi | ||||
* | Add a mostly empty hmac_local.h. HMAC_CTX and a few other things | tb | 2021-12-12 | 4 | -3/+79 |
| | | | | | | | from hmac.h will be moved there in an umpcoming bump. Include this file where it will be needed. ok inoguchi | ||||
* | Provide HMAC_CTX_new(), HMAC_CTX_free(), HMAC_CTX_reset() and | jsing | 2018-02-17 | 2 | -11/+52 |
| | | | | HMAC_CTX_get_md(). | ||||
* | use freezero() instead of memset/explicit_bzero + free. Substantially | deraadt | 2017-05-02 | 1 | -7/+2 |
| | | | | | | | | | | reduces conditional logic (-218, +82). MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH cache alignment calculation bn/bn_exp.c wasn'tt quite right. Two other tricky bits with ASN1_STRING_FLAG_NDEF and BN_FLG_STATIC_DATA where the condition cannot be collapsed completely. Passes regress. ok beck | ||||
* | Ensure MD and key initialized before processing HMAC | inoguchi | 2017-03-03 | 1 | -4/+18 |
| | | | | | | | | Ensure both MD and key have been initialized before processing HMAC. Releasing HMAC_CTX in error path of HMAC(). In regress test, added test 4,5,6 and cleaned up the code. ok jsing@ | ||||
* | Send the function codes from the error functions to the bit bucket, | beck | 2017-01-29 | 1 | -4/+3 |
| | | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@ | ||||
* | Correct spelling of OPENSSL_cleanse. | jsing | 2015-09-10 | 2 | -4/+4 |
| | | | | ok miod@ | ||||
* | Various memory leaks upon error or unchecked allocations. | miod | 2015-07-20 | 1 | -4/+13 |
| | | | | ok doug@ | ||||
* | Replace assert() and OPENSSL_assert() calls with proper error return paths. | miod | 2015-02-10 | 1 | -4/+11 |
| | | | | Careful review, feedback & ok doug@ jsing@ | ||||
* | Only import cryptlib.h in the four source files that actually need it. | jsing | 2014-07-11 | 3 | -8/+9 |
| | | | | | | | | 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 that | jsing | 2014-07-10 | 2 | -2/+6 |
| | | | | | | are needed in the source files that actually require them. ok beck@ miod@ | ||||
* | More KNF. | jsing | 2014-06-21 | 4 | -42/+39 |
| | |||||
* | KNF | miod | 2014-06-21 | 3 | -178/+186 |
| | |||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 4 | -2/+4 |
| | |||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 2 | -50/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 2 | -5/+5 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | we don't use these files for building | tedu | 2014-04-15 | 1 | -75/+0 |
| | |||||
* | remove FIPS mode support. people who require FIPS can buy something that | tedu | 2014-04-15 | 1 | -37/+0 |
| | | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt | ||||
* | Moved to regress/lib/libcrypto. | miod | 2014-04-15 | 1 | -164/+0 |
| | |||||
* | Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity | beck | 2014-04-15 | 1 | -11/+0 |
| | | | | | with the bearded ones... some API's that nobody should be using will dissapear with this commit. | ||||
* | remove auto-generated dependencies from the old unused build system, so | deraadt | 2014-04-14 | 1 | -35/+0 |
| | | | | | that it is easier to find code pieces. They are getting in the way. ok miod | ||||
* | resolve conflicts | djm | 2012-10-13 | 1 | -0/+37 |
| | |||||
* | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2012-10-13 | 2 | -6/+10 |
|\ | | | | | branch. | ||||
| * | import OpenSSL-1.0.1c | djm | 2012-10-13 | 3 | -6/+47 |
| | | |||||
* | | openssl-1.0.0e: resolve conflicts | djm | 2011-11-03 | 1 | -3/+0 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2011-11-03 | 1 | -0/+2 |
|\| | | | | | branch. | ||||
| * | import OpenSSL 1.0.0e | djm | 2011-11-03 | 2 | -3/+2 |
| | | |||||
* | | resolve conflicts, fix local changes | djm | 2010-10-01 | 3 | -133/+67 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 2 | -0/+432 |
|\| | | | | | branch. | ||||
| * | import OpenSSL-1.0.0a | djm | 2010-10-01 | 4 | -32/+499 |
| | | |||||
| * | import openssl-0.9.8j | djm | 2009-01-09 | 2 | -0/+11 |
| | | |||||
| * | import of OpenSSL 0.9.8h | djm | 2008-09-06 | 2 | -23/+10 |
| | | |||||
| * | import of openssl-0.9.7j | djm | 2006-06-27 | 2 | -9/+7 |
| | | |||||
| * | import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@ | djm | 2005-04-29 | 2 | -0/+17 |
| | | |||||
| * | import 0.9.7b (without idea and rc5) | markus | 2003-05-11 | 1 | -0/+3 |
| | | |||||
| * | import openssl-0.9.7-beta1 | markus | 2002-09-05 | 2 | -57/+62 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 1 | -10/+34 |
|\ \ | | | | | | | branch. | ||||
| * | | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -10/+34 |
| | | | |||||
* | | | resolve conflicts | djm | 2009-01-09 | 1 | -0/+3 |
| | | | |||||
* | | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2009-01-09 | 1 | -7/+8 |
|\| | | | | | | | | branch. | ||||
| * | | import openssl-0.9.8j | djm | 2009-01-09 | 1 | -7/+8 |
| | | | |||||
* | | | update to openssl-0.9.8i; tested by several, especially krw@ | djm | 2009-01-05 | 2 | -0/+8 |
| | | | |||||
* | | | resolve conflicts | djm | 2008-09-06 | 2 | -23/+10 |
| | | | |||||
* | | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2008-09-06 | 1 | -23/+9 |
|\| | | | | | | | | branch. | ||||
| * | | import of OpenSSL 0.9.8h | djm | 2008-09-06 | 1 | -23/+9 |
| | | | |||||
* | | | resolve conflicts | djm | 2006-06-27 | 2 | -9/+7 |
| | | | |||||
* | | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2006-06-27 | 1 | -1/+1 |
|\| | | | | | | | | branch. |