Home
last modified time | relevance | path

Searched refs:e_bytes (Results 1 – 25 of 66) sorted by relevance

123

/dports/dns/validns/validns-0.8/
H A Ddnskey.c110 e_bytes = *pk++; in dnskey_validate()
112 if (e_bytes == 0) { in dnskey_validate()
116 e_bytes += *pk++; in dnskey_validate()
119 if (l < e_bytes) in dnskey_validate()
124 pk += e_bytes; in dnskey_validate()
125 l -= e_bytes; in dnskey_validate()
156 e_bytes = *pk++; in dnskey_build_pkey()
158 if (e_bytes == 0) { in dnskey_build_pkey()
162 e_bytes += *pk++; in dnskey_build_pkey()
169 pk += e_bytes; in dnskey_build_pkey()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/boringssl/src/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/security/boringssl/boringssl-6a71840/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/boringssl/src/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/net/quiche/quiche-0.9.0/cargo-crates/boring-sys-1.1.1/deps/boringssl/src/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/net/quiche/quiche-0.9.0/deps/boringssl/src/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/devel/py-grpcio/grpcio-1.43.0/third_party/boringssl-with-bazel/src/util/fipstools/cavp/
H A Dcavp_rsa2_keygen_test.cc55 std::vector<uint8_t> n_bytes(BN_num_bytes(n)), e_bytes(BN_num_bytes(e)), in TestRSA2KeyGen() local
61 BN_bn2bin(e, e_bytes.data()) != e_bytes.size() || in TestRSA2KeyGen()
72 EncodeHex(e_bytes).c_str(), EncodeHex(p_bytes).c_str(), in TestRSA2KeyGen()
H A Dcavp_rsa2_sigver_test.cc56 std::vector<uint8_t> e_bytes, msg, sig; in TestRSA2SigVer() local
58 !t->GetBytes(&e_bytes, "e") || in TestRSA2SigVer()
69 !BN_bin2bn(e_bytes.data(), e_bytes.size(), key->e)) { in TestRSA2SigVer()
H A Dcavp_rsa2_siggen_test.cc64 std::vector<uint8_t> e_bytes(BN_num_bytes(e)); in TestRSA2SigGen() local
66 !BN_bn2bin_padded(e_bytes.data(), e_bytes.size(), e)) { in TestRSA2SigGen()
71 EncodeHex(n_bytes).c_str(), EncodeHex(e_bytes).c_str()); in TestRSA2SigGen()
/dports/net-p2p/libswift/libswift-dc0cbcc/
H A Dlivesig.cpp699 unsigned int e_bytes; local
710 e_bytes = BN_num_bytes(RSA_get0_e(rsa));
713 e_bytes = BN_num_bytes(rsa->e);
732 evbuffer_add(evb,space,e_bytes);
754 unsigned int e_bytes; local
766 e_bytes = evbuffer_remove_8(evb);
769 if (e_bytes == 0) {
774 e_bytes = evbuffer_remove_16be(evb);
777 if (evbuffer_get_length(evb) < e_bytes) {
782 uint8_t *bindata = new uint8_t[e_bytes];
[all …]
/dports/dns/bind-tools/bind-9.16.27/lib/dns/
H A Dopensslrsa_link.c573 unsigned int e_bytes; in opensslrsa_todns() local
592 e_bytes = BN_num_bytes(e); in opensslrsa_todns()
609 if (r.length < e_bytes + mod_bytes) { in opensslrsa_todns()
615 isc_region_consume(&r, e_bytes); in opensslrsa_todns()
630 unsigned int e_bytes; in opensslrsa_fromdns() local
650 e_bytes = *r.base; in opensslrsa_fromdns()
653 if (e_bytes == 0) { in opensslrsa_fromdns()
658 e_bytes = (*r.base) << 8; in opensslrsa_fromdns()
660 e_bytes += *r.base; in opensslrsa_fromdns()
664 if (r.length < e_bytes) { in opensslrsa_fromdns()
[all …]
/dports/dns/bind916/bind-9.16.27/lib/dns/
H A Dopensslrsa_link.c573 unsigned int e_bytes; in opensslrsa_todns() local
592 e_bytes = BN_num_bytes(e); in opensslrsa_todns()
609 if (r.length < e_bytes + mod_bytes) { in opensslrsa_todns()
615 isc_region_consume(&r, e_bytes); in opensslrsa_todns()
630 unsigned int e_bytes; in opensslrsa_fromdns() local
650 e_bytes = *r.base; in opensslrsa_fromdns()
653 if (e_bytes == 0) { in opensslrsa_fromdns()
658 e_bytes = (*r.base) << 8; in opensslrsa_fromdns()
660 e_bytes += *r.base; in opensslrsa_fromdns()
664 if (r.length < e_bytes) { in opensslrsa_fromdns()
[all …]
/dports/dns/samba-nsupdate/bind-9.16.5/lib/dns/
H A Dopensslrsa_link.c572 unsigned int e_bytes; in opensslrsa_todns() local
591 e_bytes = BN_num_bytes(e); in opensslrsa_todns()
608 if (r.length < e_bytes + mod_bytes) { in opensslrsa_todns()
614 isc_region_consume(&r, e_bytes); in opensslrsa_todns()
629 unsigned int e_bytes; in opensslrsa_fromdns() local
649 e_bytes = *r.base; in opensslrsa_fromdns()
652 if (e_bytes == 0) { in opensslrsa_fromdns()
657 e_bytes = (*r.base) << 8; in opensslrsa_fromdns()
659 e_bytes += *r.base; in opensslrsa_fromdns()
663 if (r.length < e_bytes) { in opensslrsa_fromdns()
[all …]
/dports/dns/bind9-devel/bind9-e112afa15668bd3b1baed59df2d21e01b46da15e/lib/dns/
H A Dopensslrsa_link.c561 unsigned int e_bytes; in opensslrsa_todns() local
580 e_bytes = BN_num_bytes(e); in opensslrsa_todns()
597 if (r.length < e_bytes + mod_bytes) { in opensslrsa_todns()
603 isc_region_consume(&r, e_bytes); in opensslrsa_todns()
618 unsigned int e_bytes; in opensslrsa_fromdns() local
638 e_bytes = *r.base; in opensslrsa_fromdns()
641 if (e_bytes == 0) { in opensslrsa_fromdns()
646 e_bytes = (*r.base) << 8; in opensslrsa_fromdns()
648 e_bytes += *r.base; in opensslrsa_fromdns()
652 if (r.length < e_bytes) { in opensslrsa_fromdns()
[all …]
/dports/graphics/R-cran-s2/s2/src/s2/
H A Dencoded_s2cell_id_vector.cc80 uint64 e_bytes = ~0ULL; // Best encoding size so far. in EncodeS2CellIdVector() local
90 if (t_bytes < e_bytes) { in EncodeS2CellIdVector()
94 e_bytes = t_bytes; in EncodeS2CellIdVector()

123