Home
last modified time | relevance | path

Searched refs:digest_hex (Results 1 – 25 of 63) sorted by relevance

123

/dports/net-p2p/py-libtorrent-rasterbar/libtorrent-1.2.13/test/
H A Dtest_hasher.cpp69 std::string const digest_hex = aux::to_hex(digest); in test_vector() local
71 TEST_EQUAL(digest_hex, output); in test_vector()
73 std::string output_hex = digest_hex; in test_vector()
76 TEST_EQUAL(output_hex, digest_hex); in test_vector()
/dports/net-p2p/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14/test/
H A Dtest_hasher.cpp69 std::string const digest_hex = aux::to_hex(digest); in test_vector() local
71 TEST_EQUAL(digest_hex, output); in test_vector()
73 std::string output_hex = digest_hex; in test_vector()
76 TEST_EQUAL(output_hex, digest_hex); in test_vector()
/dports/devel/radare2/radare2-5.1.1/libr/hash/
H A Dhash.c351 char *digest_hex = NULL; in r_hash_to_string() local
364 digest_hex = calloc (16, 1); in r_hash_to_string()
365 snprintf (digest_hex, 15, "%02.8f", ctx->entropy); in r_hash_to_string()
368 digest_hex = NULL; in r_hash_to_string()
370 digest_hex = malloc ((digest_size * 2) + 1); in r_hash_to_string()
371 if (digest_hex) { in r_hash_to_string()
373 sprintf (digest_hex + (i * 2), "%02x", ctx->digest[i]); in r_hash_to_string()
375 digest_hex[digest_size * 2] = 0; in r_hash_to_string()
380 return digest_hex; in r_hash_to_string()
/dports/lang/mono/mono-5.10.1.57/external/boringssl/crypto/digest/
H A Ddigest_test.cc142 char digest_hex[2*EVP_MAX_MD_SIZE + 1]; in CompareDigest() local
145 digest_hex[2*i] = kHexTable[digest[i] >> 4]; in CompareDigest()
146 digest_hex[2*i + 1] = kHexTable[digest[i] & 0xf]; in CompareDigest()
148 digest_hex[2*digest_len] = '\0'; in CompareDigest()
150 if (strcmp(digest_hex, test->expected_hex) != 0) { in CompareDigest()
153 digest_hex, test->expected_hex); in CompareDigest()
/dports/security/gvm-libs/gvm-libs-21.4.3/util/
H A Dauthutils.c168 digest_hex (int gcrypt_algorithm, const guchar *digest) in digest_hex() function
217 seed_hex = digest_hex (GCRY_MD_MD5, seed); in get_password_hashes()
220 hash_hex = digest_hex (GCRY_MD_MD5, hash); in get_password_hashes()
270 hash_hex = digest_hex (GCRY_MD_MD5, hash); in gvm_authenticate_classic()
H A Dauthutils.h59 digest_hex (int, const guchar *);
/dports/www/wget2/wget2-2.0.0/libwget/
H A Dhashfile.c768 int wget_hash_file_fd(const char *hashname, int fd, char *digest_hex, size_t digest_hex_size, off_t… in wget_hash_file_fd() argument
775 *digest_hex=0; in wget_hash_file_fd()
796 wget_memtohex(digest, sizeof(digest), digest_hex, digest_hex_size); in wget_hash_file_fd()
834 wget_memtohex(digest, sizeof(digest), digest_hex, digest_hex_size); in wget_hash_file_fd()
859 int wget_hash_file_offset(const char *hashname, const char *fname, char *digest_hex, size_t digest_… in wget_hash_file_offset() argument
865 *digest_hex=0; in wget_hash_file_offset()
869 ret = wget_hash_file_fd(hashname, fd, digest_hex, digest_hex_size, offset, length); in wget_hash_file_offset()
887 int wget_hash_file(const char *hashname, const char *fname, char *digest_hex, size_t digest_hex_siz… in wget_hash_file() argument
889 return wget_hash_file_offset(hashname, fname, digest_hex, digest_hex_size, 0, 0); in wget_hash_file()
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/
H A Dm21600.pm33 my $digest_hex = unpack "H*", $digest;
35 my $hash = sprintf ('pbkdf2(%i,20,sha512)$%s$%s', $iterations, $salt, $digest_hex);
/dports/www/epiphany/epiphany-41.0/lib/sync/
H A Dephy-sync-crypto.c154 char *digest_hex; in hawk_compute_payload_hash() local
166 digest_hex = g_compute_checksum_for_string (G_CHECKSUM_SHA256, update, -1); in hawk_compute_payload_hash()
167 digest = ephy_sync_utils_decode_hex (digest_hex); in hawk_compute_payload_hash()
172 g_free (digest_hex); in hawk_compute_payload_hash()
252 char *digest_hex; in hawk_compute_mac() local
262 digest_hex = g_compute_hmac_for_string (G_CHECKSUM_SHA256, in hawk_compute_mac()
265 digest = ephy_sync_utils_decode_hex (digest_hex); in hawk_compute_mac()
269 g_free (digest_hex); in hawk_compute_mac()
858 char *digest_hex; in ephy_sync_crypto_create_assertion() local
879 digest = ephy_sync_utils_decode_hex (digest_hex); in ephy_sync_crypto_create_assertion()
[all …]
/dports/sysutils/bareos-server/bareos-Release-20.0.3/core/src/droplet/libdroplet/src/backend/s3/auth/
H A Dv4.c43 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in add_payload_signature_to_headers() local
56 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in add_payload_signature_to_headers()
58 return dpl_dict_add(headers, "x-amz-content-sha256", digest_hex, 0); in add_payload_signature_to_headers()
209 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in create_sign_request() local
214 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in create_sign_request()
216 DPL_APPEND_STR(digest_hex); in create_sign_request()
/dports/sysutils/bareos-client/bareos-Release-20.0.3/core/src/droplet/libdroplet/src/backend/s3/auth/
H A Dv4.c43 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in add_payload_signature_to_headers() local
56 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in add_payload_signature_to_headers()
58 return dpl_dict_add(headers, "x-amz-content-sha256", digest_hex, 0); in add_payload_signature_to_headers()
209 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in create_sign_request() local
214 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in create_sign_request()
216 DPL_APPEND_STR(digest_hex); in create_sign_request()
/dports/sysutils/bareos-traymonitor/bareos-Release-20.0.3/core/src/droplet/libdroplet/src/backend/s3/auth/
H A Dv4.c43 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in add_payload_signature_to_headers() local
56 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in add_payload_signature_to_headers()
58 return dpl_dict_add(headers, "x-amz-content-sha256", digest_hex, 0); in add_payload_signature_to_headers()
209 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in create_sign_request() local
214 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in create_sign_request()
216 DPL_APPEND_STR(digest_hex); in create_sign_request()
/dports/www/bareos-webui/bareos-Release-20.0.3/core/src/droplet/libdroplet/src/backend/s3/auth/
H A Dv4.c43 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in add_payload_signature_to_headers() local
56 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in add_payload_signature_to_headers()
58 return dpl_dict_add(headers, "x-amz-content-sha256", digest_hex, 0); in add_payload_signature_to_headers()
209 char digest_hex[DPL_HEX_LENGTH(sizeof digest) + 1]; in create_sign_request() local
214 sprintf(digest_hex + 2 * i, "%02x", (u_char)digest[i]); in create_sign_request()
216 DPL_APPEND_STR(digest_hex); in create_sign_request()
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/tlx/tlx/digest/
H A Dsha256.cpp226 std::string SHA256::digest_hex() { in digest_hex() function in tlx::SHA256
239 return SHA256(data, size).digest_hex(); in sha256_hex()
243 return SHA256(str).digest_hex(); in sha256_hex()
H A Dsha512.cpp245 std::string SHA512::digest_hex() { in digest_hex() function in tlx::SHA512
258 return SHA512(data, size).digest_hex(); in sha512_hex()
262 return SHA512(str).digest_hex(); in sha512_hex()
H A Dsha1.cpp210 std::string SHA1::digest_hex() { in digest_hex() function in tlx::SHA1
223 return SHA1(data, size).digest_hex(); in sha1_hex()
227 return SHA1(str).digest_hex(); in sha1_hex()
H A Dmd5.cpp259 std::string MD5::digest_hex() { in digest_hex() function in tlx::MD5
272 return MD5(data, size).digest_hex(); in md5_hex()
276 return MD5(str).digest_hex(); in md5_hex()
H A Dsha512.hpp52 std::string digest_hex();
H A Dmd5.hpp52 std::string digest_hex();
H A Dsha1.hpp52 std::string digest_hex();
H A Dsha256.hpp52 std::string digest_hex();
/dports/devel/tlx/tlx-0.5.20200222-5-g8982a9d/tlx/digest/
H A Dsha256.cpp226 std::string SHA256::digest_hex() { in digest_hex() function in tlx::SHA256
239 return SHA256(data, size).digest_hex(); in sha256_hex()
243 return SHA256(str).digest_hex(); in sha256_hex()
H A Dsha512.cpp245 std::string SHA512::digest_hex() { in digest_hex() function in tlx::SHA512
258 return SHA512(data, size).digest_hex(); in sha512_hex()
262 return SHA512(str).digest_hex(); in sha512_hex()
H A Dsha1.cpp210 std::string SHA1::digest_hex() { in digest_hex() function in tlx::SHA1
223 return SHA1(data, size).digest_hex(); in sha1_hex()
227 return SHA1(str).digest_hex(); in sha1_hex()
H A Dmd5.cpp259 std::string MD5::digest_hex() { in digest_hex() function in tlx::MD5
272 return MD5(data, size).digest_hex(); in md5_hex()
276 return MD5(str).digest_hex(); in md5_hex()

123