From 0ccd545dd434f54e80992095e85da98871b8361d Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 20 Dec 2014 14:30:34 -0500 Subject: [PATCH] More restructuring and rewriting of the C code. --- .idea/inspectionProfiles/Project_Default.xml | 2 + MasterPassword/C/build | 15 +- MasterPassword/C/{mpw.c => mpw-algorithm.c} | 73 +++---- MasterPassword/C/mpw-algorithm.h | 18 ++ MasterPassword/C/mpw-bench.c | 196 +++++------------- MasterPassword/C/mpw-cli.c | 59 +++--- MasterPassword/C/{types.c => mpw-types.c} | 102 +-------- MasterPassword/C/{types.h => mpw-types.h} | 53 ++--- MasterPassword/C/mpw-util.c | 155 ++++++++++++++ MasterPassword/C/mpw-util.h | 46 ++++ MasterPassword/C/mpw.h | 6 - .../project.pbxproj | 26 ++- 12 files changed, 392 insertions(+), 359 deletions(-) rename MasterPassword/C/{mpw.c => mpw-algorithm.c} (58%) create mode 100644 MasterPassword/C/mpw-algorithm.h rename MasterPassword/C/{types.c => mpw-types.c} (62%) rename MasterPassword/C/{types.h => mpw-types.h} (56%) create mode 100644 MasterPassword/C/mpw-util.c create mode 100644 MasterPassword/C/mpw-util.h delete mode 100644 MasterPassword/C/mpw.h diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index a84efcb2..d72e0862 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -2,6 +2,7 @@