Skip to content

Commit

Permalink
add ed25519 hardware acceleration support
Browse files Browse the repository at this point in the history
  • Loading branch information
jocover committed Feb 1, 2024
1 parent cb2ed3a commit fbd3bd4
Show file tree
Hide file tree
Showing 12 changed files with 1,037 additions and 1,332 deletions.
5 changes: 2 additions & 3 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
idf_component_register(
SRCS "device.c" "ctaphid.c" "secret.c" "ctap-parser.c" "main.c" "secret.c" "u2f.c" "ctap.c" "common.c" "fs.c"
"crypto/ecc.c" "crypto/hmac.c" "crypto/algo.c" "crypto/sha.c" "crypto/sha3.c" "crypto/memzero.c" "crypto/rand.c" "crypto/sm3.c" "crypto/block-cipher.c" "crypto/aes.c"
"crypto/ecc.c" "crypto/hmac.c" "crypto/algo.c" "crypto/sha.c" "crypto/sha3.c" "crypto/memzero.c" "crypto/rand.c" "crypto/sm3.c" "crypto/block-cipher.c" "crypto/aes.c" "crypto/esp32_ed25519.c"
"littlefs/lfs.c" "littlefs/lfs_util.c"
"c25519/edsign.c" "c25519/ed25519.c" "c25519/f25519.c" "c25519/fprime.c"
INCLUDE_DIRS "." "crypto/include" "littlefs" "c25519"
INCLUDE_DIRS "." "crypto/include" "littlefs"
REQUIRES driver mbedtls efuse esp_partition esp_timer
EMBED_FILES "cert/u2f_cert.bin" "cert/u2f_cert_key.bin" "cert/u2f_aaguid.bin"
)
Expand Down
320 changes: 0 additions & 320 deletions main/c25519/ed25519.c

This file was deleted.

Loading

1 comment on commit fbd3bd4

@jocover
Copy link
Owner Author

@jocover jocover commented on fbd3bd4 Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c25519 version sig 550ms
hardware acceleration version ed25519 sig 113ms

Please sign in to comment.