Searched refs:a_hash (Results 1 – 2 of 2) sorted by relevance
531 u32 a_hash, b_hash; in get_hash_bucket() local534 a_hash = iwpm_ipv4_jhash((struct sockaddr_in *) a_sockaddr); in get_hash_bucket()538 a_hash = iwpm_ipv6_jhash((struct sockaddr_in6 *) a_sockaddr); in get_hash_bucket()545 if (a_hash == b_hash) /* if port mapper isn't available */ in get_hash_bucket()546 *hash = a_hash; in get_hash_bucket()548 *hash = jhash_2words(a_hash, b_hash, 0); in get_hash_bucket()
4432 struct ahash_alg *a_hash; in chcr_register_alg() local4469 a_hash = &driver_algs[i].alg.hash; in chcr_register_alg()4470 a_hash->update = chcr_ahash_update; in chcr_register_alg()4471 a_hash->final = chcr_ahash_final; in chcr_register_alg()4472 a_hash->finup = chcr_ahash_finup; in chcr_register_alg()4473 a_hash->digest = chcr_ahash_digest; in chcr_register_alg()4474 a_hash->export = chcr_ahash_export; in chcr_register_alg()4475 a_hash->import = chcr_ahash_import; in chcr_register_alg()4476 a_hash->halg.statesize = SZ_AHASH_REQ_CTX; in chcr_register_alg()4477 a_hash->halg.base.cra_priority = CHCR_CRA_PRIORITY; in chcr_register_alg()[all …]