Skip to content

Commit

Permalink
Update licenses
Browse files Browse the repository at this point in the history
For all files (excluding binary files, etc) which do not currently have
a license, add an Apache 2.0 license header.

Signed-off-by: Dave Rodgman <[email protected]>
  • Loading branch information
daverodgman committed Sep 21, 2021
1 parent 3b4af57 commit 96cb8d4
Show file tree
Hide file tree
Showing 38 changed files with 672 additions and 12 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/.project-automation.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

name: Code Review Workflow

on:
Expand Down
17 changes: 17 additions & 0 deletions builbot_master/master.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
# -*- python -*-
# ex: set syntax=python:

# Copyright (c) 2016-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

# This is a sample buildmaster config file. It must be installed as
# 'master.cfg' in your buildmaster's base directory.

Expand Down
18 changes: 15 additions & 3 deletions dev_envs/docker_files/debian-9-i386/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
# debian-9-i386/Dockerfile
#
# This file is part of mbed TLS (https://tls.mbed.org)
# Copyright (c) 2018-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2018, ARM Limited, All Rights Reserved

# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)


################################################################
Expand Down
17 changes: 15 additions & 2 deletions dev_envs/docker_files/debian-9-x64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# debian-9-x64/Dockerfile
#
# This file is part of mbed TLS (https://tls.mbed.org)
# Copyright (c) 2018-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2018, ARM Limited, All Rights Reserved
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)



Expand Down
17 changes: 16 additions & 1 deletion dev_envs/docker_files/run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
#!/bin/sh
#
# Copyright (c) 2017, ARM Limited, All Rights Reserved
# Copyright (c) 2017-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)
#
# Purpose
#
Expand Down
17 changes: 15 additions & 2 deletions dev_envs/docker_files/ubuntu-16.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# ubuntu-16.04/Dockerfile
#
# This file is part of mbed TLS (https://tls.mbed.org)
# Copyright (c) 2018-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2018, ARM Limited, All Rights Reserved
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)



Expand Down
17 changes: 15 additions & 2 deletions dev_envs/docker_files/ubuntu-17.10/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# ubuntu-17.10/Dockerfile
#
# This file is part of mbed TLS (https://tls.mbed.org)
# Copyright (c) 2018-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2018, ARM Limited, All Rights Reserved
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)



Expand Down
17 changes: 15 additions & 2 deletions dev_envs/docker_files/ubuntu-18.04/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
# ubuntu-18.04/Dockerfile
#
# This file is part of mbed TLS (https://tls.mbed.org)
# Copyright (c) 2018-2021, ARM Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2018, ARM Limited, All Rights Reserved
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)



Expand Down
17 changes: 17 additions & 0 deletions fuzzing/server-config/puppet.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Copyright (c) 2017-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

[main]
logdir=/var/log/puppet
vardir=/var/lib/puppet
Expand Down
17 changes: 17 additions & 0 deletions ram_analysis/callgrind_path_parser.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/usr/bin/env python2

# Copyright (c) 2018-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

# This script requires python 2.7
# This script parses a callgrind output file and builds up the function call paths.
# It then combines this with the stack usage information from a .su file and gives
Expand Down
17 changes: 17 additions & 0 deletions ram_analysis/su_merge.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#!/usr/bin/env python2

# Copyright (c) 2018-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

# This script requires python 2.7
# This script merges .su files into a single file

Expand Down
17 changes: 17 additions & 0 deletions report_generator/generate-test-report.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
#! /usr/bin/env python

# Copyright (c) 2016-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

import csv
import argparse
import sys
Expand Down
18 changes: 18 additions & 0 deletions resources/windows/windows_testing.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
#!/usr/bin/env python3

# Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
# SPDX-License-Identifier: Apache-2.0
#
# 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.
#
# This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)

"""
The script checks that Mbed TLS can be built on Windows in different
configurations of Visual Studio, as well as MinGW32. Returns 0 on success,
Expand Down
19 changes: 19 additions & 0 deletions vars/analysis.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
* This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)
*/

import groovy.transform.Field

// A static field has its content preserved across stages.
Expand Down
19 changes: 19 additions & 0 deletions vars/checkout_repo.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
* This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)
*/

/* This function checks out the repo that branch that the job is testing.
* If testing the TLS tests with an Mbed Crypto PR, checkout the Mbed TLS
* development branch and update the crypto submodule to the Mbed Crypto PR branch
Expand Down
19 changes: 19 additions & 0 deletions vars/common.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
* This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)
*/

import groovy.transform.Field

/*
Expand Down
19 changes: 19 additions & 0 deletions vars/environ.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/*
* Copyright (c) 2019-2021, Arm Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* 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.
*
* This file is part of Mbed TLS (https://www.trustedfirmware.org/projects/mbed-tls/)
*/

def set_crypto_pr_environment(is_production) {
env.JOB_TYPE = 'PR'
env.TARGET_REPO = 'crypto'
Expand Down
Loading

0 comments on commit 96cb8d4

Please sign in to comment.