Skip to content

Commit 59e82d8

Browse files
TofMassilia13320Grom-
authored andcommitted
[core] Fix Ed25519 private key size
1 parent db7bb03 commit 59e82d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/stse_generic_typedef.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ typedef enum stse_ac_change_right_t {
526526
#define STSE_ED25519_PUBLIC_KEY_SIZE \
527527
STSE_ED25519_PUBLIC_KEY_LENGTH_SIZE \
528528
+STSE_ED25519_PUBLIC_KEY_VALUE_SIZE
529-
#define STSE_ED25519_PRIVATE_KEY_SIZE 64U
529+
#define STSE_ED25519_PRIVATE_KEY_SIZE 32U
530530
#define STSE_ED25519_EPHEMERAL_PUBLIC_KEY_SIZE \
531531
STSE_ED25519_ID_SIZE \
532532
+STSE_ED25519_PUBLIC_KEY_SIZE

0 commit comments

Comments
 (0)