blob: 83613bfa925a6666aa96e010584b9c4646e87c5f [file] [log] [blame]
Paul Bakker37ca75d2011-01-06 12:28:03 +00001/**
Jaeden Amero25facdd2018-01-23 15:36:58 +00002 * \file doc_hashing.h
3 *
4 * \brief Hashing module documentation file.
5 */
6/*
Manuel Pégourié-Gonnard8119dad2015-08-06 10:59:26 +02007 *
Bence Szépkúti1e148272020-08-07 13:07:28 +02008 * Copyright The Mbed TLS Contributors
Dave Rodgman16799db2023-11-02 19:47:20 +00009 * SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
Paul Bakker37ca75d2011-01-06 12:28:03 +000010 */
11
12/**
13 * @addtogroup hashing_module Hashing module
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020014 *
Simon Butcher00aea9a2016-03-17 00:30:35 +000015 * The Message Digest (MD) or Hashing module provides one-way hashing
16 * functions. Such functions can be used for creating a hash message
17 * authentication code (HMAC) when sending a message. Such a HMAC can be used
18 * in combination with a private key for authentication, which is a message
19 * integrity control.
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020020 *
21 * All hash algorithms can be accessed via the generic MD layer (see
Simon Butcher00aea9a2016-03-17 00:30:35 +000022 * \c mbedtls_md_setup())
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020023 *
Paul Bakker37ca75d2011-01-06 12:28:03 +000024 * The following hashing-algorithms are provided:
TRodziewicz75628d52021-06-18 12:56:27 +020025 * - MD5 128-bit one-way hash function by Ron Rivest.
Paul Bakkerdcbfdcc2013-09-10 16:16:50 +020026 * - SHA-1, SHA-256, SHA-384/512 160-bit or more one-way hash functions by
Manuel Pégourié-Gonnardd4b91732015-03-25 16:25:23 +010027 * NIST and NSA.
Paul Bakker37ca75d2011-01-06 12:28:03 +000028 *
29 * This module provides one-way hashing which can be used for authentication.
30 */