-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[feat] added key management enclaves
openenclave, optee: added key manager enclaves openenclave, optee: added command line interfaces ci: updated x86 target for openenclave ci: added aarch64 target for op-tee ci: added x86 target for nixos doc: added enclave.md depends: added libyubikey, libusb and libykpiv sha: added sha1 and hmac for authentication with yubikey tests: added sha1 and hmac address: added wrapper for address from account pub key example: added wrapper test: added wrapper to bip44_test [feat] added yubikey for storage config, cmake, seal, tests: added yubikey support seal: added encrypted blobs to software encryption such, spvnode, wallet: updated software encryption tests: added encrypted blobs doc: added yubikey.md [feat] added NanoPC-T6 enclave ci: added NanoPC-T6 support for op-tee doc: updated enclave.md optee: added rk3588-nanopi6-common.dtsi.patch optee: added nanopi6.h.patch optee: added platform.mk plat_helpser.S pmu.c https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/29363
- Loading branch information
Showing
56 changed files
with
8,865 additions
and
476 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package=libusb | ||
$(package)_version=1.0.27 | ||
$(package)_download_path=https://github.com/libusb/libusb/releases/download/v1.0.27 | ||
$(package)_file_name=$(package)-$($(package)_version).tar.bz2 | ||
$(package)_sha256_hash=ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575 | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--disable-shared --enable-static --disable-udev | ||
$(package)_config_opts_mingw32=--enable-threads=windows | ||
endef | ||
|
||
define $(package)_config_cmds | ||
$($(package)_autoconf) CFLAGS="-fPIC" | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package=libyubikey | ||
$(package)_version=1.13 | ||
$(package)_download_path=https://developers.yubico.com/yubico-c/Releases | ||
$(package)_file_name=libyubikey-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=04edd0eb09cb665a05d808c58e1985f25bb7c5254d2849f36a0658ffc51c3401 | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--disable-shared --enable-static | ||
$(package)_config_opts_mingw32=--enable-threads=windows | ||
endef | ||
|
||
define $(package)_config_cmds | ||
$($(package)_autoconf) CFLAGS="-fPIC" | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package=ykpers | ||
$(package)_version=1.20.0 | ||
$(package)_download_path=https://developers.yubico.com/yubikey-personalization/Releases | ||
$(package)_file_name=ykpers-$($(package)_version).tar.gz | ||
$(package)_sha256_hash=0ec84d0ea862f45a7d85a1a3afe5e60b8da42df211bb7d27a50f486e31a79b93 | ||
$(package)_dependencies=libyubikey libusb | ||
$(package)_patches=ykpers-args.patch | ||
|
||
define $(package)_set_vars | ||
$(package)_config_opts=--disable-shared --enable-static --with-backend=libusb-1.0 | ||
$(package)_config_opts_mingw32=--enable-threads=windows | ||
$(package)_ldflags_darwin=-framework CoreFoundation -framework IOKit -framework Security | ||
endef | ||
|
||
define $(package)_preprocess_cmds | ||
patch -p1 < $($(package)_patch_dir)/ykpers-args.patch | ||
endef | ||
|
||
define $(package)_config_cmds | ||
$($(package)_autoconf) CFLAGS="-fPIC" LIBUSB_CFLAGS="-I$(host_prefix)/include/libusb-1.0" LIBUSB_LIBS="-L$(host_prefix)/lib -lusb-1.0" | ||
endef | ||
|
||
define $(package)_build_cmds | ||
$(MAKE) | ||
endef | ||
|
||
define $(package)_stage_cmds | ||
$(MAKE) DESTDIR=$($(package)_staging_dir) install | ||
endef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/ykpers-args.h | ||
+++ b/ykpers-args.h | ||
@@ -33,8 +33,8 @@ | ||
|
||
#include "ykpers.h" | ||
|
||
-const char *usage; | ||
-const char *optstring; | ||
+extern const char *usage; | ||
+extern const char *optstring; | ||
|
||
int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid, | ||
size_t oathid_len, const char **infname, |
Oops, something went wrong.