summaryrefslogtreecommitdiff
path: root/src/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
|
* This commit was generated by cvs2git to track changes on a CVS vendordjm2012-10-132-6/+10
|\ | | | | branch.
| * import OpenSSL-1.0.1cdjm2012-10-133-6/+47
| |
* | openssl-1.0.0e: resolve conflictsdjm2011-11-031-3/+0
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2011-11-031-0/+2
|\| | | | | branch.
| * import OpenSSL 1.0.0edjm2011-11-032-3/+2
| |
* | resolve conflicts, fix local changesdjm2010-10-013-133/+67
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-012-0/+432
|\| | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-014-32/+499
| |
| * import openssl-0.9.8jdjm2009-01-092-0/+11
| |
| * import of OpenSSL 0.9.8hdjm2008-09-062-23/+10
| |
| * import of openssl-0.9.7jdjm2006-06-272-9/+7
| |
| * import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-292-0/+17
| |
| * import 0.9.7b (without idea and rc5)markus2003-05-111-0/+3
| |
| * import openssl-0.9.7-beta1markus2002-09-052-57/+62
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-10/+34
|\ \ | | | | | | branch.
| * | import OpenSSL-1.0.0adjm2010-10-011-10/+34
| | |
* | | resolve conflictsdjm2009-01-091-0/+3
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-7/+8
|\| | | | | | | | branch.
| * | 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
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-061-23/+9
|\| | | | | | | | branch.
| * | import of OpenSSL 0.9.8hdjm2008-09-061-23/+9
| | |
* | | resolve conflictsdjm2006-06-272-9/+7
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2006-06-271-1/+1
|\| | | | | | | | branch.
| * | import of openssl-0.9.7jdjm2006-06-271-1/+1
| | |
* | | resolve conflictsdjm2005-04-292-0/+17
| | |
* | | This commit was generated by cvs2git to track changes on a CVS vendordjm2005-04-291-0/+99
|\| | | | | | | | branch.
| * | import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-291-0/+99
| | |
| * | import 0.9.7b (without idea and rc5)markus2003-05-111-3/+18
| | |