Skip to content

Commit 86bea6c

Browse files
authored
add support for ED25519 signature scheme (#254)
* wolfhsm: add support for Ed25519 signature algorithm * test: add ED25519 tests * ed25519: add DMA crypto callback handlers * ed25519: fix type mismatch between wolfHSM and wolfcrypt * ed25519: DMA: map ASN_PARSE_E to BAD_FUNC_ARG * ed25519: rename cache import/export functions * ed25519: use const qualifier inside wh_Crypto_Ed25519SerializeKeyDer * ed25519: use WH_ERROR* for wh functions and translate to wc errors in cbs * ed25519: remove 0-sized padding * ed25519: use macro constant instead of magic number for max ctx len
1 parent d8afb8c commit 86bea6c

File tree

12 files changed

+2339
-2
lines changed

12 files changed

+2339
-2
lines changed

examples/posix/wh_posix_server/user_settings.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ extern "C" {
9999
/** Curve25519 Options */
100100
#define HAVE_CURVE25519
101101

102+
/** Ed25519 Options */
103+
#define HAVE_ED25519
104+
102105
/** DH and DHE Options */
103106
#define NO_DH
104107
#define HAVE_DH_DEFAULT_PARAMS

0 commit comments

Comments
 (0)