26 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2#ifndef _CRYPTO_MD5_H3#define _CRYPTO_MD5_H4 5#include <linux/types.h>6 7#define MD5_DIGEST_SIZE 168#define MD5_HMAC_BLOCK_SIZE 649#define MD5_BLOCK_WORDS 1610#define MD5_HASH_WORDS 411 12#define MD5_H0 0x67452301UL13#define MD5_H1 0xefcdab89UL14#define MD5_H2 0x98badcfeUL15#define MD5_H3 0x10325476UL16 17extern const u8 md5_zero_message_hash[MD5_DIGEST_SIZE];18 19struct md5_state {20 u32 hash[MD5_HASH_WORDS];21 u32 block[MD5_BLOCK_WORDS];22 u64 byte_count;23};24 25#endif26