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>.
21 * Calculate and store in 'output' the MD5 digest of 'len' bytes at
22 * 'input'. 'output' must have enough space to hold 16 bytes.
24 void md5 (unsigned char *input, int len, unsigned char output[16]);
27 * Calculate and store in 'output' the MD5 digest of 'len' bytes at 'input'.
28 * 'output' must have enough space to hold 16 bytes. If 'chunk' Trigger the
29 * watchdog every 'chunk_sz' bytes of input processed.
31 void md5_wd (unsigned char *input, int len, unsigned char output[16],
32 unsigned int chunk_sz);