This repository has been archived by the owner on Mar 2, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:simsong/AFFLIBv3
- Loading branch information
Showing
22 changed files
with
325 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,3 +101,7 @@ lib/version.h | |
makefile | ||
encrypted.aff | ||
affconfig.h | ||
*.trs | ||
*.dirstamp | ||
lib/aftest | ||
afflib-?.?.? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
# See http://autotoolset.sourceforge.net/tutorial.html | ||
# and http://www.openismus.com/documents/linux/automake/automake.shtml | ||
|
||
AC_INIT([AFFLIB],[3.7.1],[[email protected]]) | ||
AC_INIT([AFFLIB],[3.7.2],[[email protected]]) | ||
AM_INIT_AUTOMAKE | ||
AM_MAINTAINER_MODE | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
PROG = 7zDec.exe | ||
|
||
!IFNDEF O | ||
!IFDEF CPU | ||
O=$(CPU) | ||
!ELSE | ||
O=O | ||
!ENDIF | ||
!ENDIF | ||
|
||
CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -GS- | ||
CFLAGS_O1 = $(CFLAGS) -O1 | ||
CFLAGS_O2 = $(CFLAGS) -O2 | ||
|
||
LFLAGS = $(LFLAGS) -nologo -OPT:NOWIN98 | ||
|
||
PROGPATH = $O\$(PROG) | ||
|
||
COMPL_O1 = $(CPP) $(CFLAGS_O1) $** | ||
COMPL_O2 = $(CPP) $(CFLAGS_O2) $** | ||
COMPL = $(CPP) $(CFLAGS_O1) $** | ||
|
||
|
||
7Z_OBJS = \ | ||
$O\7zAlloc.obj \ | ||
$O\7zBuffer.obj \ | ||
$O\7zCrc.obj \ | ||
$O\7zDecode.obj \ | ||
$O\7zExtract.obj \ | ||
$O\7zHeader.obj \ | ||
$O\7zIn.obj \ | ||
$O\7zItem.obj \ | ||
$O\7zMain.obj \ | ||
$O\7zMethodID.obj \ | ||
|
||
OBJS = \ | ||
$(7Z_OBJS) \ | ||
$O\LzmaDecode.obj \ | ||
|
||
all: $(PROGPATH) | ||
|
||
clean: | ||
-del /Q $(PROGPATH) $O\*.exe $O\*.dll $O\*.obj $O\*.lib $O\*.exp $O\*.res $O\*.pch | ||
|
||
$O: | ||
if not exist "$O" mkdir "$O" | ||
|
||
$(PROGPATH): $O $(OBJS) | ||
link $(LFLAGS) -out:$(PROGPATH) $(OBJS) $(LIBS) | ||
|
||
|
||
$(7Z_OBJS): $(*B).c | ||
$(COMPL) | ||
$O\LzmaDecode.obj: ../../Compress/LZMA_C/$(*B).c | ||
$(COMPL_O2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
PROG = lzma.exe | ||
CFLAGS = $(CFLAGS) -I ../../../ | ||
LIBS = $(LIBS) oleaut32.lib user32.lib | ||
|
||
!IFNDEF O | ||
!IFDEF CPU | ||
O=$(CPU) | ||
!ELSE | ||
O=O | ||
!ENDIF | ||
!ENDIF | ||
|
||
CFLAGS = $(CFLAGS) -nologo -EHsc -c -Fo$O/ -GS- | ||
CFLAGS_O1 = $(CFLAGS) -O1 | ||
CFLAGS_O2 = $(CFLAGS) -O2 | ||
|
||
LFLAGS = $(LFLAGS) -nologo -OPT:NOWIN98 | ||
|
||
PROGPATH = $O\$(PROG) | ||
|
||
COMPL_O1 = $(CPP) $(CFLAGS_O1) $** | ||
COMPL_O2 = $(CPP) $(CFLAGS_O2) $** | ||
COMPL = $(CPP) $(CFLAGS_O1) $** | ||
|
||
|
||
LZMA_OBJS = \ | ||
$O\LzmaAlone.obj \ | ||
$O\LzmaBench.obj \ | ||
$O\LzmaRam.obj \ | ||
|
||
LZMA_OPT_OBJS = \ | ||
$O\LZMADecoder.obj \ | ||
$O\LZMAEncoder.obj \ | ||
|
||
COMMON_OBJS = \ | ||
$O\Alloc.obj \ | ||
$O\CRC.obj \ | ||
$O\CommandLineParser.obj \ | ||
$O\String.obj \ | ||
$O\StringConvert.obj \ | ||
$O\StringToInt.obj \ | ||
$O\Vector.obj | ||
|
||
7ZIP_COMMON_OBJS = \ | ||
$O\InBuffer.obj \ | ||
$O\OutBuffer.obj \ | ||
$O\StreamUtils.obj \ | ||
|
||
LZ_OBJS = \ | ||
$O\LZInWindow.obj \ | ||
$O\LZOutWindow.obj \ | ||
|
||
|
||
OBJS = \ | ||
$(LZMA_OBJS) \ | ||
$(LZMA_OPT_OBJS) \ | ||
$(COMMON_OBJS) \ | ||
$(7ZIP_COMMON_OBJS) \ | ||
$(LZ_OBJS) \ | ||
$O\LzmaRamDecode.obj \ | ||
$O\LzmaDecode.obj \ | ||
$O\FileStreams.obj \ | ||
$O\FileIO.obj \ | ||
$O\RangeCoderBit.obj \ | ||
$O\BranchX86.obj \ | ||
|
||
all: $(PROGPATH) | ||
|
||
clean: | ||
-del /Q $(PROGPATH) $O\*.exe $O\*.dll $O\*.obj $O\*.lib $O\*.exp $O\*.res $O\*.pch | ||
|
||
$O: | ||
if not exist "$O" mkdir "$O" | ||
|
||
$(PROGPATH): $O $(OBJS) | ||
link $(LFLAGS) -out:$(PROGPATH) $(OBJS) $(LIBS) | ||
|
||
|
||
$(LZMA_OBJS): $(*B).cpp | ||
$(COMPL) | ||
$(LZMA_OPT_OBJS): ../LZMA/$(*B).cpp | ||
$(COMPL_O2) | ||
$(COMMON_OBJS): ../../../Common/$(*B).cpp | ||
$(COMPL) | ||
$(7ZIP_COMMON_OBJS): ../../Common/$(*B).cpp | ||
$(COMPL) | ||
$(LZ_OBJS): ../LZ/$(*B).cpp | ||
$(COMPL) | ||
$O\RangeCoderBit.obj: ../RangeCoder/$(*B).cpp | ||
$(COMPL) | ||
$O\LzmaRamDecode.obj: LzmaRamDecode.c | ||
$(COMPL_O1) | ||
$O\LzmaDecode.obj: ../LZMA_C/LzmaDecode.c | ||
$(COMPL_O2) | ||
$O\BranchX86.obj: ../Branch/BranchX86.c | ||
$(COMPL_O2) | ||
$O\FileStreams.obj: ../../Common/FileStreams.cpp | ||
$(COMPL) | ||
$O\FileIO.obj: ../../../Windows/FileIO.cpp | ||
$(COMPL) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
PROG = lzmaDec.exe | ||
|
||
!IFNDEF O | ||
!IFDEF CPU | ||
O=$(CPU) | ||
!ELSE | ||
O=O | ||
!ENDIF | ||
!ENDIF | ||
|
||
CFLAGS = $(CFLAGS) -nologo -c -Fo$O/ -GS- | ||
CFLAGS_O1 = $(CFLAGS) -O1 | ||
CFLAGS_O2 = $(CFLAGS) -O2 | ||
|
||
LFLAGS = $(LFLAGS) -nologo -OPT:NOWIN98 | ||
|
||
PROGPATH = $O\$(PROG) | ||
|
||
COMPL_O1 = $(CPP) $(CFLAGS_O1) $** | ||
COMPL_O2 = $(CPP) $(CFLAGS_O2) $** | ||
COMPL = $(CPP) $(CFLAGS_O1) $** | ||
|
||
|
||
OBJS = \ | ||
$O\LzmaTest.obj \ | ||
$O\LzmaDecode.obj \ | ||
|
||
all: $(PROGPATH) | ||
|
||
clean: | ||
-del /Q $(PROGPATH) $O\*.exe $O\*.dll $O\*.obj $O\*.lib $O\*.exp $O\*.res $O\*.pch | ||
|
||
$O: | ||
if not exist "$O" mkdir "$O" | ||
|
||
$(PROGPATH): $O $(OBJS) | ||
link $(LFLAGS) -out:$(PROGPATH) $(OBJS) $(LIBS) | ||
|
||
|
||
$O\LzmaTest.obj: $(*B).c | ||
$(COMPL) | ||
$O\LzmaDecode.obj: ../../Compress/LZMA_C/$(*B).c | ||
$(COMPL_O2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TESTS = test_decryption.sh | ||
EXTRA_DIST = makeimage.cpp speedtests.py verify.py encrypted.aff encrypted.iso test_decryption.sh | ||
EXTRA_DIST = makeimage.cpp speedtests.py verify.py encrypted.aff encrypted.raw test_decryption.sh | ||
|
||
|
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# This file is a work of a US government employee and as such is in the Public domain. | ||
# Simson L. Garfinkel, March 12, 2012 | ||
./affconvert -o file://:password@/fatty.afd fatty.iso | ||
./affconvert -o file://:password@/fatty.afd fatty.raw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.