#include <sys/types.h>#include "ansidecl.h"#include "md5.h"

Go to the source code of this file.
Defines | |
| #define | memcpy(d, s, n) bcopy ((s), (d), (n)) |
| #define | SWAP(n) (n) |
| #define | BLOCKSIZE 4096 |
| #define | FF(b, c, d) (d ^ (b & (c ^ d))) |
| #define | FG(b, c, d) FF (d, b, c) |
| #define | FH(b, c, d) (b ^ c ^ d) |
| #define | FI(b, c, d) (c ^ (b | ~d)) |
| #define | OP(a, b, c, d, s, T) |
| #define | CYCLIC(w, s) (w = (w << s) | (w >> (32 - s))) |
| #define | OP(a, b, c, d, k, s, T) |
| #define | FX(b, c, d) FG (b, c, d) |
| #define | FX(b, c, d) FH (b, c, d) |
| #define | FX(b, c, d) FI (b, c, d) |
Functions/Subroutines | |
| void | md5_init_ctx (struct md5_ctx *ctx) |
| void * | md5_read_ctx (struct md5_ctx *ctx, void *resbuf) const |
| void * | md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) |
| int | md5_stream (FILE *stream, void *resblock) |
| void * | md5_buffer (char *buffer, size_t len, void *resblock) const |
| void | md5_process_bytes (void *buffer, size_t len, struct md5_ctx *ctx) const |
| void | md5_process_block (void *buffer, size_t len, struct md5_ctx *ctx) const |
Variables | |
| static const unsigned char | fillbuf [64] = { 0x80, 0 } |
| #define BLOCKSIZE 4096 |
Referenced by md5_stream().
| #define CYCLIC | ( | w, | |||
| s | ) | (w = (w << s) | (w >> (32 - s))) |
Definition at line 35 of file md5.c.
Referenced by __libc_rwlock_define(), __retour(), __tpf_eh_return(), __xetarg(), _bfd_coff_internal_syment_name(), _bfd_coff_read_internal_relocs(), _bfd_construct_extended_name_table(), _bfd_default_error_handler(), _bfd_ecoff_get_accumulated_ss(), _bfd_ecoff_write_armap(), _bfd_elf_add_default_symbol(), _bfd_elf_archive_symbol_lookup(), _bfd_elf_discard_section_eh_frame(), _bfd_elf_get_synthetic_symtab(), _bfd_elf_link_assign_sym_version(), _bfd_elf_make_section_from_phdr(), _bfd_elf_slurp_version_tables(), _bfd_elfcore_make_pseudosection(), _bfd_elfcore_strndup(), _bfd_generic_link_add_one_symbol(), _bfd_generic_read_ar_hdr_mag(), _bfd_mips_elf_finish_dynamic_symbol(), _bfd_mips_elf_set_section_contents(), _bfd_mips_elf_write_section(), _bfd_mn10300_elf_finish_dynamic_sections(), _bfd_mn10300_elf_finish_dynamic_symbol(), _bfd_save_vms_section(), _bfd_stab_section_find_nearest_line(), _bfd_vms_output_dump(), _bfd_write_section_stabs(), _bfd_xcoff64_swap_aux_in(), _bfd_xcoff64_swap_aux_out(), _bfd_xcoff_archive_p(), _bfd_xcoff_canonicalize_dynamic_symtab(), _bfd_xcoff_read_ar_hdr(), _bfd_xcoff_swap_aux_in(), _bfd_xcoff_swap_aux_out(), _bfd_xcoff_swap_sym_in(), _bfd_xcoff_swap_sym_out(), _bfd_XXi_swap_aux_in(), _bfd_XXi_swap_aux_out(), _bfd_XXi_swap_scnhdr_out(), _bfd_XXi_swap_sym_in(), _bfd_XXi_swap_sym_out(), _Cif_binary_map_version(), _cntig_chk(), _cpp_append_extend_buff(), _cpp_copy_replacement_text(), _cpp_define_builtin(), _cpp_extend_buff(), _cpp_read_file_entries(), _CSHIFT(), _dwarf_ld_sort_lines(), _dwarf_mac_push_index(), _dwarf_memcpy_swap_bytes(), _dwarf_pro_generate_debugframe(), _dwarf_pro_generate_debuginfo(), _dwarf_pro_generate_debugline(), _dwarf_pro_transform_macro_info_to_disk(), _dwarf_setup(), _dwarf_stream_relocs_to_disk(), _dwarf_symbolic_relocs_to_disk(), _dwarf_update_line_sec(), _dwf_pro_generate_ehframe(), _elf_arhdr(), _elf_update_pointers(), _EOSHIFT(), _fcd_copy(), _fio_du_read(), _fio_du_write(), _frvfdpic_size_got_plt(), _ft_stopen(), _g_charstr(), _gather_data(), _Get_command(), _gs_s(), _ld_read(), _ld_write(), _nl_find_domain(), _nl_init_domain_conv(), _nl_make_l10nflist(), _PACK(), _PXFACCESS(), _PXFCHDIR(), _PXFCHMOD(), _PXFCHOWN(), _PXFCHROOT(), _PXFCREAT(), _PXFCTERMID(), _PXFEXECV(), _PXFEXECVE(), _PXFEXECVP(), _PXFGETARG(), _PXFGETCWD(), _PXFGETGRNAM(), _PXFGETLOGIN(), _PXFGETPWNAM(), _PXFLINK(), _PXFMKFIFO(), _PXFOPEN(), _PXFREAD(), _PXFREADDIR(), _PXFRENAME(), _PXFRMDIR(), _PXFSETENV(), _PXFSTAT(), _PXFSTRUCTCOPY(), _PXFSYSTEM(), _PXFUNLINK(), _PXFUTIME(), _PXFWRITE(), _RESHAPE(), _s_scan_extensions(), _scatter_data(), _set_stride(), _SPREAD(), _strip_mine(), _TRANS(), _UNPACK(), _unpack_arry(), _wf_setup(), _write_edge_profile(), _write_File_Header(), _write_Pu_Header(), _write_srd_TNV_items_profile(), _write_Str_Header(), _write_TNV_items_profile(), _xlate_do_current_block(), _xlate_do_local_reginfo(), _xlate_expand_reg_info_internal_given_ptrs(), _xlate_fill_in_table_data(), _xlate_fix_addresses_for_dso_movement(), add_env_var_paths(), add_excluded_libs(), add_framework(), add_method(), add_objc_tree_codes(), add_params(), add_prefixed_path(), adjust_filehdr_in_post(), adjust_filehdr_out_pre(), alpha_encode_section_info(), alter_output_for_insn(), alter_predicate_for_insn(), append_chunk_copy(), append_file_to_dir(), append_open64_env_flags(), apply_macro_to_rtx(), ar_convert_str_to_float(), ar_cvt_str_to_float(), ar_iflt128(), AR_INTRIN2(), ar_pass_arg_address(), ar_pass_arg_value(), ar_pass_ext_address(), ar_pass_fcd_address(), ar_reshape(), ar_transfer(), array_construct_semantics(), ascii_usage(), asm_fprintf(), assign_section_numbers(), attr_semantics(), attr_string(), bfd_bread(), bfd_bsd_truncate_arname(), bfd_bwrite(), bfd_check_format_matches(), bfd_dont_truncate_arname(), bfd_elf_size_dynamic_sections(), bfd_get_elf_phdrs(), bfd_get_section_contents(), bfd_get_unique_section_name(), bfd_gnu_truncate_arname(), bfd_hash_lookup(), bfd_mach_o_core_fetch_environment(), bfd_mach_o_scan_read_section(), bfd_mach_o_scan_read_segment(), bfd_mach_o_scan_write_section(), bfd_mach_o_scan_write_segment(), bfd_pef_parse_traceback_table(), bfd_record_phdr(), bfd_set_section_contents(), bfd_sunos_size_dynamic_sections(), bfd_sym_parse_contained_variables_table_entry_v32(), bfd_sym_parse_header_v32(), bfd_sym_parse_resources_table_entry_v32(), bfd_xcoff_size_dynamic_sections(), big_endian_store(), bitmap_and_compl(), bitmap_compl_and_into(), bitmap_copy(), bitmap_ior(), bitmap_ior_into(), bitmap_xor(), bitmap_xor_into(), buffer_read_memory(), build_real(), build_string(), builtin_define_std(), builtin_define_with_int_value(), builtin_define_with_value_n(), builtin_macro(), byte_copy(), c_common_decode_option(), c_dup_lang_specific_decl(), c_expand_builtin_printf(), c_ify(), c_initialize_diagnostics(), catbuf(), Cg_Dwarf_Write_Assembly_From_Elf(), cgen_parse_keyword(), check_float_value(), chewname(), Cif_Duplicate(), clean_graph_dump_file(), clear_marks(), clone_section(), collect(), combine_strings(), common_init(), const_double_from_real_value(), convert_no_conversion(), NULL_TERMINATED_STRING::copy(), CHARACTER_ARRAY::copy(), copy_comment(), Copy_INITV(), copy_insn_1(), copy_lang_decl(), copy_lang_type(), copy_node(), copy_node_stat(), copy_reloads(), copy_rtx(), copy_rtx_if_shared(), copy_rtx_if_shared_1(), copy_rtx_unchanging(), STR_TAB< STR >::copy_str(), cp_parser_template_argument_list(), cpp_define(), cpp_included(), cpp_macro_definition(), cpp_spell_token(), cpp_undef(), cpp_write_pch_deps(), create_go32_stub(), create_iso_definition(), create_literal(), create_value_expr_from(), cxx_dup_lang_specific_decl(), cxx_initialize_diagnostics(), cycle_end_fill_slots(), d_print_append_buffer(), darwin_encode_section_info(), debug_decision_2(), decode_internal(), decode_rtx_const(), default_data_link_order(), default_function_rodata_section(), default_get_pch_validity(), default_pch_valid_p(), default_unique_section(), default_unique_section_1(), DEFUN(), demangle(), demangle_template(), deps_add_vpath(), desc_copy_state(), desc_label_state(), df_compact_blocks(), dir_name_of_file(), do_assert(), do_define(), do_hpacc_template_literal(), do_include(), do_include_next(), do_line(), do_option_spec(), do_pragma(), do_reginfo_merge(), do_us(), do_xlate_fix_32(), do_xlate_fix_64(), DST_mk_string(), ELFBin::dumpBin(), Dup_OP(), dup_state_stack(), duplicate_decls(), duplicate_loop_to_header_edge(), dwarf_add_AT_const_value_signedint(), dwarf_add_AT_const_value_unsignedint(), dwarf_add_AT_flag(), dwarf_add_AT_location_expr(), dwarf_add_AT_signed_const(), dwarf_add_expr_gen(), dwarf_add_fde_inst(), dwarf_add_file_decl(), dwarf_fde_cfa_offset(), dwf_add_AT_complex_const(), e_wsue_mp(), ecoff_collect_shuffle(), edit_file(), elf32_frvfdpic_copy_private_bfd_data(), elf32_frvfdpic_relax_section(), elf32_h8_get_relocated_section_contents(), elf32_hppa_finish_dynamic_sections(), elf64_alpha_fbsd_post_process_headers(), elf64_hppa_finish_dynamic_symbol(), elf64_x86_64_finish_dynamic_sections(), elf64_x86_64_finish_dynamic_symbol(), elf64_x86_64_relocate_section(), elf_collect_hash_codes(), elf_cris_finish_dynamic_sections(), elf_cris_finish_dynamic_symbol(), elf_i386_finish_dynamic_sections(), elf_i386_finish_dynamic_symbol(), elf_i386_post_process_headers(), elf_i386_relocate_section(), elf_link_add_object_symbols(), elf_m68k_finish_dynamic_sections(), elf_m68k_finish_dynamic_symbol(), elf_object_p(), elf_rawdata(), elf_slurp_symbol_table(), elf_swap_ehdr_in(), elf_swap_ehdr_out(), elf_vax_finish_dynamic_sections(), elf_vax_finish_dynamic_symbol(), elf_xtensa_combine_prop_entries(), elf_xtensa_create_plt_entry(), elfcore_write_note(), elfmap(), elfNN_ia64_finish_dynamic_sections(), elfNN_ia64_finish_dynamic_symbol(), elfNN_ia64_relax_section(), eliminate_regs(), Em_Add_Bytes_To_Scn(), emit_library_call_value_1(), encode_internal(), enter_str(), establish_preds(), estimate_bb_frequencies(), exp_assop(), exp_binop(), exp_nameop(), exp_trinop(), exp_unop(), expand_builtin_printf(), expand_call(), expand_units(), expandargv(), f_ify(), Fb_Hdr::Fb_Hdr(), fei_arith_con(), ffebld_constantarray_put(), ffecom_concat_list_gather_(), ffecom_constantunion(), ffecom_get_appended_identifier_(), ffedata_convert_(), ffelex_include_(), ffests_puttext(), ffetarget_character1(), ffetarget_concatenate_character1(), ffetarget_convert_any_character1_(), ffetarget_convert_any_hollerith_(), ffetarget_convert_any_typeless_(), ffetarget_convert_character1_character1(), ffetarget_convert_character1_hollerith(), ffetarget_convert_character1_integer4(), ffetarget_convert_character1_logical4(), ffetarget_convert_character1_typeless(), ffetarget_hollerith(), ffetarget_memcpy_(), ffetarget_substr_character1(), ffewhere_file_new(), file_at_path(), find_best_packet(), find_executable(), find_include_file(), find_param_structure(), find_reload_regs(), find_reloads(), finish_graph_dump_file(), first_phase(), FIX_PROC_HEAD(), fix_range(), floatformat_from_double(), flow_loop_tree_node_add(), fold_builtin_printf(), for_each_path(), frv_sort_insn_group(), frv_sort_insn_group_1(), g_charstr(), gas(), gcov_read_words(), gcov_write_string(), gcov_write_words(), gen_insn(), gen_regexp_el(), get_charset_aliases(), get_dyn_name(), get_field_name(), get_file_function_name_long(), get_ident(), get_mem_attrs(), get_opc_prefix(), get_output_file_with_visibility(), get_reg_attrs(), ggc_realloc(), ggc_realloc_stat(), gimplify_asm_expr(), glue_header_name(), go32_stubbed_coff_bfd_copy_private_bfd_data(), grokdeclarator(), gs_write(), gt_pch_save(), GTY(), handle_assertion(), handle_format_attribute(), handle_option(), hppa_add_stub(), ia64_copy_rbs(), ia64_dfa_new_cycle(), ia64_encode_section_info(), ia64_variable_issue(), ieee_archive_p(), ieee_get_section_contents(), ieee_set_section_contents(), ihex_get_section_contents(), ihex_set_section_contents(), init_alias_analysis(), init_asm_output(), init_cif(), init_date_time_info(), init_dependency_output(), init_emit(), init_interclass_conv_libfuncs(), init_intraclass_conv_libfuncs(), init_reg_sets(), init_reg_sets_1(), initialize_cold_section_name(), insns_for_mem_walk(), install(), int_vasprintf(), internal(), interpret_float(), ip2k_init_local_alloc(), IPA_add_new_procedure(), IPA_add_new_symbol(), IPO_Fld_Table_Update_For_Struct_Opt(), IPO_generate_new_types(), IPO_reorder_Fld_Tab(), ir_b_copy_file(), ir_b_save_buf(), is_directory(), issue_nops_and_insn(), ix86_encode_section_info(), ix86_sched_reorder_ppro(), java_init(), lambda_vector_copy(), legitimize_operand(), lex_number(), libdwarf_compose_add_string(), load_mpp_word(), load_pvp_word(), m32r_sched_reorder(), macarg(), main(), make_a_section_from_file(), make_assertion(), make_definition(), make_elfheader(), make_one(), make_sectheader(), MAT< T >::MAT(), maybe_apply_renaming_pragma(), mcore_expand_prolog(), md5_finish_ctx(), md5_process_bytes(), mempcpy(), merge_decls(), min_insn_conflict_delay(), mingw_scan(), mips_build_integer(), mips_elf_create_local_got_entry(), mips_elf_record_global_got_symbol(), mips_elf_record_local_got_symbol(), mips_function_rodata_section(), mips_sim_wait_units(), mmo_bfd_copy_private_bfd_data(), mmo_get_section_contents(), mmo_internal_add_3_sym(), mmo_set_section_contents(), mmo_write_chunk(), mmo_write_symbols_and_terminator(), mn10200_elf_get_relocated_section_contents(), mn10300_elf_get_relocated_section_contents(), move_literal(), move_ptes_to_front(), munge_compile_params(), new_mode(), new_structure(), next_pass_1(), next_token(), oasys_archive_p(), oasys_get_section_contents(), oasys_set_section_contents(), oasys_slurp_symbol_table(), oasys_write_header(), open_include_file(), open_intrinsics_file(), open_repo_file(), MAT< T >::operator=(), DYN_ARRAY< T >::operator=(), oprintf(), optimize_inline_calls(), order_regs_for_local_alloc(), output_bytes(), output_fpops(), output_get_cpu_unit_code_func(), output_line_command(), output_move_double(), output_return_instruction(), override_options(), parse_args(), parse_assertion(), parse_attrs(), parse_include(), parse_number(), pathf90_date(), pbvDup(), pch_open_file(), perform_relocations(), pex_get_status(), pex_get_times(), phi_translate(), pool_copy_list(), poolify_tree(), pop(), ppc64_elf_archive_symbol_lookup(), ppc64_elf_edit_opd(), ppc64_elf_edit_toc(), ppc64_elf_get_synthetic_symtab(), ppc64_elf_relocate_section(), ppc_add_stub(), ppc_build_one_stub(), ppcboot_object_p(), print_frame_inst_bytes(), print_operand(), print_rtl_graph_with_bb(), process_command(), process_include(), IPO_INLINE::Process_OPR_REGION(), propagate_freq(), prune_options(), push(), push_replacement_text(), push_token(), putenv(), read_alias_file(), read_in_module_tbl(), read_name_map(), read_rtx(), read_rtx_1(), read_sytb_from_module_file(), recursively_demangle(), regerror(), relax_section(), reload(), remap_filename(), remember_Btype(), remember_Ktype(), remember_type(), replace_args(), replace_args_and_push(), rescan(), resize_phi_node(), resolve_input_conflict(), retour_(), rs6000_override_options(), run_phase(), s_cat(), s_cat2(), s_cat_kai(), s_copy(), safe_group_barrier_needed(), safe_group_barrier_needed_p(), save_buf_at_offset(), save_comment(), save_function_data(), save_idents(), save_partially_mangled_name(), save_replacement_text(), save_string(), sbitmap_copy(), IPA_NODE::Scope(), set_mingw(), set_multilib_dir(), set_sizetype(), set_varg_(), setenv(), sfpr_define(), sh64_elf64_finish_dynamic_sections(), sh64_elf64_finish_dynamic_symbol(), sh_coff_get_relocated_section_contents(), sh_elf64_get_relocated_section_contents(), sh_elf_finish_dynamic_sections(), sh_elf_finish_dynamic_symbol(), sh_elf_get_relocated_section_contents(), sh_pch_valid_p(), shallow_copy_rtx(), shallow_copy_rtx_stat(), simplify_cond(), slurp_symbol_table(), snarf_defarg(), snarf_method(), spec_path(), special_symbol(), srch_ar_file_for_module_tbl(), srec_get_section_contents(), srec_set_section_contents(), store_mpp_word(), store_pvp_word(), stpcpy(), strdup(), string_append(), string_appendn(), string_appends(), string_prependn(), strndup(), sunos_check_dynamic_reloc(), supply(), synth_mult(), t_putc(), try_combine(), update_blockheader32(), update_blockheader64(), uw_install_context_1(), vconcat_copy(), VEC_char_to_string(), versados_get_section_contents(), VPARAMS(), vsnprintf(), vsprint_msg(), win32_spawn(), work_stuff_copy_to_from(), IPA_LNO_WRITE_FILE::Write_Headers(), write_output(), x86_64_elf_unique_section(), x_gets(), x_putc(), xcoff64_archive_p(), xcoff64_generate_rtinit(), xcoff_generate_rtinit(), xcoff_link_add_dynamic_symbols(), xcoff_link_check_dynamic_ar_symbols(), xcoff_read_internal_relocs(), xcoff_swap_ldsym_in(), xcoff_swap_ldsym_out(), xcoff_write_archive_contents_big(), xcoff_write_armap_big(), xcoff_write_armap_old(), xetarg_(), xlate_pro_add_reg_info(), xmemdup(), xstrdup(), xstrndup(), xtensa_get_property_section_name(), xtensa_output_literal(), and z_putc().
Definition at line 189 of file md5.c.
References md5_finish_ctx(), md5_init_ctx(), and md5_process_bytes().
Referenced by _cpp_save_file_entries(), and pchf_compare().
Definition at line 101 of file md5.c.
Referenced by fold_build1_stat(), fold_build2_stat(), fold_build3_stat(), md5_buffer(), and md5_stream().
Definition at line 65 of file md5.c.
Referenced by fold_build1_stat(), fold_build2_stat(), fold_build3_stat(), md5_buffer(), and md5_stream().
Definition at line 266 of file md5.c.
References A, md5_ctx::A, B, md5_ctx::B, C, md5_ctx::C, md5_ctx::D, OP, md5_ctx::total, and words.
Referenced by md5_finish_ctx(), md5_process_bytes(), and md5_stream().
Definition at line 208 of file md5.c.
References md5_ctx::buffer, md5_ctx::buflen, md5_process_block(), and memcpy.
Referenced by md5_buffer(), and md5_stream().
const unsigned char fillbuf[64] = { 0x80, 0 } [static] |
1.5.6