Bd\Rc@sdZdZddlZddlZddlmZdefdYZddddddZid Z e d krd Z ej d d ndS(sgSelf tests These tests should perform quickly and can ideally be used every time an application runs. s$Id$iN(tStringIOt SelfTestErrorcBseZdZRS(cCs)tj|||||_||_dS(N(t Exceptiont__init__tmessagetresult(tselfRR((s>/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyR&s (t__name__t __module__R(((s>/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyR%sic Ks|dkri}ntj}|dkr[|dkrKtd|}n|j|n4|dkr|j|jd|n td|dkrt|d/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyR+s&          c Csg}ddlm}||jd|7}ddlm}||jd|7}ddlm}||jd|7}ddlm}||jd|7}ddlm}||jd|7}ddlm}||jd|7}dd lm}||jd|7}|S( Ni(tCipherR (tHash(tProtocol(t PublicKey(tRandom(tUtil(t Signature( tCrypto.SelfTestRRRR R!R"R#R$( R RRRR R!R"R#R$((s>/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyRMs t__main__cCstjtS(N(R RR(((s>/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pytYst defaultTestR( t__doc__t __revision__RR RRRR RRRRtmain(((s>/usr/lib64/python2.7/site-packages/Crypto/SelfTest/__init__.pyts  "