2 * This file was transplanted with slight modifications from Linux sources
3 * (fs/cifs/md5.h) into U-Boot by Bartlomiej Sieka <tur@semihalf.com>.
11 #define MD5_SUM_LEN 16
23 * Calculate and store in 'output' the MD5 digest of 'len' bytes at
24 * 'input'. 'output' must have enough space to hold 16 bytes.
26 void md5 (unsigned char *input, int len, unsigned char output[16]);
29 * Calculate and store in 'output' the MD5 digest of 'len' bytes at 'input'.
30 * 'output' must have enough space to hold 16 bytes. If 'chunk' Trigger the
31 * watchdog every 'chunk_sz' bytes of input processed.
33 void md5_wd(const unsigned char *input, unsigned int len,
34 unsigned char output[16], unsigned int chunk_sz);