|
ReactOS 0.4.17-dev-1037-g720d112
|
#include <stdint.h>#include <string.h>
Go to the source code of this file.
Classes | |
| struct | buffer_state |
Macros | |
| #define | CHUNK_SIZE 64 |
| #define | TOTAL_LEN_LEN 8 |
Functions | |
| static uint32_t | right_rot (uint32_t value, unsigned int count) |
| static void | init_buf_state (struct buffer_state *state, const void *input, size_t len) |
| static int | calc_chunk (uint8_t chunk[CHUNK_SIZE], struct buffer_state *state) |
| void | calc_sha256 (uint8_t *hash, const void *input, size_t len) |
Variables | |
| static const uint32_t | k [] |
|
static |
Definition at line 62 of file sha256.c.
Referenced by calc_sha256().
Definition at line 126 of file sha256.c.
Referenced by calc_superblock_checksum(), calc_thread_main(), calc_tree_checksum(), check_sector_csum(), check_superblock_checksum(), check_tree_checksum(), get_sector_csum(), and get_tree_checksum().
Definition at line 43 of file sha256.c.
Referenced by calc_sha256().
Definition at line 24 of file sha256.c.
Referenced by __ieee754_jn(), _getw(), hashtable< _Val, _Key, _HF, _Traits, _ExK, _EqK, _All >::_M_get_key(), AcpiExConvertToAscii(), AcpiUtAllocateOwnerId(), adapt(), AddIpv6HostEntries(), Subdivider::arc_split(), Array_map(), Array_reduce(), Array_reverse(), Array_sort(), ata_bblk(), Ata_is_dev_listed(), AtapiInterrupt(), AtapiInterrupt__(), AtapiResetController__(), Mapdesc::bbox(), Mapdesc::bboxTooBig(), bezierCurveEval(), bezierCurveEvalDer(), bezierCurveEvalDerGen(), bezierPatchMake2(), bezierPatchMeshDelDeg(), bezierPatchMeshDraw(), bezierPatchMeshEval(), bezierPatchMeshListCollect(), bezierPatchMeshMake(), bidi_compute_isolating_runs_set(), BIDI_Reorder(), block_encrypt(), build_activatable_class_section(), build_tlib_section(), build_wndclass_section(), cache_container_set_size(), calc_sha256(), Mapdesc::calcPartialVelocity(), calculate_resource_register_counts(), CC_CheckDigitsInEdit(), CC_PaintPredefColorArray(), CC_PaintUserColorArray(), cert_name_to_str_with_indent(), CertGetValidUsages(), cff_encoding_load(), cfgets(), check_generated_effects_(), CheckAgainstNTFS(), chmc_namelist_create(), cleanupA(), cleanupW(), CmpConvertKcbSharedToExclusive(), CmpSortKcbArray(), CmpTryToConvertKcbSharedToExclusive(), codeview_snarf_linetab(), coff_process_info(), compareCTLInfo(), ComposeConsonants(), compute_text_mesh(), computeIsolatingRunsSet(), constant_is_one(), constant_is_zero(), convert_to_fos_high_precision(), copypixels_to_24bppBGR(), copypixels_to_32bppBGRA(), crc32_z(), create_arp_response(), CRYPT_ExportKeyTrans(), CRYPT_FormatUserNotice(), CRYPT_ImportKeyTrans(), d2d_cdt_insert_segments(), d2d_device_context_inner_Release(), d3d12_command_list_update_descriptor_table(), d3drm_mesh_builder3_CreateMesh(), d3dx9_mesh_GenerateAdjacency(), d3dx_effect_CloneEffect(), d3dx_pool_sync_shared_parameter(), D3DXCreateTextW(), D3DXLoadMeshFromXInMemory(), DATETIME_UseFormat(), de_casteljau_surf(), DECLAREContigPutFunc(), decode_mcu(), decode_mcu_AC_first(), decode_mcu_AC_refine(), decode_mcu_sub(), deleteRepeatDiagonals(), DetectSerialPointerPeripheral(), DIB_1BPP_BitBlt(), dictionary_find(), dictionary_find_internal(), dictionary_insert(), dictionary_remove(), DisplayArpEntries(), DoGetAliasPIDLs(), DoTestEntry(), primStream::draw(), rectBlock::draw(), draw_cursor(), draw_cursor_under(), CToolSettingsWindow::drawAirBrush(), drawStrips(), dump_template(), dumpMenu(), empty_image(), emptyImage3D(), encode_mcu(), encode_mcu_AC_first(), encode_mcu_AC_refine(), encode_one_block(), enumerate_mapped_resources(), Slicer::evalRBArray(), Slicer::evalStream(), OpenGLSurfaceEvaluator::evalUStrip(), OpenGLSurfaceEvaluator::evalVStrip(), CShellCommandValue::Execute(), execute_preshader(), ExecuteREBytecode(), Ext2ParseRegistryVolumeParams(), ext4_ext_binsearch(), ext4_ext_binsearch_idx(), ext4_ext_correct_indexes(), ext4_ext_split(), ExtractName(), FatUnpinRepinnedBcbs(), Fbt_Dispatch(), fdi_Ziphuft_build(), fdi_Zipinflate_block(), fdi_Zipinflate_codes(), fdi_Zipinflate_dynamic(), fdi_Zipinflate_stored(), fill_image(), fillImage3D(), MemFunPtrTest::find(), find_dev_alloc(), findBotSeparator(), findDiagonals(), FindTest::findif0(), findLeftGridIndices(), findRightGridIndices(), findTopSeparator(), flattener_flatten_phases(), flush_partial_stripe(), fnt_face_get_dll_font(), fold_abs(), fold_add(), fold_and(), fold_bit_not(), fold_bit_xor(), fold_cast(), fold_ceil(), fold_div(), fold_dot(), fold_dp2add(), fold_equal(), fold_exp2(), fold_floor(), fold_fract(), fold_gequal(), fold_less(), fold_log2(), fold_lshift(), fold_max(), fold_min(), fold_mod(), fold_mul(), fold_neg(), fold_nequal(), fold_not(), fold_or(), fold_rcp(), fold_rshift(), fold_rsq(), fold_sat(), fold_sqrt(), fold_ternary(), fontface_cache_compare(), BtrfsVolPropSheet::FormatUsage(), FstubTranslateResource(), FT_Outline_EmboldenXY(), get_matrix(), get_valid_pass(), GetPrivateProfileStructW(), gl_color_shade_vertices(), gl_color_shade_vertices_fast(), gl_copy_map_points1d(), gl_copy_map_points1f(), gl_copy_map_points2d(), gl_copy_map_points2f(), gl_display_matches(), gl_index_shade_vertices(), gl_Map1f(), gl_Map2f(), glsl_program_key_compare(), GPOS_apply_ChainContextPos(), GPOS_apply_ContextPos(), GPOS_apply_MarkToLigature(), GPOS_apply_PairAdjustment(), GSUB_apply_ChainContextSubst(), GSUB_apply_ContextSubst(), GSUB_apply_LigatureSubst(), HalpDebugPciDumpBus(), HalpGetPciBridgeConfig(), HalpInitializePciBus(), HalpReportResourceUsage(), halveImage(), halveImage_byte(), halveImage_float(), halveImage_int(), halveImage_short(), halveImage_ubyte(), halveImage_uint(), halveImage_ushort(), help(), HelpCmd(), hlsl_component_index_range_from_deref(), hlsl_dump_var_default_values(), hlsl_free_state_block(), hlsl_free_var(), hlsl_new_var(), hlsl_type_calculate_reg_size(), horner_bezier_curve(), horner_bezier_surf(), htest_one_block(), huft_build(), icy2utf8(), IdnToAscii(), IdnToUnicode(), II_step_two(), Imm32CompAttrWideToAnsi(), OpenGLSurfaceEvaluator::inBPMEval(), OpenGLSurfaceEvaluator::inBPMEvalEM(), OpenGLSurfaceEvaluator::inDoDomain2WithDerivs(), OpenGLSurfaceEvaluator::inDoDomain2WithDerivsBU(), OpenGLSurfaceEvaluator::inDoDomain2WithDerivsBV(), OpenGLSurfaceEvaluator::inEvalULine(), OpenGLSurfaceEvaluator::inEvalUStrip(), OpenGLSurfaceEvaluator::inEvalVLine(), OpenGLSurfaceEvaluator::inEvalVStrip(), inflate_blocks(), inflate_codes(), inflate_trees_fixed(), init(), init_layer12(), init_layer12_stuff(), init_layer3(), init_psfactory(), OpenGLCurveEvaluator::inMap1f(), OpenGLSurfaceEvaluator::inMap2f(), OpenGLSurfaceEvaluator::inMap2fEM(), OpenGLSurfaceEvaluator::inPreEvaluateBU(), OpenGLSurfaceEvaluator::inPreEvaluateBV(), IopComputeHarddiskDerangements(), jsval_map_compare(), kbd_c(), TConfig::keyfile_init(), LdrEnumResources(), LISTVIEW_RefreshReport(), lower_matrix_swizzles(), LsarRemovePrivilegesFromAccount(), LsC(), LZXdecompress(), LZXfdi_decomp(), main(), make_null_texture(), map_to_halfwidth(), MC_findDiagonals(), MC_partitionY(), MiBuildPfnDatabaseFromPageTables(), MMDRV_InitPerType(), mpAdd(), mpMultiply(), mpMultSub(), mppc_expand(), mySplit(), NtfsHasFileSystem(), rectBlock::num_quads(), OpenType_GDEF_UpdateGlyphProps(), opentype_propagate_attachment_offsets(), opt_sample_rgb_2d(), opt_sample_rgba_2d(), parse_object_members_list(), parse_sfbk_chunk(), partial_stripe_read(), partitionY(), patmatch(), PciScanBus(), PerformInternalLookup(), PerformLookup(), pf_integer_conv(), pivot(), poll_isset(), BtrfsDeviceAdd::populate_device_tree(), power_of_two(), pqdownheap(), prepare_decode_tables(), Knotspec::preselect(), pretty_print_option(), primStream::print(), print_hexbuf(), print_hexbuf_no_asci(), PrintD2(), PrintDebug(), PrintMenu(), process_vk_key(), reflexChain::processNewVertex(), prop_enum_stat(), PropertyStorage_PropNameDestroy(), ArcSorter::qstexc(), FlistSorter::qstexc(), quicksort(), read_color_pixels(), read_data(), read_data_raid6(), read_depth_pixels(), read_index_pixels(), read_stencil_pixels(), read_table_from_storage(), reg_delete_tree(), remove_duplicate_values(), render_clipped_polygon(), Render_Single_Pass(), ReverseIP(), rijndaelKeySched(), RSAENH_CPDecrypt(), sampleCompBotSimple(), sampleCompTopSimple(), sampleCompTopSimpleOpt(), sampleLeftSingleTrimEdgeRegion(), sampleLeftSingleTrimEdgeRegionGen(), sampleRightSingleTrimEdgeRegion(), sampleRightSingleTrimEdgeRegionGen(), save_table(), SaveServicesToFile(), scale_internal(), scale_internal_byte(), scale_internal_float(), scale_internal_int(), scale_internal_short(), scale_internal_ubyte(), scale_internal_uint(), scale_internal_ushort(), scaleInternal3D(), scaleInternalPackedPixel(), ScriptFreeCache(), ScriptShapeOpenType(), ScriptStringGetLogicalWidths(), ScriptStringGetOrder(), scrub_extent_dup(), scrub_extent_raid10(), scrub_raid6_stripe(), sec_hash_to_string(), serialize_figure(), set_matrix(), set_matrix_transpose(), Splinespec::setupquilt(), shader_glsl_swapc(), ShapeCharGlyphProp_Arabic(), ShapeCharGlyphProp_BaseIndic(), ShapeCharGlyphProp_Default(), ShapeCharGlyphProp_Hebrew(), ShapeCharGlyphProp_None(), ShapeCharGlyphProp_Thai(), ShapeCharGlyphProp_Tibet(), Quilt::show(), sm4_get_extern_resources(), sm4_write_register_index(), SOFTWARE_GdipDrawThinPath(), spirv_compiler_emit_bitfield_instruction(), START_TEST(), stripOfFanLeft(), stripOfFanRight(), SymCryptMd2AppendBlocks(), SymCryptMlDsaPolyElementINTT(), SymCryptMlDsaPolyElementNTT(), SymCryptMlDsaSignEx(), SymCryptMlKemPolyElementINTTLayer(), SymCryptMlKemPolyElementINTTLayerC(), SymCryptMlKemPolyElementNTTLayer(), SymCryptMlKemPolyElementNTTLayerC(), test_AWR_flags(), test_bcm_get_ideal_size(), test_button_messages(), test_changing_selection_styles(), test_colour_space(), test_create(), test_CryptBinaryToString(), test_D3DXSHAdd(), test_dbcs_wm_char(), test_dpa(), test_dpi_mapping(), test_effect_parameter_value(), test_effect_parameter_value_GetMatrix(), test_effect_parameter_value_GetMatrixArray(), test_effect_parameter_value_GetMatrixPointerArray(), test_effect_parameter_value_GetMatrixTranspose(), test_effect_parameter_value_GetMatrixTransposeArray(), test_effect_parameter_value_GetMatrixTransposePointerArray(), test_effect_parameter_value_GetVectorArray(), Test_GetFontResourceInfoW_case2(), test_gethostbyname(), test_GetUnicodeRanges(), test_LoadLibraryEx_search_flags(), test_mapping(), test_menu_ownerdraw(), test_query_process(), test_readwrite(), test_reflection(), test_registerset(), test_registerset_defaults(), RopeTest::test_saved_rope_iterators(), test_set_getsockopt(), test_tcp_recv_ooseq_double_FINs(), TIM_SORT_MERGE(), triangulateRectTopGen(), triangulateXYMono(), triangulateXYMonoTB(), tt_check_trickyness_sfnt_ids(), tt_face_get_metrics(), TT_Process_Composite_Component(), TuiDrawMsgBoxCommon(), UDFAddXSpaceBitmap(), UDFDirIndex(), UDFDirIndexAlloc(), UDFDirIndexFree(), UDFDirIndexGrow(), UDFDirIndexTrunc(), UDFFindFile(), UpdateClustersFromGlyphProp(), USP10_FindGlyphInLogClust(), validate_operation(), VARIANT_FormatNumber(), VgaUpdateFramebuffer(), VidScreenToBufferBlt(), vkd3d_gpu_va_allocation_compare(), vkd3d_shader_cache_add_entry(), vkd3d_shader_cache_compare_key(), vkd3d_shader_cache_get(), vkd3d_shader_cache_hash_key(), vkd3d_shader_cache_put(), vsir_cfg_compute_loops(), vsir_cfg_generate_synthetic_loop_intervals(), vsir_program_insert_point_coord(), VTUTF8ChannelOEcho(), WCacheRelease__(), weakmap_compare(), wined3d_bo_slab_vk_compare(), wined3d_device_update_texture(), wined3d_render_pass_vk_compare(), wined3d_so_desc_compare(), write_sm1_uniforms(), write_sm4_rdef(), WriteRdpFile(), x2nmodp(), xHalIoReadPartitionTable(), xHalIoWritePartitionTable(), xsltInitCtxtKey(), and ZEXPORT().