|
iPXE
|
Hybrid MD5+SHA1 hash as used by TLSv1.1 and earlier. More...
Go to the source code of this file.
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| FILE_SECBOOT (PERMITTED) | |
| static void | md5_sha1_init (struct digest_algorithm *digest __unused, void *ctx) |
| Initialise MD5+SHA1 algorithm. | |
| static void | md5_sha1_update (struct digest_algorithm *digest __unused, void *ctx, const void *data, size_t len) |
| Accumulate data with MD5+SHA1 algorithm. | |
| static void | md5_sha1_final (struct digest_algorithm *digest __unused, void *ctx, void *out) |
| Generate MD5+SHA1 digest. | |
Variables | |
| struct digest_algorithm | md5_sha1_algorithm |
| Hybrid MD5+SHA1 digest algorithm. | |
| struct rsa_digestinfo_prefix rsa_md5_sha1_prefix | __rsa_digestinfo_prefix |
| RSA digestInfo prefix for MD5+SHA1 algorithm. | |
Hybrid MD5+SHA1 hash as used by TLSv1.1 and earlier.
Definition in file md5_sha1.c.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| FILE_SECBOOT | ( | PERMITTED | ) |
|
static |
Initialise MD5+SHA1 algorithm.
| digest | Digest algorithm |
| ctx | MD5+SHA1 context |
Definition at line 43 of file md5_sha1.c.
References __unused, ctx, digest_init(), md5_sha1_context::md5, md5_algorithm, md5_sha1_context::sha1, and sha1_algorithm.
|
static |
Accumulate data with MD5+SHA1 algorithm.
Definition at line 59 of file md5_sha1.c.
References __unused, ctx, data, digest_update(), len, md5_sha1_context::md5, md5_algorithm, md5_sha1_context::sha1, and sha1_algorithm.
|
static |
Generate MD5+SHA1 digest.
Definition at line 74 of file md5_sha1.c.
References __unused, ctx, digest_final(), md5_sha1_context::md5, md5_algorithm, out, md5_sha1_context::sha1, and sha1_algorithm.
| struct digest_algorithm md5_sha1_algorithm |
Hybrid MD5+SHA1 digest algorithm.
Definition at line 84 of file md5_sha1.c.
Referenced by tls_generate_resumption_master(), tls_select_cipher(), tls_set_kdf_master(), and tls_verify_dh_params().
| struct rsa_digestinfo_prefix rsa_md5_sha1_prefix __rsa_digestinfo_prefix |
RSA digestInfo prefix for MD5+SHA1 algorithm.
Definition at line 95 of file md5_sha1.c.