Home
last modified time | relevance | path

Searched refs:algo_name (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/prebuilt-intermediates/
Dhash.h88 int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag,
110 int hash_block(const char *algo_name, const void *data, unsigned int len,
126 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop);
139 int hash_progressive_lookup_algo(const char *algo_name,
154 int hash_parse_string(const char *algo_name, const char *str, uint8_t *result);
/external/u-boot/include/
Dhash.h88 int hash_command(const char *algo_name, int flags, cmd_tbl_t *cmdtp, int flag,
110 int hash_block(const char *algo_name, const void *data, unsigned int len,
126 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop);
139 int hash_progressive_lookup_algo(const char *algo_name,
154 int hash_parse_string(const char *algo_name, const char *str, uint8_t *result);
/external/u-boot/common/
Dhash.c244 int hash_lookup_algo(const char *algo_name, struct hash_algo **algop) in hash_lookup_algo() argument
251 if (!strcmp(algo_name, hash_algo[i].name)) { in hash_lookup_algo()
257 debug("Unknown hash algorithm '%s'\n", algo_name); in hash_lookup_algo()
261 int hash_progressive_lookup_algo(const char *algo_name, in hash_progressive_lookup_algo() argument
269 if (!strcmp(algo_name, hash_algo[i].name)) { in hash_progressive_lookup_algo()
277 debug("Unknown hash algorithm '%s'\n", algo_name); in hash_progressive_lookup_algo()
282 int hash_parse_string(const char *algo_name, const char *str, uint8_t *result) in hash_parse_string() argument
288 ret = hash_lookup_algo(algo_name, &algo); in hash_parse_string()
302 int hash_block(const char *algo_name, const void *data, unsigned int len, in hash_block() argument
308 ret = hash_lookup_algo(algo_name, &algo); in hash_block()
[all …]
Dimage-sig.c214 char *algo_name; in fit_image_setup_verify() local
222 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
235 info->name = algo_name; in fit_image_setup_verify()
236 info->checksum = image_get_checksum_algo(algo_name); in fit_image_setup_verify()
237 info->crypto = image_get_crypto_algo(algo_name); in fit_image_setup_verify()
241 printf("%s:%s", algo_name, info->keyname); in fit_image_setup_verify()
Dautoboot.c80 const char *algo_name = "sha256"; in passwd_abort_sha256() local
94 ret = hash_parse_string(algo_name, sha_env_str, sha_env); in passwd_abort_sha256()
96 printf("Hash %s not supported!\n", algo_name); in passwd_abort_sha256()
120 hash_block(algo_name, (const void *)presskey, in passwd_abort_sha256()
/external/grpc-grpc/src/core/ext/filters/http/message_compress/
Dmessage_compress_filter.cc230 const char* algo_name; in finish_send_message() local
236 calld->message_compression_algorithm, &algo_name)); in finish_send_message()
240 algo_name, before_size, after_size, 100 * savings_ratio); in finish_send_message()
246 const char* algo_name; in finish_send_message() local
248 calld->message_compression_algorithm, &algo_name)); in finish_send_message()
252 algo_name, calld->slices.length); in finish_send_message()
/external/u-boot/tools/
Dimage-host.c159 char *algo_name; in fit_image_setup_sig() local
163 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_sig()
176 info->name = strdup(algo_name); in fit_image_setup_sig()
177 info->checksum = image_get_checksum_algo(algo_name); in fit_image_setup_sig()
178 info->crypto = image_get_crypto_algo(algo_name); in fit_image_setup_sig()
184 algo_name, node_name, image_name); in fit_image_setup_sig()
/external/u-boot/board/freescale/common/
Dfsl_validate.c491 const char *algo_name = "sha256"; in calc_img_key_hash() local
494 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_img_key_hash()
539 const char *algo_name = "sha256"; in calc_esbchdr_esbc_hash() local
542 ret = hash_progressive_lookup_algo(algo_name, &algo); in calc_esbchdr_esbc_hash()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.cc267 const char* algo_name = nullptr; in grpc_channel_args_compression_algorithm_set_state() local
268 GPR_ASSERT(grpc_compression_algorithm_name(algorithm, &algo_name) != 0); in grpc_channel_args_compression_algorithm_set_state()
272 algo_name); in grpc_channel_args_compression_algorithm_set_state()
/external/grpc-grpc/test/core/end2end/tests/
Dcompressed_payload.cc231 const char* algo_name = nullptr; in request_for_disabled_algorithm() local
232 GPR_ASSERT(grpc_compression_algorithm_name(algorithm_to_disable, &algo_name)); in request_for_disabled_algorithm()
235 algo_name); in request_for_disabled_algorithm()
Dstream_compression_compressed_payload.cc231 const char* algo_name = nullptr; in request_for_disabled_algorithm() local
232 GPR_ASSERT(grpc_compression_algorithm_name(algorithm_to_disable, &algo_name)); in request_for_disabled_algorithm()
235 algo_name); in request_for_disabled_algorithm()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc1364 const char* algo_name = nullptr; in validate_filtered_metadata() local
1365 grpc_compression_algorithm_name(compression_algorithm, &algo_name); in validate_filtered_metadata()
1367 algo_name); in validate_filtered_metadata()
1376 const char* algo_name = nullptr; in validate_filtered_metadata() local
1377 grpc_compression_algorithm_name(compression_algorithm, &algo_name); in validate_filtered_metadata()
1381 algo_name, call->encodings_accepted_by_peer); in validate_filtered_metadata()