chiark / gitweb /
Copyright notices
authorRichard Kettlewell <rjk@greenend.org.uk>
Wed, 15 Jun 2011 21:50:13 +0000 (22:50 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Wed, 15 Jun 2011 21:50:13 +0000 (22:50 +0100)
Arcfour.cc
Arcfour.h
README
vbig.1
vbig.cc

index bee5cf1eeaf06bd5b154b453c7ebeabcb99562f9..49c8590495d282cd88f4be7b47f094996ff544a1 100644 (file)
 #include <config.h>
 #include "Arcfour.h"
 
-/** @brief Encrypt using Arcfour stream cipher
- * @param context Context structure
- * @param inbuf Input buffer
- * @param outbuf Output buffer
- * @param length Number of bytes in @p inbuf
- *
- * Copies from @p inbuf to @p outbuf, encrypting (or decrypting) using
- * the stream controlled by @p context.
- */
 void Arcfour::stream(char *outbuf, size_t length) {
   uint8_t i = idx_i;
   uint8_t j = idx_j;
index 3c575b5bc28ec59478a37ec88d15ca1f6a3943bf..7d7abf018c0054652be525dc64531643679d4e94 100644 (file)
--- a/Arcfour.h
+++ b/Arcfour.h
@@ -29,7 +29,6 @@
 
 #define ARCFOUR_SBOX_SIZE 256
 
-/** @brief Context structture for Arcfour stream cipher */
 class Arcfour {
   char sbox[ARCFOUR_SBOX_SIZE];
   uint8_t idx_i, idx_j;
diff --git a/README b/README
index bda324b64ff11cb1d710525d97909da3f1f3455a..da12f5cbf2d51576a7e6cb371dc15fa0b5e125aa 100644 (file)
--- a/README
+++ b/README
@@ -15,4 +15,18 @@ If building from git, do './autogen.sh' first.
 Author
 ======
 
-Richard Kettlewell <rjk@greenend.org.uk>
+Copyright (C) 2011 Richard Kettlewell
+Copyright (C) 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+
+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 3 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, see <http://www.gnu.org/licenses/>.
diff --git a/vbig.1 b/vbig.1
index 1c8216f981b629bec3a237a665bd6f061d471c30..ccd98f247ba5efc724b8785ef91987384a3d5651 100644 (file)
--- a/vbig.1
+++ b/vbig.1
@@ -1,3 +1,20 @@
+\"
+\" This file is part of vbig.
+\" Copyright (C) 2011 Richard Kettlewell
+\"
+\" 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 3 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, see <http://www.gnu.org/licenses/>.
+\"
 .TH vbig 1
 .SH NAME
 vbig \- create or verify a large but pseudo-random file
diff --git a/vbig.cc b/vbig.cc
index 54f3ea10b524640730b716524848a0c10cac17e7..00513945fa238c9d83164f9e46394e6ec2e5de1c 100644 (file)
--- a/vbig.cc
+++ b/vbig.cc
@@ -1,3 +1,20 @@
+/*
+ * This file is part of vbig.
+ * Copyright (C) 2011 Richard Kettlewell
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
 #include <config.h>
 #include <cstdio>
 #include <cstring>