Skip to content

Commit

Permalink
More license boilerplate fixes.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 210914326
GitOrigin-RevId: a0a2159bd649773f85bd0bbe2b9841aa5263a3ce
  • Loading branch information
thaidn authored and Tink Team committed Aug 30, 2018
1 parent 87467f1 commit e7840d8
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 14 deletions.
5 changes: 3 additions & 2 deletions go/subtle/aead/chacha20poly1305.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

// Package aead provides subtle implementations of the Aead primitive.
Expand Down
5 changes: 3 additions & 2 deletions go/subtle/aead/chacha20poly1305_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

package aead_test
Expand Down
5 changes: 3 additions & 2 deletions go/subtle/aead/chacha20poly1305_vectors_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

package aead_test
Expand Down
5 changes: 3 additions & 2 deletions go/subtle/aead/xchacha20poly1305.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

// Package aead provides subtle implementations of the Aead primitive.
Expand Down
5 changes: 3 additions & 2 deletions go/subtle/aead/xchacha20poly1305_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

package aead_test
Expand Down
5 changes: 3 additions & 2 deletions go/subtle/aead/xchacha20poly1305_vectors_test.go
Original file line number Diff line number Diff line change
@@ -1,14 +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.
//
////////////////////////////////////////////////////////////////////////////////

package aead_test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,7 @@ public void testEncryptDecrypt() throws Exception {
public void testModifyCiphertext() throws Exception {
testModifyCiphertext(16, 16);
testModifyCiphertext(16, 12);
// TODO(bleichen): Skipping test with key sizes larger than 128 bits because of
// https://buganizer.corp.google.com/issues/35928521
// TODO(bleichen): Skipping test with key sizes larger than 128 bits because of b/35928521.
// testModifyCiphertext(24, 16);
// testModifyCiphertext(32, 16);
}
Expand Down
13 changes: 13 additions & 0 deletions tools/testing/cc/aws_kms_aead_test.sh
Original file line number Diff line number Diff line change
@@ -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.
################################################################################

#!/bin/bash

ROOT_DIR="$TEST_SRCDIR/tink"
Expand Down

0 comments on commit e7840d8

Please sign in to comment.