summaryrefslogtreecommitdiffstats
path: root/src/crypto/mishmash/oid_x25519.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/mishmash/oid_x25519.c')
-rw-r--r--src/crypto/mishmash/oid_x25519.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crypto/mishmash/oid_x25519.c b/src/crypto/mishmash/oid_x25519.c
index 2f8aa065b..2907eb461 100644
--- a/src/crypto/mishmash/oid_x25519.c
+++ b/src/crypto/mishmash/oid_x25519.c
@@ -22,6 +22,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
#include <byteswap.h>
#include <ipxe/x25519.h>
@@ -42,4 +43,5 @@ struct asn1_algorithm x25519_algorithm __asn1_algorithm = {
struct tls_named_curve tls_x25519_named_curve __tls_named_curve ( 01 ) = {
.curve = &x25519_curve,
.code = htons ( TLS_NAMED_CURVE_X25519 ),
+ .pre_master_secret_len = sizeof ( struct x25519_value ),
};