From 825dcb0041e6fc2226a18d83f080e5fa228ed955 Mon Sep 17 00:00:00 2001 From: J Harper Date: Mon, 18 Apr 2016 13:00:02 -0700 Subject: [PATCH] Added xcode files. --- INSTALL | 44 ++- apps/dtls/Makefile | 18 +- apps/ssl/Makefile | 19 +- xcode/algorithmTest.xcodeproj/project.pbxproj | 253 ++++++++++++ xcode/client.xcodeproj/project.pbxproj | 283 +++++++++++++ xcode/core.xcodeproj/project.pbxproj | 217 ++++++++++ xcode/crypto.xcodeproj/project.pbxproj | 371 ++++++++++++++++++ xcode/dtlsClient.xcodeproj/project.pbxproj | 283 +++++++++++++ xcode/dtlsServer.xcodeproj/project.pbxproj | 284 ++++++++++++++ xcode/matrixssl.xcodeproj/project.pbxproj | 228 +++++++++++ xcode/server.xcodeproj/project.pbxproj | 284 ++++++++++++++ xcode/sslTest.xcodeproj/project.pbxproj | 278 +++++++++++++ 12 files changed, 2554 insertions(+), 8 deletions(-) create mode 100644 xcode/algorithmTest.xcodeproj/project.pbxproj create mode 100644 xcode/client.xcodeproj/project.pbxproj create mode 100644 xcode/core.xcodeproj/project.pbxproj create mode 100644 xcode/crypto.xcodeproj/project.pbxproj create mode 100644 xcode/dtlsClient.xcodeproj/project.pbxproj create mode 100644 xcode/dtlsServer.xcodeproj/project.pbxproj create mode 100644 xcode/matrixssl.xcodeproj/project.pbxproj create mode 100644 xcode/server.xcodeproj/project.pbxproj create mode 100644 xcode/sslTest.xcodeproj/project.pbxproj diff --git a/INSTALL b/INSTALL index fc21d1d..f589b4c 100644 --- a/INSTALL +++ b/INSTALL @@ -1,6 +1,12 @@ For detailed information, see Getting Started Guide -Quick Start for Linux / Mac OS X +1. Quick Start for Linux / Mac OS X Command Line +2. Quick Start for Mac OS X Xcode Projects +3. For Windows, see Getting Started Guide + +================================================================================ + +Quick Start for Linux / Mac OS X Command Line ==== Configuration is done by manually editing the *Config.h files: @@ -26,3 +32,39 @@ Runs server example, listening on port 4433 $ ./runClient.sh Runs client example with default parameters +Additional example applications are available in: +crypto/test/ +matrixssl/test/ +apps/dtls/ + +================================================================================ + +Quick Start for Mac OS X Xcode Projects +==== +Open one of: + xcode/server.xcodeproj + xcode/client.xcodeproj + xcode/dtlsServer.xcodeproj + xcode/dtlsClient.xcodeproj + xcode/algorithmTest.xcodeproj + xcode/sslTest.xcodeproj + +These 3 steps are needed only the first time each project is opened: +1. Menu: Product->Scheme, + select the executable name (not core, crypto or matrixssl sub-projects) + "core" may continue to show as selected, however it has been updated +2. Menu: Product->Build + this will build the static libraries and application +3. Menu: Product->Scheme->Edit Scheme, set Executable to "Other...", + and choose application build in previous step +The scheme is saved in a .xcscheme directory under the project file, however +as it does not use relative paths, it cannot easily be distributed with the +project. + +The Xcode projects call out to the Makefiles for build instructions, so +changes to the Makefiles will affect the Xcode projects, and the generated +files are in the same location. + +Build For->Running will build with optimizations +Build For->Testing will build without optimizations and includes debug symbols + diff --git a/apps/dtls/Makefile b/apps/dtls/Makefile index 384a47b..4ff6147 100755 --- a/apps/dtls/Makefile +++ b/apps/dtls/Makefile @@ -9,14 +9,26 @@ MATRIXSSL_ROOT:=../.. SERVER_SRC:=dtlsServer.c dtlsCommon.c CLIENT_SRC:=dtlsClient.c dtlsCommon.c -SRC:=$(SERVER_SRC) $(CLIENT_SRC) - -include $(MATRIXSSL_ROOT)/common.mk # Generated files SERVER_EXE:=dtlsServer$(E) CLIENT_EXE:=dtlsClient$(E) +#The Mac OS X Xcode project has a target name of 'server' or 'client' +ifneq (,$(TARGET_NAME)) + ifneq (,$(findstring server,$(TARGET_NAME))) + CLIENT_EXE:= + CLIENT_SRC:= + else + SERVER_EXE:= + SERVER_SRC:= + endif +endif + +SRC:=$(SERVER_SRC) $(CLIENT_SRC) + +include $(MATRIXSSL_ROOT)/common.mk + # Linked files STATIC:=\ $(MATRIXSSL_ROOT)/matrixssl/libssl_s.a \ diff --git a/apps/ssl/Makefile b/apps/ssl/Makefile index cfbf048..8b17611 100755 --- a/apps/ssl/Makefile +++ b/apps/ssl/Makefile @@ -10,14 +10,25 @@ MATRIXSSL_ROOT:=../.. SERVER_SRC:=server.c http.c CLIENT_SRC:=client.c http.c -SRC:=$(SERVER_SRC) $(CLIENT_SRC) - -include $(MATRIXSSL_ROOT)/common.mk - # Generated files SERVER_EXE:=server$(E) CLIENT_EXE:=client$(E) +#The Mac OS X Xcode project has a target name of 'server' or 'client' +ifneq (,$(TARGET_NAME)) + ifneq (,$(findstring server,$(TARGET_NAME))) + CLIENT_EXE:= + CLIENT_SRC:= + else + SERVER_EXE:= + SERVER_SRC:= + endif +endif + +SRC:=$(SERVER_SRC) $(CLIENT_SRC) + +include $(MATRIXSSL_ROOT)/common.mk + # Linked files STATIC:=\ $(MATRIXSSL_ROOT)/matrixssl/libssl_s.a \ diff --git a/xcode/algorithmTest.xcodeproj/project.pbxproj b/xcode/algorithmTest.xcodeproj/project.pbxproj new file mode 100644 index 0000000..50fd074 --- /dev/null +++ b/xcode/algorithmTest.xcodeproj/project.pbxproj @@ -0,0 +1,253 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD7AB3D41B97A0800047DE55 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD7AB3CF1B97A03B0047DE55 /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD7AB3D61B97A0800047DE55 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD7AB3CB1B97A0360047DE55 /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DD7AB3B81B979FD20047DE55 /* algorithmTest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = algorithmTest.c; path = ../crypto/test/algorithmTest.c; sourceTree = ""; }; + DD7AB3CB1B97A0360047DE55 /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; + DD7AB3CF1B97A03B0047DE55 /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD7AB3D31B97A04C0047DE55 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../crypto/test/Makefile; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD7AB3111B979AF40047DE55 = { + isa = PBXGroup; + children = ( + DD7AB3D31B97A04C0047DE55 /* Makefile */, + DD7AB3B81B979FD20047DE55 /* algorithmTest.c */, + DD7AB3CF1B97A03B0047DE55 /* core.xcodeproj */, + DD7AB3CB1B97A0360047DE55 /* crypto.xcodeproj */, + ); + sourceTree = ""; + }; + DD7AB3CC1B97A0360047DE55 /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD7AB3D01B97A03B0047DE55 /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD7AB3161B979AF40047DE55 /* algorithmTest */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD7AB3191B979AF40047DE55 /* Build configuration list for PBXLegacyTarget "algorithmTest" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../crypto/test/; + dependencies = ( + DD7AB3D51B97A0800047DE55 /* PBXTargetDependency */, + DD7AB3D71B97A0800047DE55 /* PBXTargetDependency */, + ); + name = algorithmTest; + passBuildSettingsInEnvironment = 1; + productName = algorithmTest; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD7AB3121B979AF40047DE55 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0640; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD7AB3161B979AF40047DE55 = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD7AB3151B979AF40047DE55 /* Build configuration list for PBXProject "algorithmTest" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD7AB3111B979AF40047DE55; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD7AB3D01B97A03B0047DE55 /* Products */; + ProjectRef = DD7AB3CF1B97A03B0047DE55 /* core.xcodeproj */; + }, + { + ProductGroup = DD7AB3CC1B97A0360047DE55 /* Products */; + ProjectRef = DD7AB3CB1B97A0360047DE55 /* crypto.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD7AB3161B979AF40047DE55 /* algorithmTest */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD7AB3D51B97A0800047DE55 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD7AB3D41B97A0800047DE55 /* PBXContainerItemProxy */; + }; + DD7AB3D71B97A0800047DE55 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD7AB3D61B97A0800047DE55 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD7AB3171B979AF40047DE55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD7AB3181B979AF40047DE55 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD7AB31A1B979AF40047DE55 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD7AB31B1B979AF40047DE55 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD7AB3151B979AF40047DE55 /* Build configuration list for PBXProject "algorithmTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7AB3171B979AF40047DE55 /* Debug */, + DD7AB3181B979AF40047DE55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD7AB3191B979AF40047DE55 /* Build configuration list for PBXLegacyTarget "algorithmTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7AB31A1B979AF40047DE55 /* Debug */, + DD7AB31B1B979AF40047DE55 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD7AB3121B979AF40047DE55 /* Project object */; +} diff --git a/xcode/client.xcodeproj/project.pbxproj b/xcode/client.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a079098 --- /dev/null +++ b/xcode/client.xcodeproj/project.pbxproj @@ -0,0 +1,283 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD2B4EAD1BA8E32D000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD2B4EAF1BA8E330000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; + DD2B4EB11BA8E333000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD1144441B8D2EE600721CD4; + remoteInfo = matrixssl; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; + DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = matrixssl.xcodeproj; sourceTree = ""; }; + DD2B4EA61BA8E280000FD8BC /* app.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = app.h; path = ../apps/ssl/app.h; sourceTree = ""; }; + DD2B4EA71BA8E280000FD8BC /* client.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = client.c; path = ../apps/ssl/client.c; sourceTree = ""; }; + DD2B4EA81BA8E280000FD8BC /* http.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = http.c; path = ../apps/ssl/http.c; sourceTree = ""; }; + DD2B4EA91BA8E280000FD8BC /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../apps/ssl/Makefile; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD2B4E8C1BA8E17A000FD8BC = { + isa = PBXGroup; + children = ( + DD2B4EA61BA8E280000FD8BC /* app.h */, + DD2B4EA71BA8E280000FD8BC /* client.c */, + DD2B4EA81BA8E280000FD8BC /* http.c */, + DD2B4EA91BA8E280000FD8BC /* Makefile */, + DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */, + DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */, + DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */, + ); + sourceTree = ""; + }; + DD2B4E981BA8E1B5000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD2B4E9C1BA8E1C0000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD2B4E9F1BA8E1C0000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD2B4E911BA8E17B000FD8BC /* client */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD2B4E941BA8E17B000FD8BC /* Build configuration list for PBXLegacyTarget "client" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../apps/ssl; + dependencies = ( + DD2B4EB21BA8E333000FD8BC /* PBXTargetDependency */, + DD2B4EB01BA8E330000FD8BC /* PBXTargetDependency */, + DD2B4EAE1BA8E32D000FD8BC /* PBXTargetDependency */, + ); + name = client; + passBuildSettingsInEnvironment = 1; + productName = client; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD2B4E8D1BA8E17A000FD8BC /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0640; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD2B4E911BA8E17B000FD8BC = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD2B4E901BA8E17A000FD8BC /* Build configuration list for PBXProject "client" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD2B4E8C1BA8E17A000FD8BC; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD2B4E981BA8E1B5000FD8BC /* Products */; + ProjectRef = DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */; + }, + { + ProductGroup = DD2B4E9C1BA8E1C0000FD8BC /* Products */; + ProjectRef = DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */; + }, + { + ProductGroup = DD2B4E9F1BA8E1C0000FD8BC /* Products */; + ProjectRef = DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD2B4E911BA8E17B000FD8BC /* client */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD2B4EAE1BA8E32D000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD2B4EAD1BA8E32D000FD8BC /* PBXContainerItemProxy */; + }; + DD2B4EB01BA8E330000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD2B4EAF1BA8E330000FD8BC /* PBXContainerItemProxy */; + }; + DD2B4EB21BA8E333000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = matrixssl; + targetProxy = DD2B4EB11BA8E333000FD8BC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD2B4E921BA8E17B000FD8BC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD2B4E931BA8E17B000FD8BC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD2B4E951BA8E17B000FD8BC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD2B4E961BA8E17B000FD8BC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD2B4E901BA8E17A000FD8BC /* Build configuration list for PBXProject "client" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD2B4E921BA8E17B000FD8BC /* Debug */, + DD2B4E931BA8E17B000FD8BC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD2B4E941BA8E17B000FD8BC /* Build configuration list for PBXLegacyTarget "client" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD2B4E951BA8E17B000FD8BC /* Debug */, + DD2B4E961BA8E17B000FD8BC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD2B4E8D1BA8E17A000FD8BC /* Project object */; +} diff --git a/xcode/core.xcodeproj/project.pbxproj b/xcode/core.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5b64a95 --- /dev/null +++ b/xcode/core.xcodeproj/project.pbxproj @@ -0,0 +1,217 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + DD11441F1B8D2BCB00721CD4 /* coreApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = coreApi.h; path = ../core/coreApi.h; sourceTree = ""; }; + DD1144201B8D2BCB00721CD4 /* coreConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = coreConfig.h; path = ../core/coreConfig.h; sourceTree = ""; }; + DD1144211B8D2BCB00721CD4 /* corelib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = corelib.c; path = ../core/corelib.c; sourceTree = ""; }; + DD1144221B8D2BCB00721CD4 /* list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = list.h; path = ../core/list.h; sourceTree = ""; }; + DD1144231B8D2BCB00721CD4 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../core/Makefile; sourceTree = ""; }; + DD1144241B8D2BCB00721CD4 /* memset_s.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = memset_s.c; path = ../core/memset_s.c; sourceTree = ""; }; + DD1144251B8D2BCB00721CD4 /* osdep.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = osdep.h; path = ../core/osdep.h; sourceTree = ""; }; + DD1144281B8D2BCB00721CD4 /* psmalloc.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = psmalloc.h; path = ../core/psmalloc.h; sourceTree = ""; }; + DD7AB3B51B979F6F0047DE55 /* osdep.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = osdep.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD7AB3B41B979F6F0047DE55 /* POSIX */ = { + isa = PBXGroup; + children = ( + DD7AB3B51B979F6F0047DE55 /* osdep.c */, + ); + name = POSIX; + path = ../core/POSIX; + sourceTree = ""; + }; + DD7EB8481B8D2A83000F7458 = { + isa = PBXGroup; + children = ( + DD1144231B8D2BCB00721CD4 /* Makefile */, + DD1144201B8D2BCB00721CD4 /* coreConfig.h */, + DD11441F1B8D2BCB00721CD4 /* coreApi.h */, + DD1144211B8D2BCB00721CD4 /* corelib.c */, + DD1144241B8D2BCB00721CD4 /* memset_s.c */, + DD1144221B8D2BCB00721CD4 /* list.h */, + DD1144281B8D2BCB00721CD4 /* psmalloc.h */, + DD1144251B8D2BCB00721CD4 /* osdep.h */, + DD7AB3B41B979F6F0047DE55 /* POSIX */, + ); + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD7EB84D1B8D2A83000F7458 /* core */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD7EB8501B8D2A83000F7458 /* Build configuration list for PBXLegacyTarget "core" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../core/; + dependencies = ( + ); + name = core; + passBuildSettingsInEnvironment = 1; + productName = core; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD7EB8491B8D2A83000F7458 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD7EB84D1B8D2A83000F7458 = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD7EB84C1B8D2A83000F7458 /* Build configuration list for PBXProject "core" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD7EB8481B8D2A83000F7458; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DD7EB84D1B8D2A83000F7458 /* core */, + ); + }; +/* End PBXProject section */ + +/* Begin XCBuildConfiguration section */ + DD7EB84E1B8D2A83000F7458 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD7EB84F1B8D2A83000F7458 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD7EB8511B8D2A83000F7458 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD7EB8521B8D2A83000F7458 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD7EB84C1B8D2A83000F7458 /* Build configuration list for PBXProject "core" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7EB84E1B8D2A83000F7458 /* Debug */, + DD7EB84F1B8D2A83000F7458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD7EB8501B8D2A83000F7458 /* Build configuration list for PBXLegacyTarget "core" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD7EB8511B8D2A83000F7458 /* Debug */, + DD7EB8521B8D2A83000F7458 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD7EB8491B8D2A83000F7458 /* Project object */; +} diff --git a/xcode/crypto.xcodeproj/project.pbxproj b/xcode/crypto.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f567ca1 --- /dev/null +++ b/xcode/crypto.xcodeproj/project.pbxproj @@ -0,0 +1,371 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + DD1144341B8D2DE200721CD4 /* cryptoApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cryptoApi.h; path = ../crypto/cryptoApi.h; sourceTree = ""; }; + DD1144351B8D2DE200721CD4 /* cryptoConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cryptoConfig.h; path = ../crypto/cryptoConfig.h; sourceTree = ""; }; + DD1144361B8D2DE200721CD4 /* cryptolib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cryptolib.h; path = ../crypto/cryptolib.h; sourceTree = ""; }; + DD11443E1B8D2E4E00721CD4 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../crypto/Makefile; sourceTree = ""; }; + DD376E461CC55C8C008AD651 /* cryptoCheck.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = cryptoCheck.h; path = ../crypto/cryptoCheck.h; sourceTree = ""; }; + DD4E16F81C3B16350064B760 /* digest_libsodium.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = digest_libsodium.c; sourceTree = ""; }; + DD4E16F91C3B16350064B760 /* digest_libsodium.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = digest_libsodium.h; sourceTree = ""; }; + DD4E16FA1C3B16540064B760 /* symmetric_libsodium.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symmetric_libsodium.c; sourceTree = ""; }; + DD4E16FB1C3B16540064B760 /* symmetric_libsodium.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = symmetric_libsodium.h; sourceTree = ""; }; + DD7AB3411B979E3B0047DE55 /* digest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = digest.h; sourceTree = ""; }; + DD7AB3431B979E3B0047DE55 /* digest_matrix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = digest_matrix.h; sourceTree = ""; }; + DD7AB3441B979E3B0047DE55 /* digest_openssl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = digest_openssl.c; sourceTree = ""; }; + DD7AB3451B979E3B0047DE55 /* digest_openssl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = digest_openssl.h; sourceTree = ""; }; + DD7AB3471B979E3B0047DE55 /* hmac.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = hmac.c; sourceTree = ""; }; + DD7AB3491B979E3B0047DE55 /* md2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md2.c; sourceTree = ""; }; + DD7AB34B1B979E3B0047DE55 /* md4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md4.c; sourceTree = ""; }; + DD7AB34D1B979E3B0047DE55 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md5.c; sourceTree = ""; }; + DD7AB34F1B979E3B0047DE55 /* md5sha1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = md5sha1.c; sourceTree = ""; }; + DD7AB3511B979E3B0047DE55 /* sha1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sha1.c; sourceTree = ""; }; + DD7AB3531B979E3B0047DE55 /* sha256.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sha256.c; sourceTree = ""; }; + DD7AB3551B979E3B0047DE55 /* sha512.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = sha512.c; sourceTree = ""; }; + DD7AB35B1B979E3B0047DE55 /* asn1.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = asn1.c; sourceTree = ""; }; + DD7AB35C1B979E3B0047DE55 /* asn1.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = asn1.h; sourceTree = ""; }; + DD7AB3601B979E3B0047DE55 /* base64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = base64.c; sourceTree = ""; }; + DD7AB3621B979E3B0047DE55 /* pkcs.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pkcs.c; sourceTree = ""; }; + DD7AB3641B979E3B0047DE55 /* x509.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = x509.c; sourceTree = ""; }; + DD7AB3651B979E3B0047DE55 /* x509.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = x509.h; sourceTree = ""; }; + DD7AB36D1B979E3B0047DE55 /* layer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = layer.h; sourceTree = ""; }; + DD7AB36E1B979E3B0047DE55 /* matrix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = matrix.c; sourceTree = ""; }; + DD7AB3731B979E3B0047DE55 /* pstm.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pstm.c; sourceTree = ""; }; + DD7AB3741B979E3B0047DE55 /* pstm.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pstm.h; sourceTree = ""; }; + DD7AB3761B979E3B0047DE55 /* pstm_montgomery_reduce.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pstm_montgomery_reduce.c; sourceTree = ""; }; + DD7AB3781B979E3B0047DE55 /* pstm_mul_comba.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pstm_mul_comba.c; sourceTree = ""; }; + DD7AB37A1B979E3B0047DE55 /* pstm_sqr_comba.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pstm_sqr_comba.c; sourceTree = ""; }; + DD7AB37F1B979E3B0047DE55 /* prng.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = prng.c; sourceTree = ""; }; + DD7AB3801B979E3B0047DE55 /* prng.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = prng.h; sourceTree = ""; }; + DD7AB3821B979E3B0047DE55 /* yarrow.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = yarrow.c; sourceTree = ""; }; + DD7AB3851B979E3B0047DE55 /* dh.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = dh.c; sourceTree = ""; }; + DD7AB3871B979E3B0047DE55 /* ecc.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = ecc.c; sourceTree = ""; }; + DD7AB38C1B979E3B0047DE55 /* pubkey.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = pubkey.c; sourceTree = ""; }; + DD7AB38D1B979E3B0047DE55 /* pubkey.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pubkey.h; sourceTree = ""; }; + DD7AB3901B979E3B0047DE55 /* pubkey_matrix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pubkey_matrix.h; sourceTree = ""; }; + DD7AB3911B979E3B0047DE55 /* pubkey_openssl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = pubkey_openssl.h; sourceTree = ""; }; + DD7AB3941B979E3B0047DE55 /* rsa.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rsa.c; sourceTree = ""; }; + DD7AB3961B979E3B0047DE55 /* rsa_openssl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rsa_openssl.c; sourceTree = ""; }; + DD7AB3991B979E3B0047DE55 /* aes.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = aes.c; sourceTree = ""; }; + DD7AB39B1B979E3B0047DE55 /* aes_aesni.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = aes_aesni.c; sourceTree = ""; }; + DD7AB39C1B979E3B0047DE55 /* aes_aesni.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aes_aesni.h; sourceTree = ""; }; + DD7AB39E1B979E3B0047DE55 /* aes_matrix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = aes_matrix.h; sourceTree = ""; }; + DD7AB39F1B979E3B0047DE55 /* aesCBC.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = aesCBC.c; sourceTree = ""; }; + DD7AB3A31B979E3B0047DE55 /* aesGCM.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = aesGCM.c; sourceTree = ""; }; + DD7AB3A71B979E3B0047DE55 /* arc4.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = arc4.c; sourceTree = ""; }; + DD7AB3A91B979E3B0047DE55 /* des3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = des3.c; sourceTree = ""; }; + DD7AB3AB1B979E3B0047DE55 /* idea.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = idea.c; sourceTree = ""; }; + DD7AB3AD1B979E3B0047DE55 /* rc2.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = rc2.c; sourceTree = ""; }; + DD7AB3AF1B979E3B0047DE55 /* seed.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = seed.c; sourceTree = ""; }; + DD7AB3B11B979E3B0047DE55 /* symmetric.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = symmetric.h; sourceTree = ""; }; + DD7AB3B21B979E3B0047DE55 /* symmetric_openssl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = symmetric_openssl.c; sourceTree = ""; }; + DD7AB3B31B979E3B0047DE55 /* symmetric_openssl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = symmetric_openssl.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD1144291B8D2D7D00721CD4 = { + isa = PBXGroup; + children = ( + DD11443E1B8D2E4E00721CD4 /* Makefile */, + DD1144351B8D2DE200721CD4 /* cryptoConfig.h */, + DD376E461CC55C8C008AD651 /* cryptoCheck.h */, + DD1144341B8D2DE200721CD4 /* cryptoApi.h */, + DD1144361B8D2DE200721CD4 /* cryptolib.h */, + DD7AB33E1B979E3B0047DE55 /* digest */, + DD7AB35A1B979E3B0047DE55 /* keyformat */, + DD7AB36B1B979E3B0047DE55 /* layer */, + DD7AB3721B979E3B0047DE55 /* math */, + DD7AB37C1B979E3B0047DE55 /* prng */, + DD7AB3841B979E3B0047DE55 /* pubkey */, + DD7AB3981B979E3B0047DE55 /* symmetric */, + ); + sourceTree = ""; + }; + DD7AB33E1B979E3B0047DE55 /* digest */ = { + isa = PBXGroup; + children = ( + DD7AB3411B979E3B0047DE55 /* digest.h */, + DD7AB3431B979E3B0047DE55 /* digest_matrix.h */, + DD4E16F91C3B16350064B760 /* digest_libsodium.h */, + DD7AB3451B979E3B0047DE55 /* digest_openssl.h */, + DD4E16F81C3B16350064B760 /* digest_libsodium.c */, + DD7AB3441B979E3B0047DE55 /* digest_openssl.c */, + DD7AB3471B979E3B0047DE55 /* hmac.c */, + DD7AB3491B979E3B0047DE55 /* md2.c */, + DD7AB34B1B979E3B0047DE55 /* md4.c */, + DD7AB34D1B979E3B0047DE55 /* md5.c */, + DD7AB34F1B979E3B0047DE55 /* md5sha1.c */, + DD7AB3511B979E3B0047DE55 /* sha1.c */, + DD7AB3531B979E3B0047DE55 /* sha256.c */, + DD7AB3551B979E3B0047DE55 /* sha512.c */, + ); + name = digest; + path = ../crypto/digest; + sourceTree = ""; + }; + DD7AB35A1B979E3B0047DE55 /* keyformat */ = { + isa = PBXGroup; + children = ( + DD7AB35C1B979E3B0047DE55 /* asn1.h */, + DD7AB35B1B979E3B0047DE55 /* asn1.c */, + DD7AB3601B979E3B0047DE55 /* base64.c */, + DD7AB3621B979E3B0047DE55 /* pkcs.c */, + DD7AB3651B979E3B0047DE55 /* x509.h */, + DD7AB3641B979E3B0047DE55 /* x509.c */, + ); + name = keyformat; + path = ../crypto/keyformat; + sourceTree = ""; + }; + DD7AB36B1B979E3B0047DE55 /* layer */ = { + isa = PBXGroup; + children = ( + DD7AB36D1B979E3B0047DE55 /* layer.h */, + DD7AB36E1B979E3B0047DE55 /* matrix.c */, + ); + name = layer; + path = ../crypto/layer; + sourceTree = ""; + }; + DD7AB3721B979E3B0047DE55 /* math */ = { + isa = PBXGroup; + children = ( + DD7AB3741B979E3B0047DE55 /* pstm.h */, + DD7AB3731B979E3B0047DE55 /* pstm.c */, + DD7AB3761B979E3B0047DE55 /* pstm_montgomery_reduce.c */, + DD7AB3781B979E3B0047DE55 /* pstm_mul_comba.c */, + DD7AB37A1B979E3B0047DE55 /* pstm_sqr_comba.c */, + ); + name = math; + path = ../crypto/math; + sourceTree = ""; + }; + DD7AB37C1B979E3B0047DE55 /* prng */ = { + isa = PBXGroup; + children = ( + DD7AB3801B979E3B0047DE55 /* prng.h */, + DD7AB37F1B979E3B0047DE55 /* prng.c */, + DD7AB3821B979E3B0047DE55 /* yarrow.c */, + ); + name = prng; + path = ../crypto/prng; + sourceTree = ""; + }; + DD7AB3841B979E3B0047DE55 /* pubkey */ = { + isa = PBXGroup; + children = ( + DD7AB38D1B979E3B0047DE55 /* pubkey.h */, + DD7AB3901B979E3B0047DE55 /* pubkey_matrix.h */, + DD7AB38C1B979E3B0047DE55 /* pubkey.c */, + DD7AB3851B979E3B0047DE55 /* dh.c */, + DD7AB3871B979E3B0047DE55 /* ecc.c */, + DD7AB3941B979E3B0047DE55 /* rsa.c */, + DD7AB3911B979E3B0047DE55 /* pubkey_openssl.h */, + DD7AB3961B979E3B0047DE55 /* rsa_openssl.c */, + ); + name = pubkey; + path = ../crypto/pubkey; + sourceTree = ""; + }; + DD7AB3981B979E3B0047DE55 /* symmetric */ = { + isa = PBXGroup; + children = ( + DD7AB3B11B979E3B0047DE55 /* symmetric.h */, + DD7AB39E1B979E3B0047DE55 /* aes_matrix.h */, + DD7AB39C1B979E3B0047DE55 /* aes_aesni.h */, + DD4E16FB1C3B16540064B760 /* symmetric_libsodium.h */, + DD7AB3B31B979E3B0047DE55 /* symmetric_openssl.h */, + DD7AB3991B979E3B0047DE55 /* aes.c */, + DD7AB39F1B979E3B0047DE55 /* aesCBC.c */, + DD7AB3A31B979E3B0047DE55 /* aesGCM.c */, + DD7AB39B1B979E3B0047DE55 /* aes_aesni.c */, + DD7AB3A71B979E3B0047DE55 /* arc4.c */, + DD7AB3A91B979E3B0047DE55 /* des3.c */, + DD7AB3AB1B979E3B0047DE55 /* idea.c */, + DD7AB3AD1B979E3B0047DE55 /* rc2.c */, + DD7AB3AF1B979E3B0047DE55 /* seed.c */, + DD4E16FA1C3B16540064B760 /* symmetric_libsodium.c */, + DD7AB3B21B979E3B0047DE55 /* symmetric_openssl.c */, + ); + name = symmetric; + path = ../crypto/symmetric; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD11442E1B8D2D7D00721CD4 /* crypto */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD1144311B8D2D7D00721CD4 /* Build configuration list for PBXLegacyTarget "crypto" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../crypto; + dependencies = ( + ); + name = crypto; + passBuildSettingsInEnvironment = 1; + productName = crypto; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD11442A1B8D2D7D00721CD4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD11442E1B8D2D7D00721CD4 = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD11442D1B8D2D7D00721CD4 /* Build configuration list for PBXProject "crypto" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD1144291B8D2D7D00721CD4; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DD11442E1B8D2D7D00721CD4 /* crypto */, + ); + }; +/* End PBXProject section */ + +/* Begin XCBuildConfiguration section */ + DD11442F1B8D2D7D00721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD1144301B8D2D7D00721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD1144321B8D2D7D00721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD1144331B8D2D7D00721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD11442D1B8D2D7D00721CD4 /* Build configuration list for PBXProject "crypto" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD11442F1B8D2D7D00721CD4 /* Debug */, + DD1144301B8D2D7D00721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD1144311B8D2D7D00721CD4 /* Build configuration list for PBXLegacyTarget "crypto" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD1144321B8D2D7D00721CD4 /* Debug */, + DD1144331B8D2D7D00721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD11442A1B8D2D7D00721CD4 /* Project object */; +} diff --git a/xcode/dtlsClient.xcodeproj/project.pbxproj b/xcode/dtlsClient.xcodeproj/project.pbxproj new file mode 100644 index 0000000..332efac --- /dev/null +++ b/xcode/dtlsClient.xcodeproj/project.pbxproj @@ -0,0 +1,283 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD2B4EAD1BA8E32D000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD2B4EAF1BA8E330000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; + DD2B4EB11BA8E333000FD8BC /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD1144441B8D2EE600721CD4; + remoteInfo = matrixssl; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 877FAC9E1BF50F5500BF8B70 /* dtlsClient.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtlsClient.c; path = ../apps/dtls/dtlsClient.c; sourceTree = ""; }; + 877FAC9F1BF50F5500BF8B70 /* dtlsCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtlsCommon.c; path = ../apps/dtls/dtlsCommon.c; sourceTree = ""; }; + 877FACA01BF50F5500BF8B70 /* dtlsCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dtlsCommon.h; path = ../apps/dtls/dtlsCommon.h; sourceTree = ""; }; + 877FACA11BF50F5500BF8B70 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../apps/dtls/Makefile; sourceTree = ""; }; + DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; + DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = matrixssl.xcodeproj; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD2B4E8C1BA8E17A000FD8BC = { + isa = PBXGroup; + children = ( + 877FAC9E1BF50F5500BF8B70 /* dtlsClient.c */, + 877FAC9F1BF50F5500BF8B70 /* dtlsCommon.c */, + 877FACA01BF50F5500BF8B70 /* dtlsCommon.h */, + 877FACA11BF50F5500BF8B70 /* Makefile */, + DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */, + DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */, + DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */, + ); + sourceTree = ""; + }; + DD2B4E981BA8E1B5000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD2B4E9C1BA8E1C0000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD2B4E9F1BA8E1C0000FD8BC /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD2B4E911BA8E17B000FD8BC /* client */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD2B4E941BA8E17B000FD8BC /* Build configuration list for PBXLegacyTarget "client" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../apps/dtls; + dependencies = ( + DD2B4EB21BA8E333000FD8BC /* PBXTargetDependency */, + DD2B4EB01BA8E330000FD8BC /* PBXTargetDependency */, + DD2B4EAE1BA8E32D000FD8BC /* PBXTargetDependency */, + ); + name = client; + passBuildSettingsInEnvironment = 1; + productName = client; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD2B4E8D1BA8E17A000FD8BC /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0640; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD2B4E911BA8E17B000FD8BC = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD2B4E901BA8E17A000FD8BC /* Build configuration list for PBXProject "dtlsClient" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD2B4E8C1BA8E17A000FD8BC; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD2B4E981BA8E1B5000FD8BC /* Products */; + ProjectRef = DD2B4E971BA8E1B5000FD8BC /* core.xcodeproj */; + }, + { + ProductGroup = DD2B4E9C1BA8E1C0000FD8BC /* Products */; + ProjectRef = DD2B4E9B1BA8E1C0000FD8BC /* crypto.xcodeproj */; + }, + { + ProductGroup = DD2B4E9F1BA8E1C0000FD8BC /* Products */; + ProjectRef = DD2B4E9E1BA8E1C0000FD8BC /* matrixssl.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD2B4E911BA8E17B000FD8BC /* client */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD2B4EAE1BA8E32D000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD2B4EAD1BA8E32D000FD8BC /* PBXContainerItemProxy */; + }; + DD2B4EB01BA8E330000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD2B4EAF1BA8E330000FD8BC /* PBXContainerItemProxy */; + }; + DD2B4EB21BA8E333000FD8BC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = matrixssl; + targetProxy = DD2B4EB11BA8E333000FD8BC /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD2B4E921BA8E17B000FD8BC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD2B4E931BA8E17B000FD8BC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD2B4E951BA8E17B000FD8BC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD2B4E961BA8E17B000FD8BC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD2B4E901BA8E17A000FD8BC /* Build configuration list for PBXProject "dtlsClient" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD2B4E921BA8E17B000FD8BC /* Debug */, + DD2B4E931BA8E17B000FD8BC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD2B4E941BA8E17B000FD8BC /* Build configuration list for PBXLegacyTarget "client" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD2B4E951BA8E17B000FD8BC /* Debug */, + DD2B4E961BA8E17B000FD8BC /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD2B4E8D1BA8E17A000FD8BC /* Project object */; +} diff --git a/xcode/dtlsServer.xcodeproj/project.pbxproj b/xcode/dtlsServer.xcodeproj/project.pbxproj new file mode 100644 index 0000000..53d7739 --- /dev/null +++ b/xcode/dtlsServer.xcodeproj/project.pbxproj @@ -0,0 +1,284 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD8B3B951BA91DEF008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD8B3B971BA91DF2008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; + DD8B3B991BA91DF7008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD1144441B8D2EE600721CD4; + remoteInfo = matrixssl; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 877FACAB1BF5219900BF8B70 /* dtlsCommon.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtlsCommon.c; path = ../apps/dtls/dtlsCommon.c; sourceTree = ""; }; + 877FACAC1BF5219900BF8B70 /* dtlsCommon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = dtlsCommon.h; path = ../apps/dtls/dtlsCommon.h; sourceTree = ""; }; + 877FACAD1BF5219900BF8B70 /* dtlsServer.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtlsServer.c; path = ../apps/dtls/dtlsServer.c; sourceTree = ""; }; + 877FACAE1BF5219900BF8B70 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../apps/dtls/Makefile; sourceTree = ""; }; + DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; + DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = matrixssl.xcodeproj; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD8B3B7E1BA91D85008FCF6E = { + isa = PBXGroup; + children = ( + 877FACAB1BF5219900BF8B70 /* dtlsCommon.c */, + 877FACAC1BF5219900BF8B70 /* dtlsCommon.h */, + 877FACAD1BF5219900BF8B70 /* dtlsServer.c */, + 877FACAE1BF5219900BF8B70 /* Makefile */, + DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */, + DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */, + DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */, + ); + sourceTree = ""; + }; + DD8B3B8A1BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD8B3B8D1BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD8B3B901BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD8B3B831BA91D85008FCF6E /* server */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD8B3B861BA91D85008FCF6E /* Build configuration list for PBXLegacyTarget "server" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../apps/dtls/; + dependencies = ( + DD8B3B9A1BA91DF7008FCF6E /* PBXTargetDependency */, + DD8B3B981BA91DF2008FCF6E /* PBXTargetDependency */, + DD8B3B961BA91DEF008FCF6E /* PBXTargetDependency */, + ); + name = server; + passBuildSettingsInEnvironment = 1; + productName = server; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD8B3B7F1BA91D85008FCF6E /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD8B3B831BA91D85008FCF6E = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD8B3B821BA91D85008FCF6E /* Build configuration list for PBXProject "dtlsServer" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD8B3B7E1BA91D85008FCF6E; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD8B3B8A1BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */; + }, + { + ProductGroup = DD8B3B8D1BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */; + }, + { + ProductGroup = DD8B3B901BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD8B3B831BA91D85008FCF6E /* server */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD8B3B961BA91DEF008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD8B3B951BA91DEF008FCF6E /* PBXContainerItemProxy */; + }; + DD8B3B981BA91DF2008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD8B3B971BA91DF2008FCF6E /* PBXContainerItemProxy */; + }; + DD8B3B9A1BA91DF7008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = matrixssl; + targetProxy = DD8B3B991BA91DF7008FCF6E /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD8B3B841BA91D85008FCF6E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD8B3B851BA91D85008FCF6E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD8B3B871BA91D85008FCF6E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD8B3B881BA91D85008FCF6E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD8B3B821BA91D85008FCF6E /* Build configuration list for PBXProject "dtlsServer" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD8B3B841BA91D85008FCF6E /* Debug */, + DD8B3B851BA91D85008FCF6E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD8B3B861BA91D85008FCF6E /* Build configuration list for PBXLegacyTarget "server" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD8B3B871BA91D85008FCF6E /* Debug */, + DD8B3B881BA91D85008FCF6E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD8B3B7F1BA91D85008FCF6E /* Project object */; +} diff --git a/xcode/matrixssl.xcodeproj/project.pbxproj b/xcode/matrixssl.xcodeproj/project.pbxproj new file mode 100644 index 0000000..0a75213 --- /dev/null +++ b/xcode/matrixssl.xcodeproj/project.pbxproj @@ -0,0 +1,228 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + 877FACC11BF5470600BF8B70 /* matrixsslCheck.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = matrixsslCheck.h; path = ../matrixssl/matrixsslCheck.h; sourceTree = ""; }; + DD11444A1B8D2F7A00721CD4 /* cipherSuite.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = cipherSuite.c; path = ../matrixssl/cipherSuite.c; sourceTree = ""; }; + DD11444B1B8D2F7A00721CD4 /* dtls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dtls.c; path = ../matrixssl/dtls.c; sourceTree = ""; }; + DD11444C1B8D2F7A00721CD4 /* extDecode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = extDecode.c; path = ../matrixssl/extDecode.c; sourceTree = ""; }; + DD11444D1B8D2F7A00721CD4 /* hsDecode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hsDecode.c; path = ../matrixssl/hsDecode.c; sourceTree = ""; }; + DD11444E1B8D2F7A00721CD4 /* hsHash.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = hsHash.c; path = ../matrixssl/hsHash.c; sourceTree = ""; }; + DD11444F1B8D2F7A00721CD4 /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../matrixssl/Makefile; sourceTree = ""; }; + DD1144501B8D2F7A00721CD4 /* matrixssl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = matrixssl.c; path = ../matrixssl/matrixssl.c; sourceTree = ""; }; + DD1144511B8D2F7A00721CD4 /* matrixsslApi.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = matrixsslApi.c; path = ../matrixssl/matrixsslApi.c; sourceTree = ""; }; + DD1144521B8D2F7A00721CD4 /* matrixsslApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = matrixsslApi.h; path = ../matrixssl/matrixsslApi.h; sourceTree = ""; }; + DD1144531B8D2F7A00721CD4 /* matrixsslConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = matrixsslConfig.h; path = ../matrixssl/matrixsslConfig.h; sourceTree = ""; }; + DD1144541B8D2F7A00721CD4 /* matrixssllib.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = matrixssllib.h; path = ../matrixssl/matrixssllib.h; sourceTree = ""; }; + DD1144551B8D2F7A00721CD4 /* prf.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = prf.c; path = ../matrixssl/prf.c; sourceTree = ""; }; + DD1144561B8D2F7A00721CD4 /* psk.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = psk.c; path = ../matrixssl/psk.c; sourceTree = ""; }; + DD1144581B8D2F7A00721CD4 /* sslDecode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sslDecode.c; path = ../matrixssl/sslDecode.c; sourceTree = ""; }; + DD1144591B8D2F7A00721CD4 /* sslEncode.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sslEncode.c; path = ../matrixssl/sslEncode.c; sourceTree = ""; }; + DD11445A1B8D2F7A00721CD4 /* sslv3.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sslv3.c; path = ../matrixssl/sslv3.c; sourceTree = ""; }; + DD11445B1B8D2F7A00721CD4 /* tls.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = tls.c; path = ../matrixssl/tls.c; sourceTree = ""; }; + DD11445C1B8D2F7A00721CD4 /* version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = version.h; path = ../matrixssl/version.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD11443F1B8D2EE600721CD4 = { + isa = PBXGroup; + children = ( + DD11444F1B8D2F7A00721CD4 /* Makefile */, + DD1144531B8D2F7A00721CD4 /* matrixsslConfig.h */, + 877FACC11BF5470600BF8B70 /* matrixsslCheck.h */, + DD1144521B8D2F7A00721CD4 /* matrixsslApi.h */, + DD1144541B8D2F7A00721CD4 /* matrixssllib.h */, + DD11444A1B8D2F7A00721CD4 /* cipherSuite.c */, + DD11444B1B8D2F7A00721CD4 /* dtls.c */, + DD11444C1B8D2F7A00721CD4 /* extDecode.c */, + DD11444D1B8D2F7A00721CD4 /* hsDecode.c */, + DD11444E1B8D2F7A00721CD4 /* hsHash.c */, + DD1144501B8D2F7A00721CD4 /* matrixssl.c */, + DD1144511B8D2F7A00721CD4 /* matrixsslApi.c */, + DD1144551B8D2F7A00721CD4 /* prf.c */, + DD1144561B8D2F7A00721CD4 /* psk.c */, + DD1144581B8D2F7A00721CD4 /* sslDecode.c */, + DD1144591B8D2F7A00721CD4 /* sslEncode.c */, + DD11445A1B8D2F7A00721CD4 /* sslv3.c */, + DD11445B1B8D2F7A00721CD4 /* tls.c */, + DD11445C1B8D2F7A00721CD4 /* version.h */, + ); + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD1144441B8D2EE600721CD4 /* matrixssl */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD1144471B8D2EE600721CD4 /* Build configuration list for PBXLegacyTarget "matrixssl" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../matrixssl/; + dependencies = ( + ); + name = matrixssl; + passBuildSettingsInEnvironment = 1; + productName = matrixssl; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD1144401B8D2EE600721CD4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD1144441B8D2EE600721CD4 = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD1144431B8D2EE600721CD4 /* Build configuration list for PBXProject "matrixssl" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD11443F1B8D2EE600721CD4; + projectDirPath = ""; + projectRoot = ""; + targets = ( + DD1144441B8D2EE600721CD4 /* matrixssl */, + ); + }; +/* End PBXProject section */ + +/* Begin XCBuildConfiguration section */ + DD1144451B8D2EE600721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD1144461B8D2EE600721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD1144481B8D2EE600721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD1144491B8D2EE600721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD1144431B8D2EE600721CD4 /* Build configuration list for PBXProject "matrixssl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD1144451B8D2EE600721CD4 /* Debug */, + DD1144461B8D2EE600721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD1144471B8D2EE600721CD4 /* Build configuration list for PBXLegacyTarget "matrixssl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD1144481B8D2EE600721CD4 /* Debug */, + DD1144491B8D2EE600721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD1144401B8D2EE600721CD4 /* Project object */; +} diff --git a/xcode/server.xcodeproj/project.pbxproj b/xcode/server.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c8c1d0b --- /dev/null +++ b/xcode/server.xcodeproj/project.pbxproj @@ -0,0 +1,284 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD8B3B951BA91DEF008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD8B3B971BA91DF2008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; + DD8B3B991BA91DF7008FCF6E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD1144441B8D2EE600721CD4; + remoteInfo = matrixssl; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; + DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = matrixssl.xcodeproj; sourceTree = ""; }; + DD8B3B9B1BA91E21008FCF6E /* app.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = app.h; path = ../apps/ssl/app.h; sourceTree = ""; }; + DD8B3B9C1BA91E21008FCF6E /* http.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = http.c; path = ../apps/ssl/http.c; sourceTree = ""; }; + DD8B3B9D1BA91E21008FCF6E /* server.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = server.c; path = ../apps/ssl/server.c; sourceTree = ""; }; + DD8B3B9E1BA91E36008FCF6E /* Makefile */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.make; name = Makefile; path = ../apps/ssl/Makefile; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD8B3B7E1BA91D85008FCF6E = { + isa = PBXGroup; + children = ( + DD8B3B9D1BA91E21008FCF6E /* server.c */, + DD8B3B9C1BA91E21008FCF6E /* http.c */, + DD8B3B9B1BA91E21008FCF6E /* app.h */, + DD8B3B9E1BA91E36008FCF6E /* Makefile */, + DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */, + DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */, + DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */, + ); + sourceTree = ""; + }; + DD8B3B8A1BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD8B3B8D1BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD8B3B901BA91DDE008FCF6E /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD8B3B831BA91D85008FCF6E /* server */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD8B3B861BA91D85008FCF6E /* Build configuration list for PBXLegacyTarget "server" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../apps/ssl/; + dependencies = ( + DD8B3B9A1BA91DF7008FCF6E /* PBXTargetDependency */, + DD8B3B981BA91DF2008FCF6E /* PBXTargetDependency */, + DD8B3B961BA91DEF008FCF6E /* PBXTargetDependency */, + ); + name = server; + passBuildSettingsInEnvironment = 1; + productName = server; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD8B3B7F1BA91D85008FCF6E /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0700; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD8B3B831BA91D85008FCF6E = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD8B3B821BA91D85008FCF6E /* Build configuration list for PBXProject "server" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD8B3B7E1BA91D85008FCF6E; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD8B3B8A1BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B891BA91DDE008FCF6E /* core.xcodeproj */; + }, + { + ProductGroup = DD8B3B8D1BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B8C1BA91DDE008FCF6E /* crypto.xcodeproj */; + }, + { + ProductGroup = DD8B3B901BA91DDE008FCF6E /* Products */; + ProjectRef = DD8B3B8F1BA91DDE008FCF6E /* matrixssl.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD8B3B831BA91D85008FCF6E /* server */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD8B3B961BA91DEF008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD8B3B951BA91DEF008FCF6E /* PBXContainerItemProxy */; + }; + DD8B3B981BA91DF2008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD8B3B971BA91DF2008FCF6E /* PBXContainerItemProxy */; + }; + DD8B3B9A1BA91DF7008FCF6E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = matrixssl; + targetProxy = DD8B3B991BA91DF7008FCF6E /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD8B3B841BA91D85008FCF6E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD8B3B851BA91D85008FCF6E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD8B3B871BA91D85008FCF6E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD8B3B881BA91D85008FCF6E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD8B3B821BA91D85008FCF6E /* Build configuration list for PBXProject "server" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD8B3B841BA91D85008FCF6E /* Debug */, + DD8B3B851BA91D85008FCF6E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD8B3B861BA91D85008FCF6E /* Build configuration list for PBXLegacyTarget "server" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD8B3B871BA91D85008FCF6E /* Debug */, + DD8B3B881BA91D85008FCF6E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD8B3B7F1BA91D85008FCF6E /* Project object */; +} diff --git a/xcode/sslTest.xcodeproj/project.pbxproj b/xcode/sslTest.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a34a49d --- /dev/null +++ b/xcode/sslTest.xcodeproj/project.pbxproj @@ -0,0 +1,278 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXContainerItemProxy section */ + DD1144A51B8D3A2B00721CD4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD1144991B8D39B700721CD4 /* core.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD7EB84D1B8D2A83000F7458; + remoteInfo = core; + }; + DD1144A71B8D3A2B00721CD4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD1144A11B8D39C700721CD4 /* crypto.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD11442E1B8D2D7D00721CD4; + remoteInfo = crypto; + }; + DD1144A91B8D3A2B00721CD4 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = DD1144911B8D399200721CD4 /* matrixssl.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = DD1144441B8D2EE600721CD4; + remoteInfo = matrixssl; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + DD1144901B8D38F700721CD4 /* sslTest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = sslTest.c; path = ../matrixssl/test/sslTest.c; sourceTree = ""; }; + DD1144911B8D399200721CD4 /* matrixssl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = matrixssl.xcodeproj; sourceTree = ""; }; + DD1144991B8D39B700721CD4 /* core.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = core.xcodeproj; sourceTree = ""; }; + DD1144A11B8D39C700721CD4 /* crypto.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = crypto.xcodeproj; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + DD1144851B8D37F700721CD4 = { + isa = PBXGroup; + children = ( + DD1144901B8D38F700721CD4 /* sslTest.c */, + DD1144991B8D39B700721CD4 /* core.xcodeproj */, + DD1144A11B8D39C700721CD4 /* crypto.xcodeproj */, + DD1144911B8D399200721CD4 /* matrixssl.xcodeproj */, + ); + sourceTree = ""; + }; + DD1144921B8D399200721CD4 /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD11449A1B8D39B700721CD4 /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; + DD1144A21B8D39C700721CD4 /* Products */ = { + isa = PBXGroup; + children = ( + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXLegacyTarget section */ + DD11448A1B8D37F700721CD4 /* sslTest */ = { + isa = PBXLegacyTarget; + buildArgumentsString = "$(ACTION)"; + buildConfigurationList = DD11448D1B8D37F700721CD4 /* Build configuration list for PBXLegacyTarget "sslTest" */; + buildPhases = ( + ); + buildToolPath = /usr/bin/make; + buildWorkingDirectory = ../matrixssl/test/; + dependencies = ( + DD1144A61B8D3A2B00721CD4 /* PBXTargetDependency */, + DD1144A81B8D3A2B00721CD4 /* PBXTargetDependency */, + DD1144AA1B8D3A2B00721CD4 /* PBXTargetDependency */, + ); + name = sslTest; + passBuildSettingsInEnvironment = 1; + productName = sslTest; + }; +/* End PBXLegacyTarget section */ + +/* Begin PBXProject section */ + DD1144861B8D37F700721CD4 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0710; + ORGANIZATIONNAME = "INSIDE Secure"; + TargetAttributes = { + DD11448A1B8D37F700721CD4 = { + CreatedOnToolsVersion = 6.4; + }; + }; + }; + buildConfigurationList = DD1144891B8D37F700721CD4 /* Build configuration list for PBXProject "sslTest" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = DD1144851B8D37F700721CD4; + projectDirPath = ""; + projectReferences = ( + { + ProductGroup = DD11449A1B8D39B700721CD4 /* Products */; + ProjectRef = DD1144991B8D39B700721CD4 /* core.xcodeproj */; + }, + { + ProductGroup = DD1144A21B8D39C700721CD4 /* Products */; + ProjectRef = DD1144A11B8D39C700721CD4 /* crypto.xcodeproj */; + }, + { + ProductGroup = DD1144921B8D399200721CD4 /* Products */; + ProjectRef = DD1144911B8D399200721CD4 /* matrixssl.xcodeproj */; + }, + ); + projectRoot = ""; + targets = ( + DD11448A1B8D37F700721CD4 /* sslTest */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXTargetDependency section */ + DD1144A61B8D3A2B00721CD4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = core; + targetProxy = DD1144A51B8D3A2B00721CD4 /* PBXContainerItemProxy */; + }; + DD1144A81B8D3A2B00721CD4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = crypto; + targetProxy = DD1144A71B8D3A2B00721CD4 /* PBXContainerItemProxy */; + }; + DD1144AA1B8D3A2B00721CD4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = matrixssl; + targetProxy = DD1144A91B8D3A2B00721CD4 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + DD11448B1B8D37F700721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; + }; + name = Debug; + }; + DD11448C1B8D37F700721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = ""; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = macosx; + }; + name = Release; + }; + DD11448E1B8D37F700721CD4 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DEBUGGING_SYMBOLS = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + DD11448F1B8D37F700721CD4 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + OTHER_CFLAGS = ""; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + DD1144891B8D37F700721CD4 /* Build configuration list for PBXProject "sslTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD11448B1B8D37F700721CD4 /* Debug */, + DD11448C1B8D37F700721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + DD11448D1B8D37F700721CD4 /* Build configuration list for PBXLegacyTarget "sslTest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD11448E1B8D37F700721CD4 /* Debug */, + DD11448F1B8D37F700721CD4 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = DD1144861B8D37F700721CD4 /* Project object */; +}