Skip to content

Commit 5c497c6

Browse files
committed
initial linuxkm compatibility (no asm yet) for wc_kyber, wc_xmss, and wc_lms, and smallstack refactors for kyber512_kat(), kyber768_kat(), kyber1024_kat(), and kyber_test().
1 parent 24f581f commit 5c497c6

3 files changed

Lines changed: 317 additions & 116 deletions

File tree

linuxkm/module_exports.c.template

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,29 @@
149149
#include <wolfssl/wolfcrypt/kdf.h>
150150
#endif
151151

152+
#ifdef WOLFSSL_HAVE_KYBER
153+
#include <wolfssl/wolfcrypt/kyber.h>
154+
#ifdef WOLFSSL_WC_KYBER
155+
#include <wolfssl/wolfcrypt/wc_kyber.h>
156+
#endif
157+
#endif
158+
#if defined(WOLFSSL_HAVE_XMSS)
159+
#include <wolfssl/wolfcrypt/xmss.h>
160+
#ifdef HAVE_LIBXMSS
161+
#include <wolfssl/wolfcrypt/ext_xmss.h>
162+
#else
163+
#include <wolfssl/wolfcrypt/wc_xmss.h>
164+
#endif
165+
#endif
166+
#if defined(WOLFSSL_HAVE_LMS)
167+
#include <wolfssl/wolfcrypt/lms.h>
168+
#ifdef HAVE_LIBLMS
169+
#include <wolfssl/wolfcrypt/ext_lms.h>
170+
#else
171+
#include <wolfssl/wolfcrypt/wc_lms.h>
172+
#endif
173+
#endif
174+
152175
#ifdef OPENSSL_EXTRA
153176
#ifndef WOLFCRYPT_ONLY
154177
#include <wolfssl/openssl/evp.h>

0 commit comments

Comments
 (0)