Skip to content

Commit f7afc47

Browse files
committed
Kyber ARM32 ASM: add assembly using base instructions
Support ARMv4 up to ARMv8. Base instructions only - faster implemenation will use NEON.
1 parent d0d802a commit f7afc47

9 files changed

Lines changed: 19546 additions & 23 deletions

File tree

src/include.am

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1199,7 +1199,13 @@ src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/arm/thumb2-kyber-asm_
11991199
else
12001200
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/arm/thumb2-kyber-asm.S
12011201
endif !BUILD_ARMASM_INLINE
1202-
endif BUILD_ARM_THUMB
1202+
else
1203+
if BUILD_ARMASM_INLINE
1204+
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/arm/armv8-32-kyber-asm_c.c
1205+
else
1206+
src_libwolfssl@LIBSUFFIX@_la_SOURCES += wolfcrypt/src/port/arm/armv8-32-kyber-asm.S
1207+
endif !BUILD_ARMASM_INLINE
1208+
endif !BUILD_ARM_THUMB
12031209
endif BUILD_ARMASM
12041210
if !BUILD_X86_ASM
12051211
if BUILD_INTELASM

0 commit comments

Comments
 (0)