/dports/security/py-pycryptodome/pycryptodome-3.10.1/src/test/ |
H A D | make_tests_mont_mult.py | 3 from common import counter, make_main, split64, inverse, bin2int 114 modulus = bin2int(sha256(b"modulus" + struct.pack(">I", x)).digest()[:-modulus_len]) | 1 115 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % modulus 116 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % modulus 120 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p256 121 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p256 125 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p384 126 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p384 130 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p521 131 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p521
|
H A D | common.py | 57 def bin2int(bs):
|
/dports/security/py-pycryptodomex/pycryptodome-3.10.1/src/test/ |
H A D | make_tests_mont_mult.py | 3 from common import counter, make_main, split64, inverse, bin2int 114 modulus = bin2int(sha256(b"modulus" + struct.pack(">I", x)).digest()[:-modulus_len]) | 1 115 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % modulus 116 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % modulus 120 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p256 121 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p256 125 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p384 126 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p384 130 a = bin2int(sha256(b"a" + struct.pack(">I", x)).digest()) % p521 131 b = bin2int(sha256(b"b" + struct.pack(">I", x)).digest()) % p521
|
H A D | common.py | 57 def bin2int(bs): function
|
/dports/security/pear-Crypt_RSA/Crypt_RSA-1.2.1/ |
H A D | RSA.php | 356 $plain_data = $this->_math_obj->bin2int($plain_data); 357 $exp = $this->_math_obj->bin2int($key->getExponent()); 358 $modulus = $this->_math_obj->bin2int($key->getModulus()); 415 $exp = $this->_math_obj->bin2int($key->getExponent()); 416 $modulus = $this->_math_obj->bin2int($key->getModulus()); 423 $plain_data = $this->_math_obj->bin2int("\0"); 425 $tmp = $this->_math_obj->bin2int(substr($enc_data, $curr_pos, $block_len));
|
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/jtag_ejtag/ |
H A D | pd.py | 21 from common.srdhelper import bin2int 236 control_in = bin2int(self.last_data['in']['data'][0]) 237 control_out = bin2int(self.last_data['out']['data'][0]) 291 value_index = bin2int(value_str) 315 data = bin2int(bitstring[0:32]) 335 value = bin2int(val[0]) 349 value = bin2int(val[0]) 360 code = bin2int(val[0])
|
/dports/security/pear-Crypt_RSA/Crypt_RSA-1.2.1/RSA/Math/ |
H A D | GMP.php | 83 function bin2int($str) function in Crypt_RSA_Math_GMP 207 $num = $this->bin2int($str); 320 return $this->bin2int($tmp1); 346 return $this->bin2int($tmp);
|
H A D | BCMath.php | 121 function bin2int($str) function in Crypt_RSA_Math_BCMath 307 $num = $this->bin2int($str); 441 return $this->bin2int($tmp1); 467 return $this->bin2int($tmp);
|
/dports/security/pear-Crypt_RSA/Crypt_RSA-1.2.1/RSA/ |
H A D | Key.php | 177 $mod_num = $this->_math_obj->bin2int($this->_modulus); 178 $exp_num = $this->_math_obj->bin2int($this->_exp);
|
H A D | KeyPair.php | 390 ${$attr} = $this->_math_obj->bin2int($rsa_attrs[$attr]); 526 $e = $this->_math_obj->bin2int("\x01\x00\x01");
|
/dports/security/beid/eid-mw-5.0.8/cardcomm/pkcs11/src/cardlayer/ |
H A D | pkcs15parser.cpp | 50 static unsigned int bin2int(const unsigned char *p_ucDat, unsigned int iLen) in bin2int() function 554 cert.bAuthority = bin2int(xLev3Item.p_data, xLev3Item.l_data) ? true : false; in ParseCdf() 560 cert.bImplicitTrust = bin2int(xLev4Item.p_data, xLev4Item.l_data) ? true : false; in ParseCdf()
|
/dports/multimedia/tvheadend/tvheadend-4.2.8/lib/py/tvh/ |
H A D | htsmsg.py | 31 def bin2int(d): function 167 dlen = bin2int(data[2:6]) 245 num = bin2int(tmp)
|
/dports/devel/libsigrokdecode/libsigrokdecode-0.5.3/decoders/common/srdhelper/ |
H A D | mod.py | 24 def bin2int(s: str): function
|
/dports/multimedia/chilitags/chilitags-2.0.0-169-g0d9854f/src/ |
H A D | Codec.cpp | 234 bin2int(m_fec_decoded_id, &potential_id, m_bitsId); in viterbi() 258 void Codec::bin2int(const unsigned char *bin, int *out, int size) { in bin2int() function in chilitags::Codec
|
H A D | Codec.hpp | 72 static void bin2int(const unsigned char *bin, int *out, int size);
|
/dports/www/yaws/yaws-2.0.6/applications/mail/src/ |
H A D | smtp.erl | 91 Y,H,M,S,bin2int(crypto:strong_rand_bytes(4))])). 93 bin2int(Bin) -> function
|
H A D | mail.erl | 1079 Cookie = integer_to_list(bin2int(crypto:strong_rand_bytes(16))), 1951 y(Y1,Y2),H,M,S,bin2int(crypto:strong_rand_bytes(4))])). 1953 bin2int(Bin) -> function
|
/dports/www/yaws/yaws-2.0.6/src/ |
H A D | yaws_session_server.erl | 163 N = bin2int(crypto:strong_rand_bytes(16)), 290 bin2int(Bin) -> function
|
/dports/www/yaws/yaws-2.0.6/applications/chat/src/ |
H A D | chat.erl | 151 Cookie = integer_to_list(bin2int(crypto:strong_rand_bytes(16))), 191 bin2int(Bin) -> function
|
/dports/devel/mercurial/mercurial-6.0/hgext/remotefilelog/ |
H A D | shallowutil.py | 214 metadict[k] = bin2int(v) 227 def bin2int(buf): function
|
/dports/net/ns3/ns-allinone-3.35/ns-3.35/bindings/python/ |
H A D | rad_util.py | 108 def bin2int(bin_string): function
|