As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com.

Changes

Jump to: navigation, search

Tutorial B11 Breaking RSA

357 bytes added, 19:38, 12 July 2017
Automating Attack
# Using the reference pattern, find the timing information and break the RSA power trace.
<syntaxhighlight lang="python">
from chipwhisperer.common.api.CWCoreAPI import CWCoreAPI
from matplotlib.pylab import *
import numpy as np
 
cwapi = CWCoreAPI()
cwapi.openProject(r'c:\examplelocation\rsa_test.cwp')
 
tm = cwapi.project().traceManager()
ntraces = tm.numTraces()
 
#Reference trace
trace_ref = tm.getTrace(0)
 
plot(trace_ref)
</syntaxhighlight>
Approved_users, bureaucrat, administrator
1,956
edits

Navigation menu