Home
last modified time | relevance | path

Searched refs:sig_bytes (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/dports/security/py-google-auth/google-auth-2.3.3/google/auth/crypt/
H A Des256.py53 sig_bytes = _helpers.to_bytes(signature)
54 if len(sig_bytes) != 64:
57 int.from_bytes(sig_bytes[:32], byteorder="big")
59 else utils.int_from_bytes(sig_bytes[:32], byteorder="big")
62 int.from_bytes(sig_bytes[32:], byteorder="big")
64 else utils.int_from_bytes(sig_bytes[32:], byteorder="big")
/dports/net-p2p/c-lightning/lightning-0.10.2/external/libwally-core/src/swig_python/contrib/
H A Dsignmessage.py15 sig_bytes = ec_sig_from_bytes(priv_key, msg_fmt, EC_FLAG_ECDSA | EC_FLAG_RECOVERABLE)
16 return base64.b64encode(sig_bytes)
20 sig_bytes = base64.b64decode(signature)
21 pub_key_rec = ec_sig_to_public_key(msg_fmt, sig_bytes)
/dports/net/google-cloud-sdk/google-cloud-sdk/lib/third_party/google/auth/crypt/
H A Des256.py65 sig_bytes = _helpers.to_bytes(signature)
66 if len(sig_bytes) != 64:
68 r = utils.int_from_bytes(sig_bytes[:32], byteorder="big")
69 s = utils.int_from_bytes(sig_bytes[32:], byteorder="big")
/dports/security/p5-Crypt-Perl/Crypt-Perl-0.34/t/
H A Decdsa_verify_small_r_and_s.t340 my $sig_bytes = pack "H*", $test->{sig};
343 my $result = $public->verify($hash, $sig_bytes);
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/prov/openssl/
H A Dopenssl_ec.cpp164 const uint8_t sig_bytes[], size_t sig_len) override in verify() argument
174 sig->r = BN_bin2bn(sig_bytes , sig_len / 2, sig->r); in verify()
175 sig->s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, sig->s); in verify()
177 BIGNUM* r = BN_bin2bn(sig_bytes , sig_len / 2, nullptr); in verify()
178 BIGNUM* s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, nullptr); in verify()
/dports/security/botan2/Botan-2.18.2/src/lib/prov/openssl/
H A Dopenssl_ec.cpp164 const uint8_t sig_bytes[], size_t sig_len) override in verify() argument
174 sig->r = BN_bin2bn(sig_bytes , sig_len / 2, sig->r); in verify()
175 sig->s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, sig->s); in verify()
177 BIGNUM* r = BN_bin2bn(sig_bytes , sig_len / 2, nullptr); in verify()
178 BIGNUM* s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, nullptr); in verify()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/prov/openssl/
H A Dopenssl_ec.cpp164 const uint8_t sig_bytes[], size_t sig_len) override in verify() argument
174 sig->r = BN_bin2bn(sig_bytes , sig_len / 2, sig->r); in verify()
175 sig->s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, sig->s); in verify()
177 BIGNUM* r = BN_bin2bn(sig_bytes , sig_len / 2, nullptr); in verify()
178 BIGNUM* s = BN_bin2bn(sig_bytes + sig_len / 2, sig_len / 2, nullptr); in verify()
/dports/graphics/feh/feh-3.5/src/
H A Dfeh_png.c39 int i, sig_bytes, comments = 0; in feh_png_read_comments() local
48 if (!(sig_bytes = feh_png_file_is_png(fp))) { in feh_png_read_comments()
75 png_set_sig_bytes(png_ptr, sig_bytes); in feh_png_read_comments()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/rltiles/tool/
H A Dtile.cc387 const unsigned sig_bytes = 8; in load() local
388 png_byte sig[sig_bytes]; in load()
389 if (fread(sig, 1, sig_bytes, fp) < sig_bytes in load()
390 || png_sig_cmp(sig, 0, sig_bytes)) in load()
411 png_set_sig_bytes(png_ptr, sig_bytes); in load()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/prov/tpm/
H A Dtpm.cpp430 BYTE* sig_bytes = nullptr; in sign() local
432 TSPI_CHECK_SUCCESS(::Tspi_Hash_Sign(tpm_hash, m_key.handle(), &sig_len, &sig_bytes)); in sign()
433 secure_vector<uint8_t> sig(sig_bytes, sig_bytes + sig_len); in sign()
436 TSPI_CHECK_SUCCESS(::Tspi_Context_FreeMemory(ctx, sig_bytes)); in sign()
/dports/security/botan2/Botan-2.18.2/src/lib/prov/tpm/
H A Dtpm.cpp430 BYTE* sig_bytes = nullptr; in sign() local
432 TSPI_CHECK_SUCCESS(::Tspi_Hash_Sign(tpm_hash, m_key.handle(), &sig_len, &sig_bytes)); in sign()
433 secure_vector<uint8_t> sig(sig_bytes, sig_bytes + sig_len); in sign()
436 TSPI_CHECK_SUCCESS(::Tspi_Context_FreeMemory(ctx, sig_bytes)); in sign()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/prov/tpm/
H A Dtpm.cpp430 BYTE* sig_bytes = nullptr; in sign() local
432 TSPI_CHECK_SUCCESS(::Tspi_Hash_Sign(tpm_hash, m_key.handle(), &sig_len, &sig_bytes)); in sign()
433 secure_vector<uint8_t> sig(sig_bytes, sig_bytes + sig_len); in sign()
436 TSPI_CHECK_SUCCESS(::Tspi_Context_FreeMemory(ctx, sig_bytes)); in sign()
/dports/graphics/libsvg/libsvg-0.1.4/src/
H A Dsvg_image.c218 int sig_bytes; in _svg_image_read_png() local
230 sig_bytes = fread (png_sig, 1, PNG_SIG_SIZE, file); in _svg_image_read_png()
231 if (!png_sig_cmp (png_sig, 0, sig_bytes) == 0) { in _svg_image_read_png()
254 png_set_sig_bytes (png, sig_bytes); in _svg_image_read_png()
/dports/security/sequoia/sequoia-383133f6be990237044900a4df676488bf8dd71e/cargo-crates/ed25519-dalek-1.0.0/tests/
H A Ded25519.rs66 let sig_bytes: Vec<u8> = FromHex::from_hex(&parts[3]).unwrap(); in against_reference_implementation() localVariable
74 let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); in against_reference_implementation()
94 let sig_bytes: Vec<u8> = FromHex::from_hex(signature).unwrap(); in ed25519ph_rf8032_test_vector() localVariable
99 let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); in ed25519ph_rf8032_test_vector()
/dports/x11-wm/compiz/compiz-0.8.8/plugins/
H A Dpng.c164 int sig_bytes; in readPngFileToImage() local
169 sig_bytes = fread (png_sig, 1, PNG_SIG_SIZE, file); in readPngFileToImage()
170 if (png_sig_cmp (png_sig, 0, sig_bytes) != 0) in readPngFileToImage()
186 png_set_sig_bytes (png, sig_bytes); in readPngFileToImage()
/dports/devel/qca/qca-2.3.4/src/botantools/botan/
H A Dbig_base.cpp407 const u32bit sig_bytes = bytes(); in binary_encode() local
408 for (u32bit j = 0; j != sig_bytes; ++j) in binary_encode()
409 output[sig_bytes - j - 1] = byte_at(j); in binary_encode()
/dports/security/botan110/Botan-1.10.17/src/math/bigint/
H A Dbigint.cpp343 const size_t sig_bytes = bytes(); in binary_encode() local
344 for(size_t i = 0; i != sig_bytes; ++i) in binary_encode()
345 output[sig_bytes-i-1] = byte_at(i); in binary_encode()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/minisign-0.5.19/src/
H A Dsignature_box.rs94 let sig_bytes = Base64::decode_to_vec(signature_str.trim().as_bytes()) in from_string() localVariable
96 let signature = Signature::from_bytes(&sig_bytes)?; in from_string()
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/ed25519-dalek-1.0.1/tests/
H A Ded25519.rs66 let sig_bytes: Vec<u8> = FromHex::from_hex(&parts[3]).unwrap(); in against_reference_implementation() localVariable
74 let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); in against_reference_implementation()
94 let sig_bytes: Vec<u8> = FromHex::from_hex(signature).unwrap(); in ed25519ph_rf8032_test_vector() localVariable
99 let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); in ed25519ph_rf8032_test_vector()
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/ed25519-dalek-1.0.1/tests/
H A Ded25519.rs66 let sig_bytes: Vec<u8> = FromHex::from_hex(&parts[3]).unwrap(); in against_reference_implementation() localVariable
74 let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); in against_reference_implementation()
94 let sig_bytes: Vec<u8> = FromHex::from_hex(signature).unwrap(); in ed25519ph_rf8032_test_vector() localVariable
99 let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); in ed25519ph_rf8032_test_vector()
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/cose/examples/sign_verify/
H A Dutil_test.rs49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()
61 signature_item.push(CborType::Bytes(sig_bytes.clone())); in build_sig_struct()
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/cose-0.1.4/examples/sign_verify/
H A Dutil_test.rs49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()
61 signature_item.push(CborType::Bytes(sig_bytes.clone())); in build_sig_struct()
/dports/www/firefox/firefox-99.0/third_party/rust/cose/examples/sign_verify/
H A Dutil_test.rs49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()
61 signature_item.push(CborType::Bytes(sig_bytes.clone())); in build_sig_struct()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/cose/examples/sign_verify/
H A Dutil_test.rs49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()
61 signature_item.push(CborType::Bytes(sig_bytes.clone())); in build_sig_struct()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/cose/examples/sign_verify/
H A Dutil_test.rs49 pub fn build_sig_struct(ee_cert: &[u8], alg: &SignatureAlgorithm, sig_bytes: &Vec<u8>) -> CborType { in build_sig_struct()
61 signature_item.push(CborType::Bytes(sig_bytes.clone())); in build_sig_struct()

12345678910>>...28