-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Deian Stefan
committed
Jan 5, 2012
0 parents
commit 68eced8
Showing
62 changed files
with
2,057,173 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
################################################################################ | ||
|
||
CUBEATTACK=cube_attack | ||
EXAMPLE=trivium | ||
#example | ||
#trivium | ||
# Add source files here | ||
EXECUTABLE := $(CUBEATTACK) | ||
# CUDA source files (compiled with cudacc) | ||
CUFILES := $(CUBEATTACK)_reconstruct_p.cu | ||
# CUDA dependency files | ||
CU_DEPS := $(CUBEATTACK).h $(EXAMPLE)/$(EXAMPLE)_kernel.cu | ||
|
||
# C/C++ source files (compiled with gcc / c++) | ||
CCFILES := $(CUBEATTACK).cpp | ||
|
||
C_DEPS := $(CUBEATTACK).h \ | ||
$(EXAMPLE)/$(EXAMPLE).h $(EXAMPLE)/$(EXAMPLE).c \ | ||
|
||
OBJS += xsr_rng.o $(EXAMPLE)/$(EXAMPLE).o | ||
|
||
#keep =1 | ||
verbose =1 | ||
|
||
NVCCFLAGS := -arch sm_13 | ||
#-Xptxas -v --maxrregcount 16 | ||
|
||
#CFLAGS = -fopenmp | ||
#CXXFLAGS = -fopenmp | ||
|
||
|
||
################################################################################ | ||
# Rules and targets | ||
include $(HOME)/NVIDIA_GPU_Computing_SDK/C/common/common.mk | ||
|
||
xsr_rng.o: xsr_rng.c xsr_rng.h | ||
g++ -o xsr_rng.o -c xsr_rng.c | ||
$(EXAMPLE)/$(EXAMPLE).o: $(EXAMPLE)/$(EXAMPLE).c $(EXAMPLE)/$(EXAMPLE).h | ||
g++ -o $(EXAMPLE)/$(EXAMPLE).o -c $(EXAMPLE)/$(EXAMPLE).c |
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,10 @@ | ||
This is an implementation of a CUDA CubeAttack framework. The code is | ||
copied from my old Master's thesis svn repo (so certain things might | ||
be missing -- if you find that this is the case, please let me know). | ||
at the request of a few students working on a similar topic. | ||
See the thesis for high-level details of the implementation. | ||
|
||
|
||
The implementation includes an CUDA implementations of the XSR | ||
random number generator, and the Trivium and MICKEY strem ciphers. | ||
See the gSTREM repo for implementation of other eSTREAM ciphers. |
Oops, something went wrong.