File tree Expand file tree Collapse file tree 16 files changed +152
-0
lines changed Expand file tree Collapse file tree 16 files changed +152
-0
lines changed Original file line number Diff line number Diff line change 3
3
# Copyright 2017 Linaro Limited
4
4
# Copyright (c) 2017-2019, Arm Limited.
5
5
#
6
+ # SPDX-License-Identifier: Apache-2.0
7
+ #
6
8
# Licensed under the Apache License, Version 2.0 (the "License");
7
9
# you may not use this file except in compliance with the License.
8
10
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 2
2
#
3
3
# Copyright 2017 Linaro Limited
4
4
#
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
5
7
# Licensed under the Apache License, Version 2.0 (the "License");
6
8
# you may not use this file except in compliance with the License.
7
9
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 1
1
# Copyright 2017-2020 Linaro Limited
2
2
#
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
3
5
# Licensed under the Apache License, Version 2.0 (the "License");
4
6
# you may not use this file except in compliance with the License.
5
7
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2019, Arm Limited.
2
2
# Copyright (c) 2020, Linaro Limited
3
3
#
4
+ # SPDX-License-Identifier: Apache-2.0
5
+ #
4
6
# Licensed under the Apache License, Version 2.0 (the "License");
5
7
# you may not use this file except in compliance with the License.
6
8
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 2
2
# Copyright 2017-2020 Linaro Limited
3
3
# Copyright 2019-2020 Arm Limited
4
4
#
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
5
7
# Licensed under the Apache License, Version 2.0 (the "License");
6
8
# you may not use this file except in compliance with the License.
7
9
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 1
1
# Copyright 2017 Linaro Limited
2
2
#
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
3
5
# Licensed under the Apache License, Version 2.0 (the "License");
4
6
# you may not use this file except in compliance with the License.
5
7
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
ECDSA key management
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
Tests for ECDSA keys
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
ED25519 key management
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
Tests for ECDSA keys
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""General key class."""
2
19
3
20
import sys
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
RSA Key management
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
Tests for RSA keys
3
20
"""
Original file line number Diff line number Diff line change
1
+ # Original code taken from mcuboot project at:
2
+ # https://github.com/mcu-tools/mcuboot
3
+ # Git SHA of the original version: a8e12dae381080e898cea0c6f7408009b0163f9f
4
+ #
5
+ # SPDX-License-Identifier: Apache-2.0
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
1
18
"""
2
19
X25519 key management
3
20
"""
Original file line number Diff line number Diff line change 3
3
# Copyright 2017-2020 Linaro Limited
4
4
# Copyright 2019-2020 Arm Limited
5
5
#
6
+ # SPDX-License-Identifier: Apache-2.0
7
+ #
6
8
# Licensed under the Apache License, Version 2.0 (the "License");
7
9
# you may not use this file except in compliance with the License.
8
10
# You may obtain a copy of the License at
Original file line number Diff line number Diff line change 1
1
# Copyright 2017 Linaro Limited
2
2
#
3
+ # SPDX-License-Identifier: Apache-2.0
4
+ #
3
5
# Licensed under the Apache License, Version 2.0 (the "License");
4
6
# you may not use this file except in compliance with the License.
5
7
# You may obtain a copy of the License at
You can’t perform that action at this time.
0 commit comments