/openbmc/linux/net/batman-adv/ |
H A D | hash.c | 15 static void batadv_hash_init(struct batadv_hashtable *hash) in batadv_hash_init() 31 void batadv_hash_destroy(struct batadv_hashtable *hash) in batadv_hash_destroy() 46 struct batadv_hashtable *hash; in batadv_hash_new() local 77 void batadv_hash_set_lock_class(struct batadv_hashtable *hash, in batadv_hash_set_lock_class()
|
H A D | bridge_loop_avoidance.c | 69 u32 hash = 0; in batadv_choose_claim() local 87 u32 hash = 0; in batadv_choose_backbone_gw() local 300 struct batadv_hashtable *hash; in batadv_bla_del_backbone_claims() local 595 struct batadv_hashtable *hash; in batadv_bla_answer_request() local 1224 struct batadv_hashtable *hash; in batadv_bla_purge_backbone_gw() local 1279 struct batadv_hashtable *hash; in batadv_bla_purge_claims() local 1334 struct batadv_hashtable *hash; in batadv_bla_update_orig_address() local 1432 struct batadv_hashtable *hash; in batadv_bla_periodic_work() local 2238 struct batadv_hashtable *hash; in batadv_bla_claim_dump() local 2367 struct batadv_hashtable *hash, in batadv_bla_backbone_dump_bucket() [all …]
|
/openbmc/linux/include/linux/ |
H A D | rhashtable.h | 120 unsigned int hash) in rht_bucket_index() 129 unsigned int hash; in rht_key_get_hash() local 236 u32 hash) in lockdep_rht_bucket_is_held() 294 struct bucket_table *tbl, unsigned int hash) in rht_bucket_var() 382 unsigned int hash) in rht_ptr() 433 #define rht_for_each(pos, tbl, hash) \ argument 512 #define rht_for_each_rcu(pos, tbl, hash) \ argument 600 unsigned int hash; in __rhashtable_lookup() local 718 unsigned int hash; in __rhashtable_insert_fast() local 1004 unsigned int hash; in __rhashtable_remove_fast_one() local [all …]
|
H A D | stringhash.h | 53 static inline unsigned int end_name_hash(unsigned long hash) in end_name_hash() 74 #define hashlen_create(hash, len) ((u64)(len)<<32 | (u32)(hash)) argument
|
/openbmc/linux/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 406 static int starfive_hash_init_tfm(struct crypto_ahash *hash, in starfive_hash_init_tfm() 434 static void starfive_hash_exit_tfm(struct crypto_ahash *hash) in starfive_hash_exit_tfm() 487 static int starfive_hash_setkey(struct crypto_ahash *hash, in starfive_hash_setkey() 528 static int starfive_sha224_init_tfm(struct crypto_ahash *hash) in starfive_sha224_init_tfm() 534 static int starfive_sha256_init_tfm(struct crypto_ahash *hash) in starfive_sha256_init_tfm() 540 static int starfive_sha384_init_tfm(struct crypto_ahash *hash) in starfive_sha384_init_tfm() 546 static int starfive_sha512_init_tfm(struct crypto_ahash *hash) in starfive_sha512_init_tfm() 552 static int starfive_sm3_init_tfm(struct crypto_ahash *hash) in starfive_sm3_init_tfm() 558 static int starfive_hmac_sha224_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha224_init_tfm() 568 static int starfive_hmac_sha256_init_tfm(struct crypto_ahash *hash) in starfive_hmac_sha256_init_tfm() [all …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_vmid.c | 48 u32 hash, u8 *buf) in lpfc_get_vmid_from_hashtable() 69 lpfc_put_vmid_in_hashtable(struct lpfc_vport *vport, u32 hash, in lpfc_put_vmid_in_hashtable() 84 int hash = 0; in lpfc_vmid_hash_fn() local 132 u32 hash; in lpfc_vmid_assign_cs_ctl() local 163 int hash, len, rc = -EPERM, i; in lpfc_vmid_get_appid() local
|
/openbmc/sdbusplus/include/sdbusplus/server/ |
H A D | transaction.hpp | 53 struct hash<sdbusplus::bus_t> struct 60 struct hash<sdbusplus::message_t> struct 67 struct hash<sdbusplus::server::transaction::Transaction> struct 75 struct hash<sdbusplus::server::transaction::details::Transaction> struct
|
/openbmc/sdbusplus/include/sdbusplus/message/ |
H A D | native_types.hpp | 306 struct hash<sdbusplus::message::details::string_wrapper> struct 317 /** Overload of std::hash for details::string_wrappers */ 319 struct hash<sdbusplus::message::details::string_path_wrapper> struct 321 using argument_type = sdbusplus::message::details::string_path_wrapper; 322 using result_type = std::size_t; 324 result_type operator()(const argument_type& s) const in operator ()()
|
/openbmc/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 330 struct ima_digest_data *hash, in ima_calc_file_hash_atfm() 440 static int ima_calc_file_ahash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_ahash() 457 struct ima_digest_data *hash, in ima_calc_file_hash_tfm() 507 static int ima_calc_file_shash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_shash() 536 int ima_calc_file_hash(struct file *file, struct ima_digest_data *hash) in ima_calc_file_hash() 664 struct ima_digest_data *hash, in calc_buffer_ahash_atfm() 704 struct ima_digest_data *hash) in calc_buffer_ahash() 721 struct ima_digest_data *hash, in calc_buffer_shash_tfm() 751 struct ima_digest_data *hash) in calc_buffer_shash() 767 struct ima_digest_data *hash) in ima_calc_buffer_hash() [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-qht.c | 29 uint32_t hash; in insert() local 49 uint32_t hash; in do_rm() local 78 uint32_t hash; in check() local 101 static void count_func(void *p, uint32_t hash, void *userp) in count_func() 125 static void sum_func(void *p, uint32_t hash, void *userp) in sum_func() 141 static bool rm_mod_func(void *p, uint32_t hash, void *userp) in rm_mod_func()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 51 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_protocol() local 68 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in register_ip_vs_proto_netns() local 99 unsigned int hash = IP_VS_PROTO_HASH(pp->protocol); in unregister_ip_vs_protocol() local 121 unsigned int hash = IP_VS_PROTO_HASH(pd->pp->protocol); in unregister_ip_vs_proto_netns() local 143 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_get() local 161 unsigned int hash = IP_VS_PROTO_HASH(proto); in ip_vs_proto_data_get() local
|
/openbmc/linux/net/ceph/crush/ |
H A D | hash.c | 29 __u32 hash = crush_hash_seed ^ a; in crush_hash32_rjenkins1() local 40 __u32 hash = crush_hash_seed ^ a ^ b; in crush_hash32_rjenkins1_2() local 51 __u32 hash = crush_hash_seed ^ a ^ b ^ c; in crush_hash32_rjenkins1_3() local 64 __u32 hash = crush_hash_seed ^ a ^ b ^ c ^ d; in crush_hash32_rjenkins1_4() local 79 __u32 hash = crush_hash_seed ^ a ^ b ^ c ^ d ^ e; in crush_hash32_rjenkins1_5() local
|
/openbmc/linux/certs/ |
H A D | blacklist.c | 146 static char *get_raw_hash(const u8 *hash, size_t hash_len, in get_raw_hash() 182 static int mark_raw_hash_blacklisted(const char *hash) in mark_raw_hash_blacklisted() 204 int mark_hash_blacklisted(const u8 *hash, size_t hash_len, in mark_hash_blacklisted() 224 int is_hash_blacklisted(const u8 *hash, size_t hash_len, in is_hash_blacklisted() 246 int is_binary_blacklisted(const u8 *hash, size_t hash_len) in is_binary_blacklisted()
|
/openbmc/linux/security/keys/ |
H A D | dh.c | 67 static int kdf_alloc(struct crypto_shash **hash, char *hashname) in kdf_alloc() 88 static void kdf_dealloc(struct crypto_shash *hash) in kdf_dealloc() 94 static int keyctl_dh_compute_kdf(struct crypto_shash *hash, in keyctl_dh_compute_kdf() 138 struct crypto_shash *hash = NULL; in __keyctl_dh_compute() local
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | mpfs.h | 48 #define for_each_l2hash_node(hn, tmp, hash, i) \ argument 52 #define l2addr_hash_find(hash, mac, type) ({ \ argument 67 #define l2addr_hash_add(hash, mac, type, gfp) ({ \ argument
|
/openbmc/u-boot/lib/rsa/ |
H A D | rsa-verify.c | 62 const uint8_t *hash, int hash_len) in padding_pkcs_15_verify() 158 uint8_t *hash, int hash_len, in compute_hash_prime() 184 const uint8_t *hash, int hash_len) in padding_pss_verify() 289 const uint32_t sig_len, const uint8_t *hash, in rsa_verify_key() 361 const void *hash, uint8_t *sig, in rsa_verify_with_keynode() 405 uint8_t hash[info->crypto->key_len]; in rsa_verify() local
|
/openbmc/u-boot/scripts/basic/ |
H A D | fixdep.c | 145 unsigned int hash; member 155 unsigned int i, hash = 2166136261U; in strhash() local 165 static int is_defined_config(const char *name, int len, unsigned int hash) in is_defined_config() 180 static void define_config(const char *name, int len, unsigned int hash) in define_config() 200 unsigned int hash = strhash(m, slen); in use_config() local
|
/openbmc/linux/drivers/net/team/ |
H A D | team_mode_loadbalance.c | 90 #define LB_HTPM_PORT_BY_HASH(lp_priv, hash) \ argument 93 #define LB_HTPM_OPT_INST_INFO_BY_HASH(lp_priv, hash) \ argument 119 unsigned char hash) in lb_hash_select_tx_port() 128 unsigned char hash) in lb_htpm_select_tx_port() 202 unsigned char hash) in lb_update_tx_stats() 222 unsigned char hash; in lb_transmit() local 361 unsigned char hash = info->array_index; in lb_tx_hash_to_port_mapping_init() local 371 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_get() local 382 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_set() local 399 unsigned char hash = info->array_index; in lb_hash_stats_init() local [all …]
|
/openbmc/qemu/crypto/ |
H A D | afsplit.c | 43 static int qcrypto_afsplit_hash(QCryptoHashAlgorithm hash, in qcrypto_afsplit_hash() 88 int qcrypto_afsplit_encode(QCryptoHashAlgorithm hash, in qcrypto_afsplit_encode() 120 int qcrypto_afsplit_decode(QCryptoHashAlgorithm hash, in qcrypto_afsplit_decode()
|
H A D | pbkdf-gcrypt.c | 26 bool qcrypto_pbkdf2_supports(QCryptoHashAlgorithm hash) in qcrypto_pbkdf2_supports() 42 int qcrypto_pbkdf2(QCryptoHashAlgorithm hash, in qcrypto_pbkdf2()
|
/openbmc/linux/drivers/crypto/caam/ |
H A D | key_gen.h | 16 static inline u32 split_key_len(u32 hash) in split_key_len() 34 static inline u32 split_key_pad_len(u32 hash) in split_key_pad_len()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | aes-gcm-p10-glue.c | 77 static void set_subkey(unsigned char *hash) in set_subkey() 87 static void set_aad(struct gcm_ctx *gctx, struct Hash_ctx *hash, in set_aad() 114 struct Hash_ctx *hash, u8 *assoc, unsigned int assoclen) in gcmp10_init() 141 static void finish_tag(struct gcm_ctx *gctx, struct Hash_ctx *hash, int len) in finish_tag() 208 struct Hash_ctx *hash = PTR_ALIGN((void *)hashbuf, PPC_ALIGN); in p10_aes_gcm_crypt() local
|
/openbmc/linux/scripts/basic/ |
H A D | fixdep.c | 111 unsigned int hash; member 121 unsigned int i, hash = 2166136261U; in strhash() local 131 static void add_to_hashtable(const char *name, int len, unsigned int hash, in add_to_hashtable() 154 unsigned int hash = strhash(name, len); in in_hashtable() local
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs_dev.c | 81 long hash) in _lookup_deviceid() 174 const struct nfs4_deviceid *id, long hash) in __nfs4_find_get_deviceid() 192 long hash = nfs4_deviceid_hash(id); in nfs4_find_get_deviceid() local 331 _deviceid_purge_client(const struct nfs_client *clp, long hash) in _deviceid_purge_client()
|
/openbmc/qemu/util/ |
H A D | qht.c | 306 struct qht_bucket *qht_map_to_bucket(const struct qht_map *map, uint32_t hash) in qht_map_to_bucket() 382 struct qht_bucket *qht_bucket_lock__no_stale(struct qht *ht, uint32_t hash, in qht_bucket_lock__no_stale() 557 const void *userp, uint32_t hash) in qht_do_lookup() 584 const void *userp, uint32_t hash) in qht_lookup__slowpath() 596 void *qht_lookup_custom(const struct qht *ht, const void *userp, uint32_t hash, in qht_lookup_custom() 619 void *qht_lookup(const struct qht *ht, const void *userp, uint32_t hash) in qht_lookup() 629 struct qht_bucket *head, void *p, uint32_t hash, in qht_insert__locked() 695 bool qht_insert(struct qht *ht, void *p, uint32_t hash, void **existing) in qht_insert() 782 bool qht_remove__locked(struct qht_bucket *head, const void *p, uint32_t hash) in qht_remove__locked() 807 bool qht_remove(struct qht *ht, const void *p, uint32_t hash) in qht_remove() [all …]
|