/dports/lang/zig-devel/zig-0.9.0/test/behavior/bugs/ |
H A D | 6781.zig | 19 const checksum_size = @sizeOf(@TypeOf(self.checksum)); 21 assert(checksum_size == 16); 24 std.crypto.hash.Blake3.hash(entry[checksum_offset + checksum_size ..], target[0..], .{}); 25 return @bitCast(u128, target[0..checksum_size].*); 38 const checksum_size = @sizeOf(@TypeOf(self.checksum)); 40 assert(checksum_size == 16); 45 const source = header[prev_hash_chain_root_offset .. checksum_offset + checksum_size]; 46 assert(source.len == prev_hash_chain_root_size + checksum_size);
|
/dports/lang/zig/zig-0.9.0/test/behavior/bugs/ |
H A D | 6781.zig | 19 const checksum_size = @sizeOf(@TypeOf(self.checksum)); 21 assert(checksum_size == 16); 24 std.crypto.hash.Blake3.hash(entry[checksum_offset + checksum_size ..], target[0..], .{}); 25 return @bitCast(u128, target[0..checksum_size].*); 38 const checksum_size = @sizeOf(@TypeOf(self.checksum)); 40 assert(checksum_size == 16); 45 const source = header[prev_hash_chain_root_offset .. checksum_offset + checksum_size]; 46 assert(source.len == prev_hash_chain_root_size + checksum_size);
|
/dports/sysutils/rmlint/rmlint-2.10.1-11-ga726d0cb/lib/formats/ |
H A D | csv.c | 74 size_t checksum_size = 0; in rm_fmt_elem() local 77 checksum_size = rm_digest_get_bytes(file->digest) * 2 + 1; in rm_fmt_elem() 78 checksum_str = g_malloc0(checksum_size); in rm_fmt_elem() 79 checksum_str[checksum_size - 1] = 0; in rm_fmt_elem()
|
H A D | json.c | 283 size_t checksum_size = 0; in rm_fmt_elem() local 286 checksum_size = rm_digest_get_bytes(file->digest) * 2 + 1; in rm_fmt_elem() 287 checksum_str = g_slice_alloc0(checksum_size); in rm_fmt_elem() 288 rm_fmt_json_cksum(file, checksum_str, checksum_size); in rm_fmt_elem() 289 checksum_str[checksum_size - 1] = 0; in rm_fmt_elem() 379 g_slice_free1(checksum_size, checksum_str); in rm_fmt_elem()
|
/dports/security/zeronet/ZeroNet-0.7.1/src/lib/pybitcointools/ |
H A D | mnemonic.py | 20 checksum_size=entropy_size//32 22 csint=int(hd,16) >> (256-checksum_size) 23 return csint,checksum_size 29 csint,checksum_size = entropy_cs(entbytes) 31 mint=(entint << checksum_size) | csint 32 mint_num_words=(entropy_size+checksum_size)//11
|
/dports/finance/py-bitcoin/bitcoin-1.1.42/bitcoin/ |
H A D | mnemonic.py | 20 checksum_size=entropy_size//32 22 csint=int(hd,16) >> (256-checksum_size) 23 return csint,checksum_size 29 csint,checksum_size = entropy_cs(entbytes) 31 mint=(entint << checksum_size) | csint 32 mint_num_words=(entropy_size+checksum_size)//11
|
/dports/security/py-passlib/passlib-1.7.4/passlib/handlers/ |
H A D | ldap_digests.py | 88 cs = cls.checksum_size 160 checksum_size = 16 variable in ldap_salted_md5 201 checksum_size = 20 variable in ldap_salted_sha1 241 checksum_size = 32 variable in ldap_salted_sha256 281 checksum_size = 64 variable in ldap_salted_sha512
|
H A D | argon2.py | 159 checksum_size = _default_settings.hash_len variable in _Argon2Common 264 checksum_size=None, hash_len=None, max_threads=None, **kwds): argument 281 if checksum_size is not None: 284 digest_size = checksum_size 299 subcls.checksum_size = uh.norm_integer(subcls, digest_size, min=16, max=MAX_UINT32, 463 self.checksum_size = len(checksum) 579 if self.checksum_size != cls.checksum_size: 749 hash_len=cls.checksum_size, 796 hash_len=self.checksum_size, 888 tag_length=self.checksum_size,
|
H A D | windows.py | 70 checksum_size = 32 variable in lmhash 159 checksum_size = 32 variable in nthash 260 checksum_size = 32 variable in msdcc 305 checksum_size = 32 variable in msdcc2
|
H A D | django.py | 119 checksum_size = 40 variable in django_salted_sha1 157 checksum_size = 32 variable in django_salted_md5 287 checksum_size = 44 # 32 bytes -> base64 variable in django_pbkdf2_sha256 335 checksum_size = 28 # 20 bytes -> base64 variable in django_pbkdf2_sha1 407 checksum_size = 11 variable in django_des_crypt
|
H A D | pbkdf2.py | 78 return pbkdf2_hmac(self._digest, secret, self.salt, self.rounds, self.checksum_size) 92 checksum_size=digest_size, 187 checksum_size = 20 variable in cta_pbkdf2_sha1 374 checksum_size = 32 variable in atlassian_pbkdf2_sha1 440 checksum_size = 64 variable in grub_pbkdf2_sha512
|
H A D | mysql.py | 56 checksum_size = 16 variable in mysql323 107 checksum_size = 40 variable in mysql41
|
/dports/www/moinmoin/moin-1.9.11/MoinMoin/support/passlib/handlers/ |
H A D | argon2.py | 159 checksum_size = _default_settings.hash_len variable in _Argon2Common 264 checksum_size=None, hash_len=None, max_threads=None, **kwds): argument 281 if checksum_size is not None: 284 digest_size = checksum_size 299 subcls.checksum_size = uh.norm_integer(subcls, digest_size, min=16, max=MAX_UINT32, 463 self.checksum_size = len(checksum) 579 if self.checksum_size != cls.checksum_size: 749 hash_len=cls.checksum_size, 796 hash_len=self.checksum_size, 888 tag_length=self.checksum_size,
|
H A D | windows.py | 70 checksum_size = 32 variable in lmhash 159 checksum_size = 32 variable in nthash 260 checksum_size = 32 variable in msdcc 305 checksum_size = 32 variable in msdcc2
|
H A D | django.py | 119 checksum_size = 40 variable in django_salted_sha1 157 checksum_size = 32 variable in django_salted_md5 287 checksum_size = 44 # 32 bytes -> base64 variable in django_pbkdf2_sha256 335 checksum_size = 28 # 20 bytes -> base64 variable in django_pbkdf2_sha1 407 checksum_size = 11 variable in django_des_crypt
|
H A D | pbkdf2.py | 78 return pbkdf2_hmac(self._digest, secret, self.salt, self.rounds, self.checksum_size) 92 checksum_size=digest_size, 187 checksum_size = 20 variable in cta_pbkdf2_sha1 374 checksum_size = 32 variable in atlassian_pbkdf2_sha1 440 checksum_size = 64 variable in grub_pbkdf2_sha512
|
H A D | ldap_digests.py | 86 cs = cls.checksum_size 158 checksum_size = 16 variable in ldap_salted_md5 197 checksum_size = 20 variable in ldap_salted_sha1
|
H A D | mysql.py | 56 checksum_size = 16 variable in mysql323 107 checksum_size = 40 variable in mysql41
|
/dports/www/moinmoin/moin-1.9.11/MoinMoin/support/passlib/ |
H A D | exc.py | 304 checksum_size = handler.checksum_size 306 reason = "checksum must be exactly %d %s" % (checksum_size, unit)
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/asn1/spnego/ |
H A D | packet-spnego-template.c | 960 int checksum_size; in dissect_spnego_krb5_cfx_wrap_base() local 1005 checksum_size = 44 + ec; in dissect_spnego_krb5_cfx_wrap_base() 1007 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_wrap_base() 1008 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1020 checksum_size = ec; in dissect_spnego_krb5_cfx_wrap_base() 1034 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1090 tvbuff_t *checksum_tvb = tvb_new_subset_length(tvb, 16, checksum_size); in dissect_spnego_krb5_cfx_wrap_base() 1128 int checksum_size; in dissect_spnego_krb5_cfx_getmic_base() local 1151 checksum_size = tvb_captured_length_remaining(tvb, offset); in dissect_spnego_krb5_cfx_getmic_base() 1153 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_getmic_base() [all …]
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/asn1/spnego/ |
H A D | packet-spnego-template.c | 960 int checksum_size; in dissect_spnego_krb5_cfx_wrap_base() local 1005 checksum_size = 44 + ec; in dissect_spnego_krb5_cfx_wrap_base() 1007 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_wrap_base() 1008 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1020 checksum_size = ec; in dissect_spnego_krb5_cfx_wrap_base() 1034 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1090 tvbuff_t *checksum_tvb = tvb_new_subset_length(tvb, 16, checksum_size); in dissect_spnego_krb5_cfx_wrap_base() 1128 int checksum_size; in dissect_spnego_krb5_cfx_getmic_base() local 1151 checksum_size = tvb_captured_length_remaining(tvb, offset); in dissect_spnego_krb5_cfx_getmic_base() 1153 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_getmic_base() [all …]
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/asn1/spnego/ |
H A D | packet-spnego-template.c | 960 int checksum_size; in dissect_spnego_krb5_cfx_wrap_base() local 1005 checksum_size = 44 + ec; in dissect_spnego_krb5_cfx_wrap_base() 1007 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_wrap_base() 1008 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1020 checksum_size = ec; in dissect_spnego_krb5_cfx_wrap_base() 1034 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1090 tvbuff_t *checksum_tvb = tvb_new_subset_length(tvb, 16, checksum_size); in dissect_spnego_krb5_cfx_wrap_base() 1128 int checksum_size; in dissect_spnego_krb5_cfx_getmic_base() local 1151 checksum_size = tvb_captured_length_remaining(tvb, offset); in dissect_spnego_krb5_cfx_getmic_base() 1153 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_getmic_base() [all …]
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/asn1/spnego/ |
H A D | packet-spnego-template.c | 960 int checksum_size; in dissect_spnego_krb5_cfx_wrap_base() local 1005 checksum_size = 44 + ec; in dissect_spnego_krb5_cfx_wrap_base() 1007 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_wrap_base() 1008 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1020 checksum_size = ec; in dissect_spnego_krb5_cfx_wrap_base() 1034 offset += checksum_size; in dissect_spnego_krb5_cfx_wrap_base() 1090 tvbuff_t *checksum_tvb = tvb_new_subset_length(tvb, 16, checksum_size); in dissect_spnego_krb5_cfx_wrap_base() 1128 int checksum_size; in dissect_spnego_krb5_cfx_getmic_base() local 1151 checksum_size = tvb_captured_length_remaining(tvb, offset); in dissect_spnego_krb5_cfx_getmic_base() 1153 proto_tree_add_item(tree, hf_spnego_krb5_sgn_cksum, tvb, offset, checksum_size, ENC_NA); in dissect_spnego_krb5_cfx_getmic_base() [all …]
|
/dports/security/py-passlib/passlib-1.7.4/passlib/ |
H A D | exc.py | 355 checksum_size = handler.checksum_size 357 reason = "checksum must be exactly %d %s" % (checksum_size, unit)
|
/dports/databases/galera/galera-release_25.3.35/galerautils/src/ |
H A D | gu_rset.cpp | 562 unsigned int const checksum_size(check_size(check_type())); in get_checksum() local 563 const void* const stored_checksum(head_ + begin_ - checksum_size); in get_checksum() 566 if (checksum_size >= sizeof(uint64_t)) in get_checksum() 568 else if (checksum_size >= sizeof(uint32_t)) in get_checksum() 570 else if (checksum_size >= sizeof(uint16_t)) in get_checksum() 572 else if (checksum_size >= sizeof(uint8_t)) in get_checksum()
|