Closed mtori-e closed 2 years ago
Hi,
S-box Analyzer is originally developed in Linux. So, Linux users do not have this issue. However, it is also possible to use S-box Analyzer in windows. To do so, please follow the below steps and make sure if you have performed each step correctly:
make
command successfully, you should have a binary version of espresso
program inside the bin folder. Please check it and make sure if it exists before going to the next steps.C:\Users\[YOUR_USER_NAME]\AppData\Local\SageMath 9.[X]\runtime\home\sage
(please replace [YOUR_USER_NAME]
and 9.[X]
with your username and your SageMath version, respectively).sboxanalyzer
folder into the following path: C:\Users\[YOUR_USER_NAME]\AppData\Local\SageMath 9.[X]\runtime\home\sage
. Next, run the SageMath and navigate into the sboxanalyzer
folder by this command cd sboxanalyzer
and then use the tool.Please let me know if this solution does not work for you.
Hi Hossain , 🙂
Now I copy the folder in the write directory
is there a way to navigate in sagmath other than cd ? I tried it, but it didn't work
I use 'help() ' in sagemath console and couldn't find cd between the commands ! There is a load and attach command. Is this necessary to load the tool?
I try to use load and print the same path of the folder but it also did not work !
Now I found that its start to import when i change copy the files in to c:\users[myusername ]
now I am facing another problem !!
do you have any idea?
I guess there is something wrong with the binary version of ESPRESSO on your computer. I am not sure if you have successfully compiled it. However, you can download the binary version of ESPRESSO from here (please put it inside the bin folder afterward).
Some comments regarding the images you have already attached:
cd
works in SageMath (both Windows and Linux versions). As you can see in the picture you have attached, it outputs No such file or directory ...
which means you have copied sboxanalyzer
in a wrong place (different than what I mentioned).sboxanalyzer
folder in a different directory and you have managed to successfully import it into the SageMath, please mention the exact directory here. I think, it helps other potential Windows users who may face the same issue. Hope that it helps :-)
Please let me know if this solution works.
I reinstall sagemath and this time I don't choose the directory, I use same the installer setting and follow the instruction from the previous comment . Also , it seems that my system didn't make espresso correctly so I download the binary version of ESPRESSO from the previous reply and paste it in bin folder that belongs to espresso .. and it works :
a print screen of the binary version path of espresso
a print screen of sboxanalyzer folder path
a print screen of the result :
Thank you so much Hossain , Meaad
Happy that it worked and hope this tool will be useful for you.
Hi every one :)
I have been trying to import sboxanalyzer in to sagemath , but sagemath couldn't find the model. I am using windows 10 ,and I have sagemath 9.3 , also i download Espresso and make it . Espresso , sboxanalyzer in the same directory of sagemath. I don't know what wrong ? I will attach a printscreen of the working directory folder of sage and printscreen of sagemath console.
thanks in Advance , [Meaad]