From 11b308e7363e937966b035b4891db32b4eece3bf Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Fri, 1 Oct 2010 08:55:28 -0800 Subject: integrating recent changes from fermi-test into fermi (i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805] --- benchmarks/CUDA/AES/aesCudaUtils.h | 74 -------------------------------------- 1 file changed, 74 deletions(-) delete mode 100644 benchmarks/CUDA/AES/aesCudaUtils.h (limited to 'benchmarks/CUDA/AES/aesCudaUtils.h') diff --git a/benchmarks/CUDA/AES/aesCudaUtils.h b/benchmarks/CUDA/AES/aesCudaUtils.h deleted file mode 100644 index c02e8a2..0000000 --- a/benchmarks/CUDA/AES/aesCudaUtils.h +++ /dev/null @@ -1,74 +0,0 @@ - -/*************************************************************************** - * Copyright (C) 2006 * - * * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ - - -/** - @author Svetlin Manavski - */ - -#include "boost/filesystem/operations.hpp" -#include "boost/filesystem/fstream.hpp" -#include -#include -#include -#include -#include -#include -#include -#include -#include - -using namespace boost::filesystem; - -//------------------------------------------help-functions------------------------------------------------------- -unsigned mySbox(unsigned num); - -unsigned myXor(unsigned num1, unsigned num2); - -//------------------------------------------help-functions------------------------------------------------------- - - -//------------------------------------------AESCudaUtils----------------------------------------------------------- -//------------------------------------------AESCudaUtils----------------------------------------------------------- -//------------------------------------------AESCudaUtils----------------------------------------------------------- -unsigned commandLineManager(int argc, char *argv[]); - -void usage(); - -unsigned initAesCuda(std::string myKeyFile, unsigned char myKeyBuffer[], const unsigned int myKeyBitsSize, std::string myInputFile, char inputArray[], const unsigned inputArraySize); - -boost::intmax_t getFileSize(path &myPath); - -void readFromFileNotForm(path &myPath, char *storingArray, unsigned dataSize); - -void readFromFileForm(path &myPath, std::vector &storingArray); - -void expFunc(std::vector &keyArray, std::vector &expKeyArray); - -void singleStep(std::vector &expKey, unsigned step); - -void invExpFunc(std::vector &expKey, std::vector &invExpKeyArray); - -void invMixColumn(std::vector &temp); - -unsigned galoisProd(unsigned a, unsigned b); - -void writeToFile(const std::string &outPath, char *storingArray, boost::intmax_t dataSize, unsigned maxInputSize); -- cgit v1.3