X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=third_party%2Fsha256.cc;h=9e249bee9881b7c5407b0b71717f7988b6e22ad5;hp=968b63befbeaf582f70efecd424f48bf7bd80d27;hb=10ffd2e97dd3ffc20b68db193ecf437b97674206;hpb=64bff41cb3ccdd60e767a5bb9ed8525d2dda1966 diff --git a/third_party/sha256.cc b/third_party/sha256.cc index 968b63b..9e249be 100644 --- a/third_party/sha256.cc +++ b/third_party/sha256.cc @@ -1,24 +1,30 @@ -/* sha256.cc - Message digests for Cumulus using SHA256 - * - * This code is adapted from crypto/sha256_generic.c and include/crypto/sha.n - * from the Linux kernel version 3.4. - */ - /* SHA-256, as specified in * http://csrc.nist.gov/groups/STM/cavp/documents/shs/sha256-384-512.pdf - * - * SHA-256 code by Jean-Luc Cooke . + * part of Cumulus: Efficient Filesystem Backup to the Cloud * * Copyright (c) Jean-Luc Cooke * Copyright (c) Andrew McDonald * Copyright (c) 2002 James Morris * SHA224 Support Copyright 2007 Intel Corporation + * Copyright (C) 2012 The Cumulus Developers + * See the AUTHORS file for a list of Cumulus contributors. + * + * This code is adapted from crypto/sha256_generic.c and include/crypto/sha.h + * from the Linux kernel version 3.4, and reworked to fit within Cumulus. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. + * This program 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 General Public License for more details. * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _BSD_SOURCE