Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/scripts/
H A Dexpand_libecc.py347 def stringtoint(bitstring): function
382 … return expand(inttostring(stringtoint(bitstring) >> int(strbitlen - bitlen)), bitlen, "LEFT")
385 return expand(inttostring(stringtoint(bitstring) & mask), bitlen, "LEFT")
505 e = stringtoint(h) % q
549 r = stringtoint(sig[0:int(len(sig)/2)])
550 s = stringtoint(sig[int(len(sig)/2):])
558 e = stringtoint(h) % q
619 e = (stringtoint(r) ^ stringtoint(h)) % q
658 r = stringtoint(sig[0:int(r_len)])
659 s = stringtoint(sig[int(r_len):])
[all …]