Added an option to build internal LibTomMath with faster div routine
At the cost of about 1 kB of additional binary size, the internal LibTomMath can be configured to include faster div routine to speed up DH and RSA. This can be enabled with CONFIG_INTERNAL_LIBTOMMATH_FAST_DIV=y in .config.
This commit is contained in:
parent
b6ab429402
commit
ec0205a87a
3 changed files with 294 additions and 0 deletions
|
@ -627,6 +627,9 @@ endif
|
|||
ifdef CONFIG_INTERNAL_LIBTOMMATH_FAST_SQR
|
||||
CFLAGS += -DLTM_FAST_SQR
|
||||
endif
|
||||
ifdef CONFIG_INTERNAL_LIBTOMMATH_FAST_DIV
|
||||
CFLAGS += -DLTM_FAST_DIV
|
||||
endif
|
||||
else
|
||||
LIBS += -ltommath
|
||||
LIBS_p += -ltommath
|
||||
|
|
|
@ -314,6 +314,10 @@ CONFIG_PEERKEY=y
|
|||
# LibTomMath can be configured to include faster sqr routine to speed up DH and
|
||||
# RSA.
|
||||
#CONFIG_INTERNAL_LIBTOMMATH_FAST_SQR=y
|
||||
# At the cost of about 1 kB of additional binary size, the internal
|
||||
# LibTomMath can be configured to include faster div routine to speed up DH and
|
||||
# RSA.
|
||||
#CONFIG_INTERNAL_LIBTOMMATH_FAST_DIV=y
|
||||
|
||||
# Include NDIS event processing through WMI into wpa_supplicant/wpasvc.
|
||||
# This is only for Windows builds and requires WMI-related header files and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue