mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-11-27 02:46:24 -05:00
Follow REUSE specification
- Add REUSE configuration - Add compliant licenses in LICENSES/ - Add copyright SPDX tags - Run REUSE complicance check in CI - Remove spdx-ensure
This commit is contained in:
parent
c53edbe4ac
commit
5f3a065aaa
93 changed files with 315 additions and 396 deletions
15
.github/workflows/ci.yaml
vendored
15
.github/workflows/ci.yaml
vendored
|
|
@ -31,9 +31,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
make checkfmt
|
make checkfmt
|
||||||
|
|
||||||
- name: check for SPDX tags
|
|
||||||
run: ./LICENSES/spdx-ensure
|
|
||||||
|
|
||||||
check-firmware:
|
check-firmware:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
|
|
@ -151,3 +148,15 @@ jobs:
|
||||||
- name: check matching hashes for firmware.bin & application_fpga.bin
|
- name: check matching hashes for firmware.bin & application_fpga.bin
|
||||||
working-directory: hw/application_fpga
|
working-directory: hw/application_fpga
|
||||||
run: make check-binary-hashes
|
run: make check-binary-hashes
|
||||||
|
|
||||||
|
|
||||||
|
reuse-compliance-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: REUSE Compliance Check
|
||||||
|
uses: fsfe/reuse-action@v4
|
||||||
|
with:
|
||||||
|
args: lint
|
||||||
|
|
|
||||||
121
LICENSES/CC0-1.0.txt
Normal file
121
LICENSES/CC0-1.0.txt
Normal file
|
|
@ -0,0 +1,121 @@
|
||||||
|
Creative Commons Legal Code
|
||||||
|
|
||||||
|
CC0 1.0 Universal
|
||||||
|
|
||||||
|
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||||
|
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
||||||
|
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||||
|
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||||
|
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
||||||
|
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
||||||
|
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
||||||
|
HEREUNDER.
|
||||||
|
|
||||||
|
Statement of Purpose
|
||||||
|
|
||||||
|
The laws of most jurisdictions throughout the world automatically confer
|
||||||
|
exclusive Copyright and Related Rights (defined below) upon the creator
|
||||||
|
and subsequent owner(s) (each and all, an "owner") of an original work of
|
||||||
|
authorship and/or a database (each, a "Work").
|
||||||
|
|
||||||
|
Certain owners wish to permanently relinquish those rights to a Work for
|
||||||
|
the purpose of contributing to a commons of creative, cultural and
|
||||||
|
scientific works ("Commons") that the public can reliably and without fear
|
||||||
|
of later claims of infringement build upon, modify, incorporate in other
|
||||||
|
works, reuse and redistribute as freely as possible in any form whatsoever
|
||||||
|
and for any purposes, including without limitation commercial purposes.
|
||||||
|
These owners may contribute to the Commons to promote the ideal of a free
|
||||||
|
culture and the further production of creative, cultural and scientific
|
||||||
|
works, or to gain reputation or greater distribution for their Work in
|
||||||
|
part through the use and efforts of others.
|
||||||
|
|
||||||
|
For these and/or other purposes and motivations, and without any
|
||||||
|
expectation of additional consideration or compensation, the person
|
||||||
|
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
||||||
|
is an owner of Copyright and Related Rights in the Work, voluntarily
|
||||||
|
elects to apply CC0 to the Work and publicly distribute the Work under its
|
||||||
|
terms, with knowledge of his or her Copyright and Related Rights in the
|
||||||
|
Work and the meaning and intended legal effect of CC0 on those rights.
|
||||||
|
|
||||||
|
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||||
|
protected by copyright and related or neighboring rights ("Copyright and
|
||||||
|
Related Rights"). Copyright and Related Rights include, but are not
|
||||||
|
limited to, the following:
|
||||||
|
|
||||||
|
i. the right to reproduce, adapt, distribute, perform, display,
|
||||||
|
communicate, and translate a Work;
|
||||||
|
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||||
|
iii. publicity and privacy rights pertaining to a person's image or
|
||||||
|
likeness depicted in a Work;
|
||||||
|
iv. rights protecting against unfair competition in regards to a Work,
|
||||||
|
subject to the limitations in paragraph 4(a), below;
|
||||||
|
v. rights protecting the extraction, dissemination, use and reuse of data
|
||||||
|
in a Work;
|
||||||
|
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||||
|
European Parliament and of the Council of 11 March 1996 on the legal
|
||||||
|
protection of databases, and under any national implementation
|
||||||
|
thereof, including any amended or successor version of such
|
||||||
|
directive); and
|
||||||
|
vii. other similar, equivalent or corresponding rights throughout the
|
||||||
|
world based on applicable law or treaty, and any national
|
||||||
|
implementations thereof.
|
||||||
|
|
||||||
|
2. Waiver. To the greatest extent permitted by, but not in contravention
|
||||||
|
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
||||||
|
irrevocably and unconditionally waives, abandons, and surrenders all of
|
||||||
|
Affirmer's Copyright and Related Rights and associated claims and causes
|
||||||
|
of action, whether now known or unknown (including existing as well as
|
||||||
|
future claims and causes of action), in the Work (i) in all territories
|
||||||
|
worldwide, (ii) for the maximum duration provided by applicable law or
|
||||||
|
treaty (including future time extensions), (iii) in any current or future
|
||||||
|
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
||||||
|
including without limitation commercial, advertising or promotional
|
||||||
|
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
||||||
|
member of the public at large and to the detriment of Affirmer's heirs and
|
||||||
|
successors, fully intending that such Waiver shall not be subject to
|
||||||
|
revocation, rescission, cancellation, termination, or any other legal or
|
||||||
|
equitable action to disrupt the quiet enjoyment of the Work by the public
|
||||||
|
as contemplated by Affirmer's express Statement of Purpose.
|
||||||
|
|
||||||
|
3. Public License Fallback. Should any part of the Waiver for any reason
|
||||||
|
be judged legally invalid or ineffective under applicable law, then the
|
||||||
|
Waiver shall be preserved to the maximum extent permitted taking into
|
||||||
|
account Affirmer's express Statement of Purpose. In addition, to the
|
||||||
|
extent the Waiver is so judged Affirmer hereby grants to each affected
|
||||||
|
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
||||||
|
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
||||||
|
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||||
|
maximum duration provided by applicable law or treaty (including future
|
||||||
|
time extensions), (iii) in any current or future medium and for any number
|
||||||
|
of copies, and (iv) for any purpose whatsoever, including without
|
||||||
|
limitation commercial, advertising or promotional purposes (the
|
||||||
|
"License"). The License shall be deemed effective as of the date CC0 was
|
||||||
|
applied by Affirmer to the Work. Should any part of the License for any
|
||||||
|
reason be judged legally invalid or ineffective under applicable law, such
|
||||||
|
partial invalidity or ineffectiveness shall not invalidate the remainder
|
||||||
|
of the License, and in such case Affirmer hereby affirms that he or she
|
||||||
|
will not (i) exercise any of his or her remaining Copyright and Related
|
||||||
|
Rights in the Work or (ii) assert any associated claims and causes of
|
||||||
|
action with respect to the Work, in either case contrary to Affirmer's
|
||||||
|
express Statement of Purpose.
|
||||||
|
|
||||||
|
4. Limitations and Disclaimers.
|
||||||
|
|
||||||
|
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||||
|
surrendered, licensed or otherwise affected by this document.
|
||||||
|
b. Affirmer offers the Work as-is and makes no representations or
|
||||||
|
warranties of any kind concerning the Work, express, implied,
|
||||||
|
statutory or otherwise, including without limitation warranties of
|
||||||
|
title, merchantability, fitness for a particular purpose, non
|
||||||
|
infringement, or the absence of latent or other defects, accuracy, or
|
||||||
|
the present or absence of errors, whether or not discoverable, all to
|
||||||
|
the greatest extent permissible under applicable law.
|
||||||
|
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||||
|
that may apply to the Work or any use thereof, including without
|
||||||
|
limitation any person's Copyright and Related Rights in the Work.
|
||||||
|
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||||
|
consents, permissions or other rights required for any use of the
|
||||||
|
Work.
|
||||||
|
d. Affirmer understands and acknowledges that Creative Commons is not a
|
||||||
|
party to this document and has no duty or obligation with respect to
|
||||||
|
this CC0 or use of the Work.
|
||||||
|
|
@ -1,44 +0,0 @@
|
||||||
# Tillitis TKey Licensing
|
|
||||||
|
|
||||||
## Main license
|
|
||||||
|
|
||||||
Unless otherwise noted, the project sources are copyright Tillitis AB,
|
|
||||||
but you can redistribute it and/or modify it under the terms of the
|
|
||||||
BSD-2-Clause license. See `BSD-2-Clause.txt`.
|
|
||||||
|
|
||||||
Until Oct 29, 2025, the license was GPL-2.0 Only.
|
|
||||||
|
|
||||||
This directory contains copies of the license texts used by the
|
|
||||||
sources included in the project source tree.
|
|
||||||
|
|
||||||
## SPDX
|
|
||||||
|
|
||||||
The project uses single-line references to Unique License Identifiers
|
|
||||||
as defined by the Linux Foundation's [SPDX project](https://spdx.org/).
|
|
||||||
The line in each individual source file identifies the license
|
|
||||||
applicable to that file.
|
|
||||||
|
|
||||||
The current set of valid, predefined SPDX identifiers can be found on
|
|
||||||
the SPDX License List at:
|
|
||||||
|
|
||||||
https://spdx.org/licenses/
|
|
||||||
|
|
||||||
## Notable imported projects
|
|
||||||
|
|
||||||
- ch552 firmware: `hw/usb_interface/ch552_fw/`
|
|
||||||
|
|
||||||
Originally by WCH under MIT. Much changed by Tillitis.
|
|
||||||
|
|
||||||
- picorv32: `hw/application_fpga/core/picorv32`
|
|
||||||
|
|
||||||
From https://github.com/YosysHQ/picorv32
|
|
||||||
|
|
||||||
ISC.
|
|
||||||
|
|
||||||
- PicoRV32 custom ops: `hw/application_fpga/fw/tk1/picorv32/`
|
|
||||||
|
|
||||||
CC-1.
|
|
||||||
|
|
||||||
- tkey-libs: `hw/application_fpga/tkey-libs/`
|
|
||||||
|
|
||||||
BSD2. From https://github.com/tillitis/tkey-libs
|
|
||||||
|
|
@ -1,116 +0,0 @@
|
||||||
CC0 1.0 Universal
|
|
||||||
|
|
||||||
Statement of Purpose
|
|
||||||
|
|
||||||
The laws of most jurisdictions throughout the world automatically confer
|
|
||||||
exclusive Copyright and Related Rights (defined below) upon the creator and
|
|
||||||
subsequent owner(s) (each and all, an "owner") of an original work of
|
|
||||||
authorship and/or a database (each, a "Work").
|
|
||||||
|
|
||||||
Certain owners wish to permanently relinquish those rights to a Work for the
|
|
||||||
purpose of contributing to a commons of creative, cultural and scientific
|
|
||||||
works ("Commons") that the public can reliably and without fear of later
|
|
||||||
claims of infringement build upon, modify, incorporate in other works, reuse
|
|
||||||
and redistribute as freely as possible in any form whatsoever and for any
|
|
||||||
purposes, including without limitation commercial purposes. These owners may
|
|
||||||
contribute to the Commons to promote the ideal of a free culture and the
|
|
||||||
further production of creative, cultural and scientific works, or to gain
|
|
||||||
reputation or greater distribution for their Work in part through the use and
|
|
||||||
efforts of others.
|
|
||||||
|
|
||||||
For these and/or other purposes and motivations, and without any expectation
|
|
||||||
of additional consideration or compensation, the person associating CC0 with a
|
|
||||||
Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
|
|
||||||
and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
|
|
||||||
and publicly distribute the Work under its terms, with knowledge of his or her
|
|
||||||
Copyright and Related Rights in the Work and the meaning and intended legal
|
|
||||||
effect of CC0 on those rights.
|
|
||||||
|
|
||||||
1. Copyright and Related Rights. A Work made available under CC0 may be
|
|
||||||
protected by copyright and related or neighboring rights ("Copyright and
|
|
||||||
Related Rights"). Copyright and Related Rights include, but are not limited
|
|
||||||
to, the following:
|
|
||||||
|
|
||||||
i. the right to reproduce, adapt, distribute, perform, display, communicate,
|
|
||||||
and translate a Work;
|
|
||||||
|
|
||||||
ii. moral rights retained by the original author(s) and/or performer(s);
|
|
||||||
|
|
||||||
iii. publicity and privacy rights pertaining to a person's image or likeness
|
|
||||||
depicted in a Work;
|
|
||||||
|
|
||||||
iv. rights protecting against unfair competition in regards to a Work,
|
|
||||||
subject to the limitations in paragraph 4(a), below;
|
|
||||||
|
|
||||||
v. rights protecting the extraction, dissemination, use and reuse of data in
|
|
||||||
a Work;
|
|
||||||
|
|
||||||
vi. database rights (such as those arising under Directive 96/9/EC of the
|
|
||||||
European Parliament and of the Council of 11 March 1996 on the legal
|
|
||||||
protection of databases, and under any national implementation thereof,
|
|
||||||
including any amended or successor version of such directive); and
|
|
||||||
|
|
||||||
vii. other similar, equivalent or corresponding rights throughout the world
|
|
||||||
based on applicable law or treaty, and any national implementations thereof.
|
|
||||||
|
|
||||||
2. Waiver. To the greatest extent permitted by, but not in contravention of,
|
|
||||||
applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
|
|
||||||
unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
|
|
||||||
and Related Rights and associated claims and causes of action, whether now
|
|
||||||
known or unknown (including existing as well as future claims and causes of
|
|
||||||
action), in the Work (i) in all territories worldwide, (ii) for the maximum
|
|
||||||
duration provided by applicable law or treaty (including future time
|
|
||||||
extensions), (iii) in any current or future medium and for any number of
|
|
||||||
copies, and (iv) for any purpose whatsoever, including without limitation
|
|
||||||
commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
|
|
||||||
the Waiver for the benefit of each member of the public at large and to the
|
|
||||||
detriment of Affirmer's heirs and successors, fully intending that such Waiver
|
|
||||||
shall not be subject to revocation, rescission, cancellation, termination, or
|
|
||||||
any other legal or equitable action to disrupt the quiet enjoyment of the Work
|
|
||||||
by the public as contemplated by Affirmer's express Statement of Purpose.
|
|
||||||
|
|
||||||
3. Public License Fallback. Should any part of the Waiver for any reason be
|
|
||||||
judged legally invalid or ineffective under applicable law, then the Waiver
|
|
||||||
shall be preserved to the maximum extent permitted taking into account
|
|
||||||
Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
|
|
||||||
is so judged Affirmer hereby grants to each affected person a royalty-free,
|
|
||||||
non transferable, non sublicensable, non exclusive, irrevocable and
|
|
||||||
unconditional license to exercise Affirmer's Copyright and Related Rights in
|
|
||||||
the Work (i) in all territories worldwide, (ii) for the maximum duration
|
|
||||||
provided by applicable law or treaty (including future time extensions), (iii)
|
|
||||||
in any current or future medium and for any number of copies, and (iv) for any
|
|
||||||
purpose whatsoever, including without limitation commercial, advertising or
|
|
||||||
promotional purposes (the "License"). The License shall be deemed effective as
|
|
||||||
of the date CC0 was applied by Affirmer to the Work. Should any part of the
|
|
||||||
License for any reason be judged legally invalid or ineffective under
|
|
||||||
applicable law, such partial invalidity or ineffectiveness shall not
|
|
||||||
invalidate the remainder of the License, and in such case Affirmer hereby
|
|
||||||
affirms that he or she will not (i) exercise any of his or her remaining
|
|
||||||
Copyright and Related Rights in the Work or (ii) assert any associated claims
|
|
||||||
and causes of action with respect to the Work, in either case contrary to
|
|
||||||
Affirmer's express Statement of Purpose.
|
|
||||||
|
|
||||||
4. Limitations and Disclaimers.
|
|
||||||
|
|
||||||
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
|
||||||
surrendered, licensed or otherwise affected by this document.
|
|
||||||
|
|
||||||
b. Affirmer offers the Work as-is and makes no representations or warranties
|
|
||||||
of any kind concerning the Work, express, implied, statutory or otherwise,
|
|
||||||
including without limitation warranties of title, merchantability, fitness
|
|
||||||
for a particular purpose, non infringement, or the absence of latent or
|
|
||||||
other defects, accuracy, or the present or absence of errors, whether or not
|
|
||||||
discoverable, all to the greatest extent permissible under applicable law.
|
|
||||||
|
|
||||||
c. Affirmer disclaims responsibility for clearing rights of other persons
|
|
||||||
that may apply to the Work or any use thereof, including without limitation
|
|
||||||
any person's Copyright and Related Rights in the Work. Further, Affirmer
|
|
||||||
disclaims responsibility for obtaining any necessary consents, permissions
|
|
||||||
or other rights required for any use of the Work.
|
|
||||||
|
|
||||||
d. Affirmer understands and acknowledges that Creative Commons is not a
|
|
||||||
party to this document and has no duty or obligation with respect to this
|
|
||||||
CC0 or use of the Work.
|
|
||||||
|
|
||||||
For more information, please see
|
|
||||||
<http://creativecommons.org/publicdomain/zero/1.0/>
|
|
||||||
|
|
@ -1,146 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
# Check for the SPDX tag in all files in the repo. Exit with a non-zero code if
|
|
||||||
# some is missing. The missingok arrays below contain files and directories
|
|
||||||
# with files where the the tag is not required.
|
|
||||||
|
|
||||||
cd "${0%/*}"
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
tag="SPDX-License-Identifier:"
|
|
||||||
|
|
||||||
missingok_dirs=(
|
|
||||||
.github/workflows/
|
|
||||||
LICENSES/
|
|
||||||
doc/
|
|
||||||
hw/application_fpga/core/picorv32/
|
|
||||||
hw/application_fpga/core/uart/
|
|
||||||
)
|
|
||||||
|
|
||||||
missingok_files=(
|
|
||||||
.editorconfig
|
|
||||||
.gitattributes
|
|
||||||
.gitignore
|
|
||||||
.clang-format
|
|
||||||
README.md
|
|
||||||
contrib/99-tillitis.rules
|
|
||||||
contrib/Dockerfile
|
|
||||||
contrib/Makefile
|
|
||||||
contrib/verible.sha512
|
|
||||||
|
|
||||||
hw/application_fpga/README.md
|
|
||||||
hw/application_fpga/core/clk_reset_gen/README.md
|
|
||||||
hw/application_fpga/core/fw_ram/README.md
|
|
||||||
hw/application_fpga/core/ram/README.md
|
|
||||||
hw/application_fpga/core/rom/README.md
|
|
||||||
hw/application_fpga/core/tk1/tb/udi.hex
|
|
||||||
hw/application_fpga/core/uds/README.md
|
|
||||||
hw/application_fpga/fw/README.md
|
|
||||||
hw/application_fpga/fw/tk1/picorv32/README.md
|
|
||||||
hw/application_fpga/fw/tk1/picorv32/LICENSE
|
|
||||||
hw/application_fpga/apps/Makefile
|
|
||||||
hw/application_fpga/apps/README.md
|
|
||||||
hw/application_fpga/application_fpga.bin.sha256
|
|
||||||
hw/application_fpga/config.vlt
|
|
||||||
hw/application_fpga/core/timer/README.md
|
|
||||||
hw/application_fpga/core/tk1/README.md
|
|
||||||
hw/application_fpga/core/touch_sense/README.md
|
|
||||||
hw/application_fpga/core/trng/README.md
|
|
||||||
hw/application_fpga/data/udi.hex
|
|
||||||
hw/application_fpga/data/uds.hex
|
|
||||||
hw/application_fpga/firmware.bin.sha512
|
|
||||||
hw/application_fpga/fw/testfw/Makefile
|
|
||||||
hw/application_fpga/fw/tk1/Makefile
|
|
||||||
hw/application_fpga/tools/tpt/README.md
|
|
||||||
hw/usb_interface/ch552_fw/.gitignore
|
|
||||||
hw/usb_interface/ch552_fw/LICENSES/GPL-2.0-only.txt
|
|
||||||
hw/usb_interface/ch552_fw/LICENSES/MIT.txt
|
|
||||||
hw/usb_interface/ch552_fw/Makefile
|
|
||||||
hw/usb_interface/ch552_fw/README.md
|
|
||||||
|
|
||||||
# tkey-libs is assumed to be REUSE compliant
|
|
||||||
hw/application_fpga/tkey-libs/LICENSE
|
|
||||||
hw/application_fpga/tkey-libs/LICENSES/BSD-2-Clause.txt
|
|
||||||
hw/application_fpga/tkey-libs/LICENSES/CC0-1.0.txt
|
|
||||||
hw/application_fpga/tkey-libs/Makefile
|
|
||||||
hw/application_fpga/tkey-libs/README-DIST.txt
|
|
||||||
hw/application_fpga/tkey-libs/README.md
|
|
||||||
hw/application_fpga/tkey-libs/RELEASE.md
|
|
||||||
hw/application_fpga/tkey-libs/blake2s/LICENSE
|
|
||||||
hw/application_fpga/tkey-libs/blake2s/Makefile
|
|
||||||
hw/application_fpga/tkey-libs/blake2s/blake2s.c
|
|
||||||
hw/application_fpga/tkey-libs/blake2s/blake2s.h
|
|
||||||
hw/application_fpga/tkey-libs/blake2s/blake2s_test.c
|
|
||||||
hw/application_fpga/tkey-libs/example-app/Makefile
|
|
||||||
hw/application_fpga/tkey-libs/monocypher/LICENSE
|
|
||||||
hw/application_fpga/tkey-libs/monocypher/README.md
|
|
||||||
|
|
||||||
hw/application_fpga/tools/README.md
|
|
||||||
hw/application_fpga/tools/b2s/README.md
|
|
||||||
hw/application_fpga/tools/b2s/go.mod
|
|
||||||
hw/application_fpga/tools/b2s/go.sum
|
|
||||||
hw/application_fpga/tools/tkeyimage/README.md
|
|
||||||
hw/application_fpga/tools/tkeyimage/go.mod
|
|
||||||
hw/application_fpga/tools/tkeyimage/go.sum
|
|
||||||
)
|
|
||||||
|
|
||||||
is_missingok() {
|
|
||||||
item="$1"
|
|
||||||
# ok for empty files
|
|
||||||
[[ -f "$item" ]] && [[ ! -s "$item" ]] && return 0
|
|
||||||
for fileok in "${missingok_files[@]}"; do
|
|
||||||
[[ "$item" = "$fileok" ]] && return 0
|
|
||||||
done
|
|
||||||
for dirok in "${missingok_dirs[@]}"; do
|
|
||||||
[[ "$item" =~ ^$dirok ]] && return 0
|
|
||||||
done
|
|
||||||
return 1
|
|
||||||
}
|
|
||||||
|
|
||||||
printf "* Checking for SPDX tags in %s\n" "$PWD"
|
|
||||||
|
|
||||||
mapfile -t repofiles < <(git ls-files || true)
|
|
||||||
if [[ -z "${repofiles[*]}" ]]; then
|
|
||||||
printf "* No files in the repo?!\n"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
failed=0
|
|
||||||
|
|
||||||
printed=0
|
|
||||||
for fileok in "${missingok_files[@]}"; do
|
|
||||||
[[ -f "$fileok" ]] && continue
|
|
||||||
if (( !printed )); then
|
|
||||||
printf "* Some files in missingok_files are themselves missing:\n"
|
|
||||||
printed=1
|
|
||||||
failed=1
|
|
||||||
fi
|
|
||||||
printf "%s\n" "$fileok"
|
|
||||||
done
|
|
||||||
|
|
||||||
printed=0
|
|
||||||
for dirok in "${missingok_dirs[@]}"; do
|
|
||||||
[[ -d "$dirok" ]] && continue
|
|
||||||
if (( !printed )); then
|
|
||||||
printf "* Some dirs in missingok_dirs are themselves missing:\n"
|
|
||||||
printed=1
|
|
||||||
failed=1
|
|
||||||
fi
|
|
||||||
printf "%s\n" "$dirok"
|
|
||||||
done
|
|
||||||
|
|
||||||
printed=0
|
|
||||||
for file in "${repofiles[@]}"; do
|
|
||||||
is_missingok "$file" && continue
|
|
||||||
if ! grep -q "$tag" "$file"; then
|
|
||||||
if (( !printed )); then
|
|
||||||
printf "* Files missing the SPDX tag:\n"
|
|
||||||
printed=1
|
|
||||||
failed=1
|
|
||||||
fi
|
|
||||||
printf "%s\n" "$file"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
exit "$failed"
|
|
||||||
38
README.md
38
README.md
|
|
@ -46,12 +46,44 @@ BSD-2-Clause license.
|
||||||
|
|
||||||
Until Oct 29, 2025, the license was GPL-2.0 Only.
|
Until Oct 29, 2025, the license was GPL-2.0 Only.
|
||||||
|
|
||||||
See [LICENSES](./LICENSES/README.md) for more information about
|
|
||||||
the projects' licenses.
|
|
||||||
|
|
||||||
Each imported project is typically kept in its own directory with its
|
Each imported project is typically kept in its own directory with its
|
||||||
own LICENSE file.
|
own LICENSE file.
|
||||||
|
|
||||||
|
### SPDX
|
||||||
|
|
||||||
|
The project uses single-line references to Unique License Identifiers
|
||||||
|
as defined by the Linux Foundation's [SPDX project](https://spdx.org/).
|
||||||
|
The line in each individual source file identifies the license
|
||||||
|
applicable to that file.
|
||||||
|
|
||||||
|
The current set of valid, predefined SPDX identifiers can be found on
|
||||||
|
the SPDX License List at:
|
||||||
|
|
||||||
|
https://spdx.org/licenses/
|
||||||
|
|
||||||
|
We attempt to follow the [REUSE
|
||||||
|
specification](https://reuse.software/).
|
||||||
|
|
||||||
|
### Notable imported projects
|
||||||
|
|
||||||
|
- ch552 firmware: `hw/usb_interface/ch552_fw/`
|
||||||
|
|
||||||
|
Originally by WCH under MIT. Much changed by Tillitis.
|
||||||
|
|
||||||
|
- picorv32: `hw/application_fpga/core/picorv32`
|
||||||
|
|
||||||
|
From https://github.com/YosysHQ/picorv32
|
||||||
|
|
||||||
|
ISC.
|
||||||
|
|
||||||
|
- PicoRV32 custom ops: `hw/application_fpga/fw/tk1/picorv32/`
|
||||||
|
|
||||||
|
CC-1.
|
||||||
|
|
||||||
|
- tkey-libs: `hw/application_fpga/tkey-libs/`
|
||||||
|
|
||||||
|
BSD2. From https://github.com/tillitis/tkey-libs
|
||||||
|
|
||||||
## Repositories
|
## Repositories
|
||||||
|
|
||||||
This repository contains the FPGA design, the source of the
|
This repository contains the FPGA design, the source of the
|
||||||
|
|
|
||||||
62
REUSE.toml
Normal file
62
REUSE.toml
Normal file
|
|
@ -0,0 +1,62 @@
|
||||||
|
# SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = ".github/workflows/*"
|
||||||
|
SPDX-FileCopyrightText = "2022 Tillitis AB <tillitis.se>"
|
||||||
|
SPDX-License-Identifier = "BSD-2-Clause"
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = [
|
||||||
|
".clang-format",
|
||||||
|
".editorconfig",
|
||||||
|
".gitattributes",
|
||||||
|
".gitignore",
|
||||||
|
"README.md",
|
||||||
|
"contrib/99-tillitis.rules",
|
||||||
|
"contrib/Dockerfile",
|
||||||
|
"contrib/verible.sha512",
|
||||||
|
"doc/images/application_fpga_block_diagram.png",
|
||||||
|
"doc/images/tkey-open-lid.png",
|
||||||
|
"doc/release_notes.md",
|
||||||
|
"doc/threat_model/threat_model.md",
|
||||||
|
"hw/application_fpga/README.md",
|
||||||
|
"hw/application_fpga/application_fpga.bin.sha256",
|
||||||
|
"hw/application_fpga/apps/README.md",
|
||||||
|
"hw/application_fpga/config.vlt",
|
||||||
|
"hw/application_fpga/core/clk_reset_gen/README.md",
|
||||||
|
"hw/application_fpga/core/fw_ram/README.md",
|
||||||
|
"hw/application_fpga/core/picorv32/README.md",
|
||||||
|
"hw/application_fpga/core/ram/README.md",
|
||||||
|
"hw/application_fpga/core/rom/README.md",
|
||||||
|
"hw/application_fpga/core/timer/README.md",
|
||||||
|
"hw/application_fpga/core/tk1/README.md",
|
||||||
|
"hw/application_fpga/core/tk1/tb/README.txt",
|
||||||
|
"hw/application_fpga/core/tk1/tb/udi.hex",
|
||||||
|
"hw/application_fpga/core/touch_sense/README.md",
|
||||||
|
"hw/application_fpga/core/trng/README.md",
|
||||||
|
"hw/application_fpga/core/uart/README.md",
|
||||||
|
"hw/application_fpga/core/uds/README.md",
|
||||||
|
"hw/application_fpga/data/udi.hex",
|
||||||
|
"hw/application_fpga/data/uds.hex",
|
||||||
|
"hw/application_fpga/firmware.bin.sha512",
|
||||||
|
"hw/application_fpga/fw/README.md",
|
||||||
|
"hw/application_fpga/fw/tk1/picorv32/README.md",
|
||||||
|
"hw/application_fpga/tools/README.md",
|
||||||
|
"hw/application_fpga/tools/b2s/README.md",
|
||||||
|
"hw/application_fpga/tools/b2s/go.mod",
|
||||||
|
"hw/application_fpga/tools/b2s/go.sum",
|
||||||
|
"hw/application_fpga/tools/tkeyimage/README.md",
|
||||||
|
"hw/application_fpga/tools/tkeyimage/go.mod",
|
||||||
|
"hw/application_fpga/tools/tkeyimage/go.sum",
|
||||||
|
"hw/application_fpga/tools/tpt/README.md",
|
||||||
|
]
|
||||||
|
SPDX-FileCopyrightText = "2022 Tillitis AB <tillitis.se>"
|
||||||
|
SPDX-License-Identifier = "BSD-2-Clause"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = "hw/application_fpga/core/picorv32/rtl/picorv32.v"
|
||||||
|
SPDX-License-Identifier = "ISC"
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# Copyright (C) 2024 - Tillitis AB
|
# SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
# image produced by build-image targets
|
# image produced by build-image targets
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh -e
|
#! /bin/sh -e
|
||||||
|
|
||||||
# Copyright (C) 2025 Tillitis AB
|
# SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
## Build the specific versions of the tools we need to build the TKey
|
## Build the specific versions of the tools we need to build the TKey
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# HW targets as well as its firmware.
|
# HW targets as well as its firmware.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022-2024 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <fw/tk1/reset.h>
|
#include <fw/tk1/reset.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <fw/tk1/proto.h>
|
#include <fw/tk1/proto.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <fw/tk1/proto.h>
|
#include <fw/tk1/proto.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef BLINK_APP_H
|
#ifndef BLINK_APP_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <blake2s/blake2s.h>
|
#include <blake2s/blake2s.h>
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
// support for mode based access control.
|
// support for mode based access control.
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2024 - Tillitis AB
|
# SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Claire Xenia Wolf
|
// Author: Claire Xenia Wolf
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strömbergson.
|
// Author: Joachim Strömbergson.
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2023 - Tillitis AB
|
# SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# ------
|
# ------
|
||||||
# Program that generates hex memory file read by the memory model.
|
# Program that generates hex memory file read by the memory model.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 - Tillitis AB
|
# SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (c) 2014, Secworks Sweden AB
|
// Copyright (c) 2014, Secworks Sweden AB
|
||||||
//
|
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
//
|
||||||
// Redistribution and use in source and binary forms, with or
|
// Redistribution and use in source and binary forms, with or
|
||||||
// without modification, are permitted provided that the following
|
// without modification, are permitted provided that the following
|
||||||
// conditions are met:
|
// conditions are met:
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (c) 2022, Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
// Redistribution and use in source and binary forms, with or
|
// Redistribution and use in source and binary forms, with or
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Claire Xenia Wolf
|
// Author: Claire Xenia Wolf
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Author: Joachim Strombergson
|
# Author: Joachim Strombergson
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#===================================================================
|
#===================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# Tillitis MTA1_USB_DEV board.
|
# Tillitis MTA1_USB_DEV board.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
# on the tk1 board with the CH552 MCU used as a USB-serial chip.
|
# on the tk1 board with the CH552 MCU used as a USB-serial chip.
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
.section ".text.init"
|
.section ".text.init"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef AUTH_APP_H
|
#ifndef AUTH_APP_H
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022, 2023 - Tillitis AB
|
* SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef TKEY_FLASH_H
|
#ifndef TKEY_FLASH_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <blake2s/blake2s.h>
|
#include <blake2s/blake2s.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef MGMT_APP_H
|
#ifndef MGMT_APP_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef PARTITION_TABLE_H
|
#ifndef PARTITION_TABLE_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef PRELOAD_APP_H
|
#ifndef PRELOAD_APP_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022, 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022, 2023 - Tillitis AB
|
* SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
* SPDX-License-Identifier: BSD-2-Clause
|
* SPDX-License-Identifier: BSD-2-Clause
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef TKEY_RESET_H
|
#ifndef TKEY_RESET_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include "rng.h"
|
#include "rng.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef RNG_H
|
#ifndef RNG_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include "spi.h"
|
#include "spi.h"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef TKEY_SPI_H
|
#ifndef TKEY_SPI_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2022-2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <tkey/tk1_mem.h>
|
#include <tkey/tk1_mem.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2023 - Tillitis AB
|
// SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef STATE_H
|
#ifndef STATE_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2024 - Tillitis AB
|
// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef STORAGE_H
|
#ifndef STORAGE_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef TKEY_SYSCALL_ENABLE_H
|
#ifndef TKEY_SYSCALL_ENABLE_H
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2025 - Tillitis AB
|
// SPDX-FileCopyrightText: 2025 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
#ifndef TKEY_SYSCALL_NUM_H
|
#ifndef TKEY_SYSCALL_NUM_H
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// communicate with applications.
|
// communicate with applications.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
// Wrapper to allow simulation of the application_fpga using Verilator.
|
// Wrapper to allow simulation of the application_fpga using Verilator.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Author: Joachim Strombergson
|
// Author: Joachim Strombergson
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
// communicate with applications.
|
// communicate with applications.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
// TRNG simulation of the application_fpga.
|
// TRNG simulation of the application_fpga.
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
// Copyright (C) 2022 - Tillitis AB
|
// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
// SPDX-License-Identifier: BSD-2-Clause
|
// SPDX-License-Identifier: BSD-2-Clause
|
||||||
//
|
//
|
||||||
//======================================================================
|
//======================================================================
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# Copyright 2024 Tillitis AB
|
# SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
#
|
#
|
||||||
# Copyright (C) 2023 Tillitis AB
|
# SPDX-FileCopyrightText: 2023 Tillitis AB <tillitis.se>
|
||||||
# Written by Myrtle Shah <gatecat@ds0.me>
|
# Written by Myrtle Shah <gatecat@ds0.me>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
#
|
#
|
||||||
# The tool use HKDF (RFC5869) to generate the UDS.
|
# The tool use HKDF (RFC5869) to generate the UDS.
|
||||||
#
|
#
|
||||||
# Copyright (C) 2022, 2023 - Tillitis AB
|
# SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>
|
||||||
# SPDX-License-Identifier: BSD-2-Clause
|
# SPDX-License-Identifier: BSD-2-Clause
|
||||||
#
|
#
|
||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ path = [
|
||||||
".gitignore",
|
".gitignore",
|
||||||
"Makefile",
|
"Makefile",
|
||||||
"README.md",
|
"README.md",
|
||||||
|
"encode_usb_strings.py", # Unable to parse
|
||||||
]
|
]
|
||||||
SPDX-FileCopyrightText = "2022 Tillitis AB <tillitis.se>"
|
SPDX-FileCopyrightText = "2022 Tillitis AB <tillitis.se>"
|
||||||
SPDX-License-Identifier = "BSD-2-Clause"
|
SPDX-License-Identifier = "BSD-2-Clause"
|
||||||
|
|
|
||||||
|
|
@ -63,8 +63,8 @@ if __name__ == "__main__":
|
||||||
}
|
}
|
||||||
|
|
||||||
with open('inc/usb_strings.h', 'w') as f:
|
with open('inc/usb_strings.h', 'w') as f:
|
||||||
f.write('// SPDX-FileCopyrightText: 2024 Tillitis AB <tillitis.se>\n')
|
f.write('// SPDX-FileCopyrightText: 2022 Tillitis AB <tillitis.se>\n')
|
||||||
f.write('// SPDX-License-Identifier: MIT\n')
|
f.write('// SPDX-License-Identifier: BSD-2-Clause\n')
|
||||||
f.write('\n')
|
f.write('\n')
|
||||||
f.write('#ifndef __USB_STRINGS_H__\n')
|
f.write('#ifndef __USB_STRINGS_H__\n')
|
||||||
f.write('#define __USB_STRINGS_H__\n')
|
f.write('#define __USB_STRINGS_H__\n')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue