From 3dbc105fbdbde6415a7303e4d4db0d06aa91e1f4 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Fri, 19 Dec 2014 00:03:54 -0500 Subject: [PATCH] Update C code for inclusion in ObjC and update scrypt to colin's latest code. --- External/Pearl | 2 +- MasterPassword/C/mpw-bench.c | 6 +-- MasterPassword/C/mpw.c | 23 +++--------- MasterPassword/C/types.c | 8 ++-- .../project.pbxproj | 37 ++++--------------- 5 files changed, 22 insertions(+), 54 deletions(-) diff --git a/External/Pearl b/External/Pearl index 2237aaf4..8c646abd 160000 --- a/External/Pearl +++ b/External/Pearl @@ -1 +1 @@ -Subproject commit 2237aaf4295f74627b63040c4c246cddff339958 +Subproject commit 8c646abdaecb81c7131c8fe5d334c88171896ead diff --git a/MasterPassword/C/mpw-bench.c b/MasterPassword/C/mpw-bench.c index 55e20fc3..66e1c4c9 100644 --- a/MasterPassword/C/mpw-bench.c +++ b/MasterPassword/C/mpw-bench.c @@ -11,9 +11,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "types.h" #define MP_N 32768 diff --git a/MasterPassword/C/mpw.c b/MasterPassword/C/mpw.c index 88367a8f..4aeaee48 100644 --- a/MasterPassword/C/mpw.c +++ b/MasterPassword/C/mpw.c @@ -2,25 +2,15 @@ #include #include -#include #include -#include -#if defined(__linux__) -#include -#else -#include -#endif -#include #include -#include #include -#include #include #include #include -#include -#include +#include +#include #include "types.h" #if defined(READLINE) @@ -39,7 +29,7 @@ #define MP_env_sitetype "MP_SITETYPE" #define MP_env_sitecounter "MP_SITECOUNTER" -void usage() { +static void usage() { fprintf(stderr, "Usage: mpw [-u name] [-t type] [-c counter] site\n\n"); fprintf(stderr, " -u name Specify the full name of the user.\n" " Defaults to %s in env.\n\n", MP_env_fullname); @@ -73,7 +63,7 @@ void usage() { exit(0); } -char *homedir(const char *filename) { +static char *homedir(const char *filename) { char *homedir = NULL; struct passwd* passwd = getpwuid(getuid()); if (passwd) @@ -88,7 +78,7 @@ char *homedir(const char *filename) { return homefile; } -char *getlinep(const char *prompt) { +static char *getlinep(const char *prompt) { char *buf = NULL; size_t bufSize = 0; ssize_t lineSize; @@ -199,8 +189,7 @@ int main(int argc, char *const argv[]) { if (mpwConfig) { char *line = NULL; size_t linecap = 0; - ssize_t linelen; - while ((linelen = getline(&line, &linecap, mpwConfig)) > 0) { + while (getline(&line, &linecap, mpwConfig) > 0) { char *lineData = line; if (strcmp(strsep(&lineData, ":"), fullName) == 0) { masterPassword = strcpy(malloc(strlen(lineData)), strsep(&lineData, "\n")); diff --git a/MasterPassword/C/types.c b/MasterPassword/C/types.c index beefbfa2..f2f7a1b7 100644 --- a/MasterPassword/C/types.c +++ b/MasterPassword/C/types.c @@ -14,7 +14,7 @@ #include #include -#include +#include #ifdef COLOR #include @@ -27,7 +27,7 @@ const MPSiteType TypeWithName(const char *typeName) { char lowerTypeName[strlen(typeName)]; strcpy(lowerTypeName, typeName); for (char *tN = lowerTypeName; *tN; ++tN) - *tN = tolower(*tN); + *tN = (char)tolower(*tN); if (0 == strcmp(lowerTypeName, "x") || 0 == strcmp(lowerTypeName, "max") || 0 == strcmp(lowerTypeName, "maximum")) return MPSiteTypeGeneratedMaximum; @@ -97,7 +97,7 @@ const MPSiteVariant VariantWithName(const char *variantName) { char lowerVariantName[strlen(variantName)]; strcpy(lowerVariantName, variantName); for (char *vN = lowerVariantName; *vN; ++vN) - *vN = tolower(*vN); + *vN = (char)tolower(*vN); if (0 == strcmp(lowerVariantName, "p") || 0 == strcmp(lowerVariantName, "password")) return MPSiteVariantPassword; @@ -227,10 +227,10 @@ const char *Identicon(const char *fullName, const char *masterPassword) { uint8_t identiconSeed[32]; HMAC_SHA256_Buf(masterPassword, strlen(masterPassword), fullName, strlen(fullName), identiconSeed); - uint8_t colorIdentifier = identiconSeed[4] % 7 + 1; char *colorString, *resetString; #ifdef COLOR if (isatty( STDERR_FILENO )) { + uint8_t colorIdentifier = (uint8_t)(identiconSeed[4] % 7 + 1); initputvar(); tputs(tparm(tgetstr("AF", NULL), colorIdentifier), 1, putvar); colorString = calloc(strlen(putvarc) + 1, sizeof(char)); diff --git a/MasterPassword/ObjC/iOS/MasterPassword-iOS.xcodeproj/project.pbxproj b/MasterPassword/ObjC/iOS/MasterPassword-iOS.xcodeproj/project.pbxproj index 10128ed8..07515e2a 100644 --- a/MasterPassword/ObjC/iOS/MasterPassword-iOS.xcodeproj/project.pbxproj +++ b/MasterPassword/ObjC/iOS/MasterPassword-iOS.xcodeproj/project.pbxproj @@ -17,11 +17,9 @@ 93D392EC39DA43C46C692C12 /* NSDictionary+Indexing.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D393B97158D7BE9332EA53 /* NSDictionary+Indexing.h */; }; 93D392FD5E2052F7D7DB3774 /* NSString+MPMarkDown.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39C41A27AA42D044D68AE /* NSString+MPMarkDown.m */; }; 93D3932889B6B4206E66A6D6 /* PearlEMail.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D39F7C9F47BF6387FBC5C3 /* PearlEMail.h */; }; - 93D3935603DC1DDE94CEA049 /* mpw-2.1-cli1-0-g9d926be.tar.gz in Resources */ = {isa = PBXBuildFile; fileRef = 93D399A19A4DE9A45D36CB38 /* mpw-2.1-cli1-0-g9d926be.tar.gz */; }; 93D39392DEDA376F93C6C718 /* MPCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39BAA71DE51B4D8A1286C /* MPCell.m */; }; 93D3939661CE37180AF7CD6A /* MPStoreViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3957D76F71A652716EECC /* MPStoreViewController.m */; }; 93D393DB5325820241BA90A7 /* PearlSizedTextView.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D39A4759186F6D2D34AA6B /* PearlSizedTextView.h */; }; - 93D3940234B68AE96552F5E4 /* mpw in Resources */ = {isa = PBXBuildFile; fileRef = 93D39F9831B475D870253780 /* mpw */; }; 93D394982CBD25D46692DD7C /* MPWebViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3990E0CD1B5CF9FBB2C07 /* MPWebViewController.m */; }; 93D394B5036C882B33C71872 /* MPPasswordsSegue.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39E7A12CC352B2825AA66 /* MPPasswordsSegue.m */; }; 93D39536EB550E811CCD04BC /* UIResponder+PearlFirstResponder.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D394482BB07F90E8FD1314 /* UIResponder+PearlFirstResponder.h */; }; @@ -35,27 +33,22 @@ 93D396AA30690B256F30378A /* PearlNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3956915634581E737B38C /* PearlNavigationController.m */; }; 93D396BA1C74C4A06FD86437 /* PearlOverlay.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D3942A356B639724157982 /* PearlOverlay.h */; }; 93D396D8B67DA6522CDBA142 /* MPCoachmarkViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3995B1D4DCE5A30D882BA /* MPCoachmarkViewController.m */; }; - 93D3970C0C3D1C87AFCEC8E5 /* mpw-2.1-cli1-0-g10f1001.tar.gz in Resources */ = {isa = PBXBuildFile; fileRef = 93D392DB0C2C6A4FD7606BB9 /* mpw-2.1-cli1-0-g10f1001.tar.gz */; }; 93D39711B6D873F37E8B9B2D /* VERSION in Resources */ = {isa = PBXBuildFile; fileRef = 93D3944F4D55D2A37EF6021B /* VERSION */; }; 93D397952F5635C793C24DF1 /* NSError+PearlFullDescription.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39F9106F2CCFB94283188 /* NSError+PearlFullDescription.m */; }; 93D3980046016EFD05B35BC5 /* PearlUICollectionView.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D39B1D8177A86C5B9EDDE3 /* PearlUICollectionView.h */; }; 93D398ECD7D1A0DEDDADF516 /* MPEmergencyViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39ACBA9F4878B6A1CC33B /* MPEmergencyViewController.m */; }; 93D399246DC90F50913A1287 /* UIResponder+PearlFirstResponder.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39A1DDFA09AE2E14D26DC /* UIResponder+PearlFirstResponder.m */; }; - 93D3992E198DFE7F2DB7C730 /* mpw-bench in Resources */ = {isa = PBXBuildFile; fileRef = 93D39D23487813ED36B4FE6B /* mpw-bench */; }; 93D3992FA1546E01F498F665 /* PearlNavigationController.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D398567FD02DB2647B8CF3 /* PearlNavigationController.h */; }; 93D399433EA75E50656040CB /* Twitter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 93D394077F8FAB8167647187 /* Twitter.framework */; }; 93D399D7E08A142776A74CB8 /* MPOverlayViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D395105935859D71679931 /* MPOverlayViewController.m */; }; - 93D399EEAFB94D02828FC917 /* mpw.c in Sources */ = {isa = PBXBuildFile; fileRef = 93D3969393A3A46BD27D7078 /* mpw.c */; }; 93D39A27F2506C6FEEF9C588 /* MPAlgorithmV2.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D399A8E3181B442D347CD7 /* MPAlgorithmV2.m */; }; 93D39A53D76CA70786423458 /* UICollectionView+PearlReloadFromArray.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D39246FC21C6E63E35D615 /* UICollectionView+PearlReloadFromArray.h */; }; 93D39A5FF670957C0AF8298D /* MPPasswordCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39DEA995041A13DC9CAF7 /* MPPasswordCell.m */; }; - 93D39A67B0F11F9968B6455B /* mpw-bench.c in Sources */ = {isa = PBXBuildFile; fileRef = 93D39B70138D0E28F7D5E86B /* mpw-bench.c */; }; 93D39A8EA1C49CE43B63F47B /* PearlUICollectionView.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D39D8A953779B35403AF6E /* PearlUICollectionView.m */; }; 93D39AA4A0BE66A872CCC02E /* NSPersistentStore+PearlMigration.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D397F4BAFFF7CF3F1B21A4 /* NSPersistentStore+PearlMigration.h */; }; 93D39B429C67A62E29DC02DA /* MPRootSegue.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D399493FEDDE74DD1A0C15 /* MPRootSegue.m */; }; 93D39B76DD5AB108BA8928E8 /* UIScrollView+PearlAdjustInsets.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D39DE2CB351D4E3789462B /* UIScrollView+PearlAdjustInsets.h */; }; 93D39B842AB9A5D072810D76 /* NSError+PearlFullDescription.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D398C95847261903D781D3 /* NSError+PearlFullDescription.h */; }; - 93D39B8C8D6F40C5144721BD /* types.o in Resources */ = {isa = PBXBuildFile; fileRef = 93D393A3D6A347AC52A077AC /* types.o */; }; 93D39B8F90F58A5D158DDBA3 /* MPPasswordsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3924EE15017F8A12CB436 /* MPPasswordsViewController.m */; }; 93D39BA1EA3CAAC8A220B4A6 /* MPAppSettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 93D3916C1D8F1427DFBDEBCA /* MPAppSettingsViewController.m */; }; 93D39C34FE35830EF5BE1D2A /* NSArray+Indexing.h in Headers */ = {isa = PBXBuildFile; fileRef = 93D396D04E57792A54D437AC /* NSArray+Indexing.h */; }; @@ -173,9 +166,9 @@ DA67460E18DE7F0C00DFE240 /* Exo2.0-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = DA67460A18DE7F0C00DFE240 /* Exo2.0-Regular.otf */; }; DA67460F18DE7F0C00DFE240 /* Exo2.0-ExtraBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = DA67460B18DE7F0C00DFE240 /* Exo2.0-ExtraBold.otf */; }; DA67461018DE7F0C00DFE240 /* Exo2.0-Bold.otf in Resources */ = {isa = PBXBuildFile; fileRef = DA67460C18DE7F0C00DFE240 /* Exo2.0-Bold.otf */; }; + DA6773251A43B660004F356A /* libscryptenc-ios.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DAFFC63E17EDDA7C007BB020 /* libscryptenc-ios.a */; }; DA69540617D975D900BF294E /* icon_gears.png in Resources */ = {isa = PBXBuildFile; fileRef = DABD37841711E29500CF925C /* icon_gears.png */; }; DA69540717D975D900BF294E /* icon_gears@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = DABD37851711E29500CF925C /* icon_gears@2x.png */; }; - DA72BD7519C133BF00E6ACFE /* libscryptenc-ios-dev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DA72BD7419C133BF00E6ACFE /* libscryptenc-ios-dev.a */; }; DA72BD7919C137DE00E6ACFE /* libopensslcrypto-ios-dev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = DA72BD7719C137D500E6ACFE /* libopensslcrypto-ios-dev.a */; }; DA72BD7B19C1510C00E6ACFE /* UIView+FontScale.m in Sources */ = {isa = PBXBuildFile; fileRef = DACE2F6719BA6A2A0010F92E /* UIView+FontScale.m */; }; DA73049D194E022700E72520 /* ui_spinner.png in Resources */ = {isa = PBXBuildFile; fileRef = DABD36511711E29400CF925C /* ui_spinner.png */; }; @@ -484,9 +477,7 @@ 93D3924EE15017F8A12CB436 /* MPPasswordsViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPPasswordsViewController.m; sourceTree = ""; }; 93D392876BE5C011DE73B43F /* MPPopdownSegue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPPopdownSegue.h; sourceTree = ""; }; 93D392C5A6572DB0EB5B82C8 /* types.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = types.c; sourceTree = ""; }; - 93D392DB0C2C6A4FD7606BB9 /* mpw-2.1-cli1-0-g10f1001.tar.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gzip; path = "mpw-2.1-cli1-0-g10f1001.tar.gz"; sourceTree = ""; }; 93D393310223DDB35218467A /* MPCombinedViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPCombinedViewController.m; sourceTree = ""; }; - 93D393A3D6A347AC52A077AC /* types.o */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.objfile"; path = types.o; sourceTree = ""; }; 93D393B97158D7BE9332EA53 /* NSDictionary+Indexing.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSDictionary+Indexing.h"; sourceTree = ""; }; 93D393BB973253D4BAAC84AA /* PearlEMail.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PearlEMail.m; sourceTree = ""; }; 93D393CB0B1F4EC8C17CFE43 /* NSString+MPMarkDown.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+MPMarkDown.h"; sourceTree = ""; }; @@ -514,7 +505,6 @@ 93D3995B1D4DCE5A30D882BA /* MPCoachmarkViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPCoachmarkViewController.m; sourceTree = ""; }; 93D39975CE5AEC99E3F086C7 /* MPPasswordCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPPasswordCell.h; sourceTree = ""; }; 93D3999693660C89A7465F4E /* MPCoachmarkViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPCoachmarkViewController.h; sourceTree = ""; }; - 93D399A19A4DE9A45D36CB38 /* mpw-2.1-cli1-0-g9d926be.tar.gz */ = {isa = PBXFileReference; lastKnownFileType = archive.gzip; path = "mpw-2.1-cli1-0-g9d926be.tar.gz"; sourceTree = ""; }; 93D399A8E3181B442D347CD7 /* MPAlgorithmV2.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPAlgorithmV2.m; sourceTree = ""; }; 93D399C2F3D48E57C4803BDC /* NSPersistentStore+PearlMigration.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSPersistentStore+PearlMigration.m"; sourceTree = ""; }; 93D399E571F61E50A9BF8FAF /* MPUsersViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MPUsersViewController.m; sourceTree = ""; }; @@ -544,7 +534,6 @@ 93D39CDD434AFD6E1B0DA359 /* MPEmergencyViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPEmergencyViewController.h; sourceTree = ""; }; 93D39CECA10BCCB0BA581BF1 /* MPAppDelegate_InApp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPAppDelegate_InApp.h; sourceTree = ""; }; 93D39CF8ADF4542CDC4CD385 /* MPCombinedViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPCombinedViewController.h; sourceTree = ""; }; - 93D39D23487813ED36B4FE6B /* mpw-bench */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "mpw-bench"; sourceTree = ""; }; 93D39D6604447D7708039155 /* MPAnswersViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPAnswersViewController.h; sourceTree = ""; }; 93D39D8A953779B35403AF6E /* PearlUICollectionView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PearlUICollectionView.m; sourceTree = ""; }; 93D39DA27D768B53C8B1330C /* MPAvatarCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPAvatarCell.h; sourceTree = ""; }; @@ -555,7 +544,6 @@ 93D39F556F2F142740A65E59 /* MPWebViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MPWebViewController.h; sourceTree = ""; }; 93D39F7C9F47BF6387FBC5C3 /* PearlEMail.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PearlEMail.h; sourceTree = ""; }; 93D39F9106F2CCFB94283188 /* NSError+PearlFullDescription.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSError+PearlFullDescription.m"; sourceTree = ""; }; - 93D39F9831B475D870253780 /* mpw */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = mpw; sourceTree = ""; }; DA04E33D14B1E70400ECA4F3 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; }; DA071BF1190187FE00179766 /* empty@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "empty@2x.png"; sourceTree = ""; }; DA071BF2190187FE00179766 /* empty.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = empty.png; sourceTree = ""; }; @@ -664,7 +652,7 @@ DA67460B18DE7F0C00DFE240 /* Exo2.0-ExtraBold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Exo2.0-ExtraBold.otf"; sourceTree = ""; }; DA67460C18DE7F0C00DFE240 /* Exo2.0-Bold.otf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "Exo2.0-Bold.otf"; sourceTree = ""; }; DA70EC7F1811B13C00F65DB2 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; }; - DA72BD7419C133BF00E6ACFE /* libscryptenc-ios-dev.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "libscryptenc-ios-dev.a"; sourceTree = ""; }; + DA72BD7419C133BF00E6ACFE /* libscryptenc-ios-sim.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "libscryptenc-ios-sim.a"; sourceTree = ""; }; DA72BD7719C137D500E6ACFE /* libopensslcrypto-ios-dev.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = "libopensslcrypto-ios-dev.a"; sourceTree = ""; }; DA854C8118D4CFBF00106317 /* avatar-add@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "avatar-add@2x.png"; sourceTree = ""; }; DA854C8218D4CFBF00106317 /* avatar-add.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "avatar-add.png"; sourceTree = ""; }; @@ -1595,8 +1583,8 @@ files = ( DA4DA1DA1564471F00F6F596 /* libuicolor-utilities.a in Frameworks */, DA4DA1D91564471A00F6F596 /* libjrswizzle.a in Frameworks */, - DA72BD7519C133BF00E6ACFE /* libscryptenc-ios-dev.a in Frameworks */, DAC77CAE148291A600BCF976 /* Foundation.framework in Frameworks */, + DA6773251A43B660004F356A /* libscryptenc-ios.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1614,21 +1602,16 @@ 93D39A2239FFFE6BEC83E191 /* C */ = { isa = PBXGroup; children = ( - 93D39F9831B475D870253780 /* mpw */, 93D39B573E4DE98BAE518215 /* build */, 93D3969393A3A46BD27D7078 /* mpw.c */, 93D39E71D6BAECEC4CD886F4 /* bashlib */, 93D39ACD33E79386E6F33601 /* install */, 93D392C5A6572DB0EB5B82C8 /* types.c */, 93D39AFD17CBE324D745DAB0 /* types.h */, - 93D393A3D6A347AC52A077AC /* types.o */, 93D3944F4D55D2A37EF6021B /* VERSION */, - 93D39D23487813ED36B4FE6B /* mpw-bench */, 93D3979016BF0C5B29D1340D /* distribute */, 93D39245A478883C672818F3 /* mpw.bashrc */, 93D39B70138D0E28F7D5E86B /* mpw-bench.c */, - 93D392DB0C2C6A4FD7606BB9 /* mpw-2.1-cli1-0-g10f1001.tar.gz */, - 93D399A19A4DE9A45D36CB38 /* mpw-2.1-cli1-0-g9d926be.tar.gz */, ); name = C; path = ../../C; @@ -1724,6 +1707,7 @@ DA5BFA39147E415C00F98B1E = { isa = PBXGroup; children = ( + 93D39A2239FFFE6BEC83E191 /* C */, DABD3B9F1711E2DB00CF925C /* ObjC */, DACA23B41705DF7D002C6C22 /* Resources */, DACA22121705DDC5002C6C22 /* External */, @@ -1737,7 +1721,6 @@ 93D3924D6F77E6BF41AC32D3 /* MPRootSegue.h */, 93D39C41A27AA42D044D68AE /* NSString+MPMarkDown.m */, 93D393CB0B1F4EC8C17CFE43 /* NSString+MPMarkDown.h */, - 93D39A2239FFFE6BEC83E191 /* C */, ); sourceTree = ""; }; @@ -1784,7 +1767,7 @@ isa = PBXGroup; children = ( DA72BD7719C137D500E6ACFE /* libopensslcrypto-ios-dev.a */, - DA72BD7419C133BF00E6ACFE /* libscryptenc-ios-dev.a */, + DA72BD7419C133BF00E6ACFE /* libscryptenc-ios-sim.a */, DAE8E65119867AB500416A0F /* libopensslcrypto-ios.a */, DAFFC63E17EDDA7C007BB020 /* libscryptenc-ios.a */, DA5E5C6417248959003798D8 /* include */, @@ -3526,17 +3509,12 @@ DAA1762819D89B610044227B /* thumb_ios_integration.png in Resources */, DA5A09EB171BB0F7005284AB /* unlocked@2x.png in Resources */, DAA1764F19D8B82B0044227B /* counter@2x.png in Resources */, - 93D3940234B68AE96552F5E4 /* mpw in Resources */, 93D39CEA71BD460ED4876920 /* build in Resources */, 93D390228D0B8ED51C0AFDB4 /* bashlib in Resources */, 93D39DF2E77B937D77C10414 /* install in Resources */, - 93D39B8C8D6F40C5144721BD /* types.o in Resources */, 93D39711B6D873F37E8B9B2D /* VERSION in Resources */, - 93D3992E198DFE7F2DB7C730 /* mpw-bench in Resources */, 93D3958C13B557F60F63C72B /* distribute in Resources */, 93D39FAE1BB6A393BFE15FD0 /* mpw.bashrc in Resources */, - 93D3970C0C3D1C87AFCEC8E5 /* mpw-2.1-cli1-0-g10f1001.tar.gz in Resources */, - 93D3935603DC1DDE94CEA049 /* mpw-2.1-cli1-0-g9d926be.tar.gz in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -3647,9 +3625,7 @@ 93D39A27F2506C6FEEF9C588 /* MPAlgorithmV2.m in Sources */, 93D39B429C67A62E29DC02DA /* MPRootSegue.m in Sources */, 93D392FD5E2052F7D7DB3774 /* NSString+MPMarkDown.m in Sources */, - 93D399EEAFB94D02828FC917 /* mpw.c in Sources */, 93D395B715D15F2B56F2A2EE /* types.c in Sources */, - 93D39A67B0F11F9968B6455B /* mpw-bench.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -4155,6 +4131,7 @@ LIBRARY_SEARCH_PATHS = ( "\"$(SRCROOT)/../../../External/Pearl/Pearl-Crypto/lib\"", "$(inherited)", + "/Users/lhunath/Documents/workspace/lyndir/MasterPassword/External/Pearl/Pearl-Crypto/lib", ); PRODUCT_NAME = "$(TARGET_NAME)"; PUBLIC_HEADERS_FOLDER_PATH = "../../BuildProductsPath/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/include"; @@ -4255,6 +4232,7 @@ LIBRARY_SEARCH_PATHS = ( "\"$(SRCROOT)/../../../External/Pearl/Pearl-Crypto/lib\"", "$(inherited)", + "/Users/lhunath/Documents/workspace/lyndir/MasterPassword/External/Pearl/Pearl-Crypto/lib", ); PRODUCT_NAME = "$(TARGET_NAME)"; PUBLIC_HEADERS_FOLDER_PATH = include; @@ -4271,6 +4249,7 @@ LIBRARY_SEARCH_PATHS = ( "\"$(SRCROOT)/../../../External/Pearl/Pearl-Crypto/lib\"", "$(inherited)", + "/Users/lhunath/Documents/workspace/lyndir/MasterPassword/External/Pearl/Pearl-Crypto/lib", ); PRODUCT_NAME = "$(TARGET_NAME)"; PUBLIC_HEADERS_FOLDER_PATH = "../../BuildProductsPath/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/include";