Lines Matching refs:hash_map
93 } hash_map[] = {
113 if (hmac_id >= ARRAY_SIZE(hash_map))
115 return hash_map[hmac_id].hmac;
121 if (hmac_id >= ARRAY_SIZE(hash_map))
123 return hash_map[hmac_id].digest;
134 for (i = 0; i < ARRAY_SIZE(hash_map); i++) {
135 if (!strlen(hash_map[i].hmac))
137 if (!strncmp(hash_map[i].hmac, hmac_name,
138 strlen(hash_map[i].hmac)))
147 if (hmac_id >= ARRAY_SIZE(hash_map))
149 return hash_map[hmac_id].len;