aboutsummaryrefslogtreecommitdiffstats
path: root/rr_functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'rr_functions.c')
-rw-r--r--rr_functions.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/rr_functions.c b/rr_functions.c
index b03751b01ec2..20a0bfaa1aa3 100644
--- a/rr_functions.c
+++ b/rr_functions.c
@@ -321,6 +321,14 @@ ldns_rr_dnskey_key_size_raw(const unsigned char* keydata,
case LDNS_SIGN_ECDSAP384SHA384:
return 384;
#endif
+#ifdef USE_ED25519
+ case LDNS_SIGN_ED25519:
+ return 256;
+#endif
+#ifdef USE_ED448
+ case LDNS_SIGN_ED448:
+ return 456;
+#endif
case LDNS_SIGN_HMACMD5:
return len;
default: