Lines Matching refs:stringtoint

347 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):])
675 e = (r ^ stringtoint(h)) % q
679 if stringtoint(r_) == r:
711 if stringtoint(r) == 0:
714 e = stringtoint(h) % q
745 s = stringtoint(sig[int(2*getbytelen(p)):int((2*getbytelen(p))+getbytelen(q))])
747 W = Point(pubkey.curve, stringtoint(wx), stringtoint(wy))
752 e = (-stringtoint(h)) % q
811 e = stringtoint(h) % q
844 r = stringtoint(sig[:int(getbytelen(q))])
845 s = stringtoint(sig[int(getbytelen(q)):int(2*getbytelen(q))])
854 e = modinv(stringtoint(h) % q, q)
889 e = (-stringtoint(h)) % q
928 r = stringtoint(sig[:int(getbytelen(q))])
929 s = stringtoint(sig[int(getbytelen(q)):int(2*getbytelen(q))])
938 e = stringtoint(h) % q
980 e = stringtoint(r) % q
1017 r = stringtoint(sig[:int(hlen)])
1018 s = stringtoint(sig[int(hlen):int(hlen+getbytelen(q))])
1100 …st u8 "+test_name+"_test_vectors_expected_sig[] = \n"+bigint_to_C_array(stringtoint(sig), len(sig))
1149 …st u8 "+test_name+"_test_vectors_expected_sig[] = \n"+bigint_to_C_array(stringtoint(sig), len(sig))
1202 length = stringtoint(derbuf[base:base+encoding_len_bytes])
1297 prime = stringtoint(P)
1298 a = stringtoint(A)
1299 b = stringtoint(B)
1300 order = stringtoint(Order)
1301 cofactor = stringtoint(Cofactor)
1311 gx = stringtoint(ECPoint[:int(len(ECPoint)/2)])
1312 gy = stringtoint(ECPoint[int(len(ECPoint)/2):])
1316 gx = stringtoint(ECPoint)