diff options
Diffstat (limited to 'libssh/crc32.c')
-rw-r--r-- | libssh/crc32.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libssh/crc32.c b/libssh/crc32.c index d9ea9c3..5f2d7f2 100644 --- a/libssh/crc32.c +++ b/libssh/crc32.c @@ -1,15 +1,15 @@ -/* simple CRC32 code */ /* - * Copyright 2005 Aris Adamantiadis + * crc32.c - simple CRC32 code * * This file is part of the SSH Library * + * Copyright (c) 2005 by Aris Adamantiadis + * * The SSH Library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or (at your * option) any later version. * - * * The SSH Library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public @@ -18,9 +18,13 @@ * You should have received a copy of the GNU Lesser General Public License * along with the SSH Library; see the file COPYING. If not, write to * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. */ + * MA 02111-1307, USA. + * + * vim: ts=2 sw=2 et cindent + */ #include "libssh/priv.h" + static u32 crc_table[] = { 0x00000000UL, 0x77073096UL, 0xee0e612cUL, 0x990951baUL, 0x076dc419UL, 0x706af48fUL, 0xe963a535UL, 0x9e6495a3UL, 0x0edb8832UL, 0x79dcb8a4UL, |