2 * Copyright (C) 2004-2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 * unsigned int csum_partial(const unsigned char *buff,
11 * int len, unsigned int sum)
15 .type csum_partial,"function"
18 /* checksum complete words, aligned or not */
27 /* return if we had a whole number of words */
31 /* checksum any remaining bytes at the end */
47 .size csum_partial, . - csum_partial