-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
30 changed files
with
474 additions
and
575 deletions.
There are no files selected for viewing
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
Submodule pico-keys-sdk
updated
25 files
+0 −0 | config/esp32/partitions.csv | |
+39 −0 | config/rp2350/pt.json | |
+14 −18 | pico_keys_sdk_import.cmake | |
+2 −2 | sdkconfig.defaults | |
+21 −37 | src/apdu.c | |
+3 −2 | src/apdu.h | |
+4 −14 | src/crypto_utils.c | |
+4 −14 | src/crypto_utils.h | |
+3 −5 | src/esp_compat.h | |
+3 −4 | src/fs/file.c | |
+10 −5 | src/fs/flash.c | |
+94 −131 | src/fs/low_flash.c | |
+97 −51 | src/main.c | |
+4 −3 | src/pico_keys.h | |
+7 −15 | src/rng/hwrng.c | |
+152 −108 | src/usb/ccid/ccid.c | |
+70 −96 | src/usb/emulation/emulation.c | |
+146 −0 | src/usb/emulation/emulation.h | |
+10 −18 | src/usb/hid/ctap_hid.h | |
+179 −154 | src/usb/hid/hid.c | |
+1 −1 | src/usb/tusb_config.h | |
+99 −285 | src/usb/usb.c | |
+52 −53 | src/usb/usb.h | |
+5 −1 | src/usb/usb_descriptors.c | |
+4 −1 | src/usb/usb_descriptors.h |
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,53 @@ | ||
# This file was generated using idf.py save-defconfig. It can be edited manually. | ||
# Espressif IoT Development Framework (ESP-IDF) Project Minimal Configuration | ||
# | ||
IGNORE_UNKNOWN_FILES_FOR_MANAGED_COMPONENTS=1 | ||
|
||
CONFIG_TINYUSB=y | ||
|
||
CONFIG_PARTITION_TABLE_CUSTOM=y | ||
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="pico-keys-sdk/config/esp32/partitions.csv" | ||
CONFIG_PARTITION_TABLE_FILENAME="pico-keys-sdk/config/esp32/partitions.csv" | ||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y | ||
CONFIG_WL_SECTOR_SIZE_512=y | ||
CONFIG_WL_SECTOR_MODE_PERF=y | ||
|
||
CONFIG_MBEDTLS_CMAC_C=y | ||
CONFIG_MBEDTLS_CHACHA20_C=y | ||
CONFIG_MBEDTLS_POLY1305_C=y | ||
CONFIG_MBEDTLS_CHACHAPOLY_C=y | ||
CONFIG_MBEDTLS_HKDF_C=y | ||
CONFIG_MBEDTLS_HARDWARE_ECC=y | ||
CONFIG_MBEDTLS_HARDWARE_GCM=y | ||
# CONFIG_MBEDTLS_HARDWARE_MPI is not set | ||
CONFIG_MBEDTLS_HARDWARE_SHA=y | ||
CONFIG_MBEDTLS_HARDWARE_AES=y | ||
# CONFIG_MBEDTLS_ROM_MD5 is not set | ||
CONFIG_MBEDTLS_SHA512_C=y | ||
CONFIG_MBEDTLS_TLS_DISABLED=y | ||
# CONFIG_MBEDTLS_TLS_ENABLED is not set | ||
# CONFIG_ESP_TLS_USE_DS_PERIPHERAL is not set | ||
# CONFIG_ESP_WIFI_ENABLED is not set | ||
# CONFIG_ESP_WIFI_MBEDTLS_CRYPTO is not set | ||
# CONFIG_ESP_WIFI_MBEDTLS_TLS_CLIENT is not set | ||
# CONFIG_WPA_MBEDTLS_CRYPTO is not set | ||
# CONFIG_MBEDTLS_PSK_MODES is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_RSA is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_ELLIPTIC_CURVE is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA is not set | ||
# CONFIG_MBEDTLS_KEY_EXCHANGE_ECDH_RSA is not set | ||
# CONFIG_MBEDTLS_SSL_RENEGOTIATION is not set | ||
# CONFIG_MBEDTLS_SSL_PROTO_TLS1_2 is not set | ||
# CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1 is not set | ||
# CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set | ||
# CONFIG_MBEDTLS_SSL_ALPN is not set | ||
# CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS is not set | ||
# CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS is not set | ||
# CONFIG_ESP32_WIFI_ENABLE_WPA3_SAE is not set | ||
# CONFIG_ESP32_WIFI_ENABLE_WPA3_OWE_STA is not set | ||
# CONFIG_ESP_WIFI_ENABLE_WPA3_SAE is not set | ||
# CONFIG_ESP_WIFI_ENABLE_WPA3_OWE_STA is not set | ||
|
||
CONFIG_ESP_COREDUMP_ENABLE_TO_UART=y |
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,6 @@ | ||
idf_component_register( | ||
SRCS ${SOURCES} | ||
INCLUDE_DIRS . ../../pico-keys-sdk/src ../../pico-keys-sdk/src/fs ../../pico-keys-sdk/src/rng ../../pico-keys-sdk/src/usb ../../pico-keys-sdk/tinycbor/src | ||
REQUIRES bootloader_support esp_partition esp_tinyusb zorxx__neopixel mbedtls efuse | ||
) | ||
idf_component_set_property(${COMPONENT_NAME} WHOLE_ARCHIVE ON) |
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
Oops, something went wrong.