summaryrefslogtreecommitdiff
path: root/rsa
diff options
context:
space:
mode:
authorRoy Kokkelkoren <roy.kokkelkoren@gmail.com>2015-10-25 16:12:11 +0100
committerRoy Kokkelkoren <roy.kokkelkoren@gmail.com>2015-10-25 16:12:11 +0100
commit827d7fb95bdb0293435d6ca18614e0c3f56f5135 (patch)
tree83c481164a03cd5e2cf2f39e5c19fd897ebc182d /rsa
parent1d611a04c34a1bccc415233d70fbb91059ace7ef (diff)
downloadrsa-827d7fb95bdb0293435d6ca18614e0c3f56f5135.tar.gz
Added per-file licenses
Diffstat (limited to 'rsa')
-rw-r--r--rsa/_version133.py15
-rw-r--r--rsa/_version200.py15
-rw-r--r--rsa/asn1.py15
3 files changed, 45 insertions, 0 deletions
diff --git a/rsa/_version133.py b/rsa/_version133.py
index 230a03c..38b2a36 100644
--- a/rsa/_version133.py
+++ b/rsa/_version133.py
@@ -1,3 +1,18 @@
+#
+# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
"""RSA module
pri = k[1] //Private part of keys d,p,q
diff --git a/rsa/_version200.py b/rsa/_version200.py
index f915653..9c38212 100644
--- a/rsa/_version200.py
+++ b/rsa/_version200.py
@@ -1,3 +1,18 @@
+#
+# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
"""RSA module
Module for calculating large primes, and RSA encryption, decryption,
diff --git a/rsa/asn1.py b/rsa/asn1.py
index 706e6cf..33dd69e 100644
--- a/rsa/asn1.py
+++ b/rsa/asn1.py
@@ -1,3 +1,18 @@
+#
+# Copyright 2011 Sybren A. Stüvel <sybren@stuvel.eu>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
'''ASN.1 definitions.
Not all ASN.1-handling code use these definitions, but when it does, they should be here.