summaryrefslogtreecommitdiff
path: root/lib/crypto
AgeCommit message (Collapse)AuthorFilesLines
2013-06-24build: Remove the struct MD5Context conf file check.Andrew Bartlett1-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
2013-06-19build: Build with system md5.h on OpenIndianaAndrew Bartlett6-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
2013-05-22build: Update md5.h detection in waf and autoconf to use sys/md5.h and -lmdAndrew Bartlett3-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
2012-08-23crypto/aes_ccm_128: fix compile warning on openindianaBjörn Jacke1-1/+1
2012-07-23lib/crypto: add aes_ccm_128Stefan Metzmacher4-1/+226
metze
2012-03-14lib/crypto: Detect CommonCrypto and use it if availableMatthieu Patou3-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.
2012-02-29lib/crypto: add aes_cmac_128_test.c as local.crypto.aes_cmac_128 testStefan Metzmacher2-1/+93
metze
2012-02-29lib/crypto: add aes_cmac_128* (rfc 4493)Stefan Metzmacher4-4/+231
Thanks to Jeremy, Michael and Volker for the debugging! metze
2012-02-27lib/crypto: fix hmac_sha256_final() prototypeStefan Metzmacher1-1/+1
metze
2012-02-07crypto: Use libbsd md5 header, if available.Jelmer Vernooij3-2/+17
2012-02-07crypto/md5: Change prototypes to match BSD.Jelmer Vernooij1-5/+7
2012-02-07crypto: Add prototype for main torture functions.Jelmer Vernooij3-0/+4
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett3-3/+3
2011-04-06lib/crypto: rename the SHA256_ functions to samba_SHA256_Andrew Tridgell3-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>
2011-03-27s3: Fix Coverity ID 958: BAD_SIZEOFVolker Lendecke1-1/+1
This is supposed to wipe out the md5 context, not only the first bytes of it. Others, please check!
2011-02-28tdb: Use <tdb.h> to include tdb so system headers are found when building ↵Jelmer Vernooij1-1/+1
against system tdb.
2011-01-03lib/crypto: add aes_cfb8_encrypt()Stefan Metzmacher2-0/+26
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 17:32:07 CET 2011 on sn-devel-104
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-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
2010-10-11libcli-auth: Remove unnecessary dependency on libsamba-hostconfig.Jelmer Vernooij1-1/+1
2010-06-16lib/crypto: only include what is needed.Günther Deschner11-10/+15
Guenther
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell1-0/+2
them
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+12
2010-02-02Change uint_t to unsigned int in lib/cryptoMatt Kraai1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-09-16lib/crypto: include aes.h into crypto.hStefan Metzmacher1-1/+1
metze
2009-09-16lib/crypto: link in AES crypto for s4 as well.Günther Deschner1-1/+2
Guenther
2009-09-16lib/crypto: add aes encryption routines to main cryto lib.Günther Deschner4-0/+1462
Guenther
2009-05-31Fix a C++ warningVolker Lendecke1-1/+1
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-2/+1
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij2-0/+2
remove some unused functions.
2008-10-18crypto: fix remaining strhex_to_data_blob callers.Günther Deschner3-11/+14
Jelmer, please check. Guenther
2008-10-11Use data_blob() for now, since it seems to be the only function available in ↵Jelmer Vernooij1-1/+1
both Samba 3 and Samba 4.
2008-10-11Make sure to allocate copy for arc4 data, to avoid problems freeingJelmer Vernooij1-1/+1
later.
2008-10-11Prevent errors with data_blob() being a macro in s4 and function in s3.Jelmer Vernooij1-1/+1
2008-09-24Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4Jelmer Vernooij5-4/+6
Conflicts: source3/include/includes.h
2008-09-24Fix include paths.Jelmer Vernooij6-5/+7
2008-09-24Use common arcfour implementation.Jelmer Vernooij3-11/+17
2008-09-24Use shared copy of hmac5 implementation.Jelmer Vernooij2-1/+2
2008-09-24Move source4/lib/crypto to lib/crypto.Jelmer Vernooij18-0/+1596