summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/hmac (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Provide HMAC_CTX_new(), HMAC_CTX_free(), HMAC_CTX_reset() andjsing2018-02-172-11/+52
| | | | HMAC_CTX_get_md().
* use freezero() instead of memset/explicit_bzero + free. Substantiallyderaadt2017-05-021-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 HMACinoguchi2017-03-031-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,beck2017-01-291-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.jsing2015-09-102-4/+4
| | | | ok miod@
* Various memory leaks upon error or unchecked allocations.miod2015-07-201-4/+13
| | | | ok doug@
* Replace assert() and OPENSSL_assert() calls with proper error return paths.miod2015-02-101-4/+11
| | | | Careful review, feedback & ok doug@ jsing@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-113-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 thatjsing2014-07-102-2/+6
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* More KNF.jsing2014-06-214-42/+39
|
* KNFmiod2014-06-213-178/+186
|
* tags as requested by miod and teduderaadt2014-06-124-2/+4
|
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-272-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 ofbeck2014-04-172-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 buildingtedu2014-04-151-75/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-37/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Moved to regress/lib/libcrypto.miod2014-04-151-164/+0
|
* Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck2014-04-151-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, soderaadt2014-04-141-35/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* resolve conflictsdjm2012-10-131-0/+37
|
* import OpenSSL-1.0.1cdjm2012-10-132-6/+10
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-031-3/+0
|
* import OpenSSL 1.0.0edjm2011-11-031-0/+2
|
* resolve conflicts, fix local changesdjm2010-10-013-133/+67
|
* import OpenSSL-1.0.0adjm2010-10-013-10/+466
|
* resolve conflictsdjm2009-01-091-0/+3
|
* import openssl-0.9.8jdjm2009-01-091-7/+8
|
* update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-052-0/+8
|
* resolve conflictsdjm2008-09-062-23/+10
|
* import of OpenSSL 0.9.8hdjm2008-09-061-23/+9
|
* resolve conflictsdjm2006-06-272-9/+7
|
* import of openssl-0.9.7jdjm2006-06-271-1/+1
|
* resolve conflictsdjm2005-04-292-0/+17
|
* import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-291-0/+99
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-123-20/+40
|
* undo local change, HMAC_Init() already does HMAC_CTX_init if(key && md)markus2002-09-171-1/+0
|
* merge openssl-0.9.7-beta3, tested on vax by miod@markus2002-09-101-7/+17
|
* execute bourne shell scripts with 'sh' and not with $SHELLmarkus2002-09-041-1/+1
|
* remove whitespace changes (keep diffs to 0.9.7-beta1 minimal)markus2002-09-031-1/+1
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-154-36/+55
|
* openssl-engine-0.9.6a mergebeck2001-06-221-1/+2
|
* openssl-engine-0.9.6 mergebeck2000-12-152-6/+7
|
* OpenSSL 0.9.5a mergebeck2000-04-151-1/+3
|
* OpenSSL 0.9.5 mergebeck2000-03-193-5/+5
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* do not assume shell scripts are +x; dderaadt1999-11-231-1/+1
|
* OpenSSL 0.9.4 mergebeck1999-09-294-67/+72
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-054-0/+498
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.