X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/Cipher_code.git/blobdiff_plain/ab7c86a2ba461b455a9045cb18a0d002a5db69cd..6b6283030645bb6d794289f860f73883a1cac83e:/IDA_new/ida_gf65_paper3.cpp?ds=sidebyside diff --git a/IDA_new/ida_gf65_paper3.cpp b/IDA_new/ida_gf65_paper3.cpp index cc00404..678047b 100644 --- a/IDA_new/ida_gf65_paper3.cpp +++ b/IDA_new/ida_gf65_paper3.cpp @@ -413,6 +413,7 @@ void saveFile8(mylong *data, const char *fileName,long size_file) { } + int main(int argc, char **argv) { unsigned int w; @@ -630,8 +631,11 @@ int main(int argc, char **argv) // sleep(2); start = std::chrono::system_clock::now(); for(int i=0;i<1000;i++) { - int volatile tt=y; - matS2=matrix_multiply(&gf, matInvGs, matCs, tt, tt, tt, len, w); + float tt=i; + tt=t; + int tt2=tt; + matS2=matrix_multiply(&gf, matInvGs, matCs, tt2, tt2, tt2, len, w); + } end = std::chrono::system_clock::now(); elapsed_seconds = end-start;