Home | History | Annotate | Download | only in test

Lines Matching refs:creatorFunc

9 def creatorFunc():
10 raise RuntimeError("eek, creatorFunc not overridden")
16 localCF = creatorFunc
27 d = creatorFunc()
35 x = creatorFunc().digest()
45 # setup our creatorFunc to test the requested hash
49 exec('creatorFunc = '+hName+'.new')
53 exec('creatorFunc = _hashlib.%s' % sys.argv[2])
57 exec('creatorFunc = lambda x=_hashlib.new : x(%r)' % sys.argv[2])
60 creatorFunc = getattr(hashlib, hName)
63 exec("creatorFunc = lambda x=hashlib.new : x(%r)" % hName)
87 test_scaled_msg(scale=creatorFunc().digest_size, name='[digest_size data]')