leakcheck/crypto.py
def check_success(self):
        """
        Call the method repeatedly such that it will return a PKey object.
        """
        small = xrange(3)
        for i in xrange(self.iterations):
            key = PKey()
            key.generate_key(TYPE_DSA, 256)
            for i in small:
                cert = X509()
                cert.set_pubkey(key)
                for i in small:
                    cert.get_pubkey()
def check_success(self):
        small = xrange(3)
        for i in xrange(self.iterations):
            key = PKey()
            key.generate_key(TYPE_DSA, 256)
            for i in small:
                cert = X509()
                cert.set_pubkey(key)
                for i in small:
                    cert.get_pubkey()
def check_success ( self ) : small = xrange ( 3 ) for i in xrange ( self . iterations ) : key = PKey ( ) key . generate_key ( TYPE_DSA , 256 ) for i in small : cert = X509 ( ) cert . set_pubkey ( key ) for i in small : cert . get_pubkey ( )
Call the method repeatedly such that it will return a PKey object.
Call the method repeatedly such that it will return a PKey object .