/dports/www/wget2/wget2-2.0.0/libwget/ |
H A D | hashfile.c | 71 if (hashname) { in wget_hash_get_algorithm() 72 if (*hashname == 's' || *hashname == 'S') { in wget_hash_get_algorithm() 73 if (!wget_strcasecmp_ascii(hashname, "sha-1") || !wget_strcasecmp_ascii(hashname, "sha1")) in wget_hash_get_algorithm() 75 …else if (!wget_strcasecmp_ascii(hashname, "sha-256") || !wget_strcasecmp_ascii(hashname, "sha256")) in wget_hash_get_algorithm() 77 …else if (!wget_strcasecmp_ascii(hashname, "sha-512") || !wget_strcasecmp_ascii(hashname, "sha512")) in wget_hash_get_algorithm() 79 …else if (!wget_strcasecmp_ascii(hashname, "sha-224") || !wget_strcasecmp_ascii(hashname, "sha224")) in wget_hash_get_algorithm() 81 …else if (!wget_strcasecmp_ascii(hashname, "sha-384") || !wget_strcasecmp_ascii(hashname, "sha384")) in wget_hash_get_algorithm() 84 else if (!wget_strcasecmp_ascii(hashname, "md5")) in wget_hash_get_algorithm() 86 else if (!wget_strcasecmp_ascii(hashname, "md2")) in wget_hash_get_algorithm() 88 else if (!wget_strcasecmp_ascii(hashname, "rmd160")) in wget_hash_get_algorithm() [all …]
|
/dports/sysutils/p5-MogileFS-Server/MogileFS-Server-2.73/lib/MogileFS/ |
H A D | Checksum.pm | 42 my $hashname = $1; 44 my $ref = $TYPE{$hashname} or 45 die "invalid checksum name ($hashname) from $string"; 54 hashtype => $NAME2TYPE{$hashname}, 58 sub hashname { subroutine 94 my $name = $self->hashname; 103 $self->hashname . ':' . $self->hexdigest;
|
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/cksum/ |
H A D | cksum.c | 114 const char *hashname; member 181 if (hash->hashname == NULL) { in main() 201 while (hashes[i].hashname != NULL) { in main() 233 hash->hashname); in main() 340 strncmp(buf, hash->hashname, in main() 341 strlen(hash->hashname)) != 0) { in main() 348 nhash->hashname != NULL; in main() 351 nhash->hashname, in main() 352 strlen(nhash->hashname)) == 0) in main() 356 if (nhash->hashname == NULL) { in main() [all …]
|
/dports/multimedia/lives/lives-3.2.0/src/ |
H A D | rte_window.c | 177 char *hashname, *tmp; in save_keymap2_file() local 222 char *hashname; in save_keymap3_file() local 295 hashname = in save_keymap3_file() 343 hashname = in save_keymap3_file() 372 hashname = in save_keymap3_file() 687 char *hashname; in load_datacons() local 753 if (!hashname) { in load_datacons() 947 if (!hashname) { in load_datacons() 1351 if (!hashname) { in on_load_keymap_clicked() 1387 if (strncmp(hashname, "Weed", 4) || lives_strlen(hashname) < 5) { in on_load_keymap_clicked() [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/test/ |
H A D | test_hmac.py | 59 h = hmac.HMAC(key, data, digestmod=hashname) 64 h = hmac.HMAC(key, digestmod=hashname) 70 h = hmac.new(key, data, digestmod=hashname) 75 h = hmac.new(key, None, digestmod=hashname) 79 h = hmac.new(key, digestmod=hashname) 87 hmac.digest(key, data, digest=hashname), 96 h._init_old(key, data, digestmod=hashname) 107 h = c_hmac_new(key, digestmod=hashname) 133 hashname="md5", 173 hashname="sha1", [all …]
|
/dports/lang/python311/Python-3.11.0a3/Lib/test/ |
H A D | test_hmac.py | 59 h = hmac.HMAC(key, data, digestmod=hashname) 64 h = hmac.HMAC(key, digestmod=hashname) 70 h = hmac.new(key, data, digestmod=hashname) 75 h = hmac.new(key, None, digestmod=hashname) 79 h = hmac.new(key, digestmod=hashname) 87 hmac.digest(key, data, digest=hashname), 96 h._init_old(key, data, digestmod=hashname) 107 h = c_hmac_new(key, digestmod=hashname) 133 hashname="md5", 173 hashname="sha1", [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/keys/ |
H A D | dh.c | 87 static int kdf_alloc(struct kdf_sdesc **sdesc_ret, char *hashname) in kdf_alloc() argument 95 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc() 97 pr_info("could not allocate digest TFM handle %s\n", hashname); in kdf_alloc() 255 char *hashname; in __keyctl_dh_compute() local 269 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute() 270 if (IS_ERR(hashname)) { in __keyctl_dh_compute() 271 ret = PTR_ERR(hashname); in __keyctl_dh_compute() 276 ret = kdf_alloc(&sdesc, hashname); in __keyctl_dh_compute() 277 kfree(hashname); in __keyctl_dh_compute()
|
H A D | compat_dh.c | 29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
|
/dports/multimedia/libv4l/linux-5.13-rc2/security/keys/ |
H A D | dh.c | 87 static int kdf_alloc(struct kdf_sdesc **sdesc_ret, char *hashname) in kdf_alloc() argument 95 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc() 97 pr_info("could not allocate digest TFM handle %s\n", hashname); in kdf_alloc() 255 char *hashname; in __keyctl_dh_compute() local 269 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute() 270 if (IS_ERR(hashname)) { in __keyctl_dh_compute() 271 ret = PTR_ERR(hashname); in __keyctl_dh_compute() 276 ret = kdf_alloc(&sdesc, hashname); in __keyctl_dh_compute() 277 kfree(hashname); in __keyctl_dh_compute()
|
H A D | compat_dh.c | 29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/security/keys/ |
H A D | dh.c | 87 static int kdf_alloc(struct kdf_sdesc **sdesc_ret, char *hashname) in kdf_alloc() argument 95 tfm = crypto_alloc_shash(hashname, 0, 0); in kdf_alloc() 97 pr_info("could not allocate digest TFM handle %s\n", hashname); in kdf_alloc() 255 char *hashname; in __keyctl_dh_compute() local 269 hashname = strndup_user(kdfcopy->hashname, CRYPTO_MAX_ALG_NAME); in __keyctl_dh_compute() 270 if (IS_ERR(hashname)) { in __keyctl_dh_compute() 271 ret = PTR_ERR(hashname); in __keyctl_dh_compute() 276 ret = kdf_alloc(&sdesc, hashname); in __keyctl_dh_compute() 277 kfree(hashname); in __keyctl_dh_compute()
|
H A D | compat_dh.c | 29 kdfcopy.hashname = compat_ptr(compat_kdfcopy.hashname); in compat_keyctl_dh_compute()
|
/dports/databases/hashtypes/hashtypes-0.1.1/src/ |
H A D | common.c | 52 cstring_to_hexarr(char *arg, int length, char *hashname) in cstring_to_hexarr() argument 79 errmsg("invalid %s data: odd number of digits", hashname))); in cstring_to_hexarr() 86 hashname, length * 2))); in cstring_to_hexarr() 99 text_to_hexarr(text *arg, int length, char *hashname) in text_to_hexarr() argument 113 value = cstring_to_hexarr(bytes, length, hashname); in text_to_hexarr()
|
H A D | sha.c | 85 char hashname[32]; in input_function() local 87 snprintf(hashname, 32, "SHA%d", SHA_NAME); in input_function() 88 output = (Sha *) cstring_to_hexarr(arg, SHA_LENGTH, hashname); in input_function() 99 char hashname[32]; in text_to_sha_fn() local 101 snprintf(hashname, 32, "SHA%d", SHA_NAME); in text_to_sha_fn() 102 value = (Sha *) text_to_hexarr(arg, SHA_LENGTH, hashname); in text_to_sha_fn()
|
H A D | common.h | 2 extern unsigned char *cstring_to_hexarr(char *arg, int length, char *hashname); 3 extern unsigned char *text_to_hexarr(text *arg, int length, char *hashname);
|
/dports/lang/p5-Interpolation/Interpolation-0.74/lib/ |
H A D | Interpolation.pm | 83 my $hashname = shift; 87 $function = $hashname unless $function; 89 if ($hashname =~ /^(.+):([\$\@\*\\]*->[\$\@])$/) { 92 $hashname = $1; 94 $is_scalar{$caller_pack . '::' . $hashname} = undef; 97 *{$caller_pack . '::' . $hashname} = \$fakescalar; 106 *{$caller_pack . '::' . $hashname} = \%fakehash;
|
/dports/print/lyx/lyx-2.3.4.2/development/autotests/ |
H A D | useSystemFonts.pl | 378 my ($source, $newname, $hashname, $rJob, $rFiles) = @_; 380 $rJob->{$hashname} = $newname; 381 $rJob->{$hashname . "copied"} = 0; 391 my $hashname = $type2hash{$filetype}; 392 if (! defined($hashname)) { 395 if (!defined($rJob->{$hashname})) { 398 "$hashname", $rJob, $rFiles); 401 $newname = $rJob->{$hashname};
|
/dports/converters/recode/Recode-3.6/doc/ |
H A D | tables.py | 820 if self.used_map.has_key(hashname): 822 self.used_map[hashname]) 825 self.used_map[hashname] = charset 878 if self.used_map.has_key(hashname): 883 self.used_map[hashname] = charset 957 if self.used_map[hashname]: 959 hashname, self.used_map[hashname]) 962 self.used_map[hashname] = charset 977 if self.used_map[hashname] and self.used_map[hashname] != charset: 979 self.used_map[hashname]) [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/test/ |
H A D | test_hmac.py | 45 h = hmac.HMAC(key, data, digestmod=hashname) 52 h = hmac.HMAC(key, digestmod=hashname) 58 h = hmac.new(key, data, digestmod=hashname) 65 h = hmac.new(key, None, digestmod=hashname) 69 h = hmac.new(key, digestmod=hashname) 77 hmac.digest(key, data, digest=hashname), 86 hmac.digest(key, data, digest=hashname), 102 h = c_hmac_new(key, digestmod=hashname) 116 hashname="md5", 156 hashname="sha1", [all …]
|
/dports/devel/swig/swig-4.0.2/CCache/ |
H A D | ccache.c | 51 static char *hashname; variable 340 strcpy(out_filename_cache, hashname); in to_cache() 365 sprintf(out_filename_cache, "%s.outfiles", hashname); in to_cache() 381 if (commit_to_cache(output_file, hashname, hardlink) != 0) { in to_cache() 388 x_asprintf(&path_stderr, "%s.stderr", hashname); in to_cache() 612 x_asprintf(&hashname, "%s/%s", hash_dir, s+nlevels); in find_hash() 626 x_asprintf(&stderr_file, "%s.stderr", hashname); in from_cache() 635 if (stat(hashname, &st) != 0) { in from_cache() 646 test_if_compressed(hashname) == 1) in from_cache() 671 x_asprintf(&outfiles, "%s.outfiles", hashname); in from_cache() [all …]
|
/dports/net-mgmt/net-snmp/net-snmp-5.9/testing/fulltests/snmpv3/ |
H A D | T040keymanagetest_capp.c | 276 const char *hashname = "usmHMACMD5AuthProtocol."; in test_genKu() local 312 OUTPUT(hashname); in test_genKu() 316 hashname = "usmHMACSHA1AuthProtocol."; in test_genKu() 500 const char *hashname = "usmHMACMD5AuthProtocol."; in test_keychange() local 601 TEST_SUCCEEDED(hashname); in test_keychange() 611 hashname = "usmHMACSHA1AuthProtocol (w/DES length kul's)."; in test_keychange() 618 hashname = "usmHMACSHA1AuthProtocol."; in test_keychange()
|
/dports/lang/parrot/parrot-8.1.0/compilers/data_json/ |
H A D | JSON.nqp | 106 my $hashname := PAST::Compiler.unique('hash'); 107 my $hash := PAST::Var.new( :scope<register>, :name($hashname), 109 my $hashreg := PAST::Var.new( :scope<register>, :name($hashname) );
|
/dports/security/libgcrypt/libgcrypt-1.9.4/tests/ |
H A D | dsa-rfc6979.c | 236 const char *hashname; in check_dsa_rfc6979() member 920 hashalgo = gcry_md_map_name (tests[tno].hashname); in check_dsa_rfc6979() 922 die ("hash with name '%s' is not supported\n", tests[tno].hashname); in check_dsa_rfc6979() 935 tests[tno].hashname, digestlen, digest); in check_dsa_rfc6979()
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/tests/ |
H A D | dsa-rfc6979.c | 236 const char *hashname; in check_dsa_rfc6979() member 920 hashalgo = gcry_md_map_name (tests[tno].hashname); in check_dsa_rfc6979() 922 die ("hash with name '%s' is not supported\n", tests[tno].hashname); in check_dsa_rfc6979() 935 tests[tno].hashname, digestlen, digest); in check_dsa_rfc6979()
|
/dports/mail/crm114/crm114-20100106-BlameMichelson.src/ |
H A D | crm_correlate.c | 238 char *hashname[MAX_CLASSIFIERS]; in crm_expr_correlate_classify() local 401 hashname[maxhash] = (char *) malloc (fnlen+10); in crm_expr_correlate_classify() 402 if (!hashname[maxhash]) in crm_expr_correlate_classify() 407 strncpy(hashname[maxhash],fname,fnlen); in crm_expr_correlate_classify() 408 hashname[maxhash][fnlen]='\000'; in crm_expr_correlate_classify() 692 hashname[bestseen], in crm_expr_correlate_classify() 713 hashname[k], in crm_expr_correlate_classify() 743 free (hashname[i]); in crm_expr_correlate_classify()
|