| 1 | |
| 2 |
|
| 3 | Hash functions, MACs, and XOFs
|
| 4 | ==============================
|
| 5 |
|
| 6 | AES-CMAC and AES-XCBC-MAC
|
| 7 | -------------------------
|
| 8 |
|
| 9 | This API provides support for the AES-CMAC and AES-XCBC-MAC message
|
| 10 | authentication codes.
|
| 11 |
|
| 12 | .. kernel-doc:: include/crypto/aes-cbc-macs.h
|
| 13 |
|
| 14 | BLAKE2b
|
| 15 | -------
|
| 16 |
|
| 17 | This API provides support for the BLAKE2b cryptographic hash function.
|
| 18 |
|
| 19 | .. kernel-doc:: include/crypto/blake2b.h
|
| 20 |
|
| 21 | BLAKE2s
|
| 22 | -------
|
| 23 |
|
| 24 | This API provides support for the BLAKE2s cryptographic hash function.
|
| 25 |
|
| 26 | .. kernel-doc:: include/crypto/blake2s.h
|
| 27 |
|
| 28 | GHASH and POLYVAL
|
| 29 | -----------------
|
| 30 |
|
| 31 | This API provides support for the GHASH and POLYVAL universal hash functions.
|
| 32 | These algorithms are used only as internal components of other algorithms.
|
| 33 |
|
| 34 | .. kernel-doc:: include/crypto/gf128hash.h
|
| 35 |
|
| 36 | MD5
|
| 37 | ---
|
| 38 |
|
| 39 | This API provides support for the MD5 cryptographic hash function and HMAC-MD5.
|
| 40 | This algorithm is obsolete and is supported only for backwards compatibility.
|
| 41 |
|
| 42 | .. kernel-doc:: include/crypto/md5.h
|
| 43 |
|
| 44 | NH
|
| 45 | --
|
| 46 |
|
| 47 | This API provides support for the NH universal hash function. This algorithm is
|
| 48 | used only as an internal component of other algorithms.
|
| 49 |
|
| 50 | .. kernel-doc:: include/crypto/nh.h
|
| 51 |
|
| 52 | Poly1305
|
| 53 | --------
|
| 54 |
|
| 55 | This API provides support for the Poly1305 universal hash function. This
|
| 56 | algorithm is used only as an internal component of other algorithms.
|
| 57 |
|
| 58 | .. kernel-doc:: include/crypto/poly1305.h
|
| 59 |
|
| 60 | SHA-1
|
| 61 | -----
|
| 62 |
|
| 63 | This API provides support for the SHA-1 cryptographic hash function and
|
| 64 | HMAC-SHA1. This algorithm is obsolete and is supported only for backwards
|
| 65 | compatibility.
|
| 66 |
|
| 67 | .. kernel-doc:: include/crypto/sha1.h
|
| 68 |
|
| 69 | SHA-2
|
| 70 | -----
|
| 71 |
|
| 72 | This API provides support for the SHA-2 family of cryptographic hash functions,
|
| 73 | including SHA-224, SHA-256, SHA-384, and SHA-512. This also includes their
|
| 74 | corresponding HMACs: HMAC-SHA224, HMAC-SHA256, HMAC-SHA384, and HMAC-SHA512.
|
| 75 |
|
| 76 | .. kernel-doc:: include/crypto/sha2.h
|
| 77 |
|
| 78 | SHA-3
|
| 79 | -----
|
| 80 |
|
| 81 | The SHA-3 API is documented in :ref:`sha3`.
|
| 82 |
|
| 83 | SipHash
|
| 84 | -------
|
| 85 |
|
| 86 | The SipHash API is documented in Documentation/security/siphash.rst.
|
| 87 |
|
| 88 | SM3
|
| 89 | ---
|
| 90 |
|
| 91 | This API provides support for the SM3 cryptographic hash function.
|
| 92 |
|
| 93 | .. kernel-doc:: include/crypto/sm3.h
|