From c3783ac4c20468bbf93c77bcfe3eda1166eea7ff Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Wed, 11 Mar 2020 21:56:54 +0000 Subject: [PATCH] Complete file headers. --- CRC16CCITTContext.cs | 32 ++++++++++++++++++++++++++++++++ CRC16IBMContext.cs | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/CRC16CCITTContext.cs b/CRC16CCITTContext.cs index fcfe93379..3c4c7482d 100644 --- a/CRC16CCITTContext.cs +++ b/CRC16CCITTContext.cs @@ -1,3 +1,35 @@ +// /*************************************************************************** +// Aaru Data Preservation Suite +// ---------------------------------------------------------------------------- +// +// Filename : CRC16CCITTContext.cs +// Author(s) : Natalia Portillo +// +// Component : Checksums. +// +// --[ Description ] ---------------------------------------------------------- +// +// Implements a CRC16 algorithm with the CCITT polynomial. +// +// --[ License ] -------------------------------------------------------------- +// +// This 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. +// +// This 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 License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . +// +// ---------------------------------------------------------------------------- +// Copyright © 2011-2020 Natalia Portillo +// ****************************************************************************/ + namespace Aaru.Checksums { public class CRC16CCITTContext : Crc16Context diff --git a/CRC16IBMContext.cs b/CRC16IBMContext.cs index ddf7aec3f..31177dbcb 100644 --- a/CRC16IBMContext.cs +++ b/CRC16IBMContext.cs @@ -1,3 +1,35 @@ +// /*************************************************************************** +// Aaru Data Preservation Suite +// ---------------------------------------------------------------------------- +// +// Filename : CRC16IBMContext.cs +// Author(s) : Natalia Portillo +// +// Component : Checksums. +// +// --[ Description ] ---------------------------------------------------------- +// +// Implements a CRC16 algorithm with the IBM polynomial. +// +// --[ License ] -------------------------------------------------------------- +// +// This 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. +// +// This 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 License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, see . +// +// ---------------------------------------------------------------------------- +// Copyright © 2011-2020 Natalia Portillo +// ****************************************************************************/ + namespace Aaru.Checksums { public class CRC16IBMContext : Crc16Context