aboutsummaryrefslogtreecommitdiffstats
path: root/tpm2d
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-03-10 13:48:10 +0000
committerWerner Koch <[email protected]>2021-03-11 07:33:44 +0000
commit6a83fc073d9d44d491ca13ec8d0e51a761bbb10a (patch)
tree86bfd51e60379d5be26aecee391b1cbd83e6172a /tpm2d
parentagent: Fix build without TPM (diff)
downloadgnupg-6a83fc073d9d44d491ca13ec8d0e51a761bbb10a.tar.gz
gnupg-6a83fc073d9d44d491ca13ec8d0e51a761bbb10a.zip
tpmd2: Add copyright blurbs.
-- Confirmed by James Bottomley; see https://lists.gnupg.org/pipermail/gnupg-devel/2021-March/034755.html Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tpm2d')
-rw-r--r--tpm2d/Makefile.am19
-rw-r--r--tpm2d/command.c1
-rw-r--r--tpm2d/ibm-tss.h19
-rw-r--r--tpm2d/tpm2.c20
-rw-r--r--tpm2d/tpm2.h24
-rw-r--r--tpm2d/tpm2daemon.c1
-rw-r--r--tpm2d/tpm2daemon.h6
7 files changed, 84 insertions, 6 deletions
diff --git a/tpm2d/Makefile.am b/tpm2d/Makefile.am
index 56a9ab7c9..bf5acd452 100644
--- a/tpm2d/Makefile.am
+++ b/tpm2d/Makefile.am
@@ -1,3 +1,22 @@
+# Makfile.am - Makefile for tpm2d
+# Copyright (C) 2021 James Bottomley <[email protected]>
+#
+# This file is part of GnuPG.
+#
+# GnuPG 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.
+#
+# GnuPG 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 <https://www.gnu.org/licenses/>.
+# SPDX-License-Identifier: GPL-3.0-or-later
+
AM_CPPFLAGS =
include $(top_srcdir)/am/cmacros.am
diff --git a/tpm2d/command.c b/tpm2d/command.c
index 619bb56e6..351781111 100644
--- a/tpm2d/command.c
+++ b/tpm2d/command.c
@@ -16,6 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
#include <config.h>
diff --git a/tpm2d/ibm-tss.h b/tpm2d/ibm-tss.h
index 2a4961359..4ca49a6cf 100644
--- a/tpm2d/ibm-tss.h
+++ b/tpm2d/ibm-tss.h
@@ -1,8 +1,23 @@
-/*
+/* ibm-tss.h - Supporting TPM routines for the IBM TSS
* Copyright (C) 2021 James Bottomley <[email protected]>
*
- * Supporting TPM routines for the IBM TSS
+ * This file is part of GnuPG.
+ *
+ * GnuPG 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.
+ *
+ * GnuPG 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 <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
+
#ifndef _TPM2_IBM_TSS_H
#define _TPM2_IBM_TSS_H
diff --git a/tpm2d/tpm2.c b/tpm2d/tpm2.c
index 2bd3dc177..3e908ddb1 100644
--- a/tpm2d/tpm2.c
+++ b/tpm2d/tpm2.c
@@ -1,3 +1,23 @@
+/* tpm2.c - Supporting TPM routines for the IBM TSS
+ * Copyright (C) 2021 James Bottomley <[email protected]>
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG 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.
+ *
+ * GnuPG 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 <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
#include <config.h>
#include <errno.h>
#include <stdio.h>
diff --git a/tpm2d/tpm2.h b/tpm2d/tpm2.h
index a2d3745ea..f2fa89ed9 100644
--- a/tpm2d/tpm2.h
+++ b/tpm2d/tpm2.h
@@ -1,5 +1,25 @@
-#ifndef _TPM2_H
-#define _TPM2_H
+/* tpm2.h - Definitions for supporting TPM routines for the IBM TSS
+ * Copyright (C) 2021 James Bottomley <[email protected]>
+ *
+ * This file is part of GnuPG.
+ *
+ * GnuPG 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.
+ *
+ * GnuPG 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 <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+#ifndef _GNUPG_TPM2_H
+#define _GNUPG_TPM2_H
#include "../common/util.h"
#include "ibm-tss.h"
diff --git a/tpm2d/tpm2daemon.c b/tpm2d/tpm2daemon.c
index 4ec6d7959..261896cc2 100644
--- a/tpm2d/tpm2daemon.c
+++ b/tpm2d/tpm2daemon.c
@@ -16,6 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
#include <config.h>
diff --git a/tpm2d/tpm2daemon.h b/tpm2d/tpm2daemon.h
index 24d56a8dc..095978a5b 100644
--- a/tpm2d/tpm2daemon.h
+++ b/tpm2d/tpm2daemon.h
@@ -1,5 +1,6 @@
-/* tpm2daemon.h - Global definitions for the SCdaemon
- * Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+/* tpm2daemon.h - Global definitions for the TPM2D
+ * Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
+ * Copyright (C) 2021 James Bottomley <[email protected]>
*
* This file is part of GnuPG.
*
@@ -15,6 +16,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <https://www.gnu.org/licenses/>.
+ * SPDX-License-Identifier: GPL-3.0-or-later
*/
#ifndef TPM2DAEMON_H