Skip to content

Commit

Permalink
change some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor committed Jun 11, 2021
1 parent e71850a commit 8af1a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CPA.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ def Corr_with_correct_key(pt,traces,master_key, target_byte):

cwd = os.getcwd()
PATH = os.path.join(cwd,"plaintext_folder")
num_traces = 1000
num_traces = 10000

##Read traces
cwd = os.getcwd()
PATH_traces = os.path.join(cwd,"AES_my_own_2021-06-09_17_51_39") ## Need to change this accordingly
PATH_traces = os.path.join(cwd,"AES_my_own_2021-06-10_11_48_13") ## Need to change this accordingly
PATH_image = os.path.join(PATH_traces,"images")
if not os.path.exists(PATH_traces):
raise("Traces Path does not exist here.")
Expand Down

0 comments on commit 8af1a57

Please sign in to comment.