Lines Matching refs:algo_name
318 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop) in hash_lookup_algo() argument
323 if (!strcmp(algo_name, hash_algo[i].name)) { in hash_lookup_algo()
329 debug("Unknown hash algorithm '%s'\n", algo_name); in hash_lookup_algo()
333 int hash_progressive_lookup_algo(const char *algo_name, in hash_progressive_lookup_algo() argument
339 if (!strcmp(algo_name, hash_algo[i].name)) { in hash_progressive_lookup_algo()
347 debug("Unknown hash algorithm '%s'\n", algo_name); in hash_progressive_lookup_algo()
352 int hash_parse_string(const char *algo_name, const char *str, uint8_t *result) in hash_parse_string() argument
358 ret = hash_lookup_algo(algo_name, &algo); in hash_parse_string()
372 int hash_block(const char *algo_name, const void *data, unsigned int len, in hash_block() argument
378 ret = hash_lookup_algo(algo_name, &algo); in hash_block()
516 int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag, argument
533 if (hash_lookup_algo(algo_name, &algo)) {
534 printf("Unknown hash algorithm '%s'\n", algo_name);