From: Matt Corallo Date: Sat, 7 Sep 2013 22:07:13 +0000 (-0400) Subject: Add copyright headers X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=f76ba5528394212f4b95427c3aaac9a91a8acb1e;p=shamirs Add copyright headers --- diff --git a/main.c b/main.c index 8301c0b..af352fd 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,22 @@ +/* + * Shamir's secret sharing CLI interface + * + * Copyright (C) 2013 Matt Corallo + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307 USA. + */ + #define _GNU_SOURCE #include diff --git a/shamirssecret.c b/shamirssecret.c index 9293f79..2d6e7aa 100644 --- a/shamirssecret.c +++ b/shamirssecret.c @@ -1,3 +1,22 @@ +/* + * Shamir's secret sharing sharing implementation + * + * Copyright (C) 2013 Matt Corallo + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307 USA. + */ + #include #ifndef IN_KERNEL diff --git a/shamirssecret.h b/shamirssecret.h index 416d2fc..d848040 100644 --- a/shamirssecret.h +++ b/shamirssecret.h @@ -1,3 +1,22 @@ +/* + * Shamir's secret sharing public functions + * + * Copyright (C) 2013 Matt Corallo + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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., 59 Temple + * Place - Suite 330, Boston, MA 02111-1307 USA. + */ + #include #define P 256