From 85a1090d6cbdb8924554fecc028dbb2f41fa966c Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Wed, 28 Mar 2018 11:48:05 -0400 Subject: Apply Apache License --- src/Data/Digest.hs | 14 ++++++++++++++ src/Data/Digest/Internal.hsc | 14 ++++++++++++++ src/Data/Hmac.hsc | 14 ++++++++++++++ src/Foreign/Ptr/ConstantTimeEquals.hs | 14 ++++++++++++++ 4 files changed, 56 insertions(+) (limited to 'src') diff --git a/src/Data/Digest.hs b/src/Data/Digest.hs index 7e88c49..bec8c4f 100644 --- a/src/Data/Digest.hs +++ b/src/Data/Digest.hs @@ -1,3 +1,17 @@ +-- Copyright 2017 Google LLC +-- +-- 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 +-- +-- https://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. + module Data.Digest ( Algorithm , Digest diff --git a/src/Data/Digest/Internal.hsc b/src/Data/Digest/Internal.hsc index 8906797..abd498c 100644 --- a/src/Data/Digest/Internal.hsc +++ b/src/Data/Digest/Internal.hsc @@ -1,3 +1,17 @@ +-- Copyright 2017 Google LLC +-- +-- 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 +-- +-- https://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. + {-# LANGUAGE CApiFFI #-} {-# OPTIONS_GHC -Wno-missing-methods #-} diff --git a/src/Data/Hmac.hsc b/src/Data/Hmac.hsc index 26a797b..5be09a8 100644 --- a/src/Data/Hmac.hsc +++ b/src/Data/Hmac.hsc @@ -1,3 +1,17 @@ +-- Copyright 2018 Google LLC +-- +-- 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 +-- +-- https://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. + {-# OPTIONS_GHC -Wno-missing-methods #-} module Data.Hmac diff --git a/src/Foreign/Ptr/ConstantTimeEquals.hs b/src/Foreign/Ptr/ConstantTimeEquals.hs index bb8d2d4..0bd24e7 100644 --- a/src/Foreign/Ptr/ConstantTimeEquals.hs +++ b/src/Foreign/Ptr/ConstantTimeEquals.hs @@ -1,3 +1,17 @@ +-- Copyright 2018 Google LLC +-- +-- 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 +-- +-- https://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. + {-# LANGUAGE ScopedTypeVariables #-} module Foreign.Ptr.ConstantTimeEquals where -- cgit v1.2.3