From fd986fc43a4eb99d0f2a8a4d950d57cc57085ad3 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Fri, 16 Feb 2024 09:36:35 -0700 Subject: [PATCH] crypto: add some license headers Signed-off-by: Sumner Evans --- crypto/aescbc/aes_cbc.go | 6 ++++++ crypto/aescbc/aes_cbc_test.go | 6 ++++++ crypto/aescbc/errors.go | 6 ++++++ crypto/backup/encryptedsessiondata.go | 6 ++++++ crypto/backup/encryptedsessiondata_test.go | 6 ++++++ crypto/backup/ephemeralkey.go | 6 ++++++ crypto/backup/ephemeralkey_test.go | 6 ++++++ crypto/backup/megolmbackup.go | 6 ++++++ crypto/backup/megolmbackupkey.go | 6 ++++++ crypto/pkcs7/pkcs7.go | 6 ++++++ crypto/pkcs7/pkcs7_test.go | 6 ++++++ crypto/signatures/signatures.go | 6 ++++++ 12 files changed, 72 insertions(+) diff --git a/crypto/aescbc/aes_cbc.go b/crypto/aescbc/aes_cbc.go index f1fdc84d..d69a5f49 100644 --- a/crypto/aescbc/aes_cbc.go +++ b/crypto/aescbc/aes_cbc.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package aescbc import ( diff --git a/crypto/aescbc/aes_cbc_test.go b/crypto/aescbc/aes_cbc_test.go index 06dcee0d..bb03f706 100644 --- a/crypto/aescbc/aes_cbc_test.go +++ b/crypto/aescbc/aes_cbc_test.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package aescbc_test import ( diff --git a/crypto/aescbc/errors.go b/crypto/aescbc/errors.go index 542c3450..f3d2d7ce 100644 --- a/crypto/aescbc/errors.go +++ b/crypto/aescbc/errors.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package aescbc import "errors" diff --git a/crypto/backup/encryptedsessiondata.go b/crypto/backup/encryptedsessiondata.go index 8ac74151..37b0a6c8 100644 --- a/crypto/backup/encryptedsessiondata.go +++ b/crypto/backup/encryptedsessiondata.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup import ( diff --git a/crypto/backup/encryptedsessiondata_test.go b/crypto/backup/encryptedsessiondata_test.go index 8aab1390..761c4328 100644 --- a/crypto/backup/encryptedsessiondata_test.go +++ b/crypto/backup/encryptedsessiondata_test.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup_test import ( diff --git a/crypto/backup/ephemeralkey.go b/crypto/backup/ephemeralkey.go index d0ee03a6..e481e7a9 100644 --- a/crypto/backup/ephemeralkey.go +++ b/crypto/backup/ephemeralkey.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup import ( diff --git a/crypto/backup/ephemeralkey_test.go b/crypto/backup/ephemeralkey_test.go index 93d24563..0842f54f 100644 --- a/crypto/backup/ephemeralkey_test.go +++ b/crypto/backup/ephemeralkey_test.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup_test import ( diff --git a/crypto/backup/megolmbackup.go b/crypto/backup/megolmbackup.go index dea3e704..0a2a42a2 100644 --- a/crypto/backup/megolmbackup.go +++ b/crypto/backup/megolmbackup.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup import ( diff --git a/crypto/backup/megolmbackupkey.go b/crypto/backup/megolmbackupkey.go index 8a57b4cf..8f23d104 100644 --- a/crypto/backup/megolmbackupkey.go +++ b/crypto/backup/megolmbackupkey.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package backup import ( diff --git a/crypto/pkcs7/pkcs7.go b/crypto/pkcs7/pkcs7.go index 1018e52b..c83c5afd 100644 --- a/crypto/pkcs7/pkcs7.go +++ b/crypto/pkcs7/pkcs7.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package pkcs7 import "bytes" diff --git a/crypto/pkcs7/pkcs7_test.go b/crypto/pkcs7/pkcs7_test.go index 6ef835c0..5edc9a92 100644 --- a/crypto/pkcs7/pkcs7_test.go +++ b/crypto/pkcs7/pkcs7_test.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package pkcs7_test import ( diff --git a/crypto/signatures/signatures.go b/crypto/signatures/signatures.go index 7ad19316..0c4422f9 100644 --- a/crypto/signatures/signatures.go +++ b/crypto/signatures/signatures.go @@ -1,3 +1,9 @@ +// Copyright (c) 2024 Sumner Evans +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + package signatures import (