1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 #ifndef _CRYPTO_MD5_H 1 #ifndef _CRYPTO_MD5_H 3 #define _CRYPTO_MD5_H 2 #define _CRYPTO_MD5_H 4 3 5 #include <linux/types.h> 4 #include <linux/types.h> 6 5 7 #define MD5_DIGEST_SIZE 16 6 #define MD5_DIGEST_SIZE 16 8 #define MD5_HMAC_BLOCK_SIZE 64 7 #define MD5_HMAC_BLOCK_SIZE 64 9 #define MD5_BLOCK_WORDS 16 8 #define MD5_BLOCK_WORDS 16 10 #define MD5_HASH_WORDS 4 9 #define MD5_HASH_WORDS 4 11 10 12 #define MD5_H0 0x67452301UL 11 #define MD5_H0 0x67452301UL 13 #define MD5_H1 0xefcdab89UL 12 #define MD5_H1 0xefcdab89UL 14 #define MD5_H2 0x98badcfeUL 13 #define MD5_H2 0x98badcfeUL 15 #define MD5_H3 0x10325476UL 14 #define MD5_H3 0x10325476UL 16 15 17 extern const u8 md5_zero_message_hash[MD5_DIGE 16 extern const u8 md5_zero_message_hash[MD5_DIGEST_SIZE]; 18 17 19 struct md5_state { 18 struct md5_state { 20 u32 hash[MD5_HASH_WORDS]; 19 u32 hash[MD5_HASH_WORDS]; 21 u32 block[MD5_BLOCK_WORDS]; 20 u32 block[MD5_BLOCK_WORDS]; 22 u64 byte_count; 21 u64 byte_count; 23 }; 22 }; 24 23 25 #endif 24 #endif 26 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.