mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Move source4/lib/crypto to lib/crypto.
This commit is contained in:
parent
1ca2e4b99f
commit
6925202bde
@ -17,12 +17,12 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "lib/crypto/crc32.h"
|
||||
#include "lib/crypto/md4.h"
|
||||
#include "lib/crypto/md5.h"
|
||||
#include "lib/crypto/hmacmd5.h"
|
||||
#include "lib/crypto/sha256.h"
|
||||
#include "lib/crypto/hmacsha256.h"
|
||||
#include "../lib/crypto/crc32.h"
|
||||
#include "../lib/crypto/md4.h"
|
||||
#include "../lib/crypto/md5.h"
|
||||
#include "../lib/crypto/hmacmd5.h"
|
||||
#include "../lib/crypto/sha256.h"
|
||||
#include "../lib/crypto/hmacsha256.h"
|
||||
|
||||
struct arcfour_state {
|
||||
uint8_t sbox[256];
|
@ -77,7 +77,7 @@ libstreamsrcdir := lib/stream
|
||||
libutilsrcdir := lib/util
|
||||
libtdrsrcdir := lib/tdr
|
||||
libdbwrapsrcdir := lib/dbwrap
|
||||
libcryptosrcdir := lib/crypto
|
||||
libcryptosrcdir := ../lib/crypto
|
||||
libtorturesrcdir := lib/torture
|
||||
smb_serversrcdir := smb_server
|
||||
libcompressionsrcdir := ../lib/compression
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "auth/auth.h"
|
||||
#include "auth/gensec/schannel.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "librpc/gen_ndr/netlogon.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "param/param.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "includes.h"
|
||||
#include "auth/ntlmssp/ntlmssp.h"
|
||||
#include "auth/ntlmssp/msrpc_parse.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "includes.h"
|
||||
#include "auth/ntlmssp/ntlmssp.h"
|
||||
#include "auth/ntlmssp/msrpc_parse.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "auth/auth.h"
|
||||
#include "auth/ntlmssp/ntlmssp.h"
|
||||
#include "auth/ntlmssp/msrpc_parse.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
#include "param/param.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "librpc/gen_ndr/ndr_misc.h"
|
||||
#include "librpc/gen_ndr/ndr_drsuapi.h"
|
||||
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "param/param.h"
|
||||
|
||||
|
@ -48,7 +48,7 @@
|
||||
#include "dsdb/samdb/ldb_modules/password_modules.h"
|
||||
#include "librpc/ndr/libndr.h"
|
||||
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "param/param.h"
|
||||
|
||||
/* If we have decided there is reason to work on this request, then
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "param/param.h"
|
||||
#include "events/events.h"
|
||||
#include "kdc/kdc.h"
|
||||
#include "lib/crypto/md4.h"
|
||||
#include "../lib/crypto/md4.h"
|
||||
|
||||
enum hdb_ldb_ent_type
|
||||
{ HDB_LDB_ENT_TYPE_CLIENT, HDB_LDB_ENT_TYPE_SERVER,
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "system/filesys.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "system/locale.h"
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "includes.h"
|
||||
#include "system/time.h"
|
||||
#include "auth/auth.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
|
||||
/*
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "system/time.h"
|
||||
#include "auth/ntlmssp/ntlmssp.h"
|
||||
#include "auth/ntlmssp/msrpc_parse.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "pstring.h"
|
||||
#include "param/param.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "smb.h"
|
||||
#include "libcli/raw/libcliraw.h"
|
||||
#include "libcli/raw/raw_proto.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "param/param.h"
|
||||
|
||||
/***********************************************************
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libcli/raw/libcliraw.h"
|
||||
#include "libcli/smb2/smb2.h"
|
||||
#include "libcli/smb2/smb2_calls.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
|
||||
/*
|
||||
sign an outgoing message
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "libnet/libnet.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "librpc/gen_ndr/ndr_samr_c.h"
|
||||
|
||||
|
@ -22,7 +22,7 @@ mkinclude lib/stream/config.mk
|
||||
mkinclude lib/util/config.mk
|
||||
mkinclude lib/tdr/config.mk
|
||||
mkinclude lib/dbwrap/config.mk
|
||||
mkinclude lib/crypto/config.mk
|
||||
mkinclude ../lib/crypto/config.mk
|
||||
mkinclude lib/torture/config.mk
|
||||
mkinclude lib/basic.mk
|
||||
mkinclude lib/com/config.mk
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "libcli/security/security.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
#include "lib/ldb/include/ldb_errors.h"
|
||||
#include "lib/crypto/md5.h"
|
||||
#include "../lib/crypto/md5.h"
|
||||
#include "system/passwd.h"
|
||||
|
||||
/*
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "auth/kerberos/kerberos.h"
|
||||
#include "librpc/gen_ndr/ndr_drsblobs.h"
|
||||
#include "librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
|
||||
/*
|
||||
this type allows us to distinguish handle types
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "rpc_server/common/common.h"
|
||||
#include "rpc_server/samr/dcesrv_samr.h"
|
||||
#include "system/time.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "dsdb/common/flags.h"
|
||||
#include "libcli/ldap/ldap.h"
|
||||
#include "dsdb/samdb/samdb.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "torture/ndr/ndr.h"
|
||||
#include "torture/ndr/proto.h"
|
||||
#include "torture/auth/proto.h"
|
||||
#include "lib/crypto/test_proto.h"
|
||||
#include "../lib/crypto/test_proto.h"
|
||||
#include "lib/registry/tests/proto.h"
|
||||
|
||||
/* ignore me */ static struct torture_suite *
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "torture/torture.h"
|
||||
#include "torture/ldap/proto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "auth/credentials/credentials.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "auth/gensec/gensec.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "torture/rpc/rpc.h"
|
||||
#include "param/param.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#define TEST_MACHINENAME "lsatestmach"
|
||||
|
||||
static void init_lsa_String(struct lsa_String *name, const char *s)
|
||||
|
@ -47,7 +47,7 @@
|
||||
#include "libcli/composite/composite.h"
|
||||
#include "libcli/smb_composite/smb_composite.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "auth/ntlmssp/ntlmssp.h"
|
||||
#include "libcli/security/proto.h"
|
||||
#include "param/param.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "librpc/gen_ndr/ndr_netlogon_c.h"
|
||||
#include "librpc/gen_ndr/ndr_samr_c.h"
|
||||
#include "auth/auth.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "lib/cmdline/popt_common.h"
|
||||
#include "torture/rpc/rpc.h"
|
||||
#include "auth/gensec/schannel_proto.h"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "system/time.h"
|
||||
#include "librpc/gen_ndr/lsa.h"
|
||||
#include "librpc/gen_ndr/ndr_samr_c.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "libcli/security/security.h"
|
||||
#include "torture/rpc/rpc.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "torture/torture.h"
|
||||
#include "auth/auth.h"
|
||||
#include "lib/util/dlinklist.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "system/time.h"
|
||||
#include "torture/rpc/rpc.h"
|
||||
#include "auth/gensec/schannel_proto.h"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "includes.h"
|
||||
#include "torture/torture.h"
|
||||
#include "system/time.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libnet/libnet.h"
|
||||
#include "lib/cmdline/popt_common.h"
|
||||
#include "lib/ldb/include/ldb.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "torture/rpc/rpc.h"
|
||||
#include "lib/cmdline/popt_common.h"
|
||||
#include "param/param.h"
|
||||
#include "lib/crypto/crypto.h"
|
||||
#include "../lib/crypto/crypto.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
|
||||
#define SMBTORTURE_MACHINE_NAME "smbtrt_name"
|
||||
|
Loading…
Reference in New Issue
Block a user