Deleted Added
full compact
1/* $FreeBSD: head/sys/crypto/sha1.c 92756 2002-03-20 05:14:42Z alfred $ */
1/* $KAME: sha1.c,v 1.5 2000/11/08 06:13:08 itojun Exp $ */
3
2/*
3 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
9 * 1. Redistributions of source code must retain the above copyright

--- 12 unchanged lines hidden (view full) ---

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31/*
32 * FIPS pub 180-1: Secure Hash Algorithm (SHA-1)
33 * based on: http://csrc.nist.gov/fips/fip180-1.txt
34 * implemented by Jun-ichiro itojun Itoh <itojun@itojun.org>
35 */
36
37#include <sys/cdefs.h>
38__FBSDID("$FreeBSD: head/sys/crypto/sha1.c 116174 2003-06-10 21:44:29Z obrien $");
39
40#include <sys/types.h>
41#include <sys/cdefs.h>
42#include <sys/time.h>
43#include <sys/systm.h>
44
45#include <crypto/sha1.h>
46
47/* sanity check */

--- 229 unchanged lines hidden ---