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

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

79#define PUTPAD(x) { \
80 ctxt->m.b8[(COUNT % 64)] = (x); \
81 COUNT++; \
82 COUNT %= 64; \
83 if (COUNT % 64 == 0) \
84 sha1_step(ctxt); \
85 }
86
2/* $KAME: sha1.c,v 1.5 2000/11/08 06:13:08 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions

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

79#define PUTPAD(x) { \
80 ctxt->m.b8[(COUNT % 64)] = (x); \
81 COUNT++; \
82 COUNT %= 64; \
83 if (COUNT % 64 == 0) \
84 sha1_step(ctxt); \
85 }
86
87static void sha1_step __P((struct sha1_ctxt *));
87static void sha1_step(struct sha1_ctxt *);
88
89static void
90sha1_step(ctxt)
91 struct sha1_ctxt *ctxt;
92{
93 u_int32_t a, b, c, d, e;
94 size_t t, s;
95 u_int32_t tmp;

--- 179 unchanged lines hidden ---
88
89static void
90sha1_step(ctxt)
91 struct sha1_ctxt *ctxt;
92{
93 u_int32_t a, b, c, d, e;
94 size_t t, s;
95 u_int32_t tmp;

--- 179 unchanged lines hidden ---