Skip to content

Commit 25bf5bc

Browse files
committed
Add licence header
Signed-off-by: Steven Lee <steven_lee@aspeedtech.com>
1 parent 0a510ff commit 25bf5bc

26 files changed

+52
-3
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Licensed under the Apache-2.0 license
2+
13
[alias]
24
xtask = "run --package xtask --target x86_64-unknown-linux-gnu --"
35

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Licensed under the Apache-2.0 license
2+
13
[workspace]
24
members = ["xtask"]
35
exclude = []

build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//! Licensed under the Apache-2.0 license
12
//! This build script copies the `memory.x` file from the crate root into
23
//! a directory where the linker can always find it at build time.
34
//! For many projects this is optional, as the linker always searches the

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Licensed under the Apache-2.0 license
2+
13
[toolchain]
24
channel = "nightly-2024-09-17"
35
components = ["rust-src", "rustfmt", "clippy"]

scripts/ecdsa_gen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Licensed under the Apache-2.0 license
2+
13
import hashlib
24
from cryptography.hazmat.primitives.asymmetric import ec
35
from cryptography.hazmat.primitives import hashes

scripts/gen_uart_booting_image.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
2-
# Copyright (c) 2021 Aspeed Technology Inc.
3-
#
4-
# SPDX-License-Identifier: Apache-2.0
2+
3+
# Licensed under the Apache-2.0 license
4+
55
print_usage() {
66
echo "$0 <src_img> <dst_img>"
77
exit 1

scripts/rsa_test_vec_gen.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Licensed under the Apache-2.0 license
2+
13
from cryptography.hazmat.primitives.asymmetric import rsa, padding
24
from cryptography.hazmat.primitives import hashes
35
from cryptography.hazmat.backends import default_backend

src/ecdsa.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
use ast1060_pac::Secure;
24
use core::ptr::{read_volatile, write_volatile, NonNull};
35
use embedded_hal::delay::DelayNs;

src/hace_controller.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
use ast1060_pac::Hace;
24
use core::convert::Infallible;
35
use proposed_traits::digest::ErrorType as DigestErrorType;

src/hash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Licensed under the Apache-2.0 license
2+
13
use crate::hace_controller::{ContextCleanup, HaceController, HashAlgo, HACE_SG_LAST};
24
use proposed_traits::digest::{DigestAlgorithm, DigestInit, DigestOp, Error, ErrorKind, ErrorType};
35

0 commit comments

Comments
 (0)