diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-08-10 08:59:11 -0400 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-08-10 08:59:11 -0400 |
| commit | a2e1f54907d880bfe48ac6030dbec52a17b67d1f (patch) | |
| tree | 5684272600cce47bd6269736b2747c65e754c1b2 /cryptography | |
| parent | 250903aa4c1776a1859bbb41b9e19953e0733206 (diff) | |
| download | cryptography-a2e1f54907d880bfe48ac6030dbec52a17b67d1f.tar.gz cryptography-a2e1f54907d880bfe48ac6030dbec52a17b67d1f.tar.bz2 cryptography-a2e1f54907d880bfe48ac6030dbec52a17b67d1f.zip | |
Some apache license headers (we need a pyflkaes check for thsi)
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/primitives/block/base.py | 13 | ||||
| -rw-r--r-- | cryptography/primitives/block/ciphers.py | 13 | ||||
| -rw-r--r-- | cryptography/primitives/block/modes.py | 13 | ||||
| -rw-r--r-- | cryptography/primitives/block/padding.py | 13 |
4 files changed, 52 insertions, 0 deletions
diff --git a/cryptography/primitives/block/base.py b/cryptography/primitives/block/base.py index d52fa73e..417b1ad8 100644 --- a/cryptography/primitives/block/base.py +++ b/cryptography/primitives/block/base.py @@ -1,3 +1,16 @@ +# 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. + # TODO: which binding is used should be an option somewhere from cryptography.bindings.openssl import api diff --git a/cryptography/primitives/block/ciphers.py b/cryptography/primitives/block/ciphers.py index 87dfa733..54709110 100644 --- a/cryptography/primitives/block/ciphers.py +++ b/cryptography/primitives/block/ciphers.py @@ -1,3 +1,16 @@ +# 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. + class AES(object): name = "AES" diff --git a/cryptography/primitives/block/modes.py b/cryptography/primitives/block/modes.py index 08d411f4..542cdefd 100644 --- a/cryptography/primitives/block/modes.py +++ b/cryptography/primitives/block/modes.py @@ -1,3 +1,16 @@ +# 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. + class CBC(object): name = "CBC" diff --git a/cryptography/primitives/block/padding.py b/cryptography/primitives/block/padding.py index 67083495..8bdc7925 100644 --- a/cryptography/primitives/block/padding.py +++ b/cryptography/primitives/block/padding.py @@ -1,2 +1,15 @@ +# 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. + class NoPadding(object): pass |
