Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lib: Fix strict-aliasing warning in md5 code. | Andreas Schneider | 2014-01-09 | 1 | -3/+6 |
| | | | | | | | | If the compiler detects strict aliasing problems it isn't able to optimize the code. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> | ||||
* | crypto: fix build on OS X | Björn Jacke | 2014-01-08 | 1 | -0/+1 |
| | | | | | | | | | | | we also need to use the CC_MD5_CTX from CommonCrypto here instead of the MD5_CTX Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jan 8 08:12:29 CET 2014 on sn-devel-104 | ||||
* | build: Remove the struct MD5Context conf file check. | Andrew Bartlett | 2013-06-24 | 1 | -1/+0 |
| | | | | | | | | | | Fix the build. Reviewed-by: Jeremy Allison <jra@samba.org> Tested-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Mon Jun 24 14:11:09 CEST 2013 on sn-devel-104 | ||||
* | build: Build with system md5.h on OpenIndiana | Andrew Bartlett | 2013-06-19 | 6 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | This changes (again...) our system md5 detection to cope with how OpenIndiana does md5. I'm becoming increasingly convinced this isn't worth our while (we should have just done samba_md5...), but for now this change seems to work on FreeBSD, OpenIndiana and Linux with libbsd. This needs us to rename struct MD5Context -> MD5_CTX, but we provide a config.h define to rename the type bad if MD5_CTX does not exist (it does however exist in the md5.h from libbsd). Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jun 19 21:32:36 CEST 2013 on sn-devel-104 | ||||
* | build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmd | Andrew Bartlett | 2013-05-22 | 3 | -9/+19 |
| | | | | | | | | | | | | | This brings the two build systems in sync, without using md5.h (which is a problem name) Tested on FreeBSD Andrew Bartlett Reviewed-by: Richard Sharpe <rsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Wed May 22 10:06:40 CEST 2013 on sn-devel-104 | ||||
* | crypto/aes_ccm_128: fix compile warning on openindiana | Björn Jacke | 2012-08-23 | 1 | -1/+1 |
| | |||||
* | lib/crypto: add aes_ccm_128 | Stefan Metzmacher | 2012-07-23 | 4 | -1/+226 |
| | | | | metze | ||||
* | lib/crypto: Detect CommonCrypto and use it if available | Matthieu Patou | 2012-03-14 | 3 | -1/+15 |
| | | | | | | | | | | CommonCrypto/CommonDigest is available on Mac and there is function in the libc for MD5 calculation. MD5Final is a C define of CC_MD5_Final. Under some circumstance we have the symbol defined twice in samba binaries on Snow Leopard at least. By detecting CommonCrypto/CommonDigest we end up always using the system version if available. | ||||
* | lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 test | Stefan Metzmacher | 2012-02-29 | 2 | -1/+93 |
| | | | | metze | ||||
* | lib/crypto: add aes_cmac_128* (rfc 4493) | Stefan Metzmacher | 2012-02-29 | 4 | -4/+231 |
| | | | | | | Thanks to Jeremy, Michael and Volker for the debugging! metze | ||||
* | lib/crypto: fix hmac_sha256_final() prototype | Stefan Metzmacher | 2012-02-27 | 1 | -1/+1 |
| | | | | metze | ||||
* | crypto: Use libbsd md5 header, if available. | Jelmer Vernooij | 2012-02-07 | 3 | -2/+17 |
| | |||||
* | crypto/md5: Change prototypes to match BSD. | Jelmer Vernooij | 2012-02-07 | 1 | -5/+7 |
| | |||||
* | crypto: Add prototype for main torture functions. | Jelmer Vernooij | 2012-02-07 | 3 | -0/+4 |
| | |||||
* | build: avoid util.h as a public header name due to conflict with MacOS | Andrew Bartlett | 2011-09-23 | 3 | -3/+3 |
| | |||||
* | lib/crypto: rename the SHA256_ functions to samba_SHA256_ | Andrew Tridgell | 2011-04-06 | 3 | -18/+18 |
| | | | | | | | this prevents a symbol duplication with the openssl library, which may be linked in via a secondary library dependency Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s3: Fix Coverity ID 958: BAD_SIZEOF | Volker Lendecke | 2011-03-27 | 1 | -1/+1 |
| | | | | | | This is supposed to wipe out the md5 context, not only the first bytes of it. Others, please check! | ||||
* | tdb: Use <tdb.h> to include tdb so system headers are found when building ↵ | Jelmer Vernooij | 2011-02-28 | 1 | -1/+1 |
| | | | | against system tdb. | ||||
* | lib/crypto: add aes_cfb8_encrypt() | Stefan Metzmacher | 2011-01-03 | 2 | -0/+26 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104 | ||||
* | s4: Remove the old perl/m4/make/mk-based build system. | Jelmer Vernooij | 2010-10-31 | 1 | -18/+0 |
| | | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104 | ||||
* | libcli-auth: Remove unnecessary dependency on libsamba-hostconfig. | Jelmer Vernooij | 2010-10-11 | 1 | -1/+1 |
| | |||||
* | lib/crypto: only include what is needed. | Günther Deschner | 2010-06-16 | 11 | -10/+15 |
| | | | | Guenther | ||||
* | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2010-04-06 | 1 | -0/+2 |
| | | | | them | ||||
* | build: commit all the waf build files in the tree | Andrew Tridgell | 2010-04-06 | 1 | -0/+12 |
| | |||||
* | Change uint_t to unsigned int in lib/crypto | Matt Kraai | 2010-02-02 | 1 | -4/+4 |
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> | ||||
* | lib/crypto: include aes.h into crypto.h | Stefan Metzmacher | 2009-09-16 | 1 | -1/+1 |
| | | | | metze | ||||
* | lib/crypto: link in AES crypto for s4 as well. | Günther Deschner | 2009-09-16 | 1 | -1/+2 |
| | | | | Guenther | ||||
* | lib/crypto: add aes encryption routines to main cryto lib. | Günther Deschner | 2009-09-16 | 4 | -0/+1462 |
| | | | | Guenther | ||||
* | Fix a C++ warning | Volker Lendecke | 2009-05-31 | 1 | -1/+1 |
| | |||||
* | Fix missing symbols issues when building with shared libraries. | Jelmer Vernooij | 2008-12-22 | 1 | -2/+1 |
| | |||||
* | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 2008-10-20 | 2 | -0/+2 |
| | | | | remove some unused functions. | ||||
* | crypto: fix remaining strhex_to_data_blob callers. | Günther Deschner | 2008-10-18 | 3 | -11/+14 |
| | | | | | | Jelmer, please check. Guenther | ||||
* | Use data_blob() for now, since it seems to be the only function available in ↵ | Jelmer Vernooij | 2008-10-11 | 1 | -1/+1 |
| | | | | both Samba 3 and Samba 4. | ||||
* | Make sure to allocate copy for arc4 data, to avoid problems freeing | Jelmer Vernooij | 2008-10-11 | 1 | -1/+1 |
| | | | | later. | ||||
* | Prevent errors with data_blob() being a macro in s4 and function in s3. | Jelmer Vernooij | 2008-10-11 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4 | Jelmer Vernooij | 2008-09-24 | 5 | -4/+6 |
|\ | | | | | | | | | Conflicts: source3/include/includes.h | ||||
| * | Fix include paths. | Jelmer Vernooij | 2008-09-24 | 6 | -5/+7 |
| | | |||||
* | | Use common arcfour implementation. | Jelmer Vernooij | 2008-09-24 | 3 | -11/+17 |
|/ | |||||
* | Use shared copy of hmac5 implementation. | Jelmer Vernooij | 2008-09-24 | 2 | -1/+2 |
| | |||||
* | Move source4/lib/crypto to lib/crypto. | Jelmer Vernooij | 2008-09-24 | 18 | -0/+1596 |