On 6/30/24 12:42, Lukas Wunner wrote:
From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> The Security Protocol and Data Model (SPDM) allows for device authentication, measurement, key exchange and encrypted sessions.
...
diff --git a/lib/spdm/core.c b/lib/spdm/core.c new file mode 100644 index 000000000000..f06402f6d127 --- /dev/null +++ b/lib/spdm/core.c @@ -0,0 +1,425 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * DMTF Security Protocol and Data Model (SPDM) + * https://www.dmtf.org/dsp/DSP0274 + * + * Core routines for message exchange, message transcript, + * signature verification and session state lifecycle + * + * Copyright (C) 2021-22 Huawei + * Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx> + * + * Copyright (C) 2022-24 Intel Corporation + */
...
+EXPORT_SYMBOL_GPL(spdm_destroy); + +MODULE_LICENSE("GPL");
missing MODULE_DESCRIPTION() this will generate a warning when built as a module with make W=1