Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 1 of 1) sorted by relevance

/scripts/crypto/
A Dgen-hash-testvecs.py53 def hash_init(alg): argument
54 if alg == 'poly1305':
58 return hashlib.new(alg)
66 def compute_hash(alg, data): argument
67 ctx = hash_init(alg)
102 ctx = hash_init(alg)
109 def gen_hmac_testvecs(alg): argument
140 alg = sys.argv[1] variable
143 gen_unkeyed_testvecs(alg)
144 if alg == 'poly1305':
[all …]

Completed in 4 milliseconds